Gentoo Archives: gentoo-user

From: "Marko Kocić" <marko.kocic@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Net / dhcp (miss)behaviour
Date: Sun, 20 Jan 2008 14:08:24
Message-Id: 9238e8de0801200607t68e3a4e8nc695b5cd255678e4@mail.gmail.com
In Reply to: Re: [gentoo-user] Net / dhcp (miss)behaviour by Tony Davison
1 It seems like that is the problem. Ipconfig /release or disabling net
2 conn in win before reboot doesnt help. Rebooting modem smtimes helps
3 but mostly not. Is it posible to somehow configure dhcp client to use
4 lease from windows?
5
6 On 1/20/08, Tony Davison <tony.davison2@××××××××.com> wrote:
7 > On Saturday 19 January 2008 22:09:50 Marko Kocić wrote:
8 > > > I wonder if my similar problem is related to what you report here: I am
9 > > > using dhcpcd and ifplug with my ADSL router, which acts as the dhcp
10 > > > server on my LAN. For some reason ifplug does not always manage to get
11 > > > an IP address from the router and I end up with an APIPA address.
12 > > > /etc/init.d/net.eth0 stop/start gets it going again. This problem only
13 > > > occurs if I disconnect and then reconnect the ethernet cable. No such
14 > > > problem exists when I boot the machine with the cable already connected
15 > > > to the NIC. I haven't changed timeouts or anything else from the dhcpcd
16 > > > defaults. I have always attributed this problem to a somewhat slow dhcp
17 > > > server on the router.
18 > >
19 > > It is similar, with a difference that /etc/init.d/net.eth0 restart
20 > > doesn't help. I tried
21 > > enlarging timeout but with no help.
22 > >
23 > > > As a note: WinXP machines do not have any such problem. Even though
24 > > > they may end up with a APIPA address, they will in minute or so drop it
25 > > > and acquire a 10.10.10.XXX domain address from the router. dhcpcpd does
26 > > > not seem to have this flexibility.
27 > >
28 > > I noticed that in most cases after I boot to windows, when I reboot
29 > > back to linux I can't connect.
30 > > When I reboot back to windows, net is up.
31 > >
32 > > When it fails I noticed that it send DHCP requests, but doesn't get a
33 > > response.
34 > >
35 > > I tried dhclient, dhcpd and pump, and the results are allways the
36 > > same. It happens in the evenings, when internet traffic is high.
37 >
38 > Windows is not releasing the lease correctly, so the CM ignores request from
39 > the same MAC address for a new leasr, workround is to reboot the cm whem you
40 > reboot to gentoo.
41 >
42 > This works in the UK YMMV elsewhere.
43 >
44 > --
45 > Tony Davison
46 > --
47 > gentoo-user@l.g.o mailing list
48 >
49 >

Replies

Subject Author
Re: [gentoo-user] Re: Net / dhcp (miss)behaviour Alan McKinnon <alan.mckinnon@×××××.com>