Dheeraj Reddy
Published © GPL3+

Exploring the humble Internet Router - Part 2

Continuing upon hacking the Internet router - OpenWRT

BeginnerProtip2 hours339
Exploring the humble Internet Router - Part 2

Things used in this project

Hardware components

Cable, USB to TTL Serial Converter 5V
Cable, USB to TTL Serial Converter 5V
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
We would be needing 3 male to female wires. One each for Transmit, Receive and Ground pins. The female side goes on to the router and the male to the USB-TTL converter.
×3
Ethernet Cable, Cat5e
Ethernet Cable, Cat5e
A cat 5 cable is usually provided with the routers.
×1

Story

Read more

Schematics

The hardware setup

The jumper cables from the previous project have been removed and we just have the ethernet connector.

Code

List of commands used in the project

BatchFile
All the commands used in the examples are listed here.
# opkg --version                      // prints out the version of the opkg package manager

# ping www.google.com                 // ping google's website

# opkg update                         // Update package repositories

# opkg install openssh-server nano    //install packages

# /etc/init.d/dropbear stop           // Stops the dropbear server

# /etc/init.d/sshd start              // Starts the openssh-server

# nano /etc/ssh/sshd_config           //topen the openssh config file

$ ssh root@192.168.1.1                // connect to the router via SSH

Credits

Dheeraj Reddy
5 projects • 4 followers
Contact

Comments

Please log in or sign up to comment.