next up previous
Next: About this document

Why use cslip with SunOS to dialup ?
Pak K. Chan 1/25/97
Update 7/20/98

Why use cslip with SunOS to dialup ? We do it because it is hard (remember JFK). Boy, it is not for everyone, but if you have it, you'll love it. We have been using cslip for 4 years to dial up. Thanks to Dean Long who helped me to set it up.

BTW, do I have a Pee Cee ? Yes, of course, it is for my 3 year old's Sesame Street games.

Serioulsy, cslip makes my old sun 3 workstation looks so powerful and it is very reliable. With cslip I will not suffer from "Most Application Crash If Not Operating System Hangs" or Next Try syndrome,

Okay, I really have a sun 4 IPC 20MHz (not a typo), really cheap ($150 CPU,a $200 seagate disk, monitor is free from surplus).... got the idea ?

Serioulsy, fetch a copy of cslip-2.7 distribution or higher from the net. ftp to ftp.lbl.gov or email cslip@ee.lbl.gov

Load the cslip distribution to your machine. It is quite small, I put this on a little 1.44M floppy disk.

  1. On your home machine. Update the library in /usr/lib to /usr/lib/libc.so.1.9.1 This has the name resolver, Dynamic Name Service (DNS). No big deal if you don't have it. You just can't use name service.

    First, update a file remote in /etc/remote Essentially, you add one more line to your current /etc/remote (sub YOURNAME with your login name, and your_password too)

    Mine is:

         baskin-slip:ls=/usr/local/etc/baskin.slip YOURNAME your_password slip:\
            :cc=/usr/local/etc/sliplogin baskin:st=slip:hf:nt:tc=tb38400:
    

  2. edit /etc/rc.local, search for "ifconfig" in the file and add (to turn off the ethernet route if you don't need it)

        ifconfig le0 down
    

    while you are at it: edit /etc/rc.local add the following two lines to the end

        modload /usr/local/etc/cslip.o
        modstat
    

  3. Now use the distribution. Make cslip.o as loadable module. You don't need to rebuild vmunix kernel like what the distribution says. Dean Long's loadable module is the best. After untaring the distribution, this is what you need to do. Bear in mind that the README file gives a lot of unnecessary instructions. Go to sunos4/loadable, run Makefile

  4. make tip, sliplogin and ifconfig, tip requires gcc, mv tip to /usr/local/bin
        %cd sliplogin
          make INCL=-I../common
    
    move sliplogin slip.host etc to /usr/local/etc Now, make /dev/ nodes cua0 and cua1, if they do not exist, cd /dev/
         do this
            48. unix God # mknod cua0 c 12 128
            49. unix God # mknod cua1 c 12 129
            50. unix God # chmod 600 cua0 cua1
            51. unix God # chown uucp cua0 cua1
    

  5. now make ifconfig
      make -f Makefile.oldmake INCL=-I../../common
    

  6. all you need to do now is to read your modem manual and set up the baskin.slip dialup script Mine is:

         # US robotics 33.6 modem
         send AT&Z0\r
         send AT&F1\r
         send AT&H1\r
         send AT&U12\r
         send AT&N12\r
         
         recv 1 error OK
         send ATD4230659\r
    
         recv 50 error CONNECT
    
         recv 5 error baskin-tsrv1
         send \d$3\r
         recv 5 error Username:
         send $1\r
         recv 5 error Password:
         send $2\r
         recv 6 error Switching\ to\ SLIP.\r\n
         send ATM0\r
         done
    
         label error
         fail
    
  7. You did it. As least, I did it. Type

         % /usr/local/bin/tip -d baskin-slip
    




next up previous
Next: About this document



Pak K. Chan
Thu Jul 23 22:46:14 PDT 1998