l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Sep 17 08:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: router/server project ([vox-tech] Newbie DSL router question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: router/server project ([vox-tech] Newbie DSL router question)

On Mon, 16 Sep 2002, Stephen M. Helms wrote:

> I am setting up a linux router/server for my wife's work and needed some help
> and wanted some suggestions.  There current setup uses a windows computer to
> dial up to the internet and then uses internet connection sharing to share the
> internet to the other computers in the office.  I have setup a linux box with a
> modem and one network card.  I am donating the computer to them (they are a
> non-profit org).
> I would like to setup the router/server so that it does dial on demand.  I want
> the linux router to dial up the isp whenever there is a request for an internet
> connection from any of the computers.  I would also like the router to hang up
> the line whenever the connection is no longer needed (DSL is not available at
> there location yet, hence the need for dialup.  Also the phone lines are
> business lines and they are charged per minute of usage even on the local isp call).
> I have not worked with ppp on linux much, never with nat,ipmasq or firewalling.
>  So I need help/advice with this.

I use Bering (LEAF), a kernel 2.4.18-based "floppy" distribution.  This
system was derived in distant past from Debian slink, and this variant has
re-introduced the "ifupdown" networking control package from Debian, and
joined it with the "Shorewall" firewall package.  Both are part of the
Debian distribution.  The ifupdown mechanism is very flexible, and can
bring ppp connections up or down manually or automatically on system boot.
Thus, I am pretty sure Shorewall should work well on Debian, even though I
haven't used it there.

The ppp options file can be configured to drop the connection when it has
been inactive for a period of time ("demand"), while ifupdown thinks the
connection is open.  I haven't configured dial-on-demand for kernel 2.4,
but I wrote my experiences configuring it for a 2.0 kernel a couple of
years ago [1].  While Kevin Martin's page seems to be gone, the
fundamental concept in it that I didn't get elsewhere was that you need to
make sure all your windows machines can lookup each others' names through
hosts files or dns services without probing the internet (unsuccessfully).  
(That prevents unintended dialups when only local traffic is involved.)

[1] http://leaf.sourceforge.net/devel/thc/dox/ppp_dod.html

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!