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)
Useful Tools on the Jasager (Fonera) Router:
root@Jasager:~# cd /tmp
#This is htop, an advanced version of top
root@Jasager:/tmp# wget http://ipkg.k1k2.de/packages/htop_0.6.5-1_mips.ipk
root@Jasager:/tmp# ipkg install htop_0.6.5-1_mips.ipk
root@Jasager:/tmp# rm *.ipk#This is nano, an easy to use text editor
root@Jasager:/tmp# wget http://ipkg.k1k2.de/packages/nano_2.0.6-1_mips.ipk
root@Jasager:/tmp# ipkg install nano_2.0.6-1_mips.ipk
root@Jasager:/tmp# rm *.ipk
#This is openntpd, an ntp client for the Fonera router (current date and time)
root@Jasager:/tmp# wget http://ipkg.k1k2.de/packages/openntpd_3.9p1-1_mips.ipk
root@Jasager:/tmp# ipkg install openntpd_3.9p1-1_mips.ipk
root@Jasager:/tmp# rm *.ipk
After installing openntpd, you need to configure it to contact the servers closest to you.
I am located in the United States, so I used the servers from us.pool.ntp.org.
NTP server reference – http://www.pool.ntp.org/en/
root@Jasager:/tmp# cd /etc
root@Jasager:/etc# cat > ntpd.conf << “EOF”
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
EOF
1. Open up the webif management page (http://192.168.1.1/index.html or http://192.168.1.1/webif.html)
2. Click on the “System” tab
3. Select the timezone that you are in
4. Click “Save Changes” in the bottom right corner
5. Click “Apply Changes” in the bottom right corner
At the moment, I do not recommend installing openntpd because it seems to continually spawn a new set of processes every 5 minutes or so, eventually slowing down the router. I am currently looking for a solution.
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 http://ipkg.k1k2.de/packages/macchanger_1.5.0-1_mips.ipk
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-onlyYou 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 (C) 2006 OpenWrt.orgSTART=40
STOP=40boot() {
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)
It’s been a while since I updated my blog. I haven’t been able to take photographs outside because of the rain and it is starting to get annoying.
Lately, I have been busy with work and spending time with my girlfriend. Within the past week, I have been working on my computer and replaced my old Netgear router with a Linksys WRT54G-TM Router. The reason for the switch was so that I could replace the firmware inside of the box with the newest version of DD-WRT. The new software is a breeze to setup and has a much better range of features for the router. The second modification I made to the box was to install a heatsink on the main chip and a fan on the top of the case to push more air into the box to cool down the components. This was a fun modification and has kept me from being bored with my free time. The WRT54G-TM model is better than some of the other routers because it has the available space to install the Mega version of DD-WRT. This model also runs a bit faster and won’t bog down as easy with heavy load.
I have a vacation coming up soon and I am saving up some money for the trip. Disney World HERE I COME! But really, I have only been to Disneyland and that was when I was 12 years old. My girlfriend and I booked a trip to fly to North Carolina to visit some of my family and from there we are all going to drive down to Florida to stay for a week. I will be taking my camera with me and I hope to come back with an awesome collection of photographs to post here and upload to flickr. The entire 10 day trip will be awesome, considering it has been a very long time since I have been out to N.C.