OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: geo on April 23, 2005, 06:34:52 pm

Title: Wlan - Spoofed Mac Address
Post by: geo on April 23, 2005, 06:34:52 pm
Hello everybody!

My ISP makes simple filtering by MAC address and IP of the NIC in my PC. Usually, I connect with wireless adaper to the AP at home which works as a bridge to the ISP's LAN cable. But if I have to use another adapter I spoof its MAC address and everything works fine.

As long as Zaurus 5500 is not my primary home PC , if I want to get it connected to internet through the Asus SpaceLink WL-110 CF wlan adapter I must spoof its mac address. It is easy:

#ifconfig wlan0 hw ether XXYYZZXXYYZZ

where XXYY... is the MAC address which the ISP expects. It works, but I would like to know where is the most proper place to make this spoofing permanent (which config files should I change I mean). I am talking about OpenZaurus 3.5.3 with opie.

10x in advance!
Title: Wlan - Spoofed Mac Address
Post by: CoreDump on April 24, 2005, 06:58:45 am
The followin change to /etc/network/interfaces should do the trick:

iface wlan0 inet dhcp
        [...]
        pre-up ifconfig $IFACE hw ether 00:11:22:33:44:55
        [...]
Title: Wlan - Spoofed Mac Address
Post by: geo on April 24, 2005, 04:59:33 pm
CoreDump, thank you, this works perfectly!

Quote
The followin change to /etc/network/interfaces should do the trick:

iface wlan0 inet dhcp
        [...]
        pre-up ifconfig $IFACE hw ether 00:11:22:33:44:55
        [...]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76610\"][{POST_SNAPBACK}][/a][/div]