OpenWrt Installing the software
Please check my website for updated data
Http://www.openwrtdl.com/wordpress/openwrt-install-software
Introduction
OpenWrt is a very free open source router system with thousands of software packages and a powerful feature.
There are two main methods of installation, Telnet or SSH connection background installation and page installation.
all of the steps below assume that the current router is already networked. telnet or ssh
The original openwrt default is no password, only the Telnet does not open ssh, when the first configuration of the user name and password, closed telnet turned on SSH, the user can always connect to the router, the following I use SSH connection.
The command for the OpenWrt management package is opkg, and here is the help for the command
root@jack:/tmp/opkg-lists# opkg--help opkg:unrecognized option '--help ' opkgmust have one sub-command argument usage:o pkg [Options ...] sub-command [arguments ...] wheresub-command is one of:PackageManipulation:update upgrade Update list ofavailable packages upgrade <pkgs> upgrade One software upgrade packages install <PK
gs> Install a software install package (s) Configure <pkgs> Configure a software Configure unpacked package (s)
Remove <pkgs|regexp> Remove software remove package (s) flag <flag> <pkgs> Flag package (s) <flag>=hold|noprune|user|ok|installed|unpacked (one perinvocation) informationalcommands:list list op ENWRT all supported packages list Availablepackages list-installed lists the packages that have been installed on this computer list installed packages list-up Gradable List of packages that can be upgraded IST installed and upgradable packages list-changed-conffiles list User modified Configurati On files Files <pkg> List files belonging to<pkg> search <file|regexp> List package providing <fil E> find <regexp> List packages whose name ordescription matches <regexp> info[pkg |REGEXP] Displays the information for the package display all info for <pkg> status [Pkg|regexp] Displays the status of the package display all status for < ;p kg> download<pkg> to download a package to the current directory download<pkg> to the existing directory Compare-versions <V1
> <op><v2> Compare versionsusing <= < > >= = << >> Print-architecture List Installable Package architectures depends [-A] [pkgname|pat]+ whatdepends [-A] [pkgname|pat]+ Whatdependsrec [-A] [pkgname|pat]+ whatrecommends[-a] [pkgname|pat]+ whatsuggests[- A] [pkgname|pat]+ whatprovides [-A] [pkgname|pat]+ whatconflicts [-A] [pkgname|pat]+ whatreplaces [-A] [Pkgname|pat]+ Options:-A Query All packages not just thoseinstalled-v[<level>] Set verbosit
Y level to <level>.
--verbosity[=<level>] verbosity levels:0errors only
1normal messages (default) 2informative messages 3 Debug 4 debuglevel 2-f <conf_file> Use <conf_file> as the opkgconfiguration file--conf <conf_file>--cache <directory> ; Use a package cache-d <dest_name> use <dest_name> as the the rootdirectory for--des
T <dest_name> package installation, removal, upgrading. <dest_name>should is a defined dest name from Theconfiguration file, (but can also b
e A Directory Namein a pinch). -O <dir> use <dir> as the rootdirectory for--offline-root <dir> offline Insta
Llation of packages. --add-arch<arch>:<prio> registerarchitecture with given priority--add-dest<name>:<pat H> registerdestination with given path forceoptions:--force-depends install/remove despite FA Ileddependencies--force-maintainer Overwrite preexisting config files--force-reinstall reinst All package (s)--force-overwrite overwrite files from the other package (s)--force-downgrade allow Opkg to downgrade packages--force-space Disable free space checks--force-postinstall Run Postinstall scripts even in Offlinemode--force-remove remove package Even if Prerm script fails--noacti On No action – test only--downLoad-only No Action--downloadonly--nodeps do not follow dependencies--nocase
Perform Case Insensitivepattern Matching--force-removal-of-dependent-packages
Remove Packageand all dependencies--autoremove Remove packages that were installed
Automaticallyto satisfy dependencies-t specify Tmp-dir.
--tmp-dir specify Tmp-dir. RegExp could is something like ' pkgname* ' *file* ' or similar e.g. opkg info ' libstd* ' or opkg search ' *libop* ' or opkg rem Ove ' libncur* ' root@jack:/tmp/opkg-lists#
If you want to install a software, but do not know what the specific name, you can use the command to get the package name (opkg list |grep software name), and then install, such as I want to install TFTP
root@jack:/tmp/opkg-lists# opkg list|grep tftp
atftp-0.7-1-TFTP client
atftpd-0.7-1-TFTP server
erlang- INETS-5.8-ERLANG/OTP is a general-purpose programming language and runtimeenvironment. Erlang have built-in support for concurrency, distribution and fault tolerance. This erlang/otppackage provides a container for Internet clients and servers. Currently a FTP client, a HTTPclient and server, and a TFTP client andserver has been incorporated in Inets.
Iputils-tftpd-20101006-1-Program tftpd from Iputils Trivial File Transfer protocolserver.
Kmod-ipt-nathelper-3.7.10-1-Default NetFilter (IPV4) Conntrack and NAT helpers includes:-Ftp-irc-tftp tftp-hpa
-0.48-3-An enhanced version of the BSD TFTP client
tftpd-hpa-0.48-3-a enhanced version of the BSD TFTP server
I found what I wanted by the above command. The name of the TFTP server is TFTPD-HPA, so you can start with
#opkgdownload TFTPD-HPA
Download the package, and then use
#opkginstall TFTPD-HPA
To install. can also be used directly
#opkg INSTALLTFTPD-HPA
will be downloaded and installed automatically. Finally with
#opkglist-installed |grep TFTPD-HPA
To see if it's already installed.
Page Installation
Go to page System->software
Enter "TFTPD" in the filter, click "Find Package", in the box below to display the current OPENWRT supported packages, find the need, click Install. See figure below