> Run these (in sequence) as root (and post output): > > # echo > /etc/conf.d/net > # /etc/init.d/net.eth0 stop > # /etc/init.d/net.eth0 zap > # ifconfig eth0 192.168.1.20 up > # ifconfig > # ping 192.168.1.1
Bad luck: it fails. Bureau cahn # echo > /etc/conf.d/net Bureau cahn # /etc/init.d/net.eth0 stop * Caching service dependencies ... [ ok ] * Bringing down interface eth0 * Stopping dhcpcd on eth0 ... [ ok ] * Removing addresses * 192.168.1.20/24 Bureau cahn # /etc/init.d/net.eth0 zap * Manually resetting net.eth0 to stopped state Bureau cahn # ifconfig eth0 192.168.1.20 up Bureau cahn # ifconfig eth0 Lien encap:Ethernet HWaddr 00:1e:8c:4a:44:db inet adr:192.168.1.20 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:662 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 B) TX bytes:147085 (143.6 KiB) Interruption:17 lo Lien encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:Hôte UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:39878 errors:0 dropped:0 overruns:0 frame:0 TX packets:39878 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:3166048 (3.0 MiB) TX bytes:3166048 (3.0 MiB) Bureau cahn # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. >From 192.168.1.20 icmp_seq=2 Destination Host Unreachable >From 192.168.1.20 icmp_seq=3 Destination Host Unreachable >From 192.168.1.20 icmp_seq=4 Destination Host Unreachable >From 192.168.1.20 icmp_seq=6 Destination Host Unreachable Thanks for help Roger