1 |
> Run these (in sequence) as root (and post output): |
2 |
> |
3 |
> # echo > /etc/conf.d/net |
4 |
> # /etc/init.d/net.eth0 stop |
5 |
> # /etc/init.d/net.eth0 zap |
6 |
> # ifconfig eth0 192.168.1.20 up |
7 |
> # ifconfig |
8 |
> # ping 192.168.1.1 |
9 |
|
10 |
Bad luck: it fails. |
11 |
|
12 |
Bureau cahn # echo > /etc/conf.d/net |
13 |
Bureau cahn # /etc/init.d/net.eth0 stop |
14 |
* Caching service dependencies ... |
15 |
[ ok ] |
16 |
* Bringing down interface eth0 |
17 |
* Stopping dhcpcd on eth0 ... |
18 |
[ ok ] |
19 |
* Removing addresses |
20 |
* 192.168.1.20/24 |
21 |
Bureau cahn # /etc/init.d/net.eth0 zap |
22 |
* Manually resetting net.eth0 to stopped state |
23 |
Bureau cahn # ifconfig eth0 192.168.1.20 up |
24 |
Bureau cahn # ifconfig |
25 |
eth0 Lien encap:Ethernet HWaddr 00:1e:8c:4a:44:db |
26 |
inet adr:192.168.1.20 Bcast:192.168.1.255 Masque:255.255.255.0 |
27 |
adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien |
28 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
29 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
30 |
TX packets:662 errors:0 dropped:0 overruns:0 carrier:0 |
31 |
collisions:0 lg file transmission:1000 |
32 |
RX bytes:0 (0.0 B) TX bytes:147085 (143.6 KiB) |
33 |
Interruption:17 |
34 |
|
35 |
lo Lien encap:Boucle locale |
36 |
inet adr:127.0.0.1 Masque:255.0.0.0 |
37 |
adr inet6: ::1/128 Scope:Hôte |
38 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
39 |
RX packets:39878 errors:0 dropped:0 overruns:0 frame:0 |
40 |
TX packets:39878 errors:0 dropped:0 overruns:0 carrier:0 |
41 |
collisions:0 lg file transmission:0 |
42 |
RX bytes:3166048 (3.0 MiB) TX bytes:3166048 (3.0 MiB) |
43 |
|
44 |
Bureau cahn # ping 192.168.1.1 |
45 |
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. |
46 |
From 192.168.1.20 icmp_seq=2 Destination Host Unreachable |
47 |
From 192.168.1.20 icmp_seq=3 Destination Host Unreachable |
48 |
From 192.168.1.20 icmp_seq=4 Destination Host Unreachable |
49 |
From 192.168.1.20 icmp_seq=6 Destination Host Unreachable |
50 |
|
51 |
Thanks for help |
52 |
Roger |