install_fonera
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install_fonera [2007/02/13 00:39] – sonicvanajr | install_fonera [2018/11/22 00:14] (current) – deprecated mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | To start off the Fon, or La Fonera router is a small device | + | ====== DEPRECATED - Tutorial: How to install Aircrack-ng on La Fonera ====== |
+ | February 12, 2007 \\ | ||
+ | By: SonicvanaJr | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | To start off the Fon, or La Fonera router is a small wireless router | ||
+ | |||
+ | The Fon company seems to live to give their routers away for free sometimes. | ||
+ | |||
+ | I have personally seen, and taken advantage of three different instances where they have given away routers. | ||
+ | So if you're broke, or cheap. Just wait around for their next "have a router on us" event :) | ||
The device itself is based on the Atheros AR2315 chipset. | The device itself is based on the Atheros AR2315 chipset. | ||
- | * 5V @ 2A power supply\\ | + | Characteristics: |
- | * 1 ethernet jack\\ | + | |
- | * RP-SMA antenna connector\\ | + | * 1 ethernet jack\\ |
- | * serial\\ | + | * RP-SMA antenna connector\\ |
- | * 16MB RAM\\ | + | * serial |
- | * 8MB Flash\\ | + | * 16MB RAM\\ |
- | * SPI-Bus | + | * 8MB Flash\\ |
+ | * SPI-Bus | ||
- | The Fon is able to run the [[http:// | + | The Fon is able to run the [[http:// |
- | The first step to get Aircrack-ng running on the Fon is to get the OpenWRT image on it first. | + | == Power Adapter(s) == |
- | Please note to be able to do this you either need a Fon that has SSH enabled. | + | Over the past month of so I have fabricated various power supplies for the fon, since a power outlet is not always available. |
- | Tutorial/ | + | Since it runs on five volts the options |
- | If your Fon is not capable of being SSH'd into then you can use a [[http:// | + | So far I have build a car power adapter, USB power adapter, and a power adapter that uses two 9V batteries. |
- | Instructions for building your own image, and various other information about the Fon and OpenWRT can be found [[http:// | + | The car, and 9V battery adapters both used a 5V voltage regulator available from Radioshack. Part number 276-1770 |
- | Before building the image however the Madwifi-Ng drivers must be patched | + | Basically this takes an input voltage up to 35V, and drops it down to 5V. However since the laws of science apply in our world the lost energy has to go somewhere, and that somewhere |
- | The patch for the Madwifi-Ng driver can be found [[http:// | + | |
- | Please make note that there are actually only two **code** changes made to the if_ath.c file, rest is just comments, and can and **will** be omitted when patching for OpenWRT. | + | |
- | To make your own injection capable image of the OpenWRT Kamikaze image follow the steps below | + | For the USB adapter it was as simple as connecting ground to ground |
- | However, if you're lazy, and don't think you can accomplish this, or just don't feel like you can do this you can download | + | |
- | However these packages are provided as is, and I will not be making any changes | + | I' |
- | - First pull the SVN trunk and packages from the OpenWRT svn server. | ||
- | - <code bash>svn co https:// | ||
- | - <code bash>svn co https:// | ||
- | - You can then later update either of those by going into either the **trunk** or **packages** directory, and typing <code bash>svn up</ | ||
- | - Create a symbolic link from the packages tree to the trunk/ | + | ===== Installing ===== |
- | - Go into the trunk/ | + | |
- | | + | The first step to get Aircrack-ng running on the Fon is to get the OpenWRT image on it first. |
- | | + | |
- | - Make sure the Aircrack-Ng package is selected in the Network section as a module. | + | Please note to be able to do this you either need a Fon that has SSH enabled. |
- | | + | |
- | | + | Tutorial/ |
+ | |||
+ | If your Fon is not capable of being SSH' | ||
+ | |||
+ | Instructions for building your own image, and various other bits of information about the Fon and OpenWRT can be found [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | ==== First pull the SVN trunk and packages from the OpenWRT SVN server ==== | ||
+ | * | ||
+ | | ||
+ | | ||
+ | | ||
- | - Go to the trunk directory | + | ==== Setup and build the image ==== |
+ | * Go into trunk/ | ||
+ | * <code bash> ln -sf ../ | ||
- | | + | |
+ | * <code bash> make menuconfig </ | ||
+ | * Make sure that " | ||
+ | <code bash>(X) Atheros AR231x/ | ||
- | - Patch the madwifi source | + | * Make sure the Aircrack-Ng package is selected in the Network section as a module. |
- | | + | < |
- | - Extract the madwifi source by typing | + | <*> airpwn........................................... Packet injection pwnage (NEW) |
- | - Edit the madwifi-ng-0.9.2/ath/if.c file | + | |
- | - Open said file in your favorite text editor and at the beginning you will see a bunch of commented code. Romove one line of this code. I know this seems stupid, and is quite a dirty hack, but it must be done so that when the madwifi-ng package builds the other patches can be applied to it without any problems. | + | <*> aircrack-ng................ next generation of aircrack with new features (NEW) |
- | - Now apply the two lines of code found within the patch file mentioned at the beginning of tutorial. Again I know it sucks to do it by hand, but then again it is quite trivial, and easy, so don't complain to much. Once this is done save the file, and exit out of your text editor. | + | <*> aircrack-ptw............. A tool using a new method for breaking WEP Keys (NEW) |
+ | <*> kismet-drone................................................ Kismet drone (NEW)</ | ||
- | - Repackage | + | * Make sure the libpthread package is selected in the Libraries section as a module. |
- | | + | < |
- | + | <*> libpthread-stubs........................................ libpthread-stubs (NEW)</ | |
- | - Rebuild the image, this time with the patched drivers. | + | |
- | | + | |
+ | * Exit out of the kernel configuration, | ||
+ | * Go to the trunk directory and type <code bash> | ||
+ | |||
Now that all of this is done you should have some files in your bin directory. | Now that all of this is done you should have some files in your bin directory. | ||
* openwrt-atheros-2.6-vmlinux.lzma | * openwrt-atheros-2.6-vmlinux.lzma | ||
Line 69: | Line 92: | ||
* Some others (don't worry about them) | * Some others (don't worry about them) | ||
* A package directory containing the aircrack-ng ipk file, and libpthred ipk file | * A package directory containing the aircrack-ng ipk file, and libpthred ipk file | ||
+ | |||
+ | === Disclaimer === | ||
+ | == You can potentially break your Fon router, though there are various ways to fix it, if you mess up flashing your basically SOL until someone figures out, and documents how to connect a JTAG cable to the Fon and read and write to it. That being said, if you break your router it is your own fault and no one else' | ||
Now you need to flash your Fon with the OpenWRT image. There are two ways to do this currently, one is to use the serial interface on the Fon, and the Redboot boot loader to flash a image, or you can ssh into the Fon and flash via the OpenWRT shell. | Now you need to flash your Fon with the OpenWRT image. There are two ways to do this currently, one is to use the serial interface on the Fon, and the Redboot boot loader to flash a image, or you can ssh into the Fon and flash via the OpenWRT shell. | ||
Line 76: | Line 102: | ||
However in the ssh guide replace the files they use with the one I provided, or that you have built. If you built them substitute their wget commands with scp commands to get your image files into the /tmp directory. | However in the ssh guide replace the files they use with the one I provided, or that you have built. If you built them substitute their wget commands with scp commands to get your image files into the /tmp directory. | ||
- | Once you have succesfully | + | Once you have successfully |
- | Now you need the aircrack-ng and libpthread ipk files. They can be found [[http://sonicvanajr.com/ | + | Now you need the aircrack-ng and libpthread ipk files. They can be found [[http://mobileaccess.de/fonera/bin/ |
Use the command <code bash> | Use the command <code bash> | ||
Line 93: | Line 119: | ||
8-) | 8-) | ||
- | |||
- | |||
- | Written by SonicvanaJr | ||
If you need help I can be found in the Aircrack-ng IRC channel. | If you need help I can be found in the Aircrack-ng IRC channel. | ||
+ | ===== Ready to use images ===== | ||
+ | However, if you're lazy, or just don't feel like you can do this you can download the image files [[http:// | ||
- | + | Please understand that these packages are provided as is. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
install_fonera.txt · Last modified: 2018/11/22 00:14 by mister_x