Team Rank: 70 Points Today: 8,597 Points Total: 174,230,485 Work Units: 728,940


View unanswered posts | View active topics It is currently Fri Sep 10, 2010 6:38 am






Reply to topic  [ 250 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 17  Next
 Hacking the FON WiFi Router 
Author Message

Joined: Fri Feb 16, 2007 7:46 pm
Posts: 5
Post 
I just ordered one. Does FON check to see whether or not it's activated? I plan on setting it up, but I must first check my ISP's restrictions. I wonder if FON will come after me legally for not using it after a month. I hope not. Maybe I'm a bit paranoid over the whole thing...

I hope on turning it into a wireless repeater possibly or something else. I have yet to see.


Fri Feb 16, 2007 8:09 pm
Profile


User avatar

Joined: Fri Dec 02, 2005 7:00 pm
Posts: 2187
Location: Sac town
Post 
Tyler wrote:
I just ordered one. Does FON check to see whether or not it's activated? I plan on setting it up, but I must first check my ISP's restrictions. I wonder if FON will come after me legally for not using it after a month. I hope not. Maybe I'm a bit paranoid over the whole thing...

I hope on turning it into a wireless repeater possibly or something else. I have yet to see.

If it isn't permitted, you could put it through a computer running a firewall router program.

Also thanks Goliath


Fri Feb 16, 2007 9:15 pm
Profile WWW
Post 
If you get one and flash dd-wrt and don't use the original firmware, Fon will call you up. So just access this page:

http://download.fon.com/heartbeat.ph...00-00-00-00-00

Where the 00-00 part is the MAC address of the router they give you.


Sat Feb 17, 2007 3:29 am
User avatar

Joined: Tue Jan 17, 2006 11:17 pm
Posts: 1478
Location: somewhereville, usa
Post 
There are heartbeat programs arround there. to simulate it. What is this item from fon doing?

_________________
Image
Powered By Feedburner
"My snorkle! My snorkle! Judge won't like it if I don't have my snorkle! You PLANT it... Don't want baby snorkles."


Sat Feb 17, 2007 8:35 am
Profile WWW

Joined: Thu Feb 15, 2007 4:25 am
Posts: 10
Post 
Are the heartbeat programs safe? I mean from the looks of things Fon already has an eye of all the users who are getting the router. Because i just looked up my address on their map site. I was actually planning on giving this to my GF and they said you can pass it to anyone you like right?


Sat Feb 17, 2007 6:09 pm
Profile
User avatar

Joined: Sun Feb 26, 2006 8:00 pm
Posts: 955
Location: California
Post 
got mine today.

not really sure where to start. i dont have the effort to go the serial route, so i want to softmod it.

should i go with this or the one thats on dd-wrt's wiki?


Tue Feb 20, 2007 1:12 am
Profile WWW
User avatar

Joined: Thu Oct 27, 2005 12:39 pm
Posts: 4517
Location: Cleveland, Ohio, USA
Post 
murrowman wrote:
not really sure where to start. i dont have the effort to go the serial route, so i want to softmod it.
/whistles for Mr/. Snorkle. He posted a link to a guide that worked for him in the chatroom but I'll be damned if I can remember what it was.

_________________
[img:468:100]http://img386.imageshack.us/img386/4585/shinerbockbf4.gif[/img]
(1.21 gigawatts) / (88 miles per hour) = 30757874 newtons


Tue Feb 20, 2007 1:21 am
Profile WWW
User avatar

Joined: Sun Feb 26, 2006 8:00 pm
Posts: 955
Location: California
Post 
/me whistles along with bti

edit: i tried out the dd-wrt wiki. i got as far as enabling ssh permanently, but every time i try wgeting that file, it says unknown host. i tried hosting the file myself, but it gave me the same thing.


Tue Feb 20, 2007 1:22 am
Profile WWW
Site Admin
User avatar

Joined: Mon Oct 31, 2005 10:26 am
Posts: 1064
Location: Chicago
Post 
1) First, connect the power to your Fonera and let it start up. It seemed to take awhile for mine to load to the point where I could find it via my wireless card, so give it a few minutes.

2) Fire up your wireless card and look for the AP named “MyPlace”. Enter the serial number of your Fonera as the WPA key, and let your card acquire an IP address.

3) Navigate to 192.168.10.1 in your web browser. You will be prompted for a user name and password. Enter “admin” for both. Click on the “Public Wifi” button and enter the following text into the box provided as shown:

Code:
$(/usr/sbin/iptables -I INPUT 1 -p tcp –dport 22 -j ACCEPT)


Image

You will get a response filled with html code as shown below – you can ignore it.

Image

4) Reload the page by navigating to the address bar and pressing enter so you don't post the same form to the router. Then, enter the following into the box:

Code:
$(/etc/init.d/dropbear)


You can now SSH into your Fonera!

5) Download Putty (http://the.earth.li/~sgtatham/putty/lat ... /putty.exe), and connect to 192.168.10.1 using SSH1. You can run “putty –ssh 192.168.10.1” from the command-line if you prefer not to use the GUI. When prompted, enter “root” as the user name and “admin” as the password. Now you will see the Fonera's welcome screen:

Image

6) The first thing I would do is change the password for the root account. Use the passwd command to do so.

7) Next, enter the following to start permanently enabling shell access:
Code:
mv /etc/init.d/dropbear /etc/init.d/S50dropbear


8) Now type in:
Code:
vi /etc/firewall.user


Once you’ve loaded the file into vi, you want to navigate to the lines highlighted below in the picture and remove the # at the beginning of both iptables commands to uncomment the code. You can do so by highlighting the # sign and pressing “x”

Once you’ve done that, hit the escape key and type in “:wq” to quit and write the changes you’ve made to the file.

Image

9) To activate the changes you have just made, you can either reboot the device or type the following:

Code:
/etc/init.d/S50dropbear
/etc/firewall.user


10) Now you'll probably want to disable Fon's ability to update the firmware on your device. Allowing them to update the device will remove the SSH access that you just configured, since all firmware versions from FON have SSH disabled. If you want to prevent them from updating the device, do the following:

Code:
vi /bin/thinclient


Change the last line of the file to include a # at the beginning as shown below. You can use the arrow keys to navigate to that point, then enter insert mode by pressing “i”. Hitting escape will take you out of insert mode.

Code:
#. /tmp/.thinclient.sh


You may also want to add the line as shown.

Code:
cp /tmp/.thinclient.sh /tmp/thinclient-$(date ‘+%Y%m%d-%H%M’)


Be sure to hit escape and type “:wq” to write your changes to file.

Image

Now you're done! You've permanently enabled SSH, and you've locked Fon out of the router, so they don't undo the work you just did. Stay tuned for a PDF version of these instructions as well as a dd-wrt installation walk-through.

_________________
Stop by the Geek Republic Chat Room

The Dr's Office - My ever so slow to update blog


Last edited by DrNathan on Wed Feb 21, 2007 9:53 am, edited 1 time in total.



Tue Feb 20, 2007 6:53 am
Profile WWW

Joined: Thu Feb 15, 2007 4:25 am
Posts: 10
Post 
nice work.. ill be waiting for the PDF and full walk through.

One question is on Step 10 - if you the command you cant access SSH anymore either ever? or only blocking FON?

10) If you wish to block Fon from updating the firmware on the Fonera, and thus blocking your SSH access to the device, you should do the following:


Tue Feb 20, 2007 7:22 pm
Profile
User avatar

Joined: Sun Feb 26, 2006 8:00 pm
Posts: 955
Location: California
Post 
i tried connecting through my modem instead of my router and got it to work.

i need my switch so i can telnet to redboot. the router doesnt seem to work.


Tue Feb 20, 2007 7:25 pm
Profile WWW
User avatar

Joined: Fri Dec 02, 2005 7:00 pm
Posts: 2187
Location: Sac town
Post 
I don't know if I'm getting mine, I still don't have it yet.
If anyone doesn't really want theirs then let me know.


Tue Feb 20, 2007 7:35 pm
Profile WWW
User avatar

Joined: Sun Feb 26, 2006 8:00 pm
Posts: 955
Location: California
Post 
you should get it soon shake. you live 350 miles north of me, and i got mine last night at 6:00pm.


Tue Feb 20, 2007 8:04 pm
Profile WWW
User avatar

Joined: Fri Dec 02, 2005 7:00 pm
Posts: 2187
Location: Sac town
Post 
murrowman wrote:
you should get it soon shake. you live 350 miles north of me, and i got mine last night at 6:00pm.

Sweet, thanks for the update.


Tue Feb 20, 2007 8:15 pm
Profile WWW
User avatar

Joined: Fri Dec 02, 2005 7:00 pm
Posts: 2187
Location: Sac town
Post 
Okay, I got mine today.


Wed Feb 21, 2007 12:37 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 250 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 17  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.