LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2002, 09:54 AM   #1
stargold
LQ Newbie
 
Registered: Sep 2002
Distribution: RedHat 7.3
Posts: 1

Rep: Reputation: 0
ADSL Connect at startup


Hi,

I've recently installed RedHat Linux 7.3 and after three days of running around the Internet under Win 98 and then trying things under Linux I've finally succeeded in getting my Alcatel SpeedTouch USB modem to work (under Linux). (I'm using Benoit Papillaut's driver http://speedtouch.sourceforge.net/)
I'm using the two following commands to connect:
modem_run -m -f /usr/SpeedTouch/mgmt/mgmt.o
pppd call adsl

So far so good, but there are two things, first I need to be logged in as root to start my connection like this and I would like to be able to start it when I'm logged in as regular user as well, or ideally I would like it to connect at startup, so that regardless of who logs in (though all users are me at this point) I'm automatically connected.

Can anyone tell me how I could achieve either or both of these options?

Thanks,
 
Old 09-14-2002, 06:12 PM   #2
matqua
LQ Newbie
 
Registered: Sep 2002
Location: Australia
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
To get your adsl to connect at startup, simply create a script (say /usr/local/bin/adsl.up) and put in :

#!/bin/sh
<your two commands here to connect>

and then make it executable:

chmod +x /usr/local/bin/adsl.up

finally add this line to the end of your /etc/rc.d/rc.local:

/usr/local/bin/adsl.up &

When your computer starts up, it should connect your adsl around the time of your login prompt appearing.

email me if you still are having problems, q@matqua.com

Matthew
 
  


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
adsl will not connect kevin_hill54 Linux - Newbie 4 05-06-2005 07:15 PM
connect using adsl megadsonic Linux - Newbie 3 02-23-2005 10:37 AM
I can't connect to the internet with adsl cokebola Linux - Hardware 3 09-10-2004 12:10 AM
RH 8.0 won't connect with my adsl. datamisc Linux - Newbie 2 11-30-2002 03:17 AM
Connect to Internet via ADSL mikkol Linux - Newbie 4 04-16-2001 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration