LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2002, 06:04 AM   #1
dochyde
LQ Newbie
 
Registered: Jul 2002
Distribution: Debian/Slackware
Posts: 5

Rep: Reputation: 0
Slackware and Alcatel USB SpeedTouch Modem...


Hi all...

Wowo I am so happy I found a place like that...

So I've been using Linux for 2 years now and I love it...
I started with RedHat which always got me happy until I got a bit more demanding, then I started getting crashes.
So now I have a project for which I I need uptime...so I decided to change my server from RadHat 7.2 to Slackware 8.1 =)
This server kept my ADSL connection alive and some other services...
This whole thing takes 15mns to configure on RedHat.....but I've been fighting with Slackware for 3 days now....I can't find nearly as much information nor help on the net.
Here is what has been done:
Apparently Slackware does not support USB by default on it's kernels! (that I must say from a user point of view is not very "in the move"). So I decided to compile a new kernel...with all the USB options (since I can't seem to find a SiNGLE doc on which options to enable, module or not). Everything went great. So I installed the new kernel....
WHat's new...is that now I can finally mount the USBDEVFS. but my modem leeds still don't light up on boot time.
so I "lsmod".......and realise that the modules that I put in /etc/modules are not loaded! actually none of my modules are loaded...
I don't understand why it is soo complicated...as I am using very common stuff.
Please help me.....I must admit I am loosing faith....because I wonder how it can be so easy on one distro and so darn complicated on the other.

Thank you very much....
 
Old 07-30-2002, 01:49 PM   #2
Nigel_Tufnel
Member
 
Registered: Jul 2002
Location: Easton, PA
Distribution: Debian, Kubuntu, Arch
Posts: 116

Rep: Reputation: 15
In Slackware loadable modules are not in /etc/modules. They are in /etc/rc.d/rc.modules. Here's the link from the Slack site:

http://www.slackware.com/config/init.php
 
Old 07-30-2002, 07:27 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The default kernel does have usb support, you just have to uncomment the lines in rc.modules for the modules you need to load.
 
Old 08-07-2002, 06:05 AM   #4
mr_mandrill
Member
 
Registered: Aug 2002
Location: UK
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
You Solved this yet?

Reently send up my Speedtouch with Slackware, fairly straight forward if you follow the speedtouch howto...

http://cvs.sourceforge.net/cgi-bin/v...oc-linux/howto

If you're still stumped let me know and i'll do what i can to help
 
Old 09-01-2002, 03:25 PM   #5
duff
LQ Newbie
 
Registered: Sep 2002
Location: Edinburgh UK
Posts: 13

Rep: Reputation: 0
Hi. I'm new to these forums but I have a similar problem to the originator of this thread.

My /proc/bus/usb directory is empty.

I am trying to setup the speedtouch modem with slackware 8.1. I've followed the method for Benoits driver but when I run "modem_run -m -f /usr/mgmt.o" I get a message telling me the system can't see my modem and to look in /proc/bus/usb/devices.

But the devices bit is missing!!

I've tried adding "none /proc/bus/usb usbdevfs none 0 0" to my fstab but still no joy.

Any help appreciated.

Last edited by duff; 09-02-2002 at 03:38 AM.
 
Old 09-02-2002, 05:14 AM   #6
mr_mandrill
Member
 
Registered: Aug 2002
Location: UK
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
My setup is slighty different... I'm using the alcaudsl.sys file for the microcode...

is the usbcore module loaded
modprobe usbcore

does the usbdevfs mount correctly?
post your fstab and mtab files if you could?


Also do you have all the required entries in you /etc/modules.conf
 
Old 09-02-2002, 08:20 AM   #7
duff
LQ Newbie
 
Registered: Sep 2002
Location: Edinburgh UK
Posts: 13

Rep: Reputation: 0
Thanks for replying.

I can now get modem_run to work (modem lights flash etc). Then I do pppd call adsl and ifconfig ppp0. The output from the latter shows a zero after every entry. I thought there would be an indication of the upstream and downstream speeds. Is this right?

So I think I may have messed up my logon to bt!

Anyhow here are the files you asked for.

fstab:

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda4 /mnt/zip auto noauto,user 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbdevfs none 0 0
/dev/sda4 /mnt/sda4 auto noauto,user,exec 0 0

mtab:

/dev/hda2 / ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /proc proc rw 0 0
/dev/sda4 /mnt/zip umsdos rw,noexec,nosuid,nodev 0 0

modules.conf:

alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-comperss-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

Thanks for the help.
 
Old 09-02-2002, 08:37 AM   #8
mr_mandrill
Member
 
Registered: Aug 2002
Location: UK
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
right, sounds like something with you ppp config isn't working... either that or you're not waiting long enough after connecting before using ifconfig.

after attempting to connect check the last entries in
/var/log/syslog
there may be some errors in there...

one other thing check your -vci -vpi settings in
/etc/ppp/adsl (i think)

they should be 0 & 38 respectively

I can check against my settings more in a couple of hours as i'm at work now...
 
Old 09-02-2002, 02:10 PM   #9
duff
LQ Newbie
 
Registered: Sep 2002
Location: Edinburgh UK
Posts: 13

Rep: Reputation: 0
When I connect I wait until the modem lights stay on before attempting to surf or email. The vpi/vci pair is 0.38.

In rc.modules I've uncommented ppp_generic & ppp_synctty.

I've set this up fine before on Mandrake... I suppose it was a bit too easy



I'll look into var/log/syslog shortly.
 
Old 09-03-2002, 04:58 AM   #10
duff
LQ Newbie
 
Registered: Sep 2002
Location: Edinburgh UK
Posts: 13

Rep: Reputation: 0
Here is the ppp related output from /var/log/message

Sep 3 10:43:18 host kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
Sep 3 10:43:49 host modem_run[235]: modem_run version 1.1 started by root uid 0
Sep 3 10:44:14 host modem_run[235]: ADSL synchronization has been obtained
Sep 3 10:44:14 host modem_run[235]: ADSL line is up (576 kbit/s down | 288 kbit/s up)
Sep 3 10:44:22 host pppd[238]: pppd 2.4.1 started by root, uid 0
Sep 3 10:44:22 host pppd[238]: Using interface ppp0
Sep 3 10:44:22 host pppd[238]: Connect: ppp0 <--> /dev/pts/1
Sep 3 10:44:22 host pppoa3[239]: PPPoA3 version 1.1 started by root (uid 0)
Sep 3 10:44:22 host pppoa3[239]: Control thread ready
Sep 3 10:44:22 host kernel: N_HDLC line discipline registered.
Sep 3 10:44:22 host pppoa3[243]: ppp(d) --> pppoa3 --> modem stream ready
Sep 3 10:44:22 host pppoa3[244]: modem --> pppoa3 --> ppp(d) stream ready
Sep 3 10:44:53 host pppd[238]: Connection terminated.
Sep 3 10:44:53 host pppoa3[243]: Error reading from pppd
Sep 3 10:44:53 host pppoa3[239]: Woken by a sem_post event -> Exiting
Sep 3 10:44:53 host pppoa3[239]: Write to ppp Canceled
Sep 3 10:44:53 host pppoa3[239]: Exiting
Sep 3 10:44:53 host pppd[238]: Using interface ppp0
Sep 3 10:44:53 host pppd[238]: Connect: ppp0 <--> /dev/pts/2
Sep 3 10:44:53 host pppoa3[258]: PPPoA3 version 1.1 started by root (uid 0)
Sep 3 10:44:53 host pppoa3[258]: Control thread ready
Sep 3 10:44:53 host pppoa3[261]: ppp(d) --> pppoa3 --> modem stream ready
Sep 3 10:44:53 host pppoa3[262]: modem --> pppoa3 --> ppp(d) stream ready
Sep 3 10:45:24 host pppd[238]: Connection terminated.
Sep 3 10:45:24 host pppoa3[261]: Error reading from pppd
Sep 3 10:45:24 host pppoa3[258]: Woken by a sem_post event -> Exiting
Sep 3 10:45:24 host pppoa3[258]: Write to ppp Canceled
Sep 3 10:45:24 host pppoa3[258]: Exiting

It goes on like that for quite a bit! So it does seem to be a ppp problem but I don't know what.

Here is an excerpt from syslog that may be relevant.

Sep 3 10:44:22 host kernel: HDLC line discipline: version $Revision: 3.3 $, maxframe=4096
Sep 3 10:44:53 host pppd[238]: LCP: timeout sending Config-Requests
Sep 3 10:45:24 host pppd[238]: LCP: timeout sending Config-Requests
Sep 3 10:45:55 host pppd[238]: LCP: timeout sending Config-Requests
Sep 3 10:48:32 host modprobe: modprobe: Can't locate module block-major-8
Sep 3 10:48:33 host last message repeated 3 times

Thanks for any help you can give.
 
  


Reply



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 Alcatel USB Modem configure Dinerty Linux - Newbie 8 09-14-2004 08:39 AM
[slackware]alcatel speedtouch 330 usb modem hylke Linux - Newbie 16 06-24-2004 02:21 AM
Alcatel USB Speedtouch modem.... CryptDragoon Slackware 0 01-31-2004 08:52 PM
USB modem (Alcatel Speedtouch) dcarle Linux - Networking 6 11-01-2003 08:22 AM
Alcatel SpeedTouch USB Modem triggerman Linux - Hardware 1 08-03-2003 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 AM.

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
Open Source Consulting | Domain Registration