Previous Contents Next

Dialing into OzEmail using netcfg

Setting Up

netcfg uses some different files than the pppd call ozemail method. Also, it assumes that ppp0 will be always be used to dial the same number, however you can create a ppp1 interface to dial to some other ISP if you want to.

The quickest way to set up the files for netcfg is to click on the "Interfaces" and "Add" buttons.


Here are the two configuration files on my system:

/etc/sysconfig/network-scripts/chat-ppp0

ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
'' AT
OK ATDT62578155
CONNECT

/etc/sysconfig/network-scripts/chat-ppp0
PERSIST=yes
DEFROUTE=yes
ONBOOT=no
INITSTRING=ATZ
MODEMPORT=/dev/modem
LINESPEED=115200
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=yes
PAPNAME=amcbeal
REMIP=
IPADDR=
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=
RETRYTIMEOUT=
USERCTL=no

Also netcfg doesn't read /etc/ppp/peers/ozemail, so you will need to take the auth line out of /etc/ppp/options
This will not prevent the pppd call ozemail method from working, however in theory your computer will be less secure.

This method uses the same /etc/ppp/pap-secrets file described previously.

If you have already set your computer up so that you can dial out using the pppd call ozemail method, it is also possible to copy ozemail-chat to the new location:

cd /etc/ppp
cp ozemail-chat   /etc/sysconfig/network-scripts/chat-ppp0

The ozemail-chat script, which is shown on the Configuration Files page works perfectly well with netcfg, however I use the script shown on this page because it is closer to the script netcfg generates for itself.

Connecting

Become root, then type netcfg &
Select Interfaces, then ppp0 and Activate

When you want to disconnect, simply click on the Deactivate button.


Previous Contents Next