|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jun 2002
Messaggi: 4854
|
eciadsl routing sbagliato, aiutatemi
Ciao,
scusate la lunghezza ma ho un problema con i driver eciadsl. Il problema l'ho risolto in parte perchè alla fine tutto funziona se prima faccio startmodem (o eciadsl-start) e poi eciadsl-doctor. Questo mi reimposta probabilmente le tabelle di routing ma vorrei poter lanciare il comando di avvio es. startmodem avendo già tutto il resto a posto. In pratica se non faccio l'eciadsl-doctor non riesco a navigare o a pingare dopo si. Vi posto i risultati con un pò di route e di ifconfig se riuscite ad aiutarmi. Grazie. PS: kernel 2.6.11 debian sid. Server-Station:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 Server-Station:~# startmodem [EciAdsl 1/5] Setting up USB support... Preliminary USB device filesystem is OK [EciAdsl 2/5] Uploading firmware... Warning: firmware seems to be already loaded Check that your modem is OFF before running startmodem (if modem is powered on, then unplug/replug it) [EciAdsl 3/5] Synchronization... Progress indicator is 01 No Signal ! Progress indicator is a0 No Signal ! Server-Station:~# startmodem [EciAdsl 1/5] Setting up USB support... Preliminary USB device filesystem is OK [EciAdsl 2/5] Uploading firmware... GlobeSpan USB ADSL WAN Modem compatible modem found (in 2483ms) eciadsl-firmware: success firmware loaded successfully [EciAdsl 3/5] Synchronization... Progress indicator is 01 No Signal ! Progress indicator is a0 No Signal ! Progress indicator is a1 Training... Progress indicator is a1 Training... Progress indicator is 43 Training... Progress indicator is a4 Training... Progress indicator is a4 Training... Progress indicator is 74 Training... Progress indicator is a6 Training... Progress indicator is 77 Training... Progress indicator is 75 Training... Progress indicator is aa Training... Progress indicator is 72 Training... Progress indicator is ad Training... eciadsl-synch: success Synchronization successful [EciAdsl 4/5] Connecting to provider... Couldn't get channel number: Input/output error Script /usr/bin/eciadsl-pppoeci -alt 4 -vpi 8 -vci 35 -vendor 0x0915 -product 0x0002 -mode VCM_RFC2364 finished (pid 4865), status = 0xf4 using channel 2 Using interface ppp0 Connect: ppp0 <--> /dev/pts/3 sent [LCP ConfReq id=0x1 <magic 0x26d812e4>] rcvd [LCP ConfReq id=0x1 <auth pap> <magic 0x94a24b84>] sent [LCP ConfAck id=0x1 <auth pap> <magic 0x94a24b84>] sent [LCP ConfReq id=0x1 <magic 0x26d812e4>] rcvd [LCP ConfAck id=0x1 <magic 0x26d812e4>] sent [PAP AuthReq id=0x1 user="ldalmais" password=<hidden>] rcvd [PAP AuthAck id=0x1 ""] PAP authentication succeeded sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfReq id=0x1 <addr 192.168.100.1>] sent [IPCP ConfAck id=0x1 <addr 192.168.100.1>] rcvd [LCP EchoReq id=0x1 magic=0x94a24b84 6a 6a 6a 6a] sent [LCP EchoRep id=0x1 magic=0x26d812e4 6a 6a 6a 6a] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfNak id=0x1 <addr 80.180.83.17> <ms-dns1 85.37.17.6> <ms-dns3 151.99.125.1>] sent [IPCP ConfReq id=0x2 <addr 80.180.83.17> <ms-dns1 85.37.17.6> <ms-dns3 151.99.125.1>] rcvd [IPCP ConfAck id=0x2 <addr 80.180.83.17> <ms-dns1 85.37.17.6> <ms-dns3 151.99.125.1>] not replacing default route to eth0 [192.168.0.1] local IP address 80.180.83.17 remote IP address 192.168.100.1 primary DNS address 85.37.17.6 secondary DNS address 151.99.125.1 Connection successful [EciAdsl 5/5] Setting up route table... Waiting for ppp0... Server-Station:~# ifconfig ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:80.180.83.17 P-t-P:192.168.100.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:19 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:918 (918.0 b) TX bytes:76 (76.0 b) Server-Station:~# eciadsl-doctor You are using linux kernel version 2.6.11 Support for USB is OK Preliminary USB device filesystem is OK dabusb module is not loaded: OK UHCI support is OK OHCI support is not needed /dev/ppp is OK HDLC support is OK HDLC support is OK (no bug) You are using pppd version 2.4.3 (untested) You have an /etc/ppp/options file. Options in this file may conflict with options from /etc/ppp/peers/adsl. We suggest to remove this file or make a backup copy. PPP connection is OK No default route over ppp0... trying to add Default route over ppp0 is OK You have default route(s) not over ppp0... trying to delete Deleting default route over eth0 Everything is OK Server-Station:~# 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.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
__________________
MacBook Pro Retina 15", 2,6ghz i7Quad, 16gb Ram, 512gb SSD, Mountain Lion - IMAC 24" mid 2007: Intel Extreme 2,8Ghz, 4GB RAM, 500GB Hard Disk, Mac OS X Lion. |
![]() |
![]() |
![]() |
#2 | |||
Member
Iscritto dal: May 2001
Città: Catania
Messaggi: 104
|
Quote:
Quote:
Quote:
Quando lanci eci-doctor lui se ne accorge (quote 2) e aggiusta le cose (quote 3), ovvero setta il default gateway verso il modem adsl (ppp0). Sicuramente qualche script di avvio setta il default gateway su eth0 ma su debian non so dove venga fatto.
__________________
MoBlock |
|||
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jun 2002
Messaggi: 4854
|
Grazie della risposta.
Chi ha idee dove potrei guardare tra gli script di avvio e che opzione magari è impostata?
__________________
MacBook Pro Retina 15", 2,6ghz i7Quad, 16gb Ram, 512gb SSD, Mountain Lion - IMAC 24" mid 2007: Intel Extreme 2,8Ghz, 4GB RAM, 500GB Hard Disk, Mac OS X Lion. |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jun 2002
Messaggi: 4854
|
up
__________________
MacBook Pro Retina 15", 2,6ghz i7Quad, 16gb Ram, 512gb SSD, Mountain Lion - IMAC 24" mid 2007: Intel Extreme 2,8Ghz, 4GB RAM, 500GB Hard Disk, Mac OS X Lion. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 01:23.