pppconnect 687 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. if [ ! -e /etc/modemdevice ];then
  3. echo "You have not setup your Internet connection yet"
  4. echo "1. First, run \"Modem Wizard\" to choose a modem"
  5. echo "2. Second, run \"Setup PPP Dialup\" to configure PPP"
  6. echo "3. ...come back here!"
  7. echo " "
  8. echo -n "Press ENTER key to continue..."
  9. read VAL1
  10. else
  11. #/usr/sbin/ppp -c
  12. #sleep 10
  13. #now using gkdial...
  14. exec /usr/sbin/gkdial
  15. fi
  16. #echo -n "Press ENTER key to continue..."
  17. #read VAL1
  18. # have created a fvwm button (right side of screen) that waits
  19. # for a window named "Blinky" and will swallow it...
  20. #blinky -u 500 ppp0 &
  21. # ...displays 2 modem leds, just like Windows.
  22. # ...no, this isn't the right place to start Blinky.