Sprawy sie maja nastepujaco:
Po włączeniu kompa "ifconfig"
eth0 Link encapthernet HWaddr 000:7D:7B:11:31
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2984 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:181728 (177.4 KiB) TX bytes:4020 (3.9 KiB)
Interrupt:5 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5348 (5.2 KiB) TX bytes:5348 (5.2 KiB)
SIEĆ NIEDZIAŁA (logiczne)
test1
komenda "sudo ifup eth0"
ifup: interface eth0 already configured
SIEĆ NIEDZIAŁA (nielogiczne)
kliknięcie na ikonce sieci w celu połączenia z siecią przewodową
SIEĆ DZIAŁA (logiczne)
komenda "sudo ifdown eth0"
There is already a pid file /var/run/dhclient.eth0.pid with pid 6158
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:7d:7b:11:31
Sending on LPF/eth0/00:e0:7d:7b:11:31
Sending on Socket/fallback
DHCPRELEASE on eth0 to 172.16.0.2 port 67
SIEĆ NIEDZIAŁA (logiczne)
komenda "sudo ifup eth0"
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:7d:7b:11:31
Sending on LPF/eth0/00:e0:7d:7b:11:31
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
ip length 345 disagrees with bytes received 349.
accepting packet with data after udp payload.
DHCPOFFER from 172.16.0.2
DHCPREQUEST on eth0 to 255.255.255.255 port 67
ip length 345 disagrees with bytes received 349.
accepting packet with data after udp payload.
DHCPACK from 172.16.0.2
bound to 78.133.198.72 -- renewal in 285958 seconds.
SIEĆ DZIAŁA (nielogiczne)
test2
komp świeżo włączony, sieć niekombinowana ikonką
komenda "sudo ifup eth0"
ifup: interface eth0 already configured
SIEĆ NIEDZIAŁA (nielogiczne)
komenda "sudo ifdown eth0"
There is already a pid file /var/run/dhclient.eth0.pid with pid 6158
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:7d:7b:11:31
Sending on LPF/eth0/00:e0:7d:7b:11:31
Sending on Socket/fallback
DHCPRELEASE on eth0 to 172.16.0.2 port 67
SIEĆ NIEDZIAŁA (logiczne)
komenda "sudo ifup eth0"
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:7d:7b:11:31
Sending on LPF/eth0/00:e0:7d:7b:11:31
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
ip length 345 disagrees with bytes received 349.
accepting packet with data after udp payload.
DHCPOFFER from 172.16.0.2
DHCPREQUEST on eth0 to 255.255.255.255 port 67
ip length 345 disagrees with bytes received 349.
accepting packet with data after udp payload.
DHCPACK from 172.16.0.2
bound to 78.133.198.72 -- renewal in 285958 seconds.
SIEĆ DZIAŁA (nielogiczne)
Czyli wygląda na to że pierwsza komenda ifup nie włącza sieci ponieważ system już jest skonfigurowany "jakoś"(pewnie z błędami stąd konieczność ikonki. Jednak po położeniu sieci (ifdown)i ponownym postawieniu komendą ifup sieć zaczyna działać...
Pytanie jak skonfigurować sieć żeby automatem komp podczas logowania do systemu podłączał w sposób właściwy neta poprzez dhcp. kiedyś używałem ubuntu 6.04 i mi logował automatem bez żadnych ikonek...