Page 1 of 1

eeepc question

Posted: Fri Apr 04, 2008 4:17 am
by davijordan
Does the eeepc have an old fashion type e bios. If it does, can you change the reported mac address of the nic there?

Re: eeepc question

Posted: Fri Apr 04, 2008 12:30 pm
by dann
Yes it has a standard bios, but there is no way to change the MAC address of the nic through the bios on my system.

Re: eeepc question

Posted: Fri Apr 04, 2008 2:09 pm
by Tsuroerusu
davijordan wrote:Does the eeepc have an old fashion type e bios. If it does, can you change the reported mac address of the nic there?
If you just want to change the MAC address of a network interface on the system, just run these commands as root:

Code: Select all

# ifconfig eth0 down
# ifconfig eth0 hw ether "01:02:03:04:05:06" up
If you're using NetworkManager, you will need to disable it while doing this, and things a little differently:

Code: Select all

# /etc/init.d/NetworkManager stop
# ifconfig eth0 hw ether "01:02:03:04:05:06" up
# ifconfig eth0 down
# /etc/init.d/NetworkManager start
I assume you want it done automatically, that would just be a matter of putting these two lines into a script that gets executed at start-up. For example in Fedora (This is just an example of how you would do this), there's a file called /etc/rc.local which "will be executed *after* all the other init scripts", so you would just stick the lines I mentioned in there, and you're in business. This works with both wired and wireless network adapters.
This is also very handy if you're snooping on the neighbor's wireless network, and he's got MAC address filtering on, you would simply use one of his MAC addresses that you might have found through packet sniffing. I speak from experience! :mrgreen:

Re: eeepc question

Posted: Fri Apr 04, 2008 2:31 pm
by davijordan
thanx for the info. It does not have to be at boot. I can see where the eeepc would be the ultimate penetration testing device. Trying to decide to get an external battery or get the eeepc. the external battery is 1/4 the cost of the eeepc but a lot bulkier..