Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema connesione alice adsl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
d3vah
Apprentice
Apprentice


Joined: 13 Feb 2003
Posts: 184
Location: Italy

PostPosted: Tue Aug 24, 2004 9:14 am    Post subject: Problema connesione alice adsl Reply with quote

Salve a tutti, ho fatto funzionare il modem ethernet e fatto collegare a internet con una fedora core 2.
Ora sto cercando di istallare gentoo sul computer di mia sorella, per la prima volta con l'adsl sul pc, dato che il mio computer, invece, ha la connessione via lan.
Il problema è semplice:
mi si collega ma non arrivano dati e le uniche cose che posso pingare sono
192.168.1.1 -> modem
192.168.100.1 -> centralina telecom (imho)

vi lascio un pò di log:
Code:

---------> adsl-setup
** Summary of what you entered **

Ethernet Interface: eth0
User name:          aliceadsl
Activate-on-demand: No
DNS addresses:      Supplied by ISP's server
Firewalling:        STANDALONE


livecd win # adsl-start
. Connected!


livecd win # ping 192.168.100.1 -c1
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=255 time=43.2 ms
--- 192.168.100.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 43.224/43.224/43.224/0.000 ms


livecd win # cat /etc/resolv.conf
nameserver 217.141.253.201
nameserver 151.99.125.1


livecd win # ping 217.141.253.201 -c1
PING 217.141.253.201 (217.141.253.201) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
--- 217.141.253.201 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms


livecd win # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:FC:E6:0D:C1
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45597 (44.5 Kb)  TX bytes:29075 (28.3 Kb)
          Interrupt:10 Base address:0x9000

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:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1716 (1.6 Kb)  TX bytes:1716 (1.6 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.51.92.220  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:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1295 (1.2 Kb)  TX bytes:54 (54.0 b)


Grazie a tutti
_________________
Ciro Guariglia
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Aug 24, 2004 9:22 am    Post subject: Reply with quote

sembra un problema di routing.

posta un route -n

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
d3vah
Apprentice
Apprentice


Joined: 13 Feb 2003
Posts: 184
Location: Italy

PostPosted: Tue Aug 24, 2004 10:15 am    Post subject: Reply with quote

eccolo

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.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
_________________
Ciro Guariglia
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Aug 24, 2004 1:13 pm    Post subject: Reply with quote

e' sbagliato il default gateway!

e' normale che non comunichi con il mondo.

il default gw deve essere 192.168.100.1 su ppp0

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
d3vah
Apprentice
Apprentice


Joined: 13 Feb 2003
Posts: 184
Location: Italy

PostPosted: Wed Aug 25, 2004 9:29 am    Post subject: Reply with quote

come si setta? non riesco a modificare la stringa.
Posso aggiungerne un'altra corretta ma non funziona lo stesso perchè forse lui considera la vecchia

grazie
_________________
Ciro Guariglia
Back to top
View user's profile Send private message
[hammerfall]
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 243

PostPosted: Wed Aug 25, 2004 9:45 am    Post subject: Reply with quote

Se e' corretta l'indicazione del post precedente devi usare il comando:
Code:
route add default gw 192.168.100.1

_________________
--------

Hammerfall ^_^
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Aug 25, 2004 9:48 am    Post subject: Reply with quote

io farei la prova di togliere il default gateway sulla tua conf di rete.

Probabilmente gli script (che non conosco) di dsl ti settano poi correttamente su ppp0.

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Aug 25, 2004 9:54 am    Post subject: Reply with quote

d3vah wrote:
come si setta? non riesco a modificare la stringa.

Code:
route add default gw ppp0

Secondo me, quello che ti succede è un "difetto" nel meccanismo dell'opzione DEFAULTROUTE all'interno del file /etc/ppp/pppoe.conf.

Anche se settata yes, infatti, questa opzione non sovrascrive i precedenti gateway di default (nel tuo cso 192.168.1.1).
Osserva questa sequenza:

Code:

gentoo-ppc cloc3 # route -en
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.200.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
gentoo-ppc cloc3 # adsl-start
. Connected!
gentoo-ppc cloc3 # route -en
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
172.16.200.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.168.100.1   0.0.0.0         UG        0 0          0 ppp0
gentoo-ppc cloc3 #
gentoo-ppc cloc3 # ping www.google.it
PING www.google.akadns.net (216.239.59.147) 56(84) bytes of data.
64 bytes from 216.239.59.147: icmp_seq=1 ttl=246 time=93.9 ms

--- www.google.akadns.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 93.970/93.970/93.970/0.000 ms

Però:
Code:

gentoo-ppc cloc3 # adsl-stop
Killing pppd (10619)
Killing adsl-connect (10588)
gentoo-ppc cloc3 # route add default 176.16.200.64
SIOCADDRT: No such device
gentoo-ppc cloc3 # route add default gw 176.16.200.64
SIOCADDRT: Network is unreachable
gentoo-ppc cloc3 # route add default gw 172.16.200.64
gentoo-ppc cloc3 # route -en
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.200.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         172.16.200.64   0.0.0.0         UG        0 0          0 eth0
gentoo-ppc cloc3 # adsl-start
.......... Connected!
gentoo-ppc cloc3 # route -en
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
172.16.200.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         172.16.200.64   0.0.0.0         UG        0 0          0 eth0
gentoo-ppc cloc3 # ping www.google.it
ping: unknown host www.google.it

Un'alternativa sarebbe usare /etc/init.d/net.ppp0 start
Quell'applicazione, però, sovrascrive il gateway precedente e può risultare altrettanto fastidiosa quando si chiude la connessione e si desidera riutilizzare il vecchio gateway.
Forse, servirebbe uno script adhoc per risolvere definitivamente il problema.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum