|
Home > Archive > Linux Debian support > September 2005 > gateways
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| D M Walking 2005-09-24, 5: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
| |
| Andreas Janssen 2005-09-24, 5: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
| |
| D M Walking 2005-09-25, 5: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
| |
| Eric Pozharski 2005-09-25, 8:46 pm |
| 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.)
|
|
|
|
|