Arghhhhh, I've tryed all sort's of different things and options, and now
I'm at my wit's end. The problem is that when I get the bsd machine to call
my isp, the modem connect's and after a short while the line drop's. Can
anyone give me any tips? Here's a few of the config files that I've setup.
I've been calling ppp like this 'ppp -auto qonline'. the isp use's the
logon/password system (no chap/pap) and then print's a few things (a
message with mail waiting or not, your accoutn status, and ten your ip.
After that the PPP session is started.)
(I have trimed out bit's that are not needed for this msg.)
----- PPP.CONF begins -----
#
default:
set device /dev/cuaa0
set speed 115200
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT
OK-AT-OK \\dATM0DT\\T TIMEOUT 60 CONNECT"
qonline:
set device /dev/cuaa0
set speed 115200
disable lqr
deny lqr
set phone 53343009
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT
OK-AT-OK \\dATM0DT\\T TIMEOUT 60 CONNECT"
# the above is be one line, it's just warpped here
set login "TIMEOUT 5 login: curl word: xxxxxxx"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
delete ALL
add 0 0 10.0.0.2
set openmode active
----- PPP.CONF ends -----
----- PPP.DIALUP begins -----
IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'`
echo IDENT is now $IDENT
CALLEDAS="$IDENT"
TTY=`tty`
if [ x$IDENT = xdialup ]; then
IDENT=`basename $TTY`
fi
echo "PPP for $CALLEDAS on $TTY"
echo "Starting PPP for $IDENT"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~"
exec /usr/sbin/ppp -direct $IDENT
----- PPP.DIALUP ends -----
----- PPP.LINKUP begins -----
qonline:
delete ALL
add 0 0 HISADDR
! sh -c "/etc/ppp/ppp.etherup.qonline &"
----- PPP.LINKUP ends -----
----- PPP.OPTIONS begins -----
modem
crtscts
defaultroute
----- PPP.OPTIONS ends -----
----- RC.CONF begins -----
### Basic network options: ###
hostname="bsd.tcc-comp.com.au"
nisdomainname="NO"
firewall="NO"
tcp_extensions="YES"
network_interfaces="ed0 lo0"
ifconfig_ed0="inet 192.168.0.5 netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1"
### Network routing options: ###
defaultrouter="203.103.236.3" # My isp's gateway
static_routes=""
gateway_enable="YES"
router_enable="NO"
router="routed"
router_flags="-q -s"
mrouted_enable="NO"
ipxgateway_enable="NO"
----- RC.CONF ends -----
----- RC.SERIAL begins -----
default() {
# Reset everything changed by the other functions to initial defaults.
ci=$1; shift # call in device identifier
co=$1; shift # call out device identifier
for i in $*
do
comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0
stty * Origin: TCC Computers BBS +61-3-53420845 (3:635/729)
SEEN-BY: 622/419 632/360 633/267 270 284 635/728 729
@PATH: 635/729 728 633/267
|