Not getting dhcp ip address from isp

Asked by Tongayi Masunda on 2013-06-12

Hi

I am using precise desktop although I have had a similar issue with the 12.04 server. When I connect the nic using a bridge over my cpe I cannot get an ip address from the isp dhcp server. When I use the same desktop with windows I do get an ip address. Please assist me with possible causes for this behaviour so that I can resolve it.

Regards,

Tongayi

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ifupdown Edit question
Assignee:
No assignee Edit question
Last query:
2013-06-13
Last reply:
2013-06-13

If you run :

sudo dhclient eth0

Do you get an IP address?

What Ethernet controller chip are you using? Has this ever worked under this install or has it always been this way?

Tongayi Masunda (tmasunda) said : #2

Hi actionparsnip

When I do a sudo dhclient all I get are dhcp discover messages going out but no traffic coming back in. I can see this from wireshark.

I am almost certain it has to do with autonegotiation because when I was using windows there were no problems getting ip address from dhcp. Please assist.

Regards,

Tongayi

What is the output of:

sudo lshw -C network

Thanks

Tongayi Masunda (tmasunda) said : #4

The output for sudo lshw -C network is:
  *-network
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 3
       bus info: pci@0000:02:03.0
       logical name: eth0
       version: 10
       serial: 00:16:17:a5:e3:20
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=8139too driverversion=0.9.28 duplex=full latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
       resources: irq:23 ioport:de00(size=256) memory:fddff000-fddff0ff

Try:

sudo modprobe -r 8139too; sleep 5; sudo modprobe 8139too

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Tongayi Masunda for more information if necessary.

To post a message you must log in.