Nokia N810: Wireless Auditing Tool - Configuration Tutorial
Total Page:16
File Type:pdf, Size:1020Kb
Nokia N810: Wireless Auditing Tool - Configuration Tutorial Equipment used in this Tutorial Nokia N810 Bekin F5D7050 - Wireless G USB Network Adapter Version 3 FCC ID: K7SF5D7050B Realtek RTL8187L 1500mW Wireless Adapter Card Antenna Micro USB Host Cable for Nokia N810 OTG James Edge – www.jedge.com 1 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Lenmar PowerPort Mini Charger & Battery Cable Style Dual-Power 1000mA USB 2.0 4-Port Hub USB 2.0 Female to Dual USB A Male Power Y Cable Tomtom MKII Bluetooth GPS receiver James Edge – www.jedge.com 2 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Getting Started First thing you should do is visit the Nokia Support website (http://www.nokia.com/us-en/support/user-guide) to learn all about your device (i.e. buttons, specifications, how-tos, guides, etc). You will have to search for the N810 in the archive section. Direct Link to the User Guide http://nds1.nokia.com/files/support/nam/phones/guides/N810_US_en.PDF User Guide Mirror http://www.jedge.com/n810/N810_US_en.pdf After you get to know the device you will want to upgrade it to the latest version. The easiest way is with the Windows Nokia Internet Tablet Update Wizard (http://nds1.nokia.com/files/support/global/phones/software/Nokia_Internet_Tablet_Software_Update_Wizard.exe). Just follow the instructions to have the latest version of OS2008. Update Wizard Mirror http://www.jedge.com/n810/Nokia_Internet_Tablet_Software_Update_Wizard.exe Beware that flashing a new image on your tablet will reset the device back to factory defaults and remove all data not on the memory cards—preferences, bookmarks, installed applications, with a single exception that any previously-set lock code will be kept and not reset to the factory-default of "12345". (Updating the firmware, 2009) Once you boot your device for the first time there will be a couple wizards having you establish the device language and time. You can go ahead and cancel the wizards asking you to setup a connection to a mobile device. The following instructions below will go into quick and direct detail on how to configure the Nokia N810 as a wireless auditing device. James Edge – www.jedge.com 3 Nokia N810: Wireless Auditing Tool - Configuration Tutorial For Advanced Users: Flashing your Nokia N810 with Linux The command line flasher tool can be downloaded from Nokia’s developer site (http://tablets-dev.nokia.com/maemo-dev-env-downloads.php ). The current version is 3.5. See the wiki for Flasher to understand all the options that exist for the tool (http://wiki.maemo.org/Flasher). You can get the latest N810 image from http://tablets-dev.nokia.com/nokia_N810.php. You will need the device ID (MAC address) of your Nokia device. The information is located behind the battery. My OS for testing the tool is Ubuntu 10.4 LTS so I downloaded the Debian (deb) package and installed it via the command line. #dpkg –i maemo_flasher-2.5_2.5.2.2_i386.deb Select Ok for the pop-up prompts and Yes to accept the license. Once flasher is installed you can run the following command to flash your device. #flasher-3.5 -F RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R Run this command and then plug in your N810 via the USB cable. Power on the device while holding the Swap (looks like two overlapping boxes on left side) button. Once the device starts flashing you can release both buttons. When flashing is complete you can cycle the device’s power. James Edge – www.jedge.com 4 Nokia N810: Wireless Auditing Tool - Configuration Tutorial For Advanced Users: Flashing your Nokia N810 with Windows Command Line These instructions exist because some day Nokia will stop providing the update wizard. Download and install maemo_flasher-3.5_2.5.2.2.exe from the Nokia Maemo Development site (http://tablets-dev.nokia.com/maemo-dev-env-downloads.php). Download the latest N810 image from http://tablets-dev.nokia.com/nokia_N810.php. You will need the device ID (MAC address) of your Nokia device. The information is located behind the battery. Flasher Mirror Link http://www.jedge.com/n810/flasher/maemo_flasher-3.5_2.5.2.2.exe My OS for testing this tool was Windows 7 64-bit so I encounter, and solve, all the issues there is running this tool on this version of Windows. You will need to see this post http://talk.maemo.org/showpost.php?p=849980&postcount=20 in order to get it to work properly. See Appendix D for the same post but modified for the N810 with mirrored links. Once flasher is installed search for “flasher” in the Windows 7 search box. Click “Maemo Flasher 3.5”. You can run the following command to flash your device. This assumes that the image file is in your default Windows Downloads folder. C:\Program Files (x86)\maemo\flasher-3.5>flasher-3.5.exe -F c:\Users\jedge\Downloads\RX-44_DIABLO_5.2008.43- 7_PR_COMBINED_MR0_ARM.bin –f –R James Edge – www.jedge.com 5 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Connect to an Access Point Figure 1: Select the Wireless Icon and choose Select Connection Figure 2: Select your Access Point from the pop-up Go to Application Manager Enable Red Pill mode (this is so you can install software that needs access to the device libraries). See Appendix B. While in Application Manager (after following the Red Pill tutorial) enable the Maemo extras repository. Select maemo Extras, click Edit, uncheck the Disabled box, and click OK. Using the Application Manager install the following software: rootsh, minigps, a-gps, telnet, vim, and dropbear (client and server). Add Additional Application Repositories Open your browser and go to the site http://www.gronmayer.com/it/index.php. This page cataloges all of the repositories that exist for the Nokie tablets. Scroll down the site and select the following repositories: James Edge – www.jedge.com 6 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Select maemo Extras Nokia certified Nokia non-certified Nokia System-update Maemo Chinook MUlliNER.ORG Maemo Software tuomas.kulve.fi Mapper Diablo maemo extras Maemo diablo/tools Ricky Brent's Maemo Packages Figure 3: http://www.gronmayer.com/it/ mg.pov.it(Diablo) Maemo Extras-Devel Qole You are going to want to open the file (pop box) in Application Manager. This will load the application manager. Be patient if it looks like isn't doing anything for the first few seconds. It will begin asking you if you want to install each repository one by one. Then it will go to check updates (just a graphical apt-get update after you update the sources.list file) which will take a couple minutes. James Edge – www.jedge.com 7 Nokia N810: Wireless Auditing Tool - Configuration Tutorial For Advanced Users: Adding Repositories Modify the file /etc/apt/sources.list.d/hildon-application-manager.list and add the following repositories. deb http://catalogue.tableteer.nokia.com/updates/diablo-2/ ./ deb http://repository.maemo.org/extras/ chinook free non-free deb http://catalogue.tableteer.nokia.com/certified/ chinook user deb http://catalogue.tableteer.nokia.com/non-certified/ chinook user deb http://catalogue.tableteer.nokia.com/updates/chinook/ ./ deb http://repository.maemo.org/ chinook free non-free deb http://www.mulliner.org/nokia770/repository/ chinook free deb http://tuomas.kulve.fi/debian chinook maemo deb http://download.talinux.tal.org/pub/maemo chinook free deb http://repository.maemo.org/extras/ diablo free non-free deb http://repository.maemo.org/ diablo/tools free deb http://rickybrent.com/maemo/debs chinook free nonfree deb http://mg.pov.lt/770 diablo user other deb http://repository.maemo.org/extras-devel diablo free non-free deb http://qole.org/repository maemo main James Edge – www.jedge.com 8 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Set a Root Password Open a terminal window on the device Utilities->X Terminal. Figure 4: Setting Root Password The screenshot above shows the commands entered to change the root password. Become root ~ $root Run passwd Nokia-N810-43-7:~#passwd James Edge – www.jedge.com 9 Nokia N810: Wireless Auditing Tool - Configuration Tutorial Enter your password New PASSWORD: Re-enter your password Re-enter new password: Now you are able to access the device using the SSH (Secure Shell) protocol, the root account, and the new password you set. For Windows you can use the application Putty (www.chiark.greenend.org.uk/~sgtatham/putty/) to establish an SSH session with your device. You will need the IP address of your N810. From the terminal window run the command ifconfig. Figure 5: Identify IP Address You will see for device wlan0 the “inet addr” is 192.168.2.101. This IP address will be used to access the N810 using Putty. Once you have accessed the device James Edge – www.jedge.com 10 Nokia N810: Wireless Auditing Tool - Configuration Tutorial through Putty we will use the SSH connection to install and configure all wireless auditing tools. Installing and Configuring Wireless Tools Basic Tools Useful tools and utilities that are important for all tutorials below. Nokia-N810-43-7:~#apt-get install bash Nokia-N810-43-7:~#bash-setup Do you want to use bash as your default login shell? Enter Y to change shell to bash, or Enter N to leave the current shell setting. > y B It seems there is a leftover ~/.bashrc in your home directory. It will override the prompt set by the /etc/profile.d/prompt.sh script. Do you want to comment out the line that sets the prompt in ~/.bashrc? Enter Y to comment out the line, or Enter N to leave ~/.bashrc intact.