network-programmingrouteropenwrtiproute

Install ip package on router with OpenWRT


I am using a Linkys WRT54G v3 router with OpenWRT v10.03.1. My end goal is to use Traffic Control (tc) and Network Emulator (netem) on the router, which are in the ip package (this is the iproute2 package in most linux distributions).

However, my computer is connected to a work network, and the router is connected to my computer via an ethernet cable. I am not able to connect the router to the internet, wired or wireless, because of work restrictions. I have to access the internet through my computer, and then ssh into the router via PuTTy.

Is there any way to download the ip package on my computer and push it onto the router? Can you direct me to a safe place to download the ip package, if such exists?

Thanks.


Solution

  • so your router is not connecting to the internet.And you want to download the ip package to your PC then install it into your router right ?

    1.For Linkys WRT54G v3 with OpenWRT v10.03.1.Here is the link:

    https://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/packages/ip_2.6.29-1-2_brcm-2.4.ipk

    You might need to install dependencies as well.

    2.If your PC is Windows OS ,you can use WinSCP to copy the package into your router. Or if your PC is Linux OS,you can use scp command.

    After copying the package,install it by opkg

    opkg -i <package>