no dhcp on Edgy

Clive Menzies clive at clivemenzies.co.uk
Sun Oct 29 16:35:37 UTC 2006


On (29/10/06 17:05), morphex wrote:
> On Sun, 2006-10-29 at 13:06 +0000, Clive Menzies wrote:
> > On (29/10/06 13:17), morphex wrote:
> > > I have installed Edgy on my laptop for 2 days, and I managed to get work
> > > my Broadcom wifi card. I was very happy, the sun was shining, but today
> > > I had no network connection. I thought it was my wifi, but finally I
> > > figured out, that I "just" can't get dynamic IP from my DHCP router. The
> > > router is fine, because another laptop with win***s works.
> > > When plugged I can get static IP, no dynamic. My wifi seems to be good,
> > > but can't get IP.
> > > I have searched ubuntu forums, and I found other peaple with similar
> > > problems, but no solution.
> > 
> > What is the output of:
> > 
> > $ cat /etc/network/interfaces
> > 
> > $ dpkg -l | grep dhcp
> > 
> > $ sudo ifconfig
> > 
> > 
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet static
> address 192.168.1.111
> netmask 255.255.255.0
> gateway 192.168.1.254
> 
> auto eth2
> iface eth2 inet dhcp
> 
> auto ath0
> iface ath0 inet dhcp
> 
> auto wlan0
> iface wlan0 inet dhcp
> 
> 
> iface eth1 inet static
> wireless-essid X-Micro
> address 192.168.1.111
> netmask 255.255.255.0
> gateway 192.168.1.254
> 
> auto eth1
> 
> ***
> 
> ii  dhcp3-client                               3.0.4-6ubuntu6
> DHCP Client
> ii  dhcp3-common                               3.0.4-6ubuntu6
> Common files used by all the dhcp3* packages
> 
> ***
> 
> eth0      Link encap:Ethernet  HWaddr 00:C0:9F:C9:09:9F  
>           inet addr:192.168.1.111  Bcast:192.168.1.255
> Mask:255.255.255.0
>           inet6 addr: fe80::2c0:9fff:fec9:99f/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:776 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:634 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:648813 (633.6 KiB)  TX bytes:70623 (68.9 KiB)
>           Interrupt:201 Base address:0xa000 
> 
> eth1      Link encap:Ethernet  HWaddr 00:14:A5:12:64:05  
>           inet addr:192.168.1.111  Bcast:192.168.1.255
> Mask:255.255.255.0
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:209 Memory:c0204000-c0206000 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:13 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:1068 (1.0 KiB)  TX bytes:1068 (1.0 KiB)

eth0 and eth1 are set to static IP and that's what shows in ifconfig.
eth2 is set to dhcp but isn't active.

You need to set eth0 and eth1 to dhcp

Regards

Clive


-- 
www.clivemenzies.co.uk ...
...strategies for business






More information about the ubuntu-users mailing list