Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!uunet!munnari!kre From: kre@munnari.UUCP Newsgroups: comp.protocols.tcp-ip Subject: Re: Where can I find SLIP server for 4.2/3? Message-ID: <1800@munnari.oz> Date: Sun, 30-Aug-87 14:45:37 EDT Article-I.D.: munnari.1800 Posted: Sun Aug 30 14:45:37 1987 Date-Received: Sun, 30-Aug-87 23:43:29 EDT References: <8708300016.AA04771@okeeffe.Berkeley.EDU> <18137@amdcad.AMD.COM> Organization: Comp Sci, Melbourne Uni, Australia Lines: 26 In article <18137@amdcad.AMD.COM>, phil@amdcad.AMD.COM (Phil Ngai) writes: > Now I want to ifconfig sl0 and sl1. How do I know which dstaddr to > associate with sl0 and which with sl1? Does it matter? If not, how > does the kernel know which tty line to send the packets down? It matters, and this has been bugging me too. The only way to solve this currently is to run all the slattach's serially, which means that if there's no carrier on the first (the remote end is down when you're booting) the second doesn't happen until carrier appears (who knows how long). It happens that its trivial to fix this, with no major changes to anything. Rather than tell slattach which slN it should use, we can just have it tell us which one it was assigned, then /etc/rc.local can look like UNIT=`slattach ttyh0 9600` dstaddr $UNIT ... # if needed ifconfig $UNIT ... All the support needed for slattach to do this is there already, I'm going to add the few lines needed (there will probably be a flag to cause this behaviour for backward compatability) sometime very soon now. I'll post the diffs. kre