LaFonera Software ipkg
From DD-WRT Wiki
Revision as of 14:10, 28 February 2007 (edit) Cipis (Talk | contribs) (→using ipkg on LaFonera) ← Previous diff |
Revision as of 14:37, 28 February 2007 (edit) (undo) Woeka (Talk | contribs) (→using ipkg on LaFonera) Next diff → |
||
Line 36: | Line 36: | ||
what to do | what to do | ||
#Make /etc/ipkg.conf writeble | #Make /etc/ipkg.conf writeble | ||
+ | |||
+ | <pre> | ||
+ | / # ls -alt /etc/ | ||
+ | drwxr-xr-x 7 root root 438 Feb 26 03:15 . | ||
+ | -rw-r--r-- 1 root root 149 Feb 26 03:15 local.tar.bz2 | ||
+ | drwxr-xr-x 16 root root 153 Feb 26 03:15 .. | ||
+ | -rw-r--r-- 1 root root 64 Feb 26 03:15 ld.so.cache | ||
+ | -rw-r--r-- 1 root root 99 Feb 26 03:15 ld.so.conf | ||
+ | drwxr-xr-x 2 root root 1492 Feb 26 03:15 config | ||
+ | lrwxrwxrwx 1 root root 11 Feb 26 03:15 cron.d -> /tmp/cron.d | ||
+ | lrwxrwxrwx 1 root root 14 Feb 26 03:15 group -> /tmp/etc/group | ||
+ | lrwxrwxrwx 1 root root 10 Feb 26 03:15 hosts -> /tmp/hosts | ||
+ | -rw-r--r-- 1 root root 258 Feb 26 03:15 ipkg.conf | ||
+ | drwxr-xr-x 2 root root 3 Feb 26 03:15 langpack | ||
+ | lrwxrwxrwx 1 root root 16 Feb 26 03:15 nvram -> /usr/local/nvram | ||
+ | lrwxrwxrwx 1 root root 15 Feb 26 03:15 passwd -> /tmp/etc/passwd | ||
+ | -rwxr-xr-x 1 root root 578 Feb 26 03:15 postinit | ||
+ | -rwxr-xr-x 1 root root 1871 Feb 26 03:15 preinit | ||
+ | lrwxrwxrwx 1 root root 16 Feb 26 03:15 resolv.conf -> /tmp/resolv.conf | ||
+ | lrwxrwxrwx 1 root root 13 Feb 26 03:15 snmp -> /tmp/etc/snmp | ||
+ | drwxr-xr-x 2 root root 26 Feb 26 03:15 kaid | ||
+ | -rwxr-xr-x 1 root root 1354 Feb 26 03:15 ethertypes | ||
+ | -rwxr-xr-x 1 root root 30 Feb 26 03:15 fstab | ||
+ | drwxr-xr-x 2 root root 33 Feb 26 03:15 init.d | ||
+ | -rwxr-xr-x 1 root root 491 Feb 26 03:15 motd | ||
+ | -rwxr-xr-x 1 root root 1368 Feb 26 03:15 network.overrides | ||
+ | -rwxr-xr-x 1 root root 512 Feb 26 03:15 patchtable.bin | ||
+ | -rwxr-xr-x 1 root root 173 Feb 26 03:15 profile | ||
+ | -rwxr-xr-x 1 root root 5834 Feb 26 03:15 protocols | ||
+ | -rwxr-xr-x 1 root root 11955 Feb 26 03:15 services | ||
+ | -rwxr-xr-x 1 root root 2335 Feb 26 03:15 wl_snmpd.sh | ||
+ | drwxr-xr-x 6 root root 86 Feb 26 03:15 l7-protocols | ||
+ | -rwxr-xr-x 1 root root 1519 Feb 26 03:15 lease_update.sh | ||
+ | -rwxr-xr-x 1 root root 810 Feb 26 03:15 cert.pem | ||
+ | -rwxr-xr-x 1 root root 497 Feb 26 03:15 key.pem | ||
+ | -rwxr-xr-x 1 root root 573 Feb 26 03:15 privkey.pem | ||
+ | </pre> | ||
+ | |||
#add http://downloads.openwrt.org/people/mbm/mips/packages/ to the list | #add http://downloads.openwrt.org/people/mbm/mips/packages/ to the list | ||
<pre> | <pre> |
Revision as of 14:37, 28 February 2007
using ipkg on LaFonera
{ work in progress }
I am busy with it but also wondering, is it even possible, using openwrt packages for dd-wrt? If anybody has some input, please do.
In the ipkg.conf are already openwrt.org links .. so i think it is.
The ipkg utility is a lightweight package manager used to download and install OpenWrt packages from the internet. (GNU/Linux users familiar with apt-get will recognise the similarities)
The firmware itself is designed to occupy as little space as possible while still providing a reasonably friendly command line interface or web administration interface. With no packages installed, OpenWrt will configure the network interfaces, setup a basic NAT firewall, a secure shell server, a DNS forwarder and DHCP server.
Command | Description |
ipkg update | Download a list of packages available |
ipkg list | View the list of packages |
ipkg install dropbear | Install the dropbear package |
ipkg remove dropbear | Remove the dropbear package |
More options can be found via ipkg --help.
The configuration file for ipkg is /etc/ipkg.conf. Before you can install any addon package, you need to freshen the package list with
root@OpenWrt:~# ipkg update
what to do
- Make /etc/ipkg.conf writeble
/ # ls -alt /etc/ drwxr-xr-x 7 root root 438 Feb 26 03:15 . -rw-r--r-- 1 root root 149 Feb 26 03:15 local.tar.bz2 drwxr-xr-x 16 root root 153 Feb 26 03:15 .. -rw-r--r-- 1 root root 64 Feb 26 03:15 ld.so.cache -rw-r--r-- 1 root root 99 Feb 26 03:15 ld.so.conf drwxr-xr-x 2 root root 1492 Feb 26 03:15 config lrwxrwxrwx 1 root root 11 Feb 26 03:15 cron.d -> /tmp/cron.d lrwxrwxrwx 1 root root 14 Feb 26 03:15 group -> /tmp/etc/group lrwxrwxrwx 1 root root 10 Feb 26 03:15 hosts -> /tmp/hosts -rw-r--r-- 1 root root 258 Feb 26 03:15 ipkg.conf drwxr-xr-x 2 root root 3 Feb 26 03:15 langpack lrwxrwxrwx 1 root root 16 Feb 26 03:15 nvram -> /usr/local/nvram lrwxrwxrwx 1 root root 15 Feb 26 03:15 passwd -> /tmp/etc/passwd -rwxr-xr-x 1 root root 578 Feb 26 03:15 postinit -rwxr-xr-x 1 root root 1871 Feb 26 03:15 preinit lrwxrwxrwx 1 root root 16 Feb 26 03:15 resolv.conf -> /tmp/resolv.conf lrwxrwxrwx 1 root root 13 Feb 26 03:15 snmp -> /tmp/etc/snmp drwxr-xr-x 2 root root 26 Feb 26 03:15 kaid -rwxr-xr-x 1 root root 1354 Feb 26 03:15 ethertypes -rwxr-xr-x 1 root root 30 Feb 26 03:15 fstab drwxr-xr-x 2 root root 33 Feb 26 03:15 init.d -rwxr-xr-x 1 root root 491 Feb 26 03:15 motd -rwxr-xr-x 1 root root 1368 Feb 26 03:15 network.overrides -rwxr-xr-x 1 root root 512 Feb 26 03:15 patchtable.bin -rwxr-xr-x 1 root root 173 Feb 26 03:15 profile -rwxr-xr-x 1 root root 5834 Feb 26 03:15 protocols -rwxr-xr-x 1 root root 11955 Feb 26 03:15 services -rwxr-xr-x 1 root root 2335 Feb 26 03:15 wl_snmpd.sh drwxr-xr-x 6 root root 86 Feb 26 03:15 l7-protocols -rwxr-xr-x 1 root root 1519 Feb 26 03:15 lease_update.sh -rwxr-xr-x 1 root root 810 Feb 26 03:15 cert.pem -rwxr-xr-x 1 root root 497 Feb 26 03:15 key.pem -rwxr-xr-x 1 root root 573 Feb 26 03:15 privkey.pem
- add http://downloads.openwrt.org/people/mbm/mips/packages/ to the list
========================================================== ____ ___ __ ______ _____ ____ _ _ | _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || | || | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_ ||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _| |___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_| DD-WRT v24 http://www.dd-wrt.com ========================================================== BusyBox v1.4.1 (2007-02-26 04:10:50 CET) Built-in shell (ash) Enter 'help' for a list of built-in commands. ~ # echo "src mbm http://downloads.openwrt.org/people/mbm/mips/packages/" >> /etc/ipkg.conf -sh: cannot create /etc/ipkg.conf: Read-only file system, (that is why there is a point one :)
- run update ipkg
- install desired package
How to use ipkg for installing software on your LaFonera
Found a site about it http://www.gcd.org/fonera/
Installing 1-wire protocol on a wrt54g with openwrt http://owfs.sourceforge.net/WRT54G.html#openwrt
Installing snmp ipkg on LaFonera in french. http://www.francofon.fr/mediawiki-index.title-Installer_un_agent_SNMP_sur_sa_Fonera.htm
Read here: Talk:LaFonera_Software_ipkg