Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page permanent connection to the net with ppp
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 01-08-2007   #1 (permalink)
corky383
Just Joined!
 
Join Date: May 2006
Posts: 19
permanent connection to the net with ppp

my broadband connection often drops because it quite a poor provider. I would like to automate the process of reconnecting the line every time it drops without having to type anything.
From the tdlp site http://www.tldp.org/HOWTO/NET3-4-HOWTO-7.html i have part of the solution. But this is based on me issuing a pppd command in order to connect.
But on my ubuntu system, to connect to the internet if the connection is dropped i issue the command

pppd call speedtch
(speedtch being the file location for the router firmware)

How can i automate it so that all i have to do is type pppd at the command prompt using root privileges ??? and this would then allow me to automate reconnection to the broadband server.

the way i set up my broadband connection is detailed at
http://www.linux-usb.org/SpeedTouch/ubuntu/index.html

anyone??
__________________
HP Pavillion Laptop, 5052EA
AMD Turion 64 Technology ML-32
ATI Radeon Xpress Mobility 200 Series Graphics
Ubuntu Dapper 6.06LTS
corky383 is offline   Reply With Quote
Old 01-09-2007   #2 (permalink)
cyberinstru
Linux User
 
cyberinstru's Avatar
 
Join Date: Jan 2007
Location: India
Posts: 352
Hey, Enabling persist option should solve your problem...

If the persist options is eneabled, whenever your link goes down, pppd will start redialling automatically..

Cheers
cyberinstru is offline   Reply With Quote
Old 01-09-2007   #3 (permalink)
brokndodge
Just Joined!
 
brokndodge's Avatar
 
Join Date: Feb 2006
Location: Arkansas, USA
Posts: 68
Send a message via Yahoo to brokndodge
u could use a simple shell script, but i don't see where the benifit is. i wonder if ifplugd could manage pppd. i use ifplugd to manage hotplugging of my ethernet connection.

there is some information about using ifplugd or hotplug to handle hotplugging the network, according to http://www.debian.org/doc/manuals/re...ateway.en.html ppp is considered a network connection so these packages might help you. i never have to actually do anything on the command line when the network comes up. look at sections 10.8.2 and 10.8.3
__________________
brokndodge
- OSS is not a religion, it's the solution to buggy irresponsible coding -
brokndodge is offline   Reply With Quote
Old 01-10-2007   #4 (permalink)
corky383
Just Joined!
 
Join Date: May 2006
Posts: 19
thanks for the advice, activating the persist option seems to have worked a treat. cheers
__________________
HP Pavillion Laptop, 5052EA
AMD Turion 64 Technology ML-32
ATI Radeon Xpress Mobility 200 Series Graphics
Ubuntu Dapper 6.06LTS
corky383 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 04:04 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0