Re[2]: changing resolve.conf for deferent providers
Phillip Deackes <gsmh@gmx.net> wrote:
>
> It is a really simple matter then of having an executable script for
> each provider which copies the files around. Here is an example for
> one
> IP, eidosnet:
>
> cp /etc/resolv.conf.eidosnet /etc/resolv.conf
> cp /etc/chatscripts/provider.eidosnet /etc/chatscripts/provider
> cp /etc/mail/sendmail.cf.eidosnet /etc/mail/sendmail.cf
>
> I call this file dial.eidosnet and I made it executable so all I do to
> log on to eidosnet is run it and everything else falls into place.
Oops. Not *quite* as simple. I forgot part of the process. That script
only moves files around. The command to log on for me is:
'dial.whatever;pon' - it is the 'pon' script which does the logging on.
To log off I enter 'poff'. I have the process automated by using 9menu
and asmodem in Window Maker. I click on the asmodem icon and get a menu
of possible ISPs. Selecting one runs the appropriate dial.whoever script
and then does 'pon'. Subsequently clicking on the modem runs 'poff'.
>
--
Phillip Deackes
gsmh@gmx.net
Debian Linux v.2.1
Reply to: