From owner-freebsd-current@FreeBSD.ORG Thu Sep 25 04:10:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7920416A4B3 for ; Thu, 25 Sep 2003 04:10:03 -0700 (PDT) Received: from hobby.digiware.nl (dsl312.iae.nl [212.61.63.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1E714400B for ; Thu, 25 Sep 2003 04:10:01 -0700 (PDT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by hobby.digiware.nl (8.12.9/8.12.6) with SMTP id h8PB9wkk034354; Thu, 25 Sep 2003 13:09:59 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <01fd01c38355$91abf390$471b3dd4@dual> From: "Willem Jan Withagen" To: "Peter Jeremy" References: <00cb01c38301$0740d080$471b3dd4@dual> <20030925024215.GF10009@wantadilla.lemis.com> <1064466741.1023.11.camel@panda.freebsdsystems.com> <20030925051321.GG32280@wantadilla.lemis.com> <1064467029.1023.13.camel@panda.freebsdsystems.com> <016401c38338$1df441e0$471b3dd4@dual> <20030925095139.GC31074@server.c211-28-27-130.belrs2.nsw.optusnet.com.au> Date: Thu, 25 Sep 2003 13:10:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: current@freebsd.org Subject: Re: Where is my SLIP interface X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 11:10:03 -0000 ----- Original Message ----- From: "Peter Jeremy" To: "Willem Jan Withagen" Cc: Sent: Thursday, September 25, 2003 11:51 AM Subject: Re: Where is my SLIP interface > On Thu, Sep 25, 2003 at 09:39:12AM +0200, Willem Jan Withagen wrote: > >But PPP has the same problem: > > the interfaces do not show up when listing them with 'ifconfig -a' > >And trying to config it: > > > >router# ifconfig sl0 1.2.3.4 4.5.6.7 > >ifconfig: interface sl0 does not exist > > Try 'ifconfig sl0 create' first. PPP (and presumably SLIP) interfaces > are now cloned on request rather than created statically. Nice suggestion, but no sigar. See log below. What sort of worries me is that first kldstat does not show if_sl as module and then after a try at 'ifconfig sl0 create' it is all of a sudden there. (unless ifconfig loads the module?? I forgot to kldstat inbetween) BTW: why would it not be possible to unload the if_sl module??? It is code as such, but are there fundamental reasons?? if_ppp unloads just fine. Another "funny" issue is when the GENERIC kernel is booted. It has the same kind of problems, but generates: Sep 25 12:52:41 router kernel: module_register: module if_sl already exists! Sep 25 12:52:41 router kernel: Module if_sl failed to register: 17 on issueing 'ifconfig sl0 1.2.3.4 5.6.7.8' --WjW router# ifconfig -a ed0: flags=8802 mtu 1500 ether 00:00:e8:7b:5e:d4 de0: flags=8843 mtu 1500 inet6 fe80::200:c0ff:fe1c:7ae8%de0 prefixlen 64 scopeid 0x2 inet 212.61.63.60 netmask 0xfffffe00 broadcast 212.61.63.255 ether 00:00:c0:1c:7a:e8 media: Ethernet autoselect (10baseT/UTP) status: active fxp0: flags=8843 mtu 1500 inet 212.61.27.72 netmask 0xfffffff0 broadcast 212.61.27.79 inet6 fe80::202:b3ff:fe4c:2f42%fxp0 prefixlen 64 scopeid 0x3 ether 00:02:b3:4c:2f:42 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 router# kldstat Id Refs Address Size Name 1 2 0xc0100000 3541c8 kernel 2 1 0xc1234000 8000 ipfw.ko router# ifconfig sl0 create ifconfig: SIOCIFCREATE: Invalid argument router# kldload if_sl kldload: can't load if_sl: File exists router# kldstat Id Refs Address Size Name 1 3 0xc0100000 3541c8 kernel 2 1 0xc1234000 8000 ipfw.ko 3 1 0xc1539000 5000 if_sl.ko router# ifconfig sl0 create ifconfig: SIOCIFCREATE: Invalid argument router#