Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 13:19:23 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Willem Jan Withagen <wjw@withagen.nl>
Cc:        current@freebsd.org
Subject:   Re: Where is my SLIP interface
Message-ID:  <20030926111923.GU90598@cicely12.cicely.de>
In-Reply-To: <005301c3841b$a3dd5240$471b3dd4@dual>
References:  <20030925142609.GL90598@cicely12.cicely.de> <005301c3841b$a3dd5240$471b3dd4@dual>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 2003 at 12:47:53PM +0200, Willem Jan Withagen wrote:
> From: "Bernd Walter" <ticso@cicely12.cicely.de>
> > On Thu, Sep 25, 2003 at 07:49:18PM +1000, Peter Jeremy wrote:
> But am I to understand that running slattach creates the sl0 device?? by
> something like 'ifconfig sl0 create'?
> Or is slattach just loading the module which makes sl0 appear?

slattach creates and removes the device.
It doesn't make much sense to have a slip device alone IMO.

[51]cicely13# kldstat -v | grep sl
                88 if_sl
[52]cicely13# ifconfig sl0
ifconfig: interface sl0 does not exist
Exit 1
[53]cicely13# slattach -l /dev/cuaa0
/var/run/slattach.cuaa0.pid
[54]cicely13# ifconfig sl0
sl0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 552
[55]cicely13# kill `cat /var/run/slattach.cuaa0.pid`
[56]cicely13# ifconfig sl0
ifconfig: interface sl0 does not exist
Exit 1

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030926111923.GU90598>