Systém z nějakého důvodu nespustí DHCP klienta automaticky hned, ale až za 6 min

Založil Michal, 18. 01. 2015, 15:25:03

Předchozí téma - Další téma

Petr Krčmář

Samotný Network Manager je démon, který se stará o síť, to druhé je jen klikací ovládátko. Můžeš odinstalovat obojí.

Michal

Zdravím všechny. Kdysi jsem měl báječného přítele, kamaráda a ten říkával, když něco hned nešlapalo na PC. ''Víme, že všechny věci jsou kompatibilní, jenom některé věci jsou kompatibilnější ale rozchodime to.''
Nevím jak to mám správně napsat. Wicd jde v poměru cca 1:3  (Nejde 1x potřebuje asi 12 min. na připojení : jde 3x okolo 1 min.)

/var/log/wicd
2015/01/24 23:37:29 :: wicd initializing...
2015/01/24 23:37:29 :: ---------------------------
2015/01/24 23:37:29 :: wicd is version 1.7.2.4 768
2015/01/24 23:37:29 :: setting backend to external
2015/01/24 23:37:29 :: trying to load backend external
2015/01/24 23:37:29 :: successfully loaded backend external
2015/01/24 23:37:29 :: trying to load backend external
2015/01/24 23:37:29 :: successfully loaded backend external
2015/01/24 23:37:29 :: Automatically detected wireless interface wlan0
2015/01/24 23:37:29 :: setting wireless interface wlan0
2015/01/24 23:37:30 :: automatically detected wired interface eth0
2015/01/24 23:37:30 :: setting wired interface eth0
2015/01/24 23:37:30 :: setting wpa driver wext
2015/01/24 23:37:31 :: setting use global dns to False
2015/01/24 23:37:31 :: setting global dns
2015/01/24 23:37:31 :: global dns servers are None None None
2015/01/24 23:37:31 :: domain is None
2015/01/24 23:37:31 :: search domain is None
2015/01/24 23:37:31 :: setting automatically reconnect when connection drops True
2015/01/24 23:37:31 :: Setting dhcp client to 0
2015/01/24 23:37:33 :: Wireless configuration file found...
2015/01/24 23:37:33 :: Wired configuration file found...
2015/01/24 23:37:33 :: chmoding configuration files 0600...
2015/01/24 23:37:33 :: chowning configuration files root:root...
2015/01/24 23:37:33 :: Using wireless interface...wlan0
2015/01/24 23:37:33 :: Using wired interface...eth0
2015/01/24 23:37:38 :: Autoconnecting...
2015/01/24 23:37:39 :: attempting to set hostname with dhclient
2015/01/24 23:37:39 :: using dhcpcd or another supported client may work better
2015/01/24 23:37:39 :: attempting to set hostname with dhclient
2015/01/24 23:37:39 :: using dhcpcd or another supported client may work better
2015/01/24 23:37:40 :: Attempting to autoconnect with wired interface...
2015/01/24 23:37:40 :: Putting interface down
2015/01/24 23:37:40 :: Releasing DHCP leases...
2015/01/24 23:37:40 :: attempting to set hostname with dhclient
2015/01/24 23:37:40 :: using dhcpcd or another supported client may work better
2015/01/24 23:37:40 :: Setting false IP...
2015/01/24 23:37:40 :: Stopping wpa_supplicant
2015/01/24 23:37:40 :: Flushing the routing table...
2015/01/24 23:37:40 :: Putting interface up...
2015/01/24 23:37:42 :: Running DHCP with hostname PC1
2015/01/24 23:37:42 :: attempting to set hostname with dhclient
2015/01/24 23:37:42 :: using dhcpcd or another supported client may work better
2015/01/24 23:37:42 :: Internet Systems Consortium DHCP Client 4.3.1
2015/01/24 23:37:42 :: Copyright 2004-2014 Internet Systems Consortium.
2015/01/24 23:37:42 :: All rights reserved.
2015/01/24 23:37:42 :: For info, please visit https://www.isc.org/software/dhcp/
2015/01/24 23:37:42 ::
2015/01/24 23:37:42 :: Listening on LPF/eth0/f8:a9:63:42:bc:d2
2015/01/24 23:37:42 :: Sending on   LPF/eth0/f8:a9:63:42:bc:d2
2015/01/24 23:37:42 :: Sending on   Socket/fallback
2015/01/24 23:37:42 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
2015/01/24 23:37:45 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
2015/01/24 23:37:50 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
2015/01/24 23:37:58 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
2015/01/24 23:38:14 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
2015/01/24 23:38:23 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
2015/01/24 23:38:35 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
2015/01/24 23:38:42 :: DHCPREQUEST on eth0 to 255.255.255.255 port 67
2015/01/24 23:38:42 :: DHCPOFFER from 10.0.0.138
2015/01/24 23:38:42 :: DHCPACK from 10.0.0.138
2015/01/24 23:38:42 :: bound to 10.0.0.2 -- renewal in 122133 seconds.
2015/01/24 23:38:42 :: DHCP connection successful
2015/01/24 23:38:42 :: Connecting thread exiting.
2015/01/24 23:38:46 :: Sending connection attempt result success
2015/01/25 00:07:14 :: ---------------------------
2015/01/25 00:07:14 :: wicd initializing...
2015/01/25 00:07:14 :: ---------------------------
2015/01/25 00:07:14 :: wicd is version 1.7.2.4 768
2015/01/25 00:07:14 :: setting backend to external
2015/01/25 00:07:14 :: trying to load backend external
2015/01/25 00:07:14 :: successfully loaded backend external
2015/01/25 00:07:14 :: trying to load backend external
2015/01/25 00:07:14 :: successfully loaded backend external
2015/01/25 00:07:14 :: Automatically detected wireless interface wlan0
2015/01/25 00:07:14 :: setting wireless interface wlan0
2015/01/25 00:07:14 :: automatically detected wired interface eth0
2015/01/25 00:07:14 :: setting wired interface eth0
2015/01/25 00:07:15 :: setting wpa driver wext
2015/01/25 00:07:16 :: setting use global dns to False
2015/01/25 00:07:16 :: setting global dns
2015/01/25 00:07:16 :: global dns servers are None None None
2015/01/25 00:07:16 :: domain is None
2015/01/25 00:07:16 :: search domain is None
2015/01/25 00:07:16 :: setting automatically reconnect when connection drops True
2015/01/25 00:07:18 :: Setting dhcp client to 0
2015/01/25 00:07:19 :: Wireless configuration file found...
2015/01/25 00:07:19 :: Wired configuration file found...
2015/01/25 00:07:19 :: chmoding configuration files 0600...
2015/01/25 00:07:19 :: chowning configuration files root:root...
2015/01/25 00:07:19 :: Using wireless interface...wlan0
2015/01/25 00:07:19 :: Using wired interface...eth0
2015/01/25 00:07:24 :: Autoconnecting...
2015/01/25 00:07:25 :: attempting to set hostname with dhclient
2015/01/25 00:07:25 :: using dhcpcd or another supported client may work better
2015/01/25 00:07:26 :: attempting to set hostname with dhclient
2015/01/25 00:07:26 :: using dhcpcd or another supported client may work better
2015/01/25 00:07:26 :: Attempting to autoconnect with wired interface...
2015/01/25 00:07:26 :: Putting interface down
2015/01/25 00:07:26 :: Releasing DHCP leases...
2015/01/25 00:07:26 :: attempting to set hostname with dhclient
2015/01/25 00:07:26 :: using dhcpcd or another supported client may work better
2015/01/25 00:07:27 :: Setting false IP...
2015/01/25 00:07:27 :: Stopping wpa_supplicant
2015/01/25 00:07:27 :: Flushing the routing table...
2015/01/25 00:07:27 :: Putting interface up...
2015/01/25 00:07:29 :: Running DHCP with hostname PC1
2015/01/25 00:07:29 :: attempting to set hostname with dhclient
2015/01/25 00:07:29 :: using dhcpcd or another supported client may work better
2015/01/25 00:07:29 :: Internet Systems Consortium DHCP Client 4.3.1
2015/01/25 00:07:29 :: Copyright 2004-2014 Internet Systems Consortium.
2015/01/25 00:07:29 :: All rights reserved.
2015/01/25 00:07:29 :: For info, please visit https://www.isc.org/software/dhcp/
2015/01/25 00:07:29 ::
2015/01/25 00:07:29 :: Listening on LPF/eth0/f8:a9:63:42:bc:d2
2015/01/25 00:07:29 :: Sending on   LPF/eth0/f8:a9:63:42:bc:d2
2015/01/25 00:07:29 :: Sending on   Socket/fallback
2015/01/25 00:07:29 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
2015/01/25 00:07:34 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
2015/01/25 00:07:43 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
2015/01/25 00:07:56 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
2015/01/25 00:08:12 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
2015/01/25 00:08:25 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
2015/01/25 00:08:30 :: No DHCPOFFERS received.
2015/01/25 00:08:30 :: No working leases in persistent database - sleeping.
2015/01/25 00:08:30 :: DHCP connection failed
2015/01/25 00:08:30 :: exiting connection thread
2015/01/25 00:08:31 :: No wired connection present, attempting to autoconnect to wireless network
2015/01/25 00:08:32 :: Unable to autoconnect, you'll have to manually connect
2015/01/25 00:08:33 :: Sending connection attempt result dhcp_failed
2015/01/25 00:08:33 :: attempting to set hostname with dhclient
2015/01/25 00:08:33 :: using dhcpcd or another supported client may work better
2015/01/25 00:08:34 :: attempting to set hostname with dhclient
2015/01/25 00:08:34 :: using dhcpcd or another supported client may work better


Ještě jsem zadal příkaz v terminále a ten se vyplnil až na podruhé cca po 3 min..:
michal@PC1:~$ su
Heslo:
root@PC1:/home/michal# dhclient eth0
root@PC1:/home/michal# dhclient eth0
root@PC1:/home/michal# dhclient eth0
RTNETLINK answers: File exists
root@PC1:/home/michal#


Předem moc děkuji. Michal

Michal

Nu a jak to vše dopadlo?
NetworkManagera jsem nainstaloval zpět, protože Wicd byl o mnoho horší. Jak jsem již popisoval. Po týdnu přišla nějaká oprava balíčků začínajících na lib...  a od té doby vše pracuje, tak jak má.  Všem moc děkuji za pomoc a přeji krásný a úspěšný den. Michal