Author Topic: Wlan - Spoofed Mac Address  (Read 2355 times)

geo

  • Newbie
  • *
  • Posts: 5
    • View Profile
Wlan - Spoofed Mac Address
« 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!
SL5500
512 MB SD Transcend
ASUS SpaceLink Wireless LAN CD Card WL-110
OpenZaurus 3.5.3

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Wlan - Spoofed Mac Address
« Reply #1 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
        [...]
Webmaster of hentges.net & Embedded Linux Developer.

geo

  • Newbie
  • *
  • Posts: 5
    • View Profile
Wlan - Spoofed Mac Address
« Reply #2 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]
SL5500
512 MB SD Transcend
ASUS SpaceLink Wireless LAN CD Card WL-110
OpenZaurus 3.5.3