gateways
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > gateways




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    gateways  
D M Walking


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-05 10:52 PM

I have a problem I can't find an easy answer to in the man entries etc: I
have a networked Debian box. When the network is up, it uses the network
router as its gateway to the Internet. When the network is down (most
evenings) there is a dial-up connection via external serial modem. I can
get the dialler to connect via dial-up, but none of the software will use
the modem connection - not mailer, not newsreader, not browser. I don't
want to remove the network gateway (it's broadband): what do I have to do
to get my box to use the gateway if it's open and the dial-up connection
otherwise?

Please point me in the right direction ... thank you
--
replace nospam by/with jayo and mould respectively





[ Post a follow-up to this message ]



    Re: gateways  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-05 10:52 PM

Hello

D M Walking (<nospam@nospam.demon.co.uk> ) wrote:

> I have a problem I can't find an easy answer to in the man entries
> etc: I have a networked Debian box. When the network is up, it uses
> the network router as its gateway to the Internet. When the network is
> down (most evenings) there is a dial-up connection via external serial
> modem. I can get the dialler to connect via dial-up, but none of the
> software will use the modem connection - not mailer, not newsreader,
> not browser. I don't want to remove the network gateway (it's
> broadband): what do I have to do to get my box to use the gateway if
> it's open and the dial-up connection otherwise?

You need the pppd to replace the defaultroute (which uses your local
router) by the default route using the dial-up connection. All you need
to do is to add a line

replacedefaultroute

to /etc/ppp/options or /etc/ppp/peers/yourprovider

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html





[ Post a follow-up to this message ]



    Re: gateways  
D M Walking


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-05 10:46 PM

Andreas Janssen wrote:

> Hello
>
> D M Walking (<nospam@nospam.demon.co.uk> ) wrote:
> 
>
> You need the pppd to replace the defaultroute (which uses your local
> router) by the default route using the dial-up connection. All you need
> to do is to add a line
>
> replacedefaultroute
>
> to /etc/ppp/options or /etc/ppp/peers/yourprovider
>
> best regards
>         Andreas Janssen
>
Thank you. Now,where would I have found that in the documentation?
--
replace nospam by/with jayo and mould respectively





[ Post a follow-up to this message ]



    Re: gateways  
Eric Pozharski


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-05 01:46 AM

D M Walking <nospam@nospam.demon.co.uk> wrote:
> I have a problem I can't find an easy answer to in the man entries etc: I

Hint.  Easy answer could be find with

dpkg -s <packagename> |grep '^Depends\|^Suggests\|^Recommends'

> have a networked Debian box. When the network is up, it uses the network
> router as its gateway to the Internet. When the network is down (most
> evenings) there is a dial-up connection via external serial modem. I can
> get the dialler to connect via dial-up, but none of the software will use
> the modem connection - not mailer, not newsreader, not browser. I don't

AFAICG the defaultroute is set automagicaly, but all the stuff say "Host
not found"?  If I guessed right...

> want to remove the network gateway (it's broadband): what do I have to do
> to get my box to use the gateway if it's open and the dial-up connection
> otherwise?
>
> Please point me in the right direction ... thank you

Consider 'resolvconf' package.  I wouldn't say that packages, such as
'pdnsd', "Sugests", they really "Depends" on 'resolvconf' to strap
correctly when a link comes up.

--
Torvalds' goal for Linux is very simple: World Domination
(it's third person quote.)





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:01 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register