Dienstag, 24. Januar 2012

fsg-3 ipkg with freecom firmware 4.2.7

IPKG Installation Procedure


Note: In newer firmware, the Freecom firmware has included IPKG out of the box, so you don't need to install it anymore. Jump to Installing Packages
You do not need to do this if you run a more recent firmware. For Firmware 4.2.7 and 4.3.8, Jump to IPKG with 4.2.7-4.3.8
  1. Download the installer:
  2. For the FSG V3 firmware: http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/stable/fsg3-bootstrap_1.0-6_armeb.xsh
  3. For the FSG V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/fsg3v4/cross/stable/fsg3v4-bootstrap_1.2-7_armeb.xsh (new link!)
  4. For the DTG V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/dt2/cross/stable/dt2-bootstrap_1.2-5_arm.xsh
  5. For the NDP V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/vt4/cross/stable/vt4-bootstrap_1.2-7_arm.xsh
  6. Put it someplace on your FSG, DTG or NDP.


IPKG with 4.2.7-4.3.8

make IPKG working

Since Firmware 4.2.7, the Freecom firmware has included IPKG out of the box. But at least the 4.2.7 and 4.3.8 firmware for FSG has a wrong name for the configuration file
Hence on FSG Firmware 4.2.7 and 4.3.8, correct this by
cp /etc/ipkg.conf.FSG3 /etc/ipkg.conf
Hence, starting with Firmware 4.2.7 and 4.3.8, you may skip the Preparation and Installation steps described before and immediately start with Installing Packages.

Recommended reinstall of IPKG-Bootstrap

Because of some bugs in old bootstrap and some mistakes from Freecom installing of the bootstrap is recommended. During this all installed packages and manual configs on optware are gone! It is pretty easy:
  • download current bootstrap and copy it to FSG (if ipkg works type: wget <bootstrap-link>)
  • unmount old optware:
umount /opt
  • remove optware:
rm -rf /home/.optware
rm -rf /usr/lib/ipkg
  • reboot
  • run bootstrap:
sh <path to bootstrap file>
Note that now the bugs like 'update-alternatives' and missing 'sort' are gone. Also all optware boot-script works. So you don't need to write own scripts to run apache2, openssh and so on.


Keine Kommentare:

Kommentar veröffentlichen