Ok, pas de soucis, tu as déjà été très sympa de prendre du temps pour moi et pour ça 😉
Maintenant ça peut provenir d'un détail ou de qqch que j'aurais compris de traviole.
Pour résumer, j'ai installé l'archive comme proposé sur le site.
J'ai ensuite copié le fichier wvdial-hiawei.conf dans /etc. Je n'ai pas modifié ce dernier du moment où j'ai fait le nécessaire pour ôter de ma puce le PIN.
Bon ensuite j'ai copié ton script que j'ai collé dans une console en mode root.
En faisant celà, j'obitens l'output suivant :
[root@voyager3 huawei]# #!/bin/sh
[root@voyager3 huawei]# if [ "`pgrep wvdial`" = "" ]
> then
> echo "Launching wvdial"
> wvdial --config /etc/wvdial-huawei.conf
> else
> echo "Stopping wvdial"
> /usr/bin/killall wvdial
> fi
Launching wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Dec 3 20:53:57 2007
--> Pid of pppd: 14905
--> pppd: ???[08]
--> Using interface ppp0
--> pppd: ???[08]
--> pppd: ???[08]
--> pppd: ???[08]
--> pppd: ???[08]
--> pppd: ???[08]
--> local IP address 10.205.13.174
--> pppd: ???[08]
--> remote IP address 10.64.64.64
--> pppd: ???[08]
--> primary DNS address 195.141.56.5
--> pppd: ???[08]
--> secondary DNS address 193.192.227.3
--> pppd: ???[08]
mon ping me donne ceci. D'ailleurs je ping 10.64.64.64 et il me dit que 212.161.207.189 n'est pas joingniable !! Etonnant cette adresse là, non ?
[root@voyager3 ~]# ping 10.64.64.64
PING 10.64.64.64 (10.64.64.64) 56(84) bytes of data.
From 212.161.207.189 icmp_seq=7 Destination Host Unreachable
From 212.161.207.189 icmp_seq=12 Destination Host Unreachable
From 212.161.207.189 icmp_seq=13 Destination Host Unreachable
From 212.161.207.189 icmp_seq=25 Destination Host Unreachable
From 212.161.207.189 icmp_seq=42 Destination Host Unreachable
From 212.161.207.189 icmp_seq=50 Destination Host Unreachable
From 212.161.207.189 icmp_seq=53 Destination Host Unreachable
From 212.161.207.189 icmp_seq=57 Destination Host Unreachable
et les routes sont :
[root@voyager3 ~]# route -e
Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
Il y a au niveau du ping qqch de bizarre je trouve.
Voilà, faudrait-il poster ce problème dans le forum réseau, vu que d'un point de vue matos ça semble être bon ?
Jet