Re: Can't find ethernet (MAC) address

2003-01-13 Thread James Pole
On Tue, 2003-01-14 at 07:04, James C. Li wrote:
> Hi,
> 
> My NIC (Linksys LNE100 TX) has worked fine within a Cable modem LAN (with a
> Linksys router), but since I've moved in to my college dorm, I can't find the
> MAC address.  With ifconfig, I get something like (I can't reproduce it; typing
> this from a public computer):

You should be able to get it from the dmesg:-

> dmesg | grep xl
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem
0xdf80-0xdfff irq 10 at device 13.0 on pci0
xl0: Ethernet address: 00:10:xx:xx:xx:xx
>

The xxs were added for security.

- James

-- 
James Pole

ICQ: 21721828
AIM: kiwijames1986
MSN: [EMAIL PROTECTED]
SMS: +64-210-455-139


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't find ethernet (MAC) address

2003-01-13 Thread Nathan Kinkade
On Mon, Jan 13, 2003 at 10:04:31AM -0800, James C. Li wrote:
> Hi,
> 
> My NIC (Linksys LNE100 TX) has worked fine within a Cable modem LAN (with a
> Linksys router), but since I've moved in to my college dorm, I can't find the
> MAC address.  With ifconfig, I get something like (I can't reproduce it; typing
> this from a public computer):
> 
> % ifconfig
>   . . .
> ether: ff:ff:ff:ff:ff:ff
>   . . .
> 
> Apparently, the school requires students to register their ethernet (MAC)
> addresses before their DHCP server leases an IP address.  Is there any way for
> me to get the ethernet address through FreeBSD?
> 
> BTW: the machine is FreeBSD-4.7 RELEASE
> 
> Also, could the MAC address by on the card somewhere (if anybody has a similar
> card)?  All I see is some string of numbers like a scan code.
> 
> Thanks,
> 
> James

Your ethernet MAC address should be accessible from `ifconfig` on the
line below your particular driver labeled "ether".  You may also try to
find it using the command `arp -a` which should have an entry for your
local adapter.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg15342/pgp0.pgp
Description: PGP signature


Can't find ethernet (MAC) address

2003-01-13 Thread James C. Li
Hi,

My NIC (Linksys LNE100 TX) has worked fine within a Cable modem LAN (with a
Linksys router), but since I've moved in to my college dorm, I can't find the
MAC address.  With ifconfig, I get something like (I can't reproduce it; typing
this from a public computer):

% ifconfig
  . . .
ether: ff:ff:ff:ff:ff:ff
  . . .

Apparently, the school requires students to register their ethernet (MAC)
addresses before their DHCP server leases an IP address.  Is there any way for
me to get the ethernet address through FreeBSD?

BTW: the machine is FreeBSD-4.7 RELEASE

Also, could the MAC address by on the card somewhere (if anybody has a similar
card)?  All I see is some string of numbers like a scan code.

Thanks,

James

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message