Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining Ethernet addresses?



/proc/net/arp exists in the Linux community.  Plus, doesn't it only show
devices physically connected to the motherboard?  In my case, the Ethernet
address is on an external device which communicates with a device on the
MB.

Scott

On Mon, 6 Nov 2000, Niall Kavanagh wrote:

> # cat /proc/net/arp
> 
> ?
> 
> On Mon, 6 Nov 2000, Scott Ehrlich wrote:
> 
> > Hello Kris:
> > 
> > I am actually looking for a way to read/get the MAC address, not the IP.
> > Thanks though for what you did provide.
> > 
> > Scott
> > 
> > On Mon, 6 Nov 2000, Kris wrote:
> > 
> > > Well since i use to work for mediaone and know lots about cable modems...
> > > Also I am assuming you want the IP address(the MAC should be on the bottom
> > > of the modem).
> > > 
> > > First you have to MIB walk the headend.
> > > snmpwalk 10.l47.82.1 public |more
> > > (       replace x.147.82.1 with your IP gateway         )
> > > 
> > > You're looking for something like this:
> > > at.atTable.atEntry.atPhysAddress.1.1.10.147.83.13 =  Hex: 00 00 CA 07 FB
> > > 22 
> > > at.atTable.atEntry.atNetAddress.1.1.10.147.83.13 = IpAddress: 10.147.83.13
> > > Grep for your cable modem's MAC, there is an ARP entry in the headend
> > > for it's IP address as well(the MAC is on the bottom of the modem).
> > > Now you can MIB walk your cable modem or gather stats to your heart's
> > > content.
> > > Everytime you get renumbered though your modem will get renumbered too. 
> > > 
> > > If your doing this for the arp/bandwith uncap hack(first off it only works
> > > with LanCity type cable modems from mediaone), don't bother m1 has figured
> > > a way to block that(but I have a way to get around it as well e-mail me
> > > for info ;).
> > > 
> > > Thanx to Bill McDonough for some of this info
> > > 
> > > Kris Loranger
> > > Network Systems Engineer and Security Consultant
> > > Belenosinc.com
> > > kris at kancer.978.org
> > > IRC:undernet,#978,Kancer AIM:KancerKris
> > > Run Linux, keep the net free!
> > > 
> > > On Mon, 6 Nov 2000, Scott Ehrlich wrote:
> > > 
> > > > Hello to all:
> > > > 
> > > > I wish to remotely obtain the Ethernet address of my cable modem which is
> > > > attached to the Ethernet card of my OpenBSD box.  What utility is
> > > > recommended for this task?   I presume it will be some type of network
> > > > sniffer.
> > > > 
> > > > Thanks.
> > > > 
> > > > Scott
> > > > 
> > > > -
> > > > Subcription/unsubscription/info requests: send e-mail with
> > > > "subscribe", "unsubscribe", or "info" on the first line of the
> > > > message body to discuss-request at blu.org (Subject line is ignored).
> > > > 
> > > 
> > > 
> > 
> > -
> > Subcription/unsubscription/info requests: send e-mail with
> > "subscribe", "unsubscribe", or "info" on the first line of the
> > message body to discuss-request at blu.org (Subject line is ignored).
> > 
> 
> --
> Niall Kavanagh, niall at kst.com
> News, articles, and resources for web professionals and developers:
> http://www.kst.com
> 
> 
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
> 

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org