It is not so difficult. If you understand a bit what you are doing, everything necessary is on the various scripts
If you don't use hot-plug, you can do like that in one script /sbin/modprobe speedtch /usr/local/bin/modem_run -k -v 1 -f /var/ipcop/alcatelusb/mgmt.o # time to avoid "Ressource temporary unavailable" /bin/sleep 5 and start pppd ----- Original Message ----- From: "Peter Bradley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 03, 2003 9:07 PM Subject: [speedtouch] Re: Connection Issues > > If you ever get it going, please let me know how. I've given up. > > Peter > > ----- Original Message ----- > From: "Adrian J Lester" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, November 02, 2003 7:10 PM > Subject: [speedtouch] Connection Issues > > > > > > Sorry for the vague subject line but I don't know what the root of the > problem > > here is. I have an Alcatel Speedtouch 330 modem, a Pipex ADSL connection > in > > the UK and speedbundle compiled and installed for pppoatm. > > > > I can't find anywhere in the documentation what commands one has to run in > > what order to get things going, however I have been guessing at: > > # modem_run -v 2 -m -f firmware.bin > > # modprobe speedtch > > # pppd call speedtch > > in some order. > > > > Issue 1 (the firmware): > > *************************** > > If without speedtch.o inserted I run: > > # modem_run -v 2 -m -f firmware.bin > > I get promising stuff in syslog, see extract A below. However a > > # modprobe speedtch > > # cat /proc/net/atm/speedtch\:0 > > gives: > > Speed Touch 330 (usb-00:10.0-1) > > MAC: 00:90:d0:b3:26:44 > > AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop ) > > Line state unknown, no firmware > > so implying that the firmware has not been loaded after all. > > > > > > If, then, I reboot the machine to make sure everything is cleaned out and > try > > loading the module first: > > # modprobe speedtch > > # modem_run -v 2 -m -f firmware.bin > > I get an error telling me that the device is already in use by another > > program, after the same initial stuff in syslog, and there's no nice "line > is > > up" line at the end. > > > > Issue 2 (persisting anyway): > > ********************************** > > If I ignore the ambiguity about the firmware (after the first method) and > > carry on then pppd prints a lot of random stuff to the console and writes > to > > syslog: > > Nov 3 13:04:17 Haar pppd[11377]: Plugin pppoatm.so loaded. > > Nov 3 13:04:17 Haar pppd[11377]: PPPoATM plugin_init > > Nov 3 13:04:17 Haar pppd[11377]: pppd 2.4.2b3 started by root, uid 0 > > Nov 3 13:04:17 Haar pppd[11377]: Using interface ppp0 > > Nov 3 13:04:17 Haar pppd[11377]: Connect: ppp0 <--> /dev/pts/0 > > Nov 3 13:04:47 Haar pppd[11377]: LCP: timeout sending Config-Requests > > Nov 3 13:04:47 Haar pppd[11377]: Connection terminated. > > > > Summary: > > ************ > > I am sure that I am being clueless and missing the point, running the > wrong > > things etc. but I have RTFM several times and can not find any basic usage > > information. > > If anyone could advise me I would be most grateful. > > > > ---------------------------------------- > > Extract A > > ---------------------------------------- > > Nov 3 15:15:51 Haar modem_run[463]: 00 01 74 07 00 e1 74 07 00 5d 75 07 > 00 77 > > ac 07 ..t...t..]u..w.. > > Nov 3 15:15:51 Haar modem_run[463]: 00 81 9f 07 00 9d 9e 07 00 d9 9f 07 > 00 19 > > ab ............... > > Nov 3 15:15:52 Haar modem_run[463]: Modem reference : 35717710...... > > Nov 3 15:15:52 Haar modem_run[463]: modem_start_synchro : > > Nov 3 15:15:52 Haar modem_run[463]: 00 00 > > .. > > Nov 3 15:16:14 Haar modem_run[464]: Sending a signal to notify the adsl > up > > state > > Nov 3 15:16:14 Haar modem_run[463]: ADSL synchronization has been > obtained > > Nov 3 15:16:14 Haar modem_run[463]: Modem State > > Nov 3 15:16:14 Haar modem_run[463]: c0 12 0007 : > > Nov 3 15:16:14 Haar modem_run[463]: 20 > > Nov 3 15:16:14 Haar modem_run[463]: c0 12 000b : > > Nov 3 15:16:14 Haar modem_run[463]: 00 00 40 02 00 00 20 01 > > [EMAIL PROTECTED] . > > Nov 3 15:16:14 Haar modem_run[463]: c0 12 000d : > > Nov 3 15:16:14 Haar modem_run[463]: 06 00 00 ea > > .... > > Nov 3 15:16:14 Haar modem_run[463]: c0 01 000e : > > Nov 3 15:16:14 Haar modem_run[463]: 00 > > . > > Nov 3 15:16:14 Haar modem_run[463]: c0 01 000f : > > Nov 3 15:16:14 Haar modem_run[463]: 00 > > . > > Nov 3 15:16:14 Haar modem_run[463]: ADSL line is up (576 kbit/s down | > 288 > > kbit/s up) > > -------------------------------------- > > -------------------------------------- > > > > > > Many thanks, > > > > Adrian Lester. > > > > > > *************************** > > > > > > Liste de diffusion modem ALCATEL SpeedTouch USB > > Pour se d�sinscrire : > mailto:[EMAIL PROTECTED] > > > > > > > > > Liste de diffusion modem ALCATEL SpeedTouch USB > Pour se d�sinscrire : mailto:[EMAIL PROTECTED] > > Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:[EMAIL PROTECTED]
