Hi Johann,
On Thursday 02 October 2003 07:28, Johann Vincent Paul de Ungria Tagle wrote:
> Hi. I was able to get speedtouch usb running on a RH7.3 (kernel 2.14.18)
> box. Only problem is, whenever I reboot the machine, I have to disconnnect
> and reconnect the modem before I can run pppd. /var/log/messages reports
> one of the following:
>
> connect(0.35): No such device
You can get this one if you do the following: (1) ppp is running, (2) you unplug the
modem, (3) you launch ppp. This happens because the first ppp hasn't terminated,
which causes the ATM layer to keep the connection open (even though the modem
has gone), which makes the ATM layer think the modem is still there, which means
that when you launch the second ppp the ATM layer tries to connect to the no
longer present modem (and it gets a "no such device" message back, because
indeed the device has gone).
> connect(0.35): Resource temporarily unavailable
This one means that the firmware has not been uploaded yet. You may need to
wait longer between launching modem_run (or speedmgmt) and trying to
establish a connection (increase the sleep number of seconds in the hotplug
script). It used to be that you could open a connection even if the firmware
wasn't uploaded yet, but I changed that.
> After that I just disconnect and reconnect the modem and it gets
> initialized - but not before getting some error messages (see below).
>
> Sep 30 16:48:13 DSL pppd[1339]: Plugin /usr/lib/pppd/plugins/pppoatm.so
> loaded. Sep 30 16:48:13 DSL pppd[1339]: PPPoATM plugin_init
> Sep 30 16:48:13 DSL pppd[1339]: PPPoATM setdevname_pppoatm
> Sep 30 16:48:13 DSL pppd[1339]: PPPoATM setdevname_pppoatm - SUCCESS
> Sep 30 16:48:13 DSL pppd[1340]: pppd 2.4.0 started by root, uid 0
> Sep 30 16:48:13 DSL pppd[1340]: connect(0.35): Resource temporarily
> unavailable Sep 30 16:48:13 DSL pppd[1340]: Exit.
No firmware yet.
> Sep 30 16:48:39 DSL kernel: usb.c: USB disconnect on device 2
> Sep 30 16:48:39 DSL kernel: hub.c: USB new device connect on bus1/1,
> assigned device number 3 Sep 30 16:48:43 DSL usb.agent[1355]: missing
> kernel or user mode driver speedtch Sep 30 16:48:43 DSL Speedmgmt[1390]:
> Alcatel SpeedTouch USB Management daemon started. Sep 30 16:48:43 DSL
> Speedmgmt[1390]: (C) Alcatel 2001, Version 1.3.4 Sep 30 16:48:43 DSL
> kernel: usb_control/bulk_msg: timeout
> Sep 30 16:48:43 DSL kernel: usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x85
> len 512 ret -110 Sep 30 16:48:43 DSL Speedmgmt[1390]: Preceding (timeout)
> error messages are normal. Sep 30 16:48:43 DSL Speedmgmt[1400]: Cannot find
> usb file system Unknown error 4294967294
I've seen this error before, and in that case it also didn't seem to matter either.
Sep 30 16:48:48 DSL kernel:
> usb_control/bulk_msg: timeout
> Sep 30 16:49:01 DSL Speedmgmt[1390]: Modem initialised at 8000 kbit/s
> downstream and 928 kbit/s upstream
Firmware now uploaded to the modem. Looks like you have paid for a very high speed
line.
Sep 30 16:49:06 DSL pppd[1401]: Plugin
> /usr/lib/pppd/plugins/pppoatm.so loaded. Sep 30 16:49:06 DSL pppd[1401]:
> PPPoATM plugin_init
> Sep 30 16:49:06 DSL pppd[1401]: PPPoATM setdevname_pppoatm
> Sep 30 16:49:06 DSL pppd[1401]: PPPoATM setdevname_pppoatm - SUCCESS
> Sep 30 16:49:06 DSL pppd[1402]: pppd 2.4.0 started by root, uid 0
> Sep 30 16:49:06 DSL pppd[1402]: Using interface ppp0
> Sep 30 16:49:06 DSL pppd[1402]: Connect: ppp0 <-->
> Sep 30 16:49:08 DSL modprobe: modprobe: Can't locate module ppp-compress-21
> Sep 30 16:49:08 DSL modprobe: modprobe: Can't locate module ppp-compress-21
> Sep 30 16:49:08 DSL pppd[1402]: local IP address 203.177.62.98
> Sep 30 16:49:08 DSL pppd[1402]: remote IP address 203.177.3.27
> Sep 30 16:49:08 DSL pppd[1402]: primary DNS address 203.127.225.10
> Sep 30 16:49:08 DSL pppd[1402]: secondary DNS address 203.177.3.100
>
> Would appreciate any suggestions. Thanks!
Put a
sleep 20
or more between the place where you launch speedmgmt and the place where you
launch pppd.
I hope this helps,
Duncan.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users