Verkkoyhteys katosi taas. En tehnyt koneella mitään ku asia tapahtui. Sama on tapahtunut kerran aikaisemminkin ja silloin sain jälkikäteen ohjeet:
sudo ifdown eth0
sudo ifup eth0
kokeilin nyt näitä huonolla menestyksellä (jouduin buuttaamaankin). Seuraavana tekemäni toimenpiteet joilla homma lähti taas toimimaan. Mistä oikein on kysymys ja miten tämän saisi korjattua jos (ja kun) vika vielä uusiutuu?
Käytössä feisty + elisa kaapelimodeemi. Ennen ongelmia ip:ni oli 81.198.68.81.
jone@jone-kone:~$ sudo ifdown eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 11208
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/
Corrupt lease file - possible data loss!
Listening on LPF/eth0/00:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.100.1 port 67
jone@jone-kone:~$ 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:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.100.1
bound to 192.168.100.10 -- renewal in 13 seconds.
jone@jone-kone:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:FC:3E:C9:53
inet addr:192.168.100.10 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13275782 errors:0 dropped:0 overruns:0 frame:0
TX packets:12230600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:635983465 (606.5 MiB) TX bytes:1862045235 (1.7 GiB)
Interrupt:17 Base address:0xe000
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:36987 errors:0 dropped:0 overruns:0 frame:0
TX packets:36987 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2106665 (2.0 MiB) TX bytes:2106665 (2.0 MiB)
-------------Buutti----------------
jone@jone-kone:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:FC:3E:C9:53
inet6 addr: fe80::21b:fcff:fe3e:c953/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5778 (5.6 KiB) TX bytes:8025 (7.8 KiB)
Interrupt:17 Base address:0xc000
eth0:avah Link encap:Ethernet HWaddr 00:1B:FC:3E:C9:53
inet addr:169.254.7.145 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0xc000
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:204 errors:0 dropped:0 overruns:0 frame:0
TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15384 (15.0 KiB) TX bytes:15384 (15.0 KiB)
Mikä ihme on tuo eth0:avah?? Minulla ei ole kuin yksi verkkokortti...
jone@jone-kone:~$ sudo ifdown eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 6375
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:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPRELEASE on eth0 to 212.63.11.56 port 67
jone@jone-kone:~$ ifconfig
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:221 errors:0 dropped:0 overruns:0 frame:0
TX packets:221 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17157 (16.7 KiB) TX bytes:17157 (16.7 KiB)
jone@jone-kone:~$ 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:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 10.0.64.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.64.1
bound to 81.197.68.81 -- renewal in 1779 seconds.
--------------Verkko toimii taas-------------
jone@jone-kone:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:FC:3E:C9:53
inet addr:81.197.68.81 Bcast:81.197.79.255 Mask:255.255.240.0
inet6 addr: fe80::21b:fcff:fe3e:c953/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10194 (9.9 KiB) TX bytes:17415 (17.0 KiB)
Interrupt:17 Base address:0xc000
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:296 errors:0 dropped:0 overruns:0 frame:0
TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Toivottavasti noista saa nyt jotain selvää että missä voisi vika olla (en keksinyt muutakaan mitä olisin tähän laittanut)
edit. nyt meni heti taas verkko hukkaan!! Tälläkertaa tuli jotai uutta juttuakin ifdown eth0 -komennolla:
jone@jone-kone:~$ sudo ifdown eth0
Password:
There is already a pid file /var/run/dhclient.eth0.pid with pid 9935
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/
/var/lib/dhcp3/dhclient.eth0.leases line 155: no option named domailease
option domailease {
^
/var/lib/dhcp3/dhclient.eth0.leases line 175: expecting lease declaration.
007/
^
/var/lib/dhcp3/dhclient.eth0.leases line 176: expecting semicolon.
expire
^
Listening on LPF/eth0/00:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPRELEASE on eth0 to 212.63.11.56 port 67
jone@jone-kone:~$ 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:1b:fc:3e:c9:53
Sending on LPF/eth0/00:1b:fc:3e:c9:53
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 10.0.64.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.64.1
bound to 81.197.68.81 -- renewal in 1662 seconds.
Pahoittelen tästä tuli nyt vähän pitkä sepustus..