LinuxQuestions.org
Visit Jeremy's Blog.
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 02-07-2002, 11:43 PM   #1
rros
LQ Newbie
 
Registered: Mar 2001
Location: Pretoria, South Africa
Posts: 7

Rep: Reputation: 0
Question Dynamic Gateway


My ISP has a dynamic gateway. After connecting via ppp to the provider, I need to log in as root, get the gateway via ifconfig and add the gateway via the route command.

Is there a way to configure Linux to obtain the correct gateway automatically without having to log on as root everytime?

 
Old 02-08-2002, 02:42 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Ick... what a weird way to run the ISP. What kind of connection is this? cable? DSL? there's a nifty little client called Roaring Penguin that a lot of people have tons of success with that automates many of the headaches involved with pppoe.

Cheers,

Finegan
 
Old 02-08-2002, 08:34 AM   #3
rros
LQ Newbie
 
Registered: Mar 2001
Location: Pretoria, South Africa
Posts: 7

Original Poster
Rep: Reputation: 0
I connect via a modem.
Where can I find this Roaring Penquin?
 
Old 02-08-2002, 11:25 PM   #4
penseur2
Member
 
Registered: Jan 2002
Location: Chennai India
Distribution: Red Hat
Posts: 42

Rep: Reputation: 15
ppp gateway

i think you might have a default gateway setup at boot or something.
to set up ppp to automatically configure the remote gateway just do
/sbin/route del default (you can omit this step if you remove your gateway settin from /etc/sysconfig/network)
and then dial out on your modem. your gateway will be setup automatically by ppp

if that don't work add the line
defaultroute
in you /etc/ppp/options file

and try it again.
 
Old 02-09-2002, 06:58 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What Penseur2 said, RP is built for cable and DSL pppoe. I thought you were dealing with broadband, my apologies.

Cheers,

Finegan
 
Old 02-12-2002, 01:05 AM   #6
rros
LQ Newbie
 
Registered: Mar 2001
Location: Pretoria, South Africa
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

Thanks for all your help.
The defaultroute in /etc/ppp/options have done the trick.
 
  


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
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
What is a gateway? can I have more than one gateway on a vlan? abefroman Linux - Networking 3 09-06-2005 10:43 AM
Dynamic name resolution for dynamic IP merlin740 Linux - Software 2 10-04-2004 05:56 PM
Odd problem: Gateway unreachable after certain amount of time (Win XP Gateway) SocialEngineer Linux - Networking 2 08-13-2004 12:54 AM
dynamic IP........ anoop_chandran Linux - General 4 11-25-2001 01:46 AM

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

All times are GMT -5. The time now is 02: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