Radified Community Forums
http://radified.com/cgi-bin/yabb2/YaBB.pl
Rad Community Technical Discussion Boards (Computer Hardware + PC Software) >> PC Hardware + Software (except Cloning programs) >> No network connection Ubuntu VM
http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1244846365

Message started by Rad on Jun 12th, 2009 at 5:39pm

Title: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 5:39pm
Just downloaded and fired up this VM:

http://www.vmware.com/appliances/directory/147323

Using VMware

All seems to have gone well, except I have no network connection, as indicated by red-X over network icon in upper right-hand corner (near date).

My 8.10 VM fired-up with the network working automatically upon first boot, so I expected the same from 9.04.

Using 4-year old laptop, Intel-based, WXP, with Broadcom 802.11g network adapter, on home wireless netrwork (which works fine).

Can somebody (Magoo) help me connect this VM to the 'Net?

I tried right-clicking on icon and selecting 'Enable networking' but that didn't work.

Listed under Wired connections I have:

* Auto eth1 | never
* Wired Connection 1 | never

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 6:41pm
The network on your VM is going to be a virtual one, which will look like a wired connection from within the VM.  It should automatically use the wireless connection on the host side, but on the guest side it will look wired.

Can you open a terminal and type the command "ifconfig" and "route show" and paste the output here?

I run Ubuntu 9.04 (64bit) on my laptop and my home desktop, and the network worked automatically in both after install (including wireless on my laptop,) so I suspect there is something going on with this VM.

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 6:42pm
ok, be right back.

btw .. vmware says network adapter "bridged" .. whatever that means.

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 6:45pm

Rad wrote on Jun 12th, 2009 at 6:42pm:
vmware says network adapter "bridged" .. whatever that means.

Just means that the virtual network connection is bridged to the physical one.  You should also try NAT, if it gives you that option.

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 6:46pm
ipconfig > command not found

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 6:51pm
here's route show attached graphic.
route_show.gif (39 KB | 1237 )

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 6:54pm

MrMagoo wrote on Jun 12th, 2009 at 6:41pm:
type the command "ifconfig"


Rad wrote on Jun 12th, 2009 at 6:46pm:
ipconfig > command not found

In Linux, the command is "ifconfig" with an F.  As in InterFace config.  IPconfig is the windows version.

The route command didn't do what I wanted.  Try "netstat -r" instead.

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 7:00pm
sorry, habit, here:

see attached.
ifconfig.gif (39 KB | 1252 )

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 7:04pm
here's netstat:
netstat.gif (8 KB | 1130 )

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 7:19pm
Hmmm.  You're not getting an IP address or default route.  Try running "sudo dhclient eth1".  it will ask for you password.  that should connect you to the internet.  Let me know what output you get from that.

If not, try setting your network connection to 'NAT' instead of 'bridged' in VMWare and then restart the VM.

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 7:49pm
here's dhclient:
dhclient.gif (41 KB | 1224 )

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 7:49pm
I will try config'ing NAT.

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 12th, 2009 at 8:03pm
hahaha.

NAT didn't work. But then I noticed in VMware menu:

VM > Removable Devices > Network adapter (NAT) >

.. then there are 2 options (either):

* Connect
* Settings...

I clicked on (selected) 'Connect' .. and instantly the circular network thingie in Ubuntu started spining (made me smile) .. few secs later > Voila!

Connected!

Tell me it wasn't that easy .. that all I needed to do was select 'Connect' in VMware.

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 8:14pm
The solution is almost always easy once you know what the root of the problem is =)  Glad we found it.

Title: Re: No network connection Ubuntu VM
Post by Rad.in.UbuntuVM on Jun 12th, 2009 at 8:19pm
Hey-hey, baby!

Guess who is styling in Ubuntu 9.04 VM?  8-)

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 9:03pm
How do you like it?  I just got my desktop upgraded to 9.04 last weekend (after trying several other distros and eventually coming back to Ubuntu) and I'm really liking it.  They done a lot of good work on it.  A lot of nice touches and seems like a lot of work on making it run faster/smoother.

Title: Re: No network connection Ubuntu VM
Post by Rad.in.UbuntuVM on Jun 12th, 2009 at 9:18pm
Obviously, just got here, but there is a certain feel to Ubuntu that I like .. hard to describe .. clean, fresh, elegant, responsive. I would like to spend more time here.

I have been learning more about the UNIX (Linux) shell, so I figure this was a good time to upgrade.

And it seems the network connection problems I was having were due to my own inexperience with VMware, and not with Ubuntu.

The bottom line is .. does it work or not? And if thereś a problem, how much effort will it take to resolve?

Thanks for the help. I appreciate it. More than you might know.

I asked for help over at the Ubuntu forums, but didnt get much help there.

BTW I am getting a loud low-frequency beep when I hit/press the ' apostrophe key. But it didnot happen there .. but it DID happen when I tried to type the word > didnt  (there it happened).

Sup wit dat?

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 12th, 2009 at 9:31pm
I can safely say I've never dealt with that problem...

If you press Ctrl+Alt+F3 you should end up in a terminal.  Log in and see if the same thing happens there.

I suspect it might have something to do with the key mappings...(?)

Title: Re: No network connection Ubuntu VM
Post by Rad.in.UbuntuVM on Jun 12th, 2009 at 9:55pm
yeah, i get in terminal, too.

Title: Re: No network connection Ubuntu VM
Post by Rad.Test on Jun 12th, 2009 at 10:11pm
what's the best way to change this stupid password?

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 13th, 2009 at 1:47am
open the terminal and type "passwd"

Title: Re: No network connection Ubuntu VM
Post by Rad on Jun 13th, 2009 at 9:09am
so it seems that learning the shell is really learning the commands that the shell uses and what those commands do .. along with their switches.

Title: Re: No network connection Ubuntu VM
Post by MrMagoo on Jun 13th, 2009 at 3:07pm
Well, that's the first step.  It's about half the battle.  The second part is understanding environment variables, config files, and how input and output works.  But none of it is very hard, and your Linux confidence will soar as you get more comfortable with it.

You don't have to worry too much about memorizing switches.  As long as you know which command you need, you can always use the man pages to see the switches.

Radified Community Forums » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.