LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware and Alcatel USB SpeedTouch Modem... (https://www.linuxquestions.org/questions/slackware-14/slackware-and-alcatel-usb-speedtouch-modem-26816/)

dochyde 07-30-2002 06:04 AM

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....

Nigel_Tufnel 07-30-2002 01:49 PM

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

Aussie 07-30-2002 07:27 PM

The default kernel does have usb support, you just have to uncomment the lines in rc.modules for the modules you need to load.

mr_mandrill 08-07-2002 06:05 AM

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

duff 09-01-2002 03:25 PM

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.

mr_mandrill 09-02-2002 05:14 AM

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

duff 09-02-2002 08:20 AM

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.

mr_mandrill 09-02-2002 08:37 AM

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...

duff 09-02-2002 02:10 PM

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.

duff 09-03-2002 04:58 AM

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.


All times are GMT -5. The time now is 07:19 PM.