The current linux.ie last 10 mails from CLUG mentions utvinternet ppp
connection problems. After utv's upgrade work at the weekend (occurred for me
on fri evening) you need to use pap authentication to connect instead of the
"scripting to login and start ppp yourself" method.
i.e.
ppp-on of
#!/bin/sh
#
# Script to initiate a PPP connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=135131890927161 # The telephone number for the connection
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
export TELEPHONE
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd multilink /dev/ttyS0 115200 \
$LOCAL_IP:$REMOTE_IP connect $DIALER_SCRIPT
and ppp-on-dialer of
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec /usr/sbin/chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT ''
and an appropiate pap-secrets of
username * password
Currently their servers after the normal username/password login would give you
an ascend prompt and the ppp command errors out with "Requested Service Not
Authorized"
I had been using rp3 to start/stop non-pap ppp to get pretty eyecandy, but
using gnome modemlights to launch /etc/ppp/ppp-on for connect and
/etc/ppp/ppp-off as disconnect and after modifying the lock file option to be
/var/lock/LCK..ttyS0 turns out to work better anyway.
My pppd line above contains "multilink", i've yet to try it (missing a 25->9
pin adaptor) but utv and pppd both claim to support ppp multilink so it seems
that it might be possible to burn some accumulated mobile credit in a
pseudo-productive way by experimenting with it.
C.
--
Caolan McNamara | caolan at skynet.iehttp://www.skynet.ie/~caolan | +353 86 8161184
Once my power is secure, I will destroy all those pesky time-travel devices
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!