Ipkg

From WL-HDD Wiki

Jump to: navigation, search
WL-HDD Contents
What is the WL-HDD
Features
Pro's/con's
Reviews
Hacking
Inserting the HDD
Hacking Guides
Basic setup guides
Packages guides
Requests
Troubleshooting
This Wiki
Credits
Editing help
Contact Me

Prerequisites

It is assumed that:

You have installed Oleg's firmware.
Stupid-ftp has been disabled.
You have setup harddisk partitions and the extended filesystem is mounted on /opt

Installing IPKG

You need to have your hard disk partition mounted to /opt for this guide. Otherwise, replace all references to /opt with the location you mounted the hard drive to.

First unmount the partition if it has automounted, type:

df

If it has auto-mounted to /tmp/harddisk then you need to unmount it. Ensure stupid-ftp is disabled.

umount /tmp/harddisk

Now mount the harddisk

mount /dev/discs/disc0/part1 /opt

Now we are ready to continue!

First of all, we need to make a directory for IPKG

mkdir /opt/tmp
mkdir /opt/tmp/ipkg
ipkg.sh update
ipkg.sh install ipkg

If you get an error like

wget: wl500g.dyndns.org: Unknown host ipkg_download: ERROR: Failed to retrieve http://wl500g.dyndns.org/ipkg/Packages, returning ipkg_update: Error downloading http://wl500g.dyndns.org/ipkg/Packages to /opt/lib/ipkg/lists/wl500g

you may not have a valid /etc/resolv.conf, so find the nameserver your ISP provides (mine is 158.152.1.43), use it in this line

echo nameserver 158.152.1.43 > /etc/resolv.conf

and try to install ipkg again

this is what the install looks like
this is what the install looks like


This has now installed IPKG into its directory. Lets update the package list.

/opt/bin/ipkg update

Finally, we'll install nano, a handy little text editor.

/opt/bin/ipkg install nano

Next step is to configure automount of partitions on boot. Here is the link to that guide.

Personal tools