Newsgroup: it.comp.os.linux.iniziare
Titolo: modem adsl d-link 302t + libero

Ciao a tutti.
Sono nuovo sia del forum che di linux.
Ho installato debian sul mio portatile ed ora voglio installare il
modem.
Ho un d-link 302t (quello che danno con alice) ed il mio provider è
libero.
Ho provatoa configurare la connessione ma ho dei problemi.
ecco quello che ho fatto.
ciao....
belatron:~# ifconfig eth0 192.168.1.2 broadcast 192.168.1.255 netmask
255.255.25
5.0 up
belatron:~# route add default gw 192.168.1.1
belatron:~# 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
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
belatron:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:CA:D5:C4:AB
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:caff:fed5:c4ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:586 errors:0 dropped:0 overruns:0 frame:0
TX packets:951 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:98055 (95.7 KiB) TX bytes:95400 (93.1 KiB)
Interrupt:177
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:91 errors:0 dropped:0 overruns:0 frame:0
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14352 (14.0 KiB) TX bytes:14352 (14.0 KiB)
belatron:~# pppoeconf
Plugin rp-pppoe.so loaded.
belatron:~# ping 
www.google.it
ping: unknown host 
www.google.it
belatron:~# pong
-su: pong: command not found
belatron:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
151.6.152.65 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
belatron:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:CA:D5:C4:AB
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:caff:fed5:c4ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:682 errors:0 dropped:0 overruns:0 frame:0
TX packets:1043 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:110083 (107.5 KiB) TX bytes:105620 (103.1 KiB)
Interrupt:177
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:91 errors:0 dropped:0 overruns:0 frame:0
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14352 (14.0 KiB) TX bytes:14352 (14.0 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:151.56.237.218 P-t-P:151.6.152.65 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:7 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:246 (246.0 b) TX bytes:54 (54.0 b)

 RX bytes:246 (246.0 b) TX bytes:54 (54.0 b)
 
La connessione funziona correttamente, ma non hai impostato i dns. il
modo piu' semplice e' configurare l'interfaccia eth0 come DHCP (il
modem dovrebbe arrangiarsi ad assegnarti i parametri corretti).
Probabilmente fa casino anche il default gw impostato sul modem,
dovresti lasciare che lo imposti lui su ppp0.
Ciao
- -- 
In the Spring, I have counted 136 different kinds of weather inside of
24 hours.
		-- Mark Twain, on New England weather
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEQNBxWhjzvHi8zFYRAmV6AJsFcPik6NHkHZtx8Fv68VJeAE9Z8wCghp/r
zLWJtZQPeGJ6xl4WTz8Etmw=
=xbn1
-----END PGP SIGNATURE-----