Re: how to test for SLIP devices

1996-08-19 Thread Bernd Eckenfels
Hi, > I think it should be enough to check for the string `slip' in /proc/modules > and the string `sl?:' in /proc/net/dev. Is this correct? sl?: will only be in /proc/net/devif you have any serial line in xSLIBy mode (alsattach or dip running). If there ius no serial/pty line in linemode, there

Re: how to test for SLIP devices

1996-08-18 Thread Bruce Perens
Look for "sl0" in /proc/net/dev . I think that's a definitive test. Thanks Bruce -- Clinton isn't perfect, but I like him a lot more than Dole. Please register to vote, and vote for Democrats. Bruce Perens AB6YM [EMAIL PROTECTED]http://www.h

how to test for SLIP devices

1996-08-18 Thread Giuseppe Vacanti
Hi, I would like the diald preinst script to check if the kernel has SLIP devices (either compiled in or in as a module). I think it should be enough to check for the string `slip' in /proc/modules and the string `sl?:' in /proc/net/dev. Is this correct? Thanks, -giuseppe PS: please cc