Jump to content

swatspyder

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by swatspyder

  1. Ok so i had to flash the router after i tryed changing the mac in /etc/config/network but after i flashed it again i tryed setting the mac for the lan interface

    I did this in X-WRT interface, Network > Lanconfiguration, MAC Address:

    This then set /etc/config/network

    option 'macaddr' '00:23:EB:2C:FC:E6'

    This had no result.

    idk if anyone else can give me any idea's but next i think i am going to try using startup scripts to change the base lan MAC.

    This is from my blog. You can find the original article below. :D

    Jasager (Fonera) Router – Changing the Wireless MAC Address and More

    http://www.andrewdefilippis.com/2010/11/22/jasager-fonera-router-changing-the-wireless-mac-address-and-more/

    1. Reboot your router (disconnect and reconnect power)

    2. Connect an ethernet cable from your computer to the Fonera

    3. Open a Secure Shell into your router (ssh 192.168.1.1 “The IP of the Fonera”)

    4. Make sure you can ping out to the internet from your Fonera router (ping google.com)

    Changing the MAC addresses:

    First we are going to install “macchanger” to our Jasager (Fonera) router.

    root@Jasager:/etc# cd /tmp

    #This is macchanger, a tool that will allow you to easily change your MAC addresses

    root@Jasager:/tmp# wget h**p://ipkg.k1k2.de/packages/macchanger_1.5.0-1_mips.ipk #remove the ** and replace with tt

    root@Jasager:/tmp# ipkg install macchanger_1.5.0-1_mips.ipk

    root@Jasager:/tmp# rm *.ipk

    After installing macchanger, we need to modify the file "network" located at /etc/init.d/network

    If you installed nano, run "nano network" otherwise run "vi network"

    root@Jasager:/tmp# cd /etc/init.d

    root@Jasager:/etc/init.d# cp network network.bak #Make a backup of the original file

    root@Jasager:/etc/init.d# chmod 444 network.bak #Make the backup file read-only

    You will need to insert two lines into the file to change the MAC address

    Replace “00:11:22:33:44:55″ with a MAC of your choice (make sure they are the SAME)

    root@Jasager:/etc/init.d# nano network

    #!/bin/sh /etc/rc.common

    # Copyright © 2006 OpenWrt.org

    START=40

    STOP=40

    boot() {

    setup_switch() { return 0; }

    include/lib/network

    setup_switch

    [ -s /etc/config/wireless ] || /

    /sbin/wifi detect > /etc/config/wireless

    macchanger ath0 -m 00:11:22:33:44:55

    macchanger wifi0 -m 00:11:22:33:44:55

    /sbin/wifi up

    }

    1. Save the file, overwriting the existing file named “network” and reboot the router.

    2. When the router is finished booting up, run ifconfig to confirm that ath0 and wifi0 contain the MAC address you specified.

    3. Run a wireless network scanner to confirm that the router is broadcasting the new MAC address (airmon-ng and airodump-ng)

    I didn’t attempt it, but you could possibly use

    (ifconfig ath0 hw ether 00:11:22:33:44:55) and

    (ifconfig wifi0 hw ether 00:11:22:33:44:55)

    instead of

    (macchanger ath0 -m 00:11:22:33:44:55) and

    (macchanger wifi0 -m 00:11:22:33:44:55)

×
×
  • Create New...