Navigation Bar Top Applications Support Documentation Vendors Search Index Top Top
FreeBSD Handbook : PPP and SLIP : Setting up a SLIP Client : Making a SLIP connection
Previous: Things you have to do only once
Next: How to shutdown the connection

15.3.2. Making a SLIP connection

  1. Dial up, type "slip" at the prompt, enter your machine name and password. The things you need to enter depends on your environment. I use kermit, with a script like this:
    # kermit setup
    set modem hayes
    set line /dev/modem
    set speed 115200
    set parity none
    set flow rts/cts
    set terminal bytesize 8
    set file type binary
    # The next macro will dial up and login
    define slip dial 643-9600, input 10 =>, if failure stop, -
    output slip\x0d, input 10 Username:, if failure stop, -
    output silvia\x0d, input 10 Password:, if failure stop, -
    output ***\x0d, echo \x0aCONNECTED\x0a
    
    (of course, you have to change the hostname and password to fit yours). Then you can just type "slip" from the kermit prompt to get connected. Note: leaving your password in plain text anywhere in the filesystem is generally a BAD idea. Do it at your own risk. I am just too lazy.
  2. Leave the kermit there (you can suspend it by "z") and as root, type
    slattach -h -c -s 115200 /dev/modem
    
    if you are able to "ping" hosts on the other side of the router, you are connected! If it does not work, you might want to try "-a" instead of "-c" as an argument to slattach.


FreeBSD Handbook : PPP and SLIP : Setting up a SLIP Client : Making a SLIP connection
Previous: Things you have to do only once
Next: How to shutdown the connection
[email protected]
Updated March 2, 1999