User Tools

Site Tools


doc:cheat_cube

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:cheat_cube [2012/12/27 11:01]
valentt
doc:cheat_cube [2013/06/15 13:03] (current)
lorema
Line 1: Line 1:
 +====== OpenWrt Cheat Cube ======
  
 +The idea is to recreate something like Fedora Cheat Cube with most used CLI command that are useful for OpenWrt management over CLI.
 +
 +You can see how this cube [[http://​k3rnel.net/​wp-content/​uploads/​2011/​02/​CheatCube.jpg|looks]] and get Fedora [[http://​fedoraproject.org/​wiki/​Marketing_collateral#​Fedora_Cheat_Cubes|source files]] that could be used for creating OpenWrt Cheat Cube. Fedora sources are use CC licence so are free to use.
 +
 +To edit the [[http://​dl.dropbox.com/​u/​184632/​cheatcube/​OpenWrt_Cheat_Cube.svg|source SVG image.]], use e.g. [[wp>​Inkscape]],​ a cross-platform FOSS vector graphics editor. (Dokuwiki does not support SVG)
 +
 +{{:​media:​openwrt_cheatcube.jpg|}}
 +
 +
 +
 +===== Proposed contents =====
 +[[https://​forum.openwrt.org/​viewtopic.php?​id=34379|Discussion forum thread]]
 +
 +  * Failsafe related commands (router'​s and client'​s IP addresses, how to telnet in, mount_root, firstboot, location of config files)
 +
 +  * Basic config files:
 +    * /​etc/​config/​wireless
 +    * /​etc/​config/​network
 +    * /​etc/​config/​firewall
 +
 +==== Some basic opkg package manager commands (needs working internet connection) ====
 +|  **''​opkg''​** update ​ | update list of available packages ​ |
 +|  **''​opkg''​** install nano  | install nano package ​ |
 +    * opkg remove nano # remove nano package
 +    * opkg list # show list of all available packages
 +    * opkg list|grep qos
 +    * opkg list-installed # list installed packages ​
 +    * opkg info nano # display info for package (installed/​not installed, size, dependencies)
 +
 +
 +  * Connect to OpenWrt router:
 +    * via telnet: telnet 192.168.1.1
 +    * via ssh: ssh root@192.168.1.1 or via app like putty
 +
 +  * show current lan interface ip address
 +    * uci get network.lan.ipaddr
 +  * change lan interface ip address
 +    * uci set network.lan.ipaddr=192.168.9.1
 +    * uci commit network
 +    * /​etc/​init.d/​network restart
 +  * enable wireless interface
 +    * uci set wireless.@wifi-device[0].disabled=0
 +    * uci commit wireless
 +    * wifi
 +  * show currently connected wifi clients
 +    * iw dev wlan0 station dump
 +
 +==== Best Wiki pages ====
 +QR codes uploaded to :​media:​doc:​cheatcube
 +
 +  * {{:​media:​doc:​cheatcube:​doc.png?​nolink|doc QR code}}DOCUMENTATION ​ http://​wiki.openwrt.org/​doc/​
 +  * {{:​media:​doc:​cheatcube:​extroot.png?​nolink|extroot QR code}}EXTROOT ​ http://​wiki.openwrt.org/​doc/​howto/​extroot
 +  * {{:​media:​doc:​cheatcube:​howto.png?​nolink|howto QR code}}HOWTOS ​ http://​wiki.openwrt.org/​doc/​howto/​
 +  * {{:​media:​doc:​cheatcube:​QoS.png?​nolink|QoS QR code}}QoS SETUP  http://​wiki.openwrt.org/​doc/​uci/​qos
 +  * {{:​media:​doc:​cheatcube:​recipes.png?​nolink|recipes QR code}}RECIPES ​ http://​wiki.openwrt.org/​doc/​recipes/​
 +  * {{:​media:​doc:​cheatcube:​routedclient.png?​nolink|routedclient QR code}}ROUTED CLIENT ​ http://​wiki.openwrt.org/​doc/​recipes/​routedclient
 +  * {{:​media:​doc:​cheatcube:​toh.png?​nolink|toh QR code}}SUPPORTED HARDWARE ​ http://​wiki.openwrt.org/​toh/​
 +  * {{:​media:​doc:​cheatcube:​vpn.png?​nolink|vpn QR code}}VPN SETUP  http://​wiki.openwrt.org/​doc/​howto/​vpn.openvpn
 +  * {{:​media:​doc:​cheatcube:​webcam.png?​nolink|webcam QR code}}WEBCAM ​ http://​wiki.openwrt.org/​doc/​howto/​webcam
 +{{tag>​wip qos}}