[ubuntu-it] Modem Alice ADSL EB1070
Fra
fraquerx a virgilio.it
Gio 15 Mar 2007 13:22:03 GMT
Ciao, ricapitolo ciò che ho fatto
Istallato scheda di rete ed ho specificato DHCP
Connesso il modem via Ethernet
Lanciato pppoeconf
a "popular option " ho risposto yes
inserito nome utente e password di Internet
a "pppoe clamp MSS a 1452 bytes" ho risposto yes
mi dice che "pon dsl-provider" serve per lanciare l'applicazione, "poff" per
chiuderla
root a ubuntu:/# pon dsl-provider
Plugin rp-pppoe.so loaded.
Lancio Firefox e non va
lancio plog e ifconfig:
root a ubuntu:/# plog
Mar 11 10:33:42 localhost pppd[5238]: Using interface ppp1
Mar 11 10:33:42 localhost pppd[5238]: Connect: ppp1 <--> eth1
Mar 11 10:34:02 localhost pppd[5238]: PAP authentication succeeded
Mar 11 10:34:02 localhost pppd[5238]: peer from calling number
00:09:B6:8B:2E:91 authorized
Mar 11 10:34:02 localhost pppd[5238]: not replacing existing default route
via 1 92.168.1.1
Mar 11 10:34:02 localhost pppd[5238]: Cannot determine ethernet address for
prox y ARP
Mar 11 10:34:02 localhost pppd[5238]: local IP address 82.49.157.12
Mar 11 10:34:02 localhost pppd[5238]: remote IP address 192.168.100.1
Mar 11 10:34:02 localhost pppd[5238]: primary DNS address 62.211.69.150
Mar 11 10:34:02 localhost pppd[5238]: secondary DNS address 212.48.4.15
root a ubuntu:/# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:82.49.160.41 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:6908 (6.7 KiB) TX bytes:54 (54.0 b)
root a ubuntu:/#
Ecco anche dsl-provider
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.
##
# Section 1
#
# Stuff to configure...
# MUST CHANGE: Uncomment the following line, replacing the user a provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the
password.)
#user myusername a myprovider.net
# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"
# The following two options should work fine for most DSL users.
# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute
##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.
#demand
#idle 300
##
# Section 3
#
# You shouldn't need to change these options...
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492
# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
noaccomp
# Asynchronous-Control-Character-Map (ACCM)
default-asyncmap
plugin rp-pppoe.so eth1
user "fraquerx a virgilio.it"
Se da firefox digito 192.168.1.1 entro nel modem che mi visualizza lo
stato:
Collegamento ethernet attivo 192.168.1.4
" " USB non attivo
Stato linea ADSL Attiva
Vel. Downlink 4032
Vel. Uplink 320
Modalità ATM G.dmt
VPI/VCI 8/35
Protocollo incapsulamento Bridget LLC/SNAP
inoltre
Traffico Lan 2196251 1409535
Traffico ADSL 24885 45971
Ho fatto il ping su un indirizzo noto e l'ho dovuto interrompere
ti listo i log
frankie a ubuntu:~$ sudo su
Password:
root a ubuntu:/home/frankie# cd /
root a ubuntu:/# pppoeconf
Plugin rp-pppoe.so loaded.
root a ubuntu:/# ping 83.103.30.45
PING 83.103.30.45 (83.103.30.45) 56(84) bytes of data.
^[
--- 83.103.30.45 ping statistics ---
92 packets transmitted, 0 received, 100% packet loss, time 91036ms
root a ubuntu:/# plog
Mar 13 18:36:22 localhost pppd[5162]: Connect: ppp0 <--> eth1
Mar 13 18:36:43 localhost pppd[5162]: PAP authentication succeeded
Mar 13 18:36:43 localhost pppd[5162]: peer from calling number
00:11:21:30:A7:AA authorized
Mar 13 18:36:46 localhost pppd[5162]: not replacing existing default route
via 192.168.1.1
Mar 13 18:36:46 localhost pppd[5162]: Cannot determine ethernet address for
proxy ARP
Mar 13 18:36:46 localhost pppd[5162]: local IP address 87.3.20.235
Mar 13 18:36:46 localhost pppd[5162]: remote IP address 192.168.100.1
Mar 13 18:36:46 localhost pppd[5162]: primary DNS address 85.37.17.55
Mar 13 18:36:46 localhost pppd[5162]: secondary DNS address 85.38.28.93
root a ubuntu:/# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:87.3.20.235 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:38 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:3188 (3.1 KiB) TX bytes:76 (76.0 b)
Questa è la storia
ciao Franco
Maggiori informazioni sulla lista
ubuntu-it