[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Alice ADSL su Debian



Ciao a tutti,

E' da un po' che provo a far funzionare Alice su Deb ... ma senza riuscire ..

Su Windows le cose vanno sia con l'USB che con la connessione Ethernet (ho il 
dualboot).
Ho installato il pppoe e lanciato il pppoeconf che mi trova il concentratore e 
setta tutto a dovere (almeno pare ..).
Infatti lanciando 
pon dsl-provider
il sistema configura tutto correttamente (eccetto che la default route non mi 
pare giusta ... ma il problema non semba essere quello). Quindi dal 
concentratore ricevo l'IP ed i nameserver .... ma poi non riesco ad uscire


Di seguito alcuni dati di sistema:
############################## INIZIO###################


uise@pavilion:~$ su -
Password:
pavilion:~#
pavilion:~#
pavilion:~#
pavilion:~#
pavilion:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0B:CD:87:96:44
          inet addr:192.168.1.30  Bcast:255.255.255.255  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1140 (1.1 KiB)  TX bytes:951 (951.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:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3328 (3.2 KiB)  TX bytes:3328 (3.2 KiB)

pavilion:~# pon dsl-provider
pavilion:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0B:CD:87:96:44
          inet addr:192.168.1.30  Bcast:255.255.255.255  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:4553 (4.4 KiB)  TX bytes:2566 (2.5 KiB)
          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:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3328 (3.2 KiB)  TX bytes:3328 (3.2 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.56.85.119  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:24 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:1061 (1.0 KiB)  TX bytes:82 (82.0 b)

pavilion:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.224 U     0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
pavilion:~# ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes
64 bytes from 192.168.100.1: icmp_seq=0 ttl=255 time=55.3 ms
64 bytes from 192.168.100.1: icmp_seq=1 ttl=255 time=48.1 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 48.1/51.7/55.3 ms
pavilion:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.6 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.5 ms

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.5/0.5/0.6 ms
pavilion:~# cat /etc/resolv.conf
nameserver 85.37.17.4
nameserver 151.99.125.1
pavilion:~# ping 85.37.17.4
PING 85.37.17.4 (85.37.17.4): 56 data bytes

--- 85.37.17.4 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
pavilion:~# ping 151.99.125.1
PING 151.99.125.1 (151.99.125.1): 56 data bytes

--- 151.99.125.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
pavilion:~#
pavilion:~#
pavilion:~#
pavilion:~#
pavilion:~# route del -net default
pavilion:~# route add default gw 192.168.100.1
pavilion:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.224 U     0      0        0 eth0
0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 ppp0
pavilion:~# ping 151.99.125.1
PING 151.99.125.1 (151.99.125.1): 56 data bytes

--- 151.99.125.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
pavilion:~# ping 85.37.17.4
PING 85.37.17.4 (85.37.17.4): 56 data bytes

--- 85.37.17.4 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss
pavilion:~#


i messaggi in var/log/messages.
Apr 17 15:15:03 pavilion pppd[915]: pppd 2.4.2 started by root, uid 0
Apr 17 15:15:03 pavilion pppd[915]: Couldn't open pty slave /dev/pts/0: No 
such file or directory
Apr 17 15:15:03 pavilion pppd[915]: Serial connection established.
Apr 17 15:15:03 pavilion pppd[915]: Using interface ppp0
Apr 17 15:15:03 pavilion pppd[915]: Connect: ppp0 <--> /dev/ttyp9
Apr 17 15:15:23 pavilion pppd[915]: PAP authentication succeeded
Apr 17 15:15:23 pavilion pppd[915]: local  IP address 82.56.85.119
Apr 17 15:15:23 pavilion pppd[915]: remote IP address 192.168.100.1
Apr 17 15:15:23 pavilion pppd[915]: primary   DNS address 85.37.17.4
Apr 17 15:15:23 pavilion pppd[915]: secondary DNS address 151.99.125.1



in /etc/ppp/pap-secrets c'e' la riga:
"aliceadsl" * "aliceadsl"

in /etc/ppp/peers/dsl-provider c'e' :

pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
noipdefault
defaultroute
hide-password
lcp-echo-interval 60
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
noaccomp
default-asyncmap
usepeerdns
user "aliceadsl"



##################################FINE###################

Se q.c. avesse una vaga idea o magari mi potesse anche indicare un SW per 
configurare la rete con Deb mifarebbe proprio un gran favore 


Grazie 

Dorian



Reply to: