#My Own Dialup Utils (MODU)
#Copyright (C) 2004 David Rao <louigi600@yahoo.it>
#
#MODU is a linux oriented textual dialup toolkit with support for MS callback.
#
#This file is part of MODU.
#
#MODU is free software; you can redistribute it and/or modify it under the
#terms of the GNU General Public License version 2 as published by the Free
#Software Foundation.
#
#MODU is distributed in the hope that it will be useful, but WITHOUT ANY
#WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
#FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License along with
#MODU; if not, write to the Free Software
#Foundation: Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Description
Quite sime time ago I wanted a dialup utility that could connect to all the
ISPs I used at the time and also connect to office when on stand-by.
I started writing some scripts that gradually grew in bothe flexibility and
functionality.
I'm still using the scripts and have shared them with many friends so I
decided to share them with anyone who might be intrested.
Although I've been using the script for quite sometime, I have made major changes in corrispondence with the project subscription to sourceforge this is the reason why it's still in beta. Once I'm over with testing that all parts I have changed work properly I'll quickly move the project into a stable developement status.
At present this is what is offered:
Command line interface with posix compliant option parsing
Easy configuration for any new ISP
Integration with iptables for safe internet access
Microsoft RAS server callback (assumes you have already patched pppd)
Support for SecureID and other hardware password generators
Support for any at compatible modem (including some mobiles with integrated at
modems via seral cable, irda and bluetooth)
Support arbitrary dialing for non root users (with some limitations)
Mainly shell script (for easy manupulation)
Should work on any distribution (even really old ones with a little tweeging
on the pppd options)
INSTALLATION:
Installation is quite simple
Unpack the sources wherever you like
$ tar xvzf modu.tgz
descend into the newly creatred tree
$ cd modu
Build the dialup utility
$ make
Install the binary and scripts
$ make install
After isntallation you have some italian isp pop location number lists.
(in italy tele2 works off hand as it has just 1 pop location and 1 login)
In any case you should edit the files in /etc/ppp/<isp>* to setup your
prefered login and the pop location numbers you intend to use.
See as examples gsmbox and tiscali.
You will also need to insert your secrets in pap-secrets and chap-secrets.
(For first time you van have dialer do this for you by using bothe
-u and -p options)
You are now ready to go, type:
$ dialup [options] start <isp> <location|number>
For example
# dialup -f -d /dev/ttyS4 tiscali vercelli
All options are optional (for root) while -p and -u are automatically
assumed for non root users.
The default modem device is /dev/modem (that on most systems correctly
installed) should be linked to the serial port where your modem is connected.
N.B. If you already have some sort of firwall on your box you should look at /etc/firewall.sh (and possibli read the modu-HOWTO) .
For any other information see modu-HOWTO in the Doc directory.
