Note : this file was created for the average joe using a dyanmic SLIP. **** The Easiest way to get connected thru SLIP in Linux **** User, I wrote this text to help all linux users get connected to ISP's easier, without much hassle, its cut and dry and to the point, and will get most users connected. I'm inserting commands that are ONLY needed. I'll be using dip, and you should too. This text lays out a manual login procedure, because I know its a pain to have to go to that DOS partition to dial in thru winsock, or whatever. Atleast this way, you get connected, and can sort thru dip scripts, and all that later. Because I know new users that get their linux box are just itching to get SLIP going, and sometimes the guys on #Linux aren't friendly if you prance in there with mIRC. =) Note: If you are running Slackware, this will most definently work =) Note2 : I found its easier to load this file up in pico on another console (ie Alt-F2) So you can switch back and forth fast. And if you are super lazy, you can paste the commands to the other terminal =) Procedure #1 ... Run the "netconfig" software built into the Slackware distrobution... You will come to a prompt asking you for the hostname: This is an important decision, lets say you entered in... darkstar and you ISP providers host name was dfw.net, when you send mail by default, it would address it to... me@darkstar.dfw.net You can alter your .pinerc or sendmail.cf to make it send mail out with a from: field by dfw.net, but thats a diffrent text file =) If you aren't going to be recieving incoming connections, ect, then this really isn't important since it won't be registered on the internet. I use insomnia.dfw.net. So.. When it asks you Enter Hostname: joe Then it will ask you for your domain name, this will be the name of your internet provider.. if you are on netcom, then it would be.. netcom.com or if you are on dfw.net, then it will be dfw.net and so on... Then it will ask you if you want loopback, and of course, answer yes. This question can be decieving, but trust me, you *DO* want loopback. from now on if you ever want to telnet to your own machine, ftp, or whatever locally, you are referred to as 127.0.0.1. And is locally defined as insomnia.dfw.net, or whatever you entered above. Procedure #2... Goto /etc, and run.. pico resolv.conf (This is the file that will tell linux where to call DNS) My resolv.conf looks like this... domain dfw.net nameserver 198.175.15.10 the domain field should allready be there and be correct, you will need to add the nameserver field.. if you don't know what your nameserver IP is, then ask your admin... and replace my IP with your nameserver IP. Save the file. Procedure #3... Run this program... dip -t -v Then type this list of commands... port cuaX <== Replace X with your com port number (com1 = cua0, com2 = cua1) reset <== Clear out the line, initialize..ect default <== Just do it ok? =) term <== Puts you in terminal mode You're now in terminal mode... atdt555-XXXX <== Dial your ISP once you are connected, enter in your username, and password...ect.. you will see, something to this effect.. SL/IP connection from 198.175.15.2 to (198.175.15.75) starting... ^$rmtip ^$locip Now type ^] to return to dip and get out of terminal mode Then type... get $locip 198.175.15.75 <== Replace the IP with the IP you got. get $rmtip 198.175.15.2 <== Replace the IP with the IP you got. Now that the IP's are defined...type.. mode CSLIP now try.. ping mit.edu if it says unknown host, then your nameserver entry is probobly wrong... then try... ping 198.175.15.2 If that STILL doesn't work, then your connection isn't working. If that happens, then you can mail me at phunistl@dfw.net, with your problem, and maybe I can help you out. If everything works well, then you're up and running =) Why SLIP and not PPP?? I am on a 28.8 SLIP dynamic connection (because I'm poor =). and I've seen many connections, ect. and found out that CSLIP is 4 CPS faster than PPP. If your server doesn't support CSLIP, then use PPP, if no PPP, then use SLIP. PPP may be easier to set-up on Windows/OS2 systems, but, for linux, slip is way easier. You can automate your connection with scripts found on sunsite.unc.edu in /pub/Linux/system/Network/Serial If you have any questions, or comments, feel free to get in touch... Easy-Dyanmic-SLIP v.99 by.. Kevin Jarrett e-mail : phunistl@dfw.net www : http://www.dfw.net/~phunistl IRC : Phunistle (#Linux)