Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Pages: 1 2 
Send Topic Print
No network connection Ubuntu VM (Read 41106 times)
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
No network connection Ubuntu VM
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
 
WWW  
IP Logged
 

MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: No network connection Ubuntu VM
Reply #1 - 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.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #2 - Jun 12th, 2009 at 6:42pm
 
ok, be right back.

btw .. vmware says network adapter "bridged" .. whatever that means.
 
WWW  
IP Logged
 
MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: No network connection Ubuntu VM
Reply #3 - 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.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #4 - Jun 12th, 2009 at 6:46pm
 
ipconfig > command not found
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #5 - Jun 12th, 2009 at 6:51pm
 
here's route show attached graphic.
 

route_show.gif (39 KB | 1231 )
route_show.gif
WWW  
IP Logged
 

MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: No network connection Ubuntu VM
Reply #6 - 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.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #7 - Jun 12th, 2009 at 7:00pm
 
sorry, habit, here:

see attached.
 

ifconfig.gif (39 KB | 1246 )
ifconfig.gif
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #8 - Jun 12th, 2009 at 7:04pm
 
here's netstat:
 

netstat.gif (8 KB | 1126 )
netstat.gif
WWW  
IP Logged
 
MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: No network connection Ubuntu VM
Reply #9 - 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.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #10 - Jun 12th, 2009 at 7:49pm
 
here's dhclient:
 

dhclient.gif (41 KB | 1220 )
dhclient.gif
WWW  
IP Logged
 

Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #11 - Jun 12th, 2009 at 7:49pm
 
I will try config'ing NAT.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: No network connection Ubuntu VM
Reply #12 - 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.
 
WWW  
IP Logged
 
MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: No network connection Ubuntu VM
Reply #13 - 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.
 
WWW  
IP Logged
 
Rad.in.UbuntuVM
Radmeister
**
Offline


Rad in Ubuntu 9.04 Jaunty
Virtual Machine

Posts: 92


Back to top
Re: No network connection Ubuntu VM
Reply #14 - Jun 12th, 2009 at 8:19pm
 
Hey-hey, baby!

Guess who is styling in Ubuntu 9.04 VM?  Cool
 
WWW  
IP Logged
 
Pages: 1 2 
Send Topic Print