Detect hardware changes

Keith Bottner keith at barkinglizards.com
Mon Dec 12 06:27:20 PST 2005


> 
> -----Original Message-----
> From: Loren M. Lang [mailto:lorenl at 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 at 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 at freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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






More information about the freebsd-questions mailing list