PATH=/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/bin export PATH # This will print to the screen the local & remote IP address when you # make a successful ppp connection. $4 = Local IP $5 = Remote IP this is my ip up file, fairly standard, I am using a motorola power 28.8 3400 to connect. I have no problems connecting with windows 98, and oddly enough, I have another linux box in the basement that connects like a charm, I think that has 2.0.34 on it. I am trying to connect to aasp.net, I am not sure if there is a setup page, but I'll look to see. thanks for all the help so far.... regards, steve # # The CARRIER speed at which you connected will be reported, if it's in # the /var/log/messages file. You also need the programs "tail" "cut" # "tr" "grep" and "syslogd" running for this to work. # You may have to add S95=46 to your modem init string # to get your modem to report the DCE = CARRIER speed. # Example: AT&FS95=46 if [ -s /var/log/messages ] && ( ps xc 2>/dev/null | grep -q syslogd 2>/dev/null ); then S=`tail -n 30 /var/log/messages 2>/dev/null | grep "CARRIER[^)]" 2>/dev/null | tr -d "^M" 2>/dev/null | cut -d: -f4 2>/dev/null` echo -n "$S" >/dev/tty0 echo " Local: $4 -> Remote: $5 $1" >/dev/tty0 else echo " Local: $4 -> Remote: $5 $1" >/dev/tty0 fi # If you want to ping the other end to keep the connection open. # The output from ping will goto >/dev/null, you won't see it. # Ping -i 60 = send ping every 60 seconds to remote = $5. #(ping -i 60 $5 &) >/dev/null 2>&1 # If you want sendmail to send any mail in /var/spool/mqueue when # you connect, remove the # below. #sendmail -q # If you want fetchmail to get your mail when you connect and check # every 300 seconds = 5 minutes for mail, remove the # below. #fetchmail -d 300 # End...
