Newsgroup: it.comp.os.linux.iniziare
Titolo: SIOCADDRT: Il file esiste

Ciao,
ho questo problema con eciadsl.
Ho debian 3.1, kernel 2.6.
Il modem è alice dataway usb...
Funziona benissimo con eciadsl, ma per farlo partire devo dare due volte il
comando eciadsl-start perché la prima volta il processo di connessione si
ferma alla fase "Connecting to provider... ".
Per ripartire fermo tutto con CTRL+C e digito di nuovo eciadsl-start.
Il tutto termina con l'errore :
Waiting for ppp0...
Adding default route... SIOCADDRT: Il file esiste
failed to set default route to ppp0
Ma la connessione funziona perfettamente.
Io vorrei risolvere questo problema, so che si può fare, potete aiutarmi ?
Googlando non sono riuscito a trovare la soluzione.
Vi riporto per intero il processo descritto:
# eciadsl-start
[EciAdsl 1/5] Setting up USB support...
Preliminary USB device filesystem is OK
[EciAdsl 2/5] Uploading firmware...
Process skipped .. no more needed
firmware loaded successfully
[EciAdsl 3/5] Synchronization...
OK eciadsl-synch: success
Synchronization successful
[EciAdsl 4/5] Connecting to provider...       <--- QUI PREMO CTRL+C perché
si ferma
Couldn't set tty to PPP discipline: Interrupted system call
Terminating on signal 2
Waiting for 1 child processes...
  script /usr/local/bin/eciadsl-pppoeci -vpi 8 -vci 35 -vendor
0x0915 -product 0x8102 -mode VCM_RFC2364, pid 3386
Child process /usr/local/bin/eciadsl-pppoeci -vpi 8 -vci 35 -vendor
0x0915 -product 0x8102 -mode VCM_RFC2364 (pid 3386) terminated with signal
2
ERROR: failed to connect
# eciadsl-start
[EciAdsl 1/5] Setting up USB support...
Preliminary USB device filesystem is OK
[EciAdsl 2/5] Uploading firmware...
Process skipped .. no more needed
firmware loaded successfully
[EciAdsl 3/5] Synchronization...
OK eciadsl-synch: success
Synchronization successful
[EciAdsl 4/5] Connecting to provider...
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <magic 0xdee7294>]
sent [LCP ConfReq id=0x1 <magic 0xdee7294>]
rcvd [LCP ConfReq id=0x98 <mru 9178> <auth pap> <magic 0x667812de>]
sent [LCP ConfAck id=0x98 <mru 9178> <auth pap> <magic 0x667812de>]
sent [LCP ConfReq id=0x1 <magic 0xdee7294>]
rcvd [LCP ConfReq id=0x99 <mru 9178> <auth pap> <magic 0x5b8ca7b9>]
sent [LCP ConfAck id=0x99 <mru 9178> <auth pap> <magic 0x5b8ca7b9>]
rcvd [LCP ConfAck id=0x1 <magic 0xdee7294>]
sent [PAP AuthReq id=0x1 user="
francesco....@alice.it
"
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=0x2 <addr 192.168.100.1>]
sent [IPCP ConfAck id=0x2 <addr 192.168.100.1>]
rcvd [IPCP ConfNak id=0x1 <addr 82.59.204.247> <ms-dns1 85.37.17.16>
<ms-dns3 85.38.28.68>]
sent [IPCP ConfReq id=0x2 <addr 82.59.204.247> <ms-dns1 85.37.17.16>
<ms-dns3 85.38.28.68>]
rcvd [IPCP ConfAck id=0x2 <addr 82.59.204.247> <ms-dns1 85.37.17.16>
<ms-dns3 85.38.28.68>]
local  IP address 82.59.204.247
remote IP address 192.168.100.1
primary   DNS address 85.37.17.16
secondary DNS address 85.38.28.68
Connection successful
[EciAdsl 5/5] Setting up route table...
Waiting for ppp0...
Adding default route... SIOCADDRT: Il file esiste
failed to set default route to ppp0
~#                      
Cio, grazie

[cut]
Ho risolto, o meglio, credo che al problema non ci sia soluzione.
Bug ?
Comunque ho risolto facendo partire eciadsl-doctor invece che eciadsl-start.
La connessione parte lo stesso, i tempi sono gli stessi, niente blocchi...
Ok, ciao!