Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!barrnet.net!oz.cdrom.com!oz.cdrom.com!jkh From: jkh@freefall.cdrom.com (Jordan K. Hubbard) Newsgroups: comp.os.386bsd.questions Subject: Re: help a newbie with SLIP and UNIX Date: 20 Aug 1994 08:48:19 GMT Organization: Walnut Creek CD-ROM Lines: 82 Message-ID: <JKH.94Aug20014819@freefall.cdrom.com> References: <3334bl$nel@news.doit.wisc.edu> NNTP-Posting-Host: freefall.cdrom.com In-reply-to: porter@fozzie's message of 19 Aug 1994 20:23:17 GMT In article <3334bl$nel@news.doit.wisc.edu> porter@fozzie (Ron Porter) writes: The following is an exerpt from the #7 FAQ(communictions), with many questions from me added in. These questions are both specific to SLIP and general UNIX questions. I hope that i Don't offend anyone by posting this but i'm confused about how to set up a SLIP server on my FreeBSD1.1.5.1 machine and the FAQ's that i have read only bring up more questions. So if you would rather not wast your time helping No, no offense taken. I was just reading our own slip faq the other day myself (I already KNOW how to use SLIP so I am sometimes remiss in going back to read some of our own independantly provided user doc!) and thinking "Hmmm. This needs some work!" In fact, it'd appear that the doc you read is even more in need of work than ours given that it's rather out of date. For future reference, FreeBSD specific questions are really generally better handled by our own FAQ, which you can find in: freebsd.cdrom.com:~ftp/pub/FreeBSD/FAQ Not to malign Dave Burgess's FAQ, but he has a much harder time keeping all the information up-to-date considering its sheer size. Anyway, let me see if I can answer some of your questions. If you have suggestions for good UNIX books this is welcomed also. ANY help is appreciated! Evi Nemeth's system administration book is supposed to be good. The Berkeley UNIX docs help a fair bit too. But moving right along.. I don't have any com0 or com1 in the /dev directory. Should it be there? Can they be added? Can a tty** device be used instead. Also is there differances It's /dev/tty<nn> now. The /dev/com* names are longer used (and haven't been for awhile). /dev/tty00 == COM1, /dev/tty01 == COM2, etc. > That tells tip/cu where to find your com ports. Are tip and cu used by SLIP, or is this just to verify that the devices are working tip and cu are just methods of connecting to the serial port and interacting with it. I use kermit for this purpose, myself. > chown uucp.dialer /dev/com1 > touch /var/log/aculog > chown uucp.dialer /var/log/aculog Why do the devices have to be owened by uucp and in the group dialer? Well, the log should so that uucp can write to it too. This example assumes that you're going to be sharing your line for both uucp and SLIP, which is probably not your case anyway. > 11.22.33.44 host.my.domain.name host > 11.22.33.55 client.my.domain.name client Do i really need to tell the server its own IP number in the hosts file? Yes, if you want to be able to refer to it by name in your own login scripts and such. You're not "telling the server its own name", you're telling YOU the server's name! :-) I'm under the impression that kermit is a file transfer protocol, so this make's no sence to me. Can you use just a Comm progrm like Procomm? kermit is both a file transfer protocol and a program that's handy for connecting to things, like procomm. You could use procomm, but I rather doubt if procomm could later be made to work as a `hands off' dialer script, the way kermit can. When I want to connect to the network I simply type `slup' (short for slip up) and this invokes kermit on a script that dials the phone, logs me in, selects SLIP or optional PPP service, and then goes on to invoke slattach for the line. All automatic, I don't type anything else. Likewise, I have another script `sldown' that kills the slattach and then invokes kermit to go hang up the line. Is the effect of the Slattach, ifconfig and route add saved somewhere? Or do i need to add this to a login type file so it runs everytime a user logs in? You run slattach every time you want to invoke the connection. This much is covered fairly well in our own FAQ, so I'll just let you go and read that at this point! :) Jordan