Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: losing network IP address
Date: Tue, 21 Mar 2017 21:18:50
Message-Id: 20170321221733.30c0452e@jupiter.sol.kaishome.de
In Reply to: Re: [gentoo-user] Re: losing network IP address by thelma@sys-concept.com
1 Am Tue, 21 Mar 2017 15:05:53 -0600
2 schrieb thelma@×××××××××××.com:
3
4 > Thelma
5 > On 03/21/2017 01:25 PM, Kai Krakow wrote:
6 > > Am Tue, 21 Mar 2017 11:08:49 -0600
7 > > schrieb thelma@×××××××××××.com:
8 > >
9 > >> On 03/21/2017 10:21 AM, Ian Zimmerman wrote:
10 > [...]
11 > [...]
12 > [...]
13 > >>
14 > >> The only strange entries I see in message logs are:
15 > >>
16 > >> eden dbus[3276]: [system] Activating service
17 > >> name='org.freedesktop.UDisks2' (using servicehelper) eden
18 > >> udisksd[4067]: udisks daemon version 2.1.8 starting eden
19 > >> dbus[3276]: [system] Successfully activated service
20 > >> 'org.freedesktop.UDisks2' eden udisksd[4067]: Acquired the name
21 > >> org.freedesktop.UDisks2 on the system message bus eden
22 > >> apcupsd[2864]: Communications with UPS lost. eden
23 > >> postfix/pickup[3665]: 2BC8520064: uid=0
24 > >> from=<root@××××.localdomain> eden postfix/cleanup[4174]:
25 > >> 2BC8520064:
26 > >> message-id=<20170321045940.2BC8520064@××××.localdomain> eden
27 > >> postfix/qmgr[3666]: 2BC8520064: from=<root@××××.localdomain>,
28 > >> size=924, nrcpt=1 (queue active) eden postfix/cleanup[4174]:
29 > >> 7C18420023:
30 > >> message-id=<20170321045940.2BC8520064@××××.localdomain> eden
31 > >> postfix/qmgr[3666]: 7C18420023: from=<root@××××.localdomain>,
32 > >> size=1057, nrcpt=1 (queue active) eden postfix/local[4180]:
33 > >> 2BC8520064: to=<root@××××.localdomain>, relay=local, delay=0.59,
34 > >> delays=0.32/0.21/0/0.05, dsn=2.0.0, status=sent (forwarded as
35 > >> 7C18420023) eden postfix/qmgr[3666]: 2BC8520064: removed eden
36 > >> postfix/smtp[4184]: 7C18420023: to=<thelma@×××××××××××.com>,
37 > >> orig_to=<root@××××.localdomain>, relay=none, delay=0.13,
38 > >> delays=0.05/0.08/0/0, dsn=4.4.3, status=deferred (Host or domain
39 > >> name not found. Name service error for name=mail.sys-concept.com
40 > >> type=MX: Host not found, try again)
41 > >
42 > > What's strange about these logs?
43 > >
44 > >> This must be from "apcupsd"
45 > >> Could this service causes some problem with my network?
46 > >
47 > > That service is only victim of the IP address changing. It's not the
48 > > source of the problem.
49 > >
50 > >> Shortly after I could not receive any message from the system, I
51 > >> think the network connection got lost. --
52 > >
53 > > You wrote that this happened in different locations, I guess you
54 > > mean different networked sites with each their own DHCP server.
55 > >
56 > > So, I my best guess is that you're running a local DHCP server by
57 > > accident.
58 > >
59 > > Which service does configure your network?
60 > >
61 > > If it's systemd-networkd, you could check those logs after the
62 > > problem occurred:
63 > >
64 > > # journalctl -b -u systemd-networkd.service | fgrep -i dhcpv4
65 > >
66 > > Apparently, it doesn't tell you what the DHCP server is by MAC
67 > > address, but the reported "via" at least tells you the IP.
68 > >
69 > > It looks like this:
70 > >
71 > > Mar 17 19:21:33 jupiter systemd-networkd[680]: enp5s0: DHCPv4
72 > > address 192.168.4.102/24 via 192.168.4.254
73 > >
74 > > Other network management daemons should log similar lines. Try first
75 > > without fgrep.
76 >
77 > I run DHCP on my DD-WRT router, and all the boxes are running OK,
78 > except this one. The IP the box suppose to get is: 10.10.0.7 (static
79 > IP ) and here is an entry from last night long:
80
81 Maybe try OpenWRT instead, it's more active developed. I ditched DD-WRT
82 a long time ago due to unsolved stability issues. There's also LEDE but
83 it was a bit to experimental to me, having some grave bugs that
84 couldn't be resolved without installing from scratch on an older
85 version.
86
87 Then, I'm confused. What is "this box"? I suppose, it's not the router?
88
89 > eden dhcpcd[7478]: net0: adding address fe80::a98a:8875:2106:64bc
90 > eden dhcpcd[7478]: DUID 00:01:00:01:1a:bc:bc:ca:00:30:18:ad:ed:b4
91 > eden dhcpcd[7478]: net0: IAID 18:ad:ed:b4
92 > eden dhcpcd[7478]: net0: soliciting an IPv6 router
93 > eden dhcpcd[7478]: net0: soliciting a DHCP lease
94 > eden dhcpcd[7478]: net0: probing for an IPv4LL address
95 > eden dhcpcd[7478]: net0: using IPv4LL address 169.254.156.68
96 > eden dhcpcd[7478]: net0: adding route to 169.254.0.0/16
97
98 Please disable IPv4LL - I don't think you need that. It's likely that's
99 getting in the way with routing for you.
100
101 > I could suspect the cable but I use two different cable in two
102 > different location on same network and same thing happens.
103
104 So actually you already ruled the cable out. Maybe the connector?
105
106 > I took
107 > that box home and it hang up on me in the morning.
108
109 You mean it froze? Which is now "the box"? Your PC? The router?
110
111 > I've already
112 > ordered a replacement. The only reason I was sticking to it as it is
113 > already configured for my hylafax, asterisk.
114
115 If "the box" is the router, I cannot follow what you write. If you use
116 your PC in different locations, I'd expect "the box" aka the router to
117 stay in place. So your particular problem may not be restricted to the
118 router (despite that being maybe part of your problem due to
119 instability).
120
121 --
122 Regards,
123 Kai
124
125 Replies to list-only preferred.

Replies

Subject Author
Re: [gentoo-user] Re: losing network IP address thelma@×××××××××××.com