LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2004, 12:17 PM   #1
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Rep: Reputation: 15
Next stop Gentoo


I have installed Slack 9.1 and I must say I like it. Trouble is I cannot get my speed touch modem to work on it. I have tried all the HOW TO's on the suject to no avail. I have also posted several threads on my problem many of which have recieved no reply. Right now I think it may be a problem with slack as such I want to try another distro.

The distro I want to try is Gentoo. My understanding is that with Gentoo, everything will be built for my system. Does that mean that the problem i am having with Slack now will not occur?

I have got some 4 free days from today so that I can begin the installation.
 
Old 04-08-2004, 12:24 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Re: Next stop Gentoo

Quote:
Originally posted by bugsbunny
The distro I want to try is Gentoo. My understanding is that with Gentoo, everything will be built for my system. Does that mean that the problem i am having with Slack now will not occur?
No, it simply means that if you install Gentoo from a stage 1 install, all of your system will be COMPILED for your computer.

Basically, if the problem with your modem is a fundamental bug in the module (ie: its not supported) or in the software, then compiling it from source using gentoo will change nothing. However, if the problem is specific to Slack, then maybe moving to Gentoo will help...I don't know, you weren't specific on your modem problems.

That being said, I've got a Gentoo stage 1 install on my laptop and I find it extremely stable and very fast. I'm extremely pleased with it.
(Note: Moved from Mandrake to Gentoo...so I'm not comparing to slack or anything)
 
Old 04-08-2004, 06:16 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
why don't u try using a bootable cd such as knoppix and see if ur modem works with that, before u start jumping distros only to find out that doesn't fix it. If knoppix works, take a look at the config file to see what is different
 
Old 04-08-2004, 07:48 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Re: Next stop Gentoo

Quote:
Originally posted by bugsbunny
I have installed Slack 9.1 and I must say I like it. Trouble is I cannot get my speed touch modem to work on it.
Speedtouch works for me on my Slack 9.1 partition. Lets have some more info.
What kernel are you using.
Have you tried the speedtouchconf package http://speedtouchconf.sourceforge.net/
What errors did you get.
Don't let me put you off Gentoo, I'm quite interested in that myself but you shouldn't expect it to fix your speedtouch.
 
Old 04-09-2004, 05:20 AM   #5
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
This is my problem:
I have slack 9.1 with the 2.4.22 kernel. Actually the whole package is just as you will find on the Slack website. I use the Silver coloured speedtouch modem and the speedtouchconf package.

Straight after installing the modem with the speedtouchconf package, it works. Howvwe when i restart the pc, it stops working. I try to run pppd call adsl but that doesn't work either. I am very confused as to why it works staright after install and not after reboot.

below is a link to my Messages file and speedtouch.txt file.

http://myweb.tiscali.co.uk/seevisions/messages
http://myweb.tiscali.co.uk/seevisions/speedtouch.txt

Andrew Benton, you know the speedtouchconf script creates a script to automatically start the modem upon restart. Where is yours located and can i have a copy please. Thanks
 
Old 04-09-2004, 05:50 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
You need to run two commands, first
/usr/local/sbin/modem_run -m -f /etc/ppp/mgmt.o
to load the firmware into the modem (it may be called mgmt.o, alcaudsl.sys or firmware.bin so check what file is in /etc/ppp and alter the command to fit)
and then you run
/usr/sbin/pppd call adsl
What I do is make a script
Code:
#!/bin/bash
/usr/local/sbin/modem_run -m -f /etc/ppp/microcode.dat
sleep 5
/usr/sbin/pppd call adsl
(the sleep 5 is to give it a 5 second break to settle down) Save the script as dial or connect or whatever you want to call it, make it executable
chmod 755 /path/to/script
and then you can either save it somewhere in your $PATH (/usr/bin) and then connect by issuing the name of the script as a command or you can connect at boot time. I prefer to connect at boot. I'm not familiar with the way the Slack bootscripts work so I make it work like in scratch. (Maybe a Slack guru can educate us all with the right way to do it?) I make a folder /etc/rc.d/init.d and save the dial script in there, then I make a folder /etc/rc.d/rc4.d and make a symbolic link pointing at the dial script and call the link S50dial.
Code:
mkdir /etc/rc.d/init.d
cp /path/to/dial /etc/rc.d/init.d/dial
chmod 755 /etc/rc.d/init.d/dial
mkdir /etc/rc.d/rc4.d
cd /etc/rc.d/rc4.d
ln -s ../init.d/dial S50dial
Edit - sorry, I should have read your speedtouch.txt, I see your firmware is called microcode.dat

Last edited by Andrew Benton; 04-09-2004 at 06:00 AM.
 
Old 04-09-2004, 06:20 AM   #7
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
Thanks Andy ( if i can call you that), I will try it now and keep you posted. Thanks a lot.
 
Old 04-09-2004, 12:22 PM   #8
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
I have tried the your solution Andy. Did it work? Yes and no. Yes - the two commands typed one after another with about 15 sec interval workes and allows me to connect to the internet (that is what i'm using for this post) however i cannot get it to start at boot time. I followed eactly what you specified. So once again I am asking, I have got slack 9.1 installed and I want a script with the following line

code:

#!/bin/bash
/usr/local/sbin/modem_run -m -f /etc/ppp/microcode.dat
sleep 5
/usr/sbin/pppd call adsl

to be executed at boot time. Into which directory should i put it?

Thanks once again for your help Andy.
 
Old 04-09-2004, 05:03 PM   #9
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well we're getting there, one step at a time. Does the script work? Did you make it executable? If you type in the /path/to/the/script does it do the business and dial out with just that one command? You may need to reboot to test that as once the module is in the kernel it'll get in the way of trying to load it again. Also, if it takes a 15 second delay try changing the sleep time to 15. Once you've got it so you can connect with a single command then you can work on the bootscripts so it will connect at boot. There are plenty of people who post in this forum who know more about Slack than me and should be able to tell you how to run the script at boot. The way I've described above is more complicated than it needs to be, I'm sure. It's just the only way I know, and it does work on my Slack install so I've not put in the effort to learn the Slack/BSD style. If you read /etc/rc.d/rc.sysvinit , that's the way I'm familiar with, but it's not the Slack way so don't let me lead you astray.
 
Old 04-09-2004, 06:27 PM   #10
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
Yes the script works. If i just do /etc/rc.d.init.d/speedial (speedial is the name of the script) it connects without any problems. I'll therefore be glad if someone can tell me in which directory I should put it so the script will be run at boot.
 
  


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
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 11:30 AM
How do I stop services from restarting after I stop them? M$ISBS Linux - Software 3 10-27-2005 09:13 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 07:37 PM
Gentoo: start / stop services Adony Linux - Newbie 5 12-10-2004 10:39 AM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration