Microsoft Laptop

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 15 July 2011

Hacking TP-Link WR1043ND Part 3

Posted on 21:26 by Unknown
I will only be posting HOW-TO not found in OpenWRT Pages, if you need to config a particular setting please refer to the Well-Documented OpenWRT HOW-TOs here.
Useful Wiki on OpenWRT include
  • Getting 3G Modem working
  • VPN (not complete)
  • Files and Settings
  • NFS Network FileSharing
It is troublesome/pointless to rewrite well-documented resources.
Reading the How-To is a must have for all OpenWRT newbies!

First you need to set a Router Config Page Login Password.
Otherwise the SSH ports will not be open for you to configure and upload files to it.
Open Web Browser, Enter "192.168.1.1" in URL Bar.
Then follow the picture below:


From here onward is to demostrate how to login and use the Router like a Linux Terminal Computer.
It makes little sense not to leverage on the Compute Capabilities of Linux after using a more powerful third party firmware.
OpenWRT assumes users know Linux Terminal KungFu hence it is intimidating to those who don't.
Hopefully after reading this you will pick up some Terminal KungFu.
_______________________________________________
Upload Files to Router using SCP







______________________________
SSH (Login) into Router



Basic Linux Commands in OpenWRT
  • "ls" - List Files in Existing Folder
  • "dmesg" - Display System(Router) diagnostic message 
  • "pwd" - Display Present Working Directory
  • "opkg" - OpenWRT Package Installer 
    • "opkg install package" to install a software call "package"
    • "opkg remove package" to uninstall a software call "package"
    • "opkg list-install" to list all installed software"
    • "opkg update" to update list of package available in the OpenWRT Repository the router needs to be connected to the internet before you can update
    • "opkg" to display all possible commands
  • "wifi" to restart Wireless Radio
  • "ifup/down" to start or stop a Particular Interface
    • "ifup wan" to start WAN interface
    • "ifdown wan" to stop WAN interface
    • "ifup lan" to start LAN interface
    • "ifdown lan" to stop LAN interface
  • "cd" to change directory
    • "cd .." to go up 1 level (Exit the folder)
    • "cd /" to go to Root Directory 
    • "cd /tmp/ to go to tmp directory (If you want to go to a specific directory type "cd /tm" then press Tab to auto complete the name of the folder useful if the name of the folder is very very long
  • "vi" Text Editor
    • eg. to Edit a file call "network" in folder "/etc/config/" type "vi /etc/config/network"
    • The default mode in VI is view mode to display text files
    • To enter/delete Text in vi press "i" to Enter insert mode and type to enter backspace to delete
    • To delete a particular line of text in vi Press "Esc" go to the line using arrow then enter "dd" twice and the line disappears
    • To save a file press "Esc" then ":w" (w stands for write)
    • To exit VI press "Esc" then ":q" (q stands for quit)
    • To exit without saving  press "Esc" then ":q!" (! stands for "I don't care just do it !)
    • To exit with saving  press "Esc" then ":wq"
  • "reboot" to restart Router
  • "cp" - copy eg to copy a file called "network" from inside /tmp/ to /etc/config"      
"cp /tmp/network /etc/config/network"
    • Syntax as follows: cp <source> <destination>
  • "rm" - Delete a particular file
  • "wget" -Download file from Internet (Must be connected to Internet first, make sure the file size doesn't exceed the the total memory of the router)

The list of commands is actually quite a chunk, you should read up on Linux Shell if you are interested.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Configuring Pure-FTPd with TLS on OpenWRT
    This is a simple guide to configuring Pure-FTPd on OpenWRT which is available on the TP-Link WR1043ND OpenWRT Image I compiled. Pure-FTPd i...
  • How to Mod your Laptop VGA BIOS
    Basically there are 2 locations where the VGA BIOS in laptops. Some OEMS embed the VGA BIOS in the EFI/BIOS in your laptops, other OEMs have...
  • List Of Modified BIOS Collection
    Here are the list of Modified BIOS Collection (mainly SLIC Mods), no warranty provided use at your own discretion! Acer Aspire 4520G BIOS Ac...
  • Delete Windows System Files
    If you play around with Windows System Files sometimes it is not possible to delte them off after you had your fun. The following commands w...
  • Free Windows Themes and TuneXP
    Besides LINUX and UNIX system i also happen to know some good Windows Tools that everyone should have in their PCs Note the following tools ...
  • Acer Phoenix BIOS Emergency Recovery
    This is for people who don't listen and interrupt the flashing BIOS for unknown reasons. This will work provided the BIOS BootBlock isn...
  • Internet Explorer Tweak
    Here is a registry tweak for Internet Explorer Similar to the Mozilla Firefox tweak this enable you to increase the number simultaneous ser...
  • How to obtain the DSDT from your laptop
    There are many ways to rip the DSDT out of the laptop BIOS. If there is a BIOS editor it is possible to rip out the .AML file. However below...
  • Fixed My Left Speaker
    Ok, I had issues with my left speaker on my laptop. It was dead. So if I were to order the exact replacement it would cost more than $100 fo...
  • Changing the Acer Arcade Shortcut
    While surfing the Windows Registry (You must be thinking that I am weird =P) yesterday I found something interesting It is actually possible...

Categories

  • 32bit
  • 64bit
  • acer
  • ahci
  • amd
  • apple
  • aspire 4530
  • aspire 4535G
  • aspire 4740
  • atheros
  • atom
  • BIOS
  • boot
  • cleanup
  • configure
  • device
  • disk
  • dismantle
  • download
  • driver
  • fan control
  • firefox
  • firewall
  • firmware
  • fix
  • flash
  • graphics
  • hwmonitor
  • internet
  • linux
  • macs
  • microsoft
  • modified
  • nvidia
  • optimize
  • overclock
  • performance
  • power savings
  • powermizer
  • proxy
  • ram
  • Realtek
  • review
  • secure
  • shortcut
  • speaker
  • synaptics
  • temperature
  • theme
  • timeline
  • tweak
  • undervolt
  • update
  • wallpaper
  • windows 7
  • windows vista
  • Windows Xp
  • winsat
  • wlan

Blog Archive

  • ►  2013 (10)
    • ►  November (2)
    • ►  October (3)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2012 (4)
    • ►  September (1)
    • ►  June (1)
    • ►  March (1)
    • ►  February (1)
  • ▼  2011 (21)
    • ►  September (1)
    • ▼  July (4)
      • Hacking TP-Link WR1043ND Part 4
      • Hacking TP-Link WR1043ND Part 3
      • Hacking TP-Link WR1043ND Part 2
      • Hacking TP-Link WR1043ND Part 1
    • ►  June (3)
    • ►  May (3)
    • ►  April (3)
    • ►  March (4)
    • ►  February (2)
    • ►  January (1)
  • ►  2010 (36)
    • ►  December (3)
    • ►  November (2)
    • ►  October (4)
    • ►  September (1)
    • ►  August (5)
    • ►  July (1)
    • ►  June (5)
    • ►  May (3)
    • ►  April (3)
    • ►  March (6)
    • ►  February (1)
    • ►  January (2)
  • ►  2009 (81)
    • ►  December (3)
    • ►  November (3)
    • ►  October (9)
    • ►  September (5)
    • ►  August (1)
    • ►  July (5)
    • ►  June (8)
    • ►  May (15)
    • ►  April (10)
    • ►  March (13)
    • ►  February (8)
    • ►  January (1)
  • ►  2008 (8)
    • ►  November (5)
    • ►  July (3)
Powered by Blogger.

About Me

Unknown
View my complete profile