Salve a tutti, ho un problema che mi sta assillando da qualche giorno e nonostante le mie assidue letture al man e agli HOWTO non sono riuscito a risolvere.
Ho installato la Mdk8.0 (bellina davvero) con il kernel 2.4.3 perchè, mi era stato detto che la Mdk 7.2 con il kernel 2.4.x aveva problemi per la connessione ad internet. Ecco i passi che ho compiuto: 1) La prima cosa è stata controllare la rete: 1.a) con ifconfig e ping ho controllato le interfacce (lo ed eth0 sono presenti e funzionanti) 1.b) con route ho controllato gli instradamenti (127.0.0.0 e 192.168.0.0 sono attivi); in più ho creato un nuovo instradamento con route add -net default gw 192.168.0.1 per permettere (con il DNS server) l'accesso ad internet anche dell'altro computer 2) Ho controllato i file di configurazione: 2.a) /etc/host.conf 2.b) /etc/hosts 2.c) /etc/resolv.conf il cui contenuto è search localdomain # local name server nameserver 192.168.0.1 # wind name server nameserver 212.245.255.2 (anche se, per ora, non ho attivato il DNS) 3)Ho controllato che il demone pppd sia compatibile con la versione del kernel (2.4.x) che abbia i permessi per farlo eseguire a chiunque tramite suid-bit (chmod u+s /usr/sbin/pppd) e che il link e i permessi per il modem (/dev/ttyS0) siano a posto. 4) Ho scritto il file /etc/ppp/chat-scipt TIMEOUT 3 ABORT BUSY ABORT "NO CARRIER" "" AT&F OK ATE0Q0V1 OK ATS7=120S19=0L0M0&M4&K1&H1&R2&I0X3 OK ATDT0712460000 TIMEOUT 80 CONNECT "" Ho scritto da zero il file /etc/ppp/options, ovvero: connect "/usr/sbin/chat -v -f /etc/ppp/chat-script" user "valerio.spadoni" crtscts modem /dev/modem 57600 lock noauth defaultroute 0.0.0.0:0.0.0.0 noipdefault debug kdebug 7 Ed infine il file /etc/ppp/pap-secrets Lanciando pppd (sia da root che da utente normale), ciò che ottengo è (tail /var/log/message) Oct 14 11:33:53 localhost pppd[1906]: pppd 2.4.0 started by root, uid 0 Oct 14 11:33:54 localhost chat[1907]: timeout set to 3 seconds Oct 14 11:33:54 localhost chat[1907]: abort on (BUSY) Oct 14 11:33:54 localhost chat[1907]: abort on (NO CARRIER) Oct 14 11:33:54 localhost chat[1907]: send (AT&F^M) Oct 14 11:33:54 localhost chat[1907]: expect (OK) Oct 14 11:33:54 localhost chat[1907]: ^M Oct 14 11:33:54 localhost chat[1907]: OK Oct 14 11:33:54 localhost chat[1907]: -- got it Oct 14 11:33:54 localhost chat[1907]: send (ATE0Q0V1^M) Oct 14 11:33:55 localhost chat[1907]: expect (OK) Oct 14 11:33:55 localhost chat[1907]: ^M Oct 14 11:33:55 localhost chat[1907]: ATE0Q0V1^M^M Oct 14 11:33:55 localhost chat[1907]: OK Oct 14 11:33:55 localhost chat[1907]: -- got it Oct 14 11:33:55 localhost chat[1907]: send (ATS7=120S19=0L0M0&M4&K1&H1&R2&I0X3^M) Oct 14 11:33:55 localhost chat[1907]: expect (OK) Oct 14 11:33:55 localhost chat[1907]: ^M Oct 14 11:33:56 localhost chat[1907]: ^M Oct 14 11:33:56 localhost chat[1907]: OK Oct 14 11:33:56 localhost chat[1907]: -- got it Oct 14 11:33:56 localhost chat[1907]: send (ATDT0712460000^M) Oct 14 11:33:56 localhost chat[1907]: timeout set to 80 seconds Oct 14 11:33:56 localhost chat[1907]: expect (CONNECT) Oct 14 11:33:56 localhost chat[1907]: ^M Oct 14 11:34:01 localhost CROND[1909]: (root) CMD ( /usr/share/msec/promisc_check.sh) Oct 14 11:34:26 localhost chat[1907]: ^M Oct 14 11:34:26 localhost chat[1907]: CONNECT Oct 14 11:34:26 localhost chat[1907]: -- got it Oct 14 11:34:26 localhost chat[1907]: send (^M) Oct 14 11:34:26 localhost pppd[1906]: Serial connection established. Oct 14 11:34:26 localhost pppd[1906]: Using interface ppp0 Oct 14 11:34:26 localhost pppd[1906]: Connect: ppp0 <--> /dev/modem Oct 14 11:34:50 localhost pppd[1906]: Hangup (SIGHUP) Oct 14 11:34:50 localhost pppd[1906]: Modem hangup Oct 14 11:34:50 localhost pppd[1906]: Connection terminated. Oct 14 11:34:51 localhost pppd[1906]: Exit. Se provo a fare ifconfig non vedo l'interfaccio ppp0. Ancora se utilizzo l'utility kppp (pure qui ho impostato il suid-bit), sulla finestra di debug mi appare OK OK CONNECT 50666/ARQ/V90/LAPM/V42BIS ~}#@!}!g} }9}"}&} }*} } }#}%B#}%}%}&}:;#a}'}"}(}"9'~~}#@!}!h} }9}"}&} }*} } Sintomo evidente che il ppp da lato server è avvito e attende qualcosa. Scusate la lunghezza della mail Valerio