LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   internet gets disconnected usb adsl (https://www.linuxquestions.org/questions/linux-hardware-18/internet-gets-disconnected-usb-adsl-219720/)

jwijesundra 08-19-2004 11:28 AM

internet gets disconnected usb adsl
 
hey ppl,

I have a USB ADSL speedtouch 330 modem. However after a while my internet gets disconnected in a strange fashion. It appears to be perfectly fine, in that in /sbin/ifconfig data is still being transferred though non is received. I have no idea of what the cause of the problem is but I experienced the same thing in windows once and what I had 2 do was 'stop' the usb modem device. pull it out and plug it back in. But on linux when I do this the lights on the modem don't come back on, and I am forced 2 restart the machine. Can some1 please tell me how I can achieve this functionality on linux or the source of the problem.

Also when I reboot after this has happened, I see an error message about unmounting the usb or something like that? (goes so fast can't figure it out exactly(

Thanks

rhettmaxwell 08-19-2004 11:39 AM

try restarting your adsl connection with 'adsl-stop' and 'adsl-start'. If that doesn't work you can try restarting your networking service. 'service network restart' or '/etc/init.d/network/network restart'.

These scripts are probably called during your bootup process. if this works, then you can create a hotplug script to start the dsl for you whenever the device is plugged in.

Proud 08-19-2004 07:00 PM

What colour's your modem?

When it's plugged in, it will need the firmware/microcode to be sent to it only once, then you attempt the ppp connection. After disconnecting once, try pppd call adsl to bring it back up, if you have anything in /etc/ppp/peers/

jwijesundra 08-20-2004 03:23 AM

the modem is silver, how do i disconnect the connection, plus how do i unplug the modem such that I can put it back in.

Proud 08-20-2004 06:02 AM

Do you have /usr/share/speedtouch/speedtouch.sh ?
Have you configured /etc/speedtouch.conf ?

Basically you should be able to call speedtouch.sh stop, pull the modem out, put it in, call speedtouch.sh start and have your connection running again after a few seconds.

Try running tail -f -n 30 /var/log/messages while you're online so you can see if there's any reports of device error.

jwijesundra 08-20-2004 10:57 AM

thanks for the help everyone.
I didn't configure the modem myself so I am unsure as to how it works. However I did find a speedtouch.sh in /usr/share/doc/speedtouch/
Upon running it it said FAILED, like the way things happen when linux is loading, and straight after my USB mouse stopped working.

Proud 08-21-2004 05:24 PM

/usr/share/doc/speedtouch sounds odd...

Again, try running tail -f -n 30 /var/log/messages while you're online so you can see if there's any error reported before it fails.


All times are GMT -5. The time now is 08:58 PM.