[ale] Set MAC address on bootup
Mike Millson
mgm at atsga.com
Wed Jan 16 10:41:36 EST 2002
That does set the MAC address on startup (in xx:xx:xx:xx:xx:xx format -
didn't work w/ dots).
ifconfig shows that I did pull an IP address from BellSouth; however, I
cannot access the Internet. If I try to ping I get an "Operation not
permitted" error. If I try to access a Website I get a "host unknown" error.
If I start up control-panel and go to Interfaces and deactivate the NIC,
then activate it, I get Internet access. What's the difference between doing
this and having it activate at bootup (atboot=yes)???
Thank you,
Mike Millson
----------------------------------------
AableTech Solutions, Inc.
770.414.8834
770.414.8206 fax
http://www.atsga.com
----------------------------------------
-----Original Message-----
From: James P. Kinney III [mailto:jkinney at localnetsolutions.com]
To: ale at ale.org
Sent: Wednesday, January 16, 2002 7:56 AM
To: mgm at atsga.com
Cc: ALE
Subject: RE: [ale] Set MAC address on bootup
Try adding a line:
MACADDR=xx.xx.xx.xx.xx
to /etc/sysconfig/network-scripts/ifcfg-ethx.
This is a variable list called by /sbin/ifup during network startup.
/sbin/ifup has a variable "MACADDR" that will be run.
On Wed, 2002-01-16 at 07:33, Mike Millson wrote:
> Oops, I guess I should say I'm running RH7.1, kernel 2.4.9-6.
>
> -----Original Message-----
> From: Mike Millson [mailto:mgm at atsga.com]
> Sent: Wednesday, January 16, 2002 7:28 AM
> To: ALE
> Subject: [ale] Set MAC address on bootup
>
>
> I have bridged DSL from BS, and I replaced my linksys router a few months
> ago. This is the DSL that edits the MAC address before it gives out an IP
> address. So, every time I boot up, I bring down my NIC (ifconfig eth0
down),
> then assign it the MAC address of my old linksys router (ifconfig eth0 hw
> ether MAC_ADDRESS), then bring up the NIC (ifconfig eth0 up), then go into
> control panel (control-panel) and activate eth0 to get my IP address from
> BellSouth.
>
> Is there any way to automate assigning this new MAC address at startup so
I
> don't have to do any manual config when I reboot?
>
> Thank you,
> Mike Millson
> ----------------------------------------
> AableTech Solutions, Inc.
> 770.414.8834
> 770.414.8206 fax
> http://www.atsga.com
> ----------------------------------------
>
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
be
> sent to listmaster at ale dot org.
>
>
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
be
> sent to listmaster at ale dot org.
>
--
James P. Kinney III \Changing the mobile computing world/
President and COO \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list