Merci

.Voilà, sous Arch, il me manque des lignes mais j'ai pas eu le courage de tout recopier
Code : Tout sélectionner
mkdir /media/cle
mount /dev/sdX -t vfat -o umask=0 /media/cl
Code : Tout sélectionner
route > /media/cle/route_arch
Code : Tout sélectionner
umount /media/cle
Code : Tout sélectionner
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 ath0
loopback * 255.0.0.0 U 0 0 0 lo
default mygateway1.ar7 0.0.0.0 UG 0 0 0 ath0
Code : Tout sélectionner
eth0
Link encap:Eternet HWaddr 00:08:A1:1A:B5:88
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BRODCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:554 (554.0 b) TX bytes: à (0.0 b)
Interrupt:11 Base address:0x8000
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code : Tout sélectionner
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
netstat -run
Destnation Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Code : Tout sélectionner
ath0 Lien encap:Ethernet HWaddr 00:15:E9:4B:76:BA
inet adr:192.168.1.10 Bcast:255.255.255.255 Masque:255.255.255.0
eth0 Lien encap:Ethernet HWaddr 00:04:76:42:A8:62
Code : Tout sélectionner
eth0 Lien encap:Ethernet HWaddr 00:08:A1:1A:B5:88
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.
Code : Tout sélectionner
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 ath0
loopback * 255.0.0.0 U 0 0 0 lo
default mygateway1.ar7 0.0.0.0 UG 0 0 0 ath0
Code : Tout sélectionner
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
Code : Tout sélectionner
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ath0
Code : Tout sélectionner
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Bah + précisemment tu as tapé quelle commande ?bdcsolo a écrit :Désolé, j'ai pas su charger la clé, j'ai tout retaper.
Code : Tout sélectionner
mkdir /media/cle
mount /dev/sdX -t vfat -o umask=0 /media/cle
Code : Tout sélectionner
route 2>&1 > route.txt
netstat -prn 2>&1 > netstat\ -prn.txt
mkdir /mnt/clef
mount /dev/sda1 /mnt/clef
cp -a *.txt /mnt/clef
umount /mnt/clef
Code : Tout sélectionner
Destination Gateway Genmask Flags Metric Ref Use Iface
puppynet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default pc2 0.0.0.0 UG 0 0 0 eth0
Code : Tout sélectionner
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 eth0
127.0.0.0 O.0.0.0 255.0.0.0 U 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 eth0
Code : Tout sélectionner
eth0
Link encap:Ethernet HWaddr 00:08:A1:1A:B5:88
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:O dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2097 (2.0 KiB) TX bytes:1240 (1.2Kib)
Interrupt:11 Base address:0x6000
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisiosns:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Code : Tout sélectionner
Destination Gateway Genmask Flags Metric Ref Use Iface
puppynet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default pc2 0.0.0.0 UG 0 0 0 eth0
Code : Tout sélectionner
sh-3.00# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Code : Tout sélectionner
sh-3.00# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:A1:1A:B5:88
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1113 errors:0 dropped:0 overruns:0 frame:0
TX packets:1139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:669411 (653.7 KiB) TX bytes:285623 (278.9 KiB)
Interrupt:11 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Code : Tout sélectionner
cat /etc/hosts
Code : Tout sélectionner
sh-3.00# cat /etc/hosts
127.0.0.1 localhost puppypc
192.168.1.1 pc2
192.168.1.2 pc3
192.168.1.3 pc4
sh-3.00#
Code : Tout sélectionner
o="lo 127.0.0.1"
eth0="eth0 198.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
Code : Tout sélectionner
/etc/hosts:
127.0.0.1 localhost.localdomain localhost
Code : Tout sélectionner
ping -c3 www.google.fr
ping/ unknown host.google.fr
ping 192.168.1.1 : ok, fonctionne