tgmx ha scritto:non so a cosa è dovuto l'errore ma io personalmente userei pppsetup da console.
ti chiede lui quello che gli serve
poi avvii la connessione con ppp-go
Infatti ho provato ad impostare la connessione con pppsetup,ho cambiato alcuni comandi AT del modem e sono riuscito a collegarmi ed ad avere una connessione stabile....però c'è ancora un problema!!!
sono riesco a visualizzare le pagine!!!
Vi posto alcuni comandi :
root@shuttle:/etc/ppp# ppp-go
root@shuttle:/etc/ppp# Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
PAP authentication succeeded
not replacing existing default route via 192.168.0.1
local IP address 80.104.207.66
remote IP address 217.141.254.1
questo è quando lancio ppp-go,per quello che ho capito si collega ,però c'è una riga che mi puzza ed è la seguente
not replacing existing default route via 192.168.0.1
Questo è l'output di ifconfig :
root@shuttle:/etc/ppp# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:6C:21:C2:38
inet addr:192.168.0.99 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0x9c00
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)
ppp0 Link encap:Point-to-Point Protocol
inet addr:80.104.207.66 P-t-P:217.141.254.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:42 (42.0 b) TX bytes:63 (63.0 b)
Ho provato a pingare i DNS :
root@shuttle:/etc/ppp# ping 212.216.112.112
PING 212.216.112.112 (212.216.112.112) 56(84) bytes of data.
From 192.168.0.99 icmp_seq=3 Destination Host Unreachable
From 192.168.0.99 icmp_seq=4 Destination Host Unreachable
--- 212.216.112.112 ping statistics ---
6 packets transmitted, 0 received, +2 errors, 100% packet loss, time 5007ms
, pipe 2
ma niente!!!
questo invece è l'output del comando route lanciato da slack:
root@shuttle:/etc/ppp# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
217.141.254.10 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.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.0.1 0.0.0.0 UG 1 0 0 eth0
lanciando il comando route da windows invece ottengo questo output :
C:\Documents and Settings\Nicop>route print
===========================================================================
Elenco interfacce
0x1 ........................... MS TCP Loopback interface
0x2 ...00 01 6c 21 c2 38 ...... NIC Fast Ethernet PCI Realtek RTL8139 Family - M
iniport dell'UtilitÓ di pianificazione pacchetti
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Route attive:
Indirizzo rete
0.0.0.0
80.104.209.251
80.255.255.255
127.0.0.0
217.141.254.10
224.0.0.0
255.255.255.255
255.255.255.255
Mask
0.0.0.0
255.255.255.255
255.255.255.255
255.0.0.0
255.255.255.255
240.0.0.0
255.255.255.255
255.255.255.255
Gateway
80.104.209.251
127.0.0.1
80.104.209.251
127.0.0.1
80.104.209.251
80.104.209.251
80.104.209.251
80.104.209.251
Gateway predefinito: 80.104.209.251
===========================================================================
Route permanenti:
Nessuno
che è diverso!!!
ed infine il comando ppp-off per disconnettere :
root@shuttle:/etc/ppp# ppp-off
Terminating on signal 2
PPP link to [ppp0] terminated.
Demand Dialing Stoped.
Connect time 2.8 minutes.
Sent 0 bytes, received 714 bytes.
root@shuttle:/etc/ppp# Connection terminated.
Dopo tutte queste prove sono arrivato al punto che sia un problema di routing,qualcuno sa darmi una mano??
grazie...