From owner-freebsd-questions@FreeBSD.ORG  Mon Dec 12 14:27:20 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5DCAF16A41F
	for <freebsd-questions@freebsd.org>;
	Mon, 12 Dec 2005 14:27:20 +0000 (GMT)
	(envelope-from keith@barkinglizards.com)
Received: from pluto.phpwebhosting.com (pluto.phpwebhosting.com [69.0.209.128])
	by mx1.FreeBSD.org (Postfix) with SMTP id C086F43D5E
	for <freebsd-questions@freebsd.org>;
	Mon, 12 Dec 2005 14:27:11 +0000 (GMT)
	(envelope-from keith@barkinglizards.com)
Received: (qmail 22312 invoked from network); 12 Dec 2005 14:27:07 -0000
Received: from unknown (HELO Stile) (keith%barkinglizards.com@209.117.233.18)
	by pluto.phpwebhosting.com with SMTP; Mon, 12 Dec 2005 09:27:07 -0500
From: "Keith Bottner" <keith@barkinglizards.com>
To: "'Robert Marella'" <rmarella@gmail.com>
Date: Mon, 12 Dec 2005 08:27:06 -0600
Organization: Barking Lizards Technologies
Message-ID: <014901c5ff28$2174bac0$1801a8c0@Stile>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcX9MUkBoUHEL/sbTVe97Sxz8FRmIgB9hpjA
In-Reply-To: <20051209162735.574015bc@frankie.konav201.local>
Cc: 'FreeBSD Questions' <freebsd-questions@freebsd.org>
Subject: RE: Detect hardware changes
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Dec 2005 14:27:20 -0000

> 
> -----Original Message-----
> From: Loren M. Lang [mailto:lorenl@alzatex.com]
> Sent: Friday, December 09, 2005 9:06 AM
> To: Peter Giessel
> Cc: Keith Bottner; 'FreeBSD Questions'
> Subject: Re: Detect hardware changes
> 
> On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
> > On 12/8/2005 11:51, Keith Bottner seems to have typed:
> > > skc0@pci2:9:0:  class=0x020000 card=0x00241737 chip=0x10321737 
> > > rev=0x10 hdr=0x00
> > >     vendor   = 'Linksys'
> > >     device   = 'EG1032 Gigabit Ethernet'
> > >     class    = network
> > >     subclass = ethernet
> > 
> > Looks like this should be supported using the nge driver.
> 
> No, actually the sk driver, look at the first line of pciconfig 
> output. ifconfig -a should list a network card called skc0 which you 
> just need to configure.  If all you need is dhcp then just run 
> dhclient skc0.  Add the device to rc.conf for it to work on boot.
> Use man rc.conf for help or copy the line for the xl0 network card you 
> already have.
> 
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> > 
> 
> ipconfig -a doesn't show the skc0 device which I believe is my 
> ultimate problem. Can I infer from your earlier message that this 
> means the sk module is not being loaded or is not available? How can I 
> check to see if the loadable module is installed?
> 
> Thanks,
> 
> Keith
>
> Hello Keith
>
> skc0 is the controller. You should see sk0 in ifconfig -a.
>
> Can you please show us the output of ifconfig -a and rc.conf. 
>
> Thank you
> Robert

Ifconfig does not show skc0 but here is the output for completeness:

xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	inet 192.168.1.217 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 
	ether 00:b0:d0:16:3d:30
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 

And rc.conf is:

defaultrouter="192.168.1.1"
hostname="gsdev.bltmobile.com"
ifconfig_xl0="inet 192.168.1.217  netmask 255.255.255.0"
ifconfig_skc0="inet 10.0.130.204  netmask 255.255.255.0"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
postgresql_enable="YES"

Anything else that I can send that will help?

Keith