On Thu, May 10, 2001 at 09:01:39AM +1000, Dean Hamstead ([EMAIL PROTECTED]) 
wrote:
> Edit /etc/ppp/options (not totally needed but makes life a lil easier)
> edit /etc/ppp/pap-secrets (or chap-secrets)
> edit /etc/ppp/ppp.chatscript
> 
> then run 
> /usr/sbin/pppd connect "/usr/sbin/chat -v -r /etc/ppp/report-chat -f
> /etc/ppp/ppp.chatscript"
> 
> works for me ;)

that is assuming your pppd never dies due to the fact that the connection
died. How do you get it up again without sitting in front of the box?


You can configure RedHat without GUI.
Its all done in "/etc/sysconfig/network-scripts"

You need to edit basically three files:

/etc/sysconfig/network-scripts/ifcfg-ppp0
/etc/sysconfig/network-scripts/chat-ppp0
/etc/ppp/peers/ppp0

----------------------------------------------- ifcfg-ppp0
DEVICE="ppp0"
ONBOOT=yes
USERCTL=no
MODEMPORT=/dev/ttyS1
LINESPEED=115200
PAPNAME=PUT YOUR USERNAME HERE
PERSIST=yes
DEFABORT=yes
INITSTRING=ATZ
DEFROUTE=yes
HARDFLOWCTL=yes
ESCAPECHARS=no
PPPOPTIONS=
REMIP=
NETMASK=""
IPADDR=
MRU=
MTU=1500
DISCONNECTTIMEOUT=
RETRYTIMEOUT=5
BOOTPROTO=none
WVDIALSECT=
PEERDNS=no     <-this makes sure that your resolv.conf isnt re-written each time!
DEBUG=no
----------------------------------------------- chat-ppp0
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDTPUT YOUR PHONENUMBER HERE'
'CONNECT' ''
'sername:' 'PUT YOUR USERNAME HERE'
'sword:' 'PUT YOUR PASSWORD HERRE'
'TIMEOUT' '5'
'~--' ''
------------------------------------------------ ppp0
connect "/usr/sbin/chat  -f /etc/sysconfig/network-scripts/chat-ppp0"
-----------------------------------------------------


and your done!
jobst


-- 
My Carpenter has a 1956 VW Beetle. He still can go to any place in Australia, use any 
Oil, spark plugs, pertol, tires, wiper blades, etc available today with a car that 
old. If only software would be like that.

|            __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director|
|  _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      |
|-(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to