Gentoo Archives: gentoo-user

From: Andrew Lowe <agl@×××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Machine running before modem turned on - Network weirdness
Date: Tue, 26 Jul 2016 16:01:26
1 Hi all,
2 I can remember in the distant past that I had to have my modem turned
3 on before the computer otherwise, I wouldn't get an IP address. Then
4 something changed. One day I forgot to turn on the modem first. I turned
5 the machine on then realised the modem wasn't on, I turned it, the
6 modem, on and prepared to reboot the machine only to see an IP address
7 appear.
9 It appeared that dhcp was now periodically attempting to get an address
10 whereas in the past, if on boot it didn't find one, that was it, it just
11 gave up. It appears that my machine has now, for some reason reverted to
12 "the olden days" of IP address allocation. No modem at boot, no IP
13 address. Reboot the machine, with the modem continuing to run, and I get
14 an IP address. When I have no IP address, I can run "dhcpcd restart" and
15 I'll get one.
17 Anyone got any idea as to what has changed? What should I be looking
18 for to fiddle to get my preferred behaviour, modem/machine startup in
19 any order and I'll get an IP address. Is there a dchp "polling time" or
20 something similar that I need to set to get this running nicely again?
22 Thoughts greatly appreciated,
23 Andrew