[linux] static wired internet met wicd

paai j.j.paijmans op gmail.com
Zo Dec 23 20:20:18 CET 2018



On 23-12-18 19:37, Geert Stappers wrote:
> On Sun, Dec 23, 2018 at 06:50:08PM +0100, paai wrote:
>> Ik gebruik wiCD op Kubuntu. De wireless interface laat zich zonder moeite
>> als static adres configureren; de wired verbinding wil alleen met dhcp
>> werken. Met een static adres doet hij het niet.
>>
>> dmesg geeft in dat geval:
> dmesg - print or control the kernel ring buffer
>
>> [29999.878670] intel-vbtn INT33D6:00: unknown event index 0xcd
>> [30063.803196] r8169 0000:01:00.0 enp1s0: link down
>> [30063.803299] r8169 0000:01:00.0 enp1s0: link down
> kabel is los
>

De /var/log/wicd/wicd.log geeft voor de dhcp verbinding (die werkt)
2018/12/23 20:10:14 :: Putting interface down
2018/12/23 20:10:14 :: Releasing DHCP leases...
2018/12/23 20:10:14 :: Setting false IP...
2018/12/23 20:10:14 :: Stopping wpa_supplicant
2018/12/23 20:10:14 :: Flushing the routing table...
2018/12/23 20:10:14 :: Putting interface up...
2018/12/23 20:10:17 :: Running DHCP with NO hostname
2018/12/23 20:10:17 :: Internet Systems Consortium DHCP Client 4.3.5
2018/12/23 20:10:17 :: Copyright 2004-2016 Internet Systems Consortium.
2018/12/23 20:10:17 :: All rights reserved.
2018/12/23 20:10:17 :: For info, please visit 
https://www.isc.org/software/dhcp/
2018/12/23 20:10:17 ::
2018/12/23 20:10:17 :: Listening on LPF/enp1s0/30:65:ec:87:21:2d
2018/12/23 20:10:17 :: Sending on   LPF/enp1s0/30:65:ec:87:21:2d
2018/12/23 20:10:17 :: Sending on   Socket/fallback
2018/12/23 20:10:17 :: DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 
interval 3 (xid=0xfc58df16)
2018/12/23 20:10:20 :: DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 
interval 5 (xid=0xfc58df16)
2018/12/23 20:10:20 :: DHCPREQUEST of 192.168.178.152 on enp1s0 to 
255.255.255.255 port 67 (xid=0x16df58fc)
2018/12/23 20:10:20 :: DHCPOFFER of 192.168.178.152 from 192.168.178.1
2018/12/23 20:10:21 :: DHCPNAK from 192.168.178.3 (xid=0xfc58df16)
2018/12/23 20:10:31 :: DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 
interval 3 (xid=0xdcc1670d)
2018/12/23 20:10:31 :: DHCPREQUEST of 192.168.178.152 on enp1s0 to 
255.255.255.255 port 67 (xid=0xd67c1dc)
2018/12/23 20:10:31 :: DHCPOFFER of 192.168.178.152 from 192.168.178.1
2018/12/23 20:10:32 :: DHCPNAK from 192.168.178.3 (xid=0xdcc1670d)
2018/12/23 20:10:32 :: DHCPACK of 192.168.178.152 from 192.168.178.1
2018/12/23 20:10:32 :: bound to 192.168.178.152 -- renewal in 33262 seconds.
2018/12/23 20:10:32 :: DHCP connection successful
2018/12/23 20:10:32 :: Connecting thread exiting.
2018/12/23 20:10:33 :: Sending connection attempt result success

en voor de static interface (die niet werkt)

2018/12/23 20:03:32 :: Creating wired profile for hop
2018/12/23 20:09:16 :: Putting interface down
2018/12/23 20:09:16 :: Releasing DHCP leases...
2018/12/23 20:09:16 :: Setting false IP...
2018/12/23 20:09:16 :: Stopping wpa_supplicant
2018/12/23 20:09:16 :: Flushing the routing table...
2018/12/23 20:09:16 :: Putting interface up...
2018/12/23 20:09:18 :: Setting static IP : 192.168.178.12
2018/12/23 20:09:18 :: Setting default gateway : 192.168.178.1
2018/12/23 20:09:18 :: Connecting thread exiting.
2018/12/23 20:09:19 :: Sending connection attempt result success


Het valt me op dat de dhcp langer bezig is dan de static interface. 
Misschien heeft de static interface een kortere time-out? Maar dan weet 
ik niet waar ik dat moet veranderen.


-- 
Dr J.J. Paijmans
Houwenberg 2A
5985PE Grashoek (L)



Meer informatie over de Linux maillijst