LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-11-2004, 01:18 PM   #1
perky
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Unhappy Suse 9.0 and USB speedtouch 330 adsl modem


Hello All,

I am a new user to linux and have got a copy Suse 9.0 which was recommeded to me by a friend at work.

I have got a working install on a |Sony labtop and everthing went okay untill I tried to install a USB speedtouch 330 modem.

I found instrutions on a web-site xs4all.nl/~pschram/english.html

I followed these until I had a problem building the driver. I found the solution to this on a web page mailarchive.com/speedtouch@ml.free.fr/msg04869.html

This solved the problem building the driver. I then followed the rest of the instructions but I cannot connect.

I think the problem is with the modem_run programme as I would expect the lights to flash when I start this programme but nothing happens.

Does anyone know were I can find out what is going wrong as there is no messages from the modem run programme and I am not sure were to look for them ?

Does anyone have this modem working with Suse linux ?

Thanks
Mark
 
Old 02-22-2004, 02:32 PM   #2
frieslinux
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
It works for me.... but still having problems starting it, 1 in 10 it succeeds. Have you started hotplug?

This is the message when it fails (during the modem_run command):

"modem_run[25789]: Another program/driver is already accessing the modem (interface 1 cannot be claimed)..."

This is my script for starting it:



### Driver software:
### http://speedtouch.sourceforge.net/in...wnload.en.html
### http://unc.dl.sourceforge.net/source...h-1.2-beta3.ta
r.bz2

SCRIPT=adsl
IPADDRESS=">>>your ip address<<<<"
LOG=/usr/local/scripts/log
ACTION=$1

case "$ACTION" in
start)
$LOG S "$SCRIPT: Start ADSL..."
echo -n "Starting..."

echo -n "ppp_generic..."
modprobe ppp_generic

echo -n "ppp_synctty..."
modprobe ppp_synctty

echo -n "n_hdlc..."
modprobe n_hdlc

echo -n "modem_run..."
/usr/local/sbin/modem_run -m -f /usr/local/lib/mgmt.o
if [ "$?" != "0" ]
then
$LOG ! "$SCRIPT: Error with modem_run"
echo "Error with modem_run";
exit 1;
fi
result=`tail -3 /var/log/messages`
$LOG - "$SCRIPT: $result"

echo -n "start ppp..."
pppd call adsl

sleep 10
echo -n "gateway..."

sleep 2
route add default gw $IPADDRESS
echo " done."
$LOG E "$SCRIPT: Start ADSL done"
;;

stop)
$LOG S "$SCRIPT: Stop ADSL..."
echo -n "Stopping pppd..."
process=`ps -ef | grep pppd|grep -v grep`
if [ "x$process" = "x" ]
then
echo "pppd is not running!"
exit 1
fi
pid=`set $process;echo $2`
echo "killing process $pid"
kill $pid
result=`tail -3 /var/log/messages`
$LOG - "$SCRIPT: $result"

echo " done."
$LOG S "$SCRIPT: Start ADSL done"
;;

clean)
$LOG S "$SCRIPT: Cleaning up ADSL..."
echo -n "Cleaning up ADSL..."
rmmod n_hdlc
rmmod ppp_async
rmmod ppp_synctty
rmmod ppp_generic
rm /var/run/pppo*
echo "now powercycle the adsl modem "
echo " done."
echo "On errors, search for running processes"
$LOG S "$SCRIPT: Cleaning up ADSL done"
;;

*)
echo
echo "Usage: $0 start|stop|clean"
echo
echo " Sluit eerst de SpeedTouch 330 op de USB poort aan,"
echo " start daarna dit script"
echo
esac
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speedtouch 330 USB ADSL Modem on Slackware 9.1 mikeymorgan Linux - Hardware 3 05-23-2005 07:24 PM
Thomson (Alcatel) Speedtouch 330 ADSL modem on SuSE 9.1 Personal gazzafield Linux - Hardware 1 08-12-2004 10:06 PM
again speedtouch 330 usb adsl modem problem :( kaanmert Linux - Hardware 1 05-02-2004 10:10 PM
SuSE 8.0 and Speedtouch 330 usb modem jsatherley Linux - Distributions 10 02-25-2004 06:41 PM
Redhat 9 + Speedtouch USB (330) modem (adsl/broadband) gamewizards Linux - Hardware 1 08-01-2003 08:55 AM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration