t wrote:
Hi

I am trying to connect to tpg with my redhat 7.2, but I cannot get on using
pppd.  I am running pppd from the command line with the scripts which
follow.
Can anyone suggest where I am going wrong.  I cannot work out what is needed
after the second "ser Access Verification" from the server, anyone know.  I
know I have to add to the /etc/ppp-chat-isp a assword line.  But I will do
that once I have the second  "ser Access Verification" working.
Anyone have a /etc/ppp-chat-isp script they use for tpg and want to share it
with me, it would save a great deal of pain!

I use TPG dial up only occasionally (being one of their ADSL customers), and I do the PAP method of not waiting for the Username: prompts and just heading for PAP mode.

Also, I tend to hand-roll my own connection scripts and not bother
with options files all that much.  YMMV.

So, my scripts look like this:

-- start ppp-connect-tpg------
#!/bin/sh

route del default

/usr/sbin/pppd /dev/modem 115200 \
  noauth nocrtscts defaultroute \
  lock ipcp-accept-local ipcp-accept-remote \
  modem nodetach user XXXUSERNAMEXXX \
  connect '/usr/sbin/chat -v -f /root/bin/ppp-chat-tpg'
-- end ppp-connect-tpg -----------

-- start ppp-chat-tpg ------------
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
"" "at"
OK "atz"
OK "atdt62819900"
CONNECT
-- end ppp-chat-tpg --------------

(sorry, that's the TPG canberra phone number in the above
script, the last one I used ...)

-- start /etc/ppp/options -----------
lock
-- end /etc/ppp/options -------------

Then the password is in my /etc/ppp/pap-secrets file:

"XXXUSERNAMEXXX" * "XXXPASSWORDXXX"

--
Del

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

Reply via email to