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

  • Network Adapter Properties
    802.1p QOS The "802.1p QOS" parameter is a standard that enables Quality of Service (QoS). It is responsible for the QoS provision...
  • 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...
  • A Simple How to use MiniDLNA on OpenWRT
    SSH/Telnet into the Router The configuration file is located at /etc/config/minidlna The database file is located at /var/run/minidlna/files...
  • K10STAT AMD Griffin Processor UnderVolting Guide
    FAQ Why UnderVolt? Because when a lower voltage can sustain your clockspeed, a stress tested undervolt will preserve battery life a...
  • OpenWRT Built for TP-Link WR1043ND
    PLEASE READ THIS POST COMPLETELY TO PREVENT ISSUES WITH YOUR ROUTER What this firmware does This firmware aims to be an opensource replaceme...
  • Hacking TP-Link WR1043ND Part 1
    This is a series of blog post detailing about how to hack the TP-Link WR1043ND to maximize its potential. I will try to be as noob friendly ...
  • Acer Aspire 4740G Review
    There is 1 confirmed bug on the Acer Aspire 4740/4740G Insyde EFI Firmware. Bug 1: DEP is disabled due to firmware bug . This will have po...
  • 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...
  • Celebrate IPv6 Day with OpenWRT
    As of Attitude Adjustment and Trunk this article is no longer applicable to set up 6in4 please refer to the new guide on OpenWRT WikiPages. ...
  • Acer Smart Power Manager
    Finally some useful software from Acer Please note: Different Power Smart Manager is meant for different configuration. Some Power Smart Man...

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