VMware Communities
eroica
Contributor
Contributor

cant get networking to work w/ubuntu 6.10

hello,

i just installed vmplayer and downloaded ubuntu 6.10 appliance. i cant get the networking to work. ifconfig command shows eth1 is up but no ip address is assigned. i have interface setup for dhcp. i'm running on win2k as the host os, i see no dns entries in resolv.conf either. any suggestions on how to get this working. i'm just trying ubuntu out for first time and am not at all familiar with it.thanx....

Reply
0 Kudos
4 Replies
KevinG
Immortal
Immortal

To further troubleshoot your issue, please provide the following information

Post the output from " ipconfig /all " from the Windows host

Post the output from " ifconfig -a " from the Linux guest (Ubuntu)

Post the .vmx file from the virtual machine (Ubuntu)

Post the contents of /etc/network/inerfaces (Ubuntu)

Post the contents of /etc/iftab (Ubuntu)

How is the host connected to the internet? (Cable modem, DSL, Router..etc)

Reply
0 Kudos
eroica
Contributor
Contributor

Microsoft Windows 2000 \[Version 5.00.2195]

(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\>ipconfig /all

Windows 2000 IP Configuration

Host Name . . . . . . . . . . . . : ******-C78F4BD

Primary DNS Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Peer-Peer

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

DNS Suffix Search List. . . . . . : ******.com

Ethernet adapter \{*****-**-**-9005-********}:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : NOC Extranet Access Adapter

Physical Address. . . . . . . . . : *--*-54-42-00

DHCP Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 0.0.0.0

Subnet Mask . . . . . . . . . . . : 0.0.0.0

Default Gateway . . . . . . . . . :

DNS Servers . . . . . . . . . . . :

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : ***.com

Description . . . . . . . . . . . : Intel(R) PRO/100 VM Network Connecti

on

Physical Address. . . . . . . . . : *--*-C7-7D-80

DHCP Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : **.**.102.115

Subnet Mask . . . . . . . . . . . : 255.255.255.192

Default Gateway . . . . . . . . . : **.**.102.65

DHCP Server . . . . . . . . . . . : **.**.8.121

DNS Servers . . . . . . . . . . . : **.**.136.111

**.**.8.111

Primary WINS Server . . . . . . . : **.***.999.143

Secondary WINS Server . . . . . . : **.**.199.136

Lease Obtained. . . . . . . . . . : Friday, March 09, 2007 8:26:03 AM

Lease Expires . . . . . . . . . . : Friday, March 16, 2007 9:26:03 AM

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet1

Physical Address. . . . . . . . . : 00-50-56-C0-00-01

DHCP Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.111.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

DHCP Server . . . . . . . . . . . : 192.168.111.254

DNS Servers . . . . . . . . . . . :

Lease Obtained. . . . . . . . . . : Friday, March 09, 2007 9:41:32 AM

Lease Expires . . . . . . . . . . : Friday, March 09, 2007 10:11:32 AM

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet8

Physical Address. . . . . . . . . : 00-50-56-C0-00-08

DHCP Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.241.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

DHCP Server . . . . . . . . . . . : 192.168.241.254

DNS Servers . . . . . . . . . . . :

Primary WINS Server . . . . . . . : 192.168.241.2

Lease Obtained. . . . . . . . . . : Friday, March 09, 2007 9:41:31 AM

Lease Expires . . . . . . . . . . : Friday, March 09, 2007 10:11:31 AM

.vmx file:

#!/usr/bin/vmware

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "256"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Ubuntu-6.10-desktop-i386.vmdk"

scsi0:0.writeThrough = "TRUE"

ide1:0.present = "TRUE"

ide1:0.fileName = "auto detect"

ide1:0.deviceType = "atapi-cdrom"

floppy0.startConnected = "FALSE"

floppy0.fileName = "/dev/fd0"

Ethernet0.present = "TRUE"

displayName = "Ubuntu-6.10-desktop-i386"

guestOS = "ubuntu"

priority.grabbed = "normal"

priority.ungrabbed = "normal"

powerType.powerOff = "hard"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "hard"

scsi0:0.redo = ""

ide1:0.startConnected = "TRUE"

ethernet0.addressType = "generated"

uuid.location = "56 4d d9 10 48 7a d0 eb-38 a2 32 8e 87 e7 16 ca"

uuid.bios = "56 4d d9 10 48 7a d0 eb-38 a2 32 8e 87 e7 16 ca"

ethernet0.generatedAddress = "00:0c:29:e7:16:ca"

ethernet0.generatedAddressOffset = "0"

tools.syncTime = "FALSE"

ide1:0.autodetect = "TRUE"

uuid.action = "create"

tools.remindInstall = "FALSE"

ethernet0.connectionType = "nat"

/etc/network/interfaces:

auto lo

iface lo inet loopback

auto eth1

iface eth1 inet dhcp

/etc/iftab:

#This file assigns persistant blah blah blah

eth0 mac 00:0c:29:2d:b9:b5 arp 1

ifconfig -a:

eth1 llink encap:ethernet HWaddr 00:0c:29:e7:16 ca

inet addr:192.168.241.128 Bcast:192.168.241.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fee7:16ca/ Scope:link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

etc....

also have lo up and sit1

I'm on a lan and connect thru a proxy ....

Reply
0 Kudos
KevinG
Immortal
Immortal

Edit the following files

/etc/iftab:

#This file assigns persistant blah blah blah

eth0 mac 00:0c:29:2d:b9:b5 arp 1

Change to[/b]

/etc/iftab:

#This file assigns persistant blah blah blah

eth0 mac 00:0c:29:e7:16:ca arp 1

______________

/etc/network/interfaces:

auto lo

iface lo inet loopback

auto eth1

iface eth1 inet dhcp

Change to[/b]

/etc/network/interfaces:

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet dhcp

Reply
0 Kudos
eroica
Contributor
Contributor

thanx for the advise but still no good. I think it has something to do w/dns setup. I tried putting the dns servers from win2k setup in resolv.conf but that did nothing. tried pinging them and that was ok. I also pinged ubuntu site ok when i used their actual ip address. when i try pinging using domain name i get unknown host response. but then i couldnt ping ubuntu.com under windows either but was ok again using ip address. I dont know if this has to do w/proxy i have to go thru? But then i can surf fine in windows. any other suggestions. I was also wondering why we changed eth0 in ifsetup when ubuntu has assigned ethernet card as eth1? i did see that ifconfig did show the new address...

Reply
0 Kudos