OpenWrt/Opkg: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
opkg is the package manager for OpenWrt | opkg is the package manager for [[OpenWrt]] (runs on [[Widy]] and [[Dropbear]]) | ||
==ipk files== | |||
To install software with opkg, it must be bundled in an ipk file | To install software with opkg, it must be bundled in an ipk file | ||
| Line 5: | Line 7: | ||
Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files | Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files | ||
==bundling== | |||
opkg can also do more complicated things like bundling packages and source code and configurations together. | |||
PirateBox is a good example of this: https://www.disk91.com/2012/technology/systems/installation-of-a-piratebox-on-t-link-mr3040/ | |||
In the end you'll execute commands to download your ipk and then install it with opkg, like this: | In the end you'll execute commands to download your ipk and then install it with opkg, like this: | ||
| Line 15: | Line 21: | ||
=Flags= | =Flags= | ||
{{WidyFlag}} | |||
[[Category:Package Manager]] | [[Category:Package Manager]] | ||
Latest revision as of 18:20, 10 February 2018
opkg is the package manager for OpenWrt (runs on Widy and Dropbear)
ipk files
To install software with opkg, it must be bundled in an ipk file
Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files
bundling
opkg can also do more complicated things like bundling packages and source code and configurations together.
PirateBox is a good example of this: https://www.disk91.com/2012/technology/systems/installation-of-a-piratebox-on-t-link-mr3040/
In the end you'll execute commands to download your ipk and then install it with opkg, like this:
wget http://piratebox.aod-rpg.de/piratebox_0.5.1_all.ipk opkg update && opkg install piratebox*
Flags
| Widy running OpenWRT on a router to make it into a wearable wireless ear
The Widy Device: Widy installation: Widy/Installing · Widy/Redux Widy Wireless Internet Gateway: Widy/Wireless Gateway Widy Ethernet Internet Gateway: Widy/Ethernet Gateway Widy post-installation: Widy/Post-Install Widy configuration: Widy/Configuration
Using tools on the Widy: Widy/Toolbox Using tcpdump on Widy: Widy/Tcpdump Using aircrack on Widy: Widy/Aircrack Python/Scapy on Widy: Widy/Scapy
Scripting the slider button on the Widy: Widy/Configuration#Slider Button Configuration Using widy as a wireless access point: Widy/Access_Point Debugging some SSH problems: Widy/Access_Point/SSH Bridging widy wireless and ethernet connections: Widy/Bridging Widy startup services: Widy/Startup Services Create a hard-wired serial/TTL connection: Widy/Serial
|