Changes between Version 1 and Version 2 of OpenWrt/Packages


Ignore:
Timestamp:
04/10/2018 10:49:21 PM (6 years ago)
Author:
Cale Collins
Comment:

added second example, emphasized /ect/opkg.conf is the only config file.

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/Packages

    v1 v2  
    55
    66= OpenWrt Package feeds =
    7 The opkg application has a configuration file on the target at /etc/opkg.conf which is used to point to and describe various package feeds.  Often it is useful to add a package feed that points to your development host's OpenWrt bin directory with an HTTP server behind it.
     7The opkg application has a configuration file on the target at /etc/opkg.conf (this is the only configuration file) which is used to point to and describe various package feeds.  Often it is useful to add a package feed that points to your development host's OpenWrt bin directory with an HTTP server behind it.
    88
    99For example, if your OpenWrt development host is at 192.168.1.10 and on the same IP network as your target board you can install something like the 'lightthpd' HTTP server with the following at the end of its config file in /etc/lighttpd/lighttpd.conf:
     
    1818{{{
    1919src/gz local http://192.168.1.10/openwrt/cns3xxx/packages
     20dest root /
     21dest ram /tmp
     22lists_dir ext /var/opkg-lists
     23option overlay_root /overlay
     24}}}
     25
     26Another example:
     27
     28{{{#!bash
     29
     30
     31src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages
    2032dest root /
    2133dest ram /tmp