Next-in-Thread Next Message

Question setting ethernet PCMCIA address 

Forum: PCMCIA Network Adapter Issues
Date: 2000, May 01
From: J Toy gee308

Hi, I need help setting my ethernet Linksys etherfast PCMCIA card's hardware address automatically when it boots. I know how to set my harwade address with ifconfig eth0 hw ether FF:FFF:FF:FFF:FF:FF, but when I reboot, it resets. How can I make this automatic? Thanks Jason

Next-in-Thread Next Message

Messages Inline: 0 All Outline: 2 3 All

None Don't know why you need it, but here it is

Re: Question setting ethernet PCMCIA address (J Toy)
Date: 2000, May 01
From: David Hinds <>

If you have your network settings in /etc/pcmcia/network.opts, then
you can just add:

  start_fn () { ifconfig $1 hw ether ff:ff:ff:ff:ff:ff }

to your settings in that file.

If you are using Red Hat's netconf tool to configure your network,
then I don't think they provide any interface for doing this.

-- Dave

Feedback Setting the hardware address from network.opts

Re: Question setting ethernet PCMCIA address (J Toy)
Date: 2000, May 05
From: Andreas Hotz ahotz

Setting the MAC address of any card to another value is no problem. I posted a way to do this from your network.opts easily by changing David's network script slightly. This way you can change any MAC address by setting a variable in any of the "case" clauses in config.opts (for example based on the slot you put your PCMCIA card in.

See item 66, subitem 2 in this discussion forum for the description.

setting ethernet PCMCIA address

Members Subscribe No Admin Mode Show Frames Help for HyperNews at 1.10
[ Edit This Forum ]