[gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
I'm running gentoo on my dual boot windows laptop. I use dhcp to connect to the the internet through cable modem. Sometimes (in the evenings) it just fails to automatically obtain IP address from dhcp server (timeouts). I tried different settings in /etc/conf.d/net file (timeout and different dhcp

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Kevin
On Jan 18, 2008 12:17 PM, Marko Kocić <[EMAIL PROTECTED]> wrote: > > I never used cable modem and don't know how it connects to the PC, so I > > might be saying something completely wrong here, > > Regular network cable going directly from cable modem to laptop. > > > but can't you sniff the > > t

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
> I never used cable modem and don't know how it connects to the PC, so I > might be saying something completely wrong here, Regular network cable going directly from cable modem to laptop. > but can't you sniff the > traffic directly from the laptop by capturing packets on the interface > connec

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Etaoin Shrdlu
On Friday 18 January 2008, Marko Kocić wrote: > > My first diagnostic step would be to get another machine on the > > network and sniff dhcp traffic when using Windows and Gentoo to see > > what the difference is. > > I can't do that, cause I don't have switch/hub, just a cable modem > directly co

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
On Jan 18, 2008 6:50 PM, Alan McKinnon <[EMAIL PROTECTED]> wrote: > > On Friday 18 January 2008, Marko Kocić wrote: > > I'm running gentoo on my dual boot windows laptop. > > > > I use dhcp to connect to the the internet through cable modem. > > Sometimes (in the evenings) it just fails to automat

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Marko Kocić wrote: > I'm running gentoo on my dual boot windows laptop. > > I use dhcp to connect to the the internet through cable modem. > Sometimes (in the evenings) it just fails to automatically obtain IP > address from dhcp server (timeouts). > I tried different set

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Etaoin Shrdlu
On Friday 18 January 2008, Marko Kocić wrote: > > I never used cable modem and don't know how it connects to the PC, > > so I might be saying something completely wrong here, > > Regular network cable going directly from cable modem to laptop. > > > but can't you sniff the > > traffic directly fro

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Mick
On Friday 18 January 2008, Marko Kocić wrote: > > Actually, as long as the interface is up, you can sniff traffic even if > > it does not have an IP address. Emerge wireshark (somehow...), do (as > > root) an "ip link set eth0 up" (or "ifconfig eth0 up") and run > > wireshark. Start capturing packe

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-18 Thread Marko Kocić
> Actually, as long as the interface is up, you can sniff traffic even if > it does not have an IP address. Emerge wireshark (somehow...), do (as > root) an "ip link set eth0 up" (or "ifconfig eth0 up") and run > wireshark. Start capturing packets, run dhcpcd from the command line (or > whatever DH

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-19 Thread Marko Kocić
> I wonder if my similar problem is related to what you report here: I am using > dhcpcd and ifplug with my ADSL router, which acts as the dhcp server on my > LAN. For some reason ifplug does not always manage to get an IP address from > the router and I end up with an APIPA address. /etc/init.d

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-19 Thread Roy Wright
Marko Kocić wrote: > I noticed that in most cases after I boot to windows, when I reboot > back to linux I can't connect. > When I reboot back to windows, net is up. > > When it fails I noticed that it send DHCP requests, but doesn't get a > response. > > I tried dhclient, dhcpd and pump, and the

Re: [gentoo-user] Net / dhcp (miss)behaviour

2008-01-20 Thread Tony Davison
On Saturday 19 January 2008 22:09:50 Marko Kocić wrote: > > I wonder if my similar problem is related to what you report here: I am > > using dhcpcd and ifplug with my ADSL router, which acts as the dhcp > > server on my LAN. For some reason ifplug does not always manage to get > > an IP address