OpenLink
From NAS-Central Buffalo - The Linkstation Wiki
m |
|||
| (15 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | + | {{Template:Articles}} | |
| + | <center><font color=red>''Originally by frontalot from linkstationwiki.org''</font></center> | ||
| + | {{Openlink}} | ||
| - | + | ==After Install== | |
| - | + | After you install OpenLink you may want to consider the following: | |
| + | *[[Freeing up space on hda1|Free up some space on hda1]] | ||
| + | *Install the [[Precompiled C development environment, running on the LS]] | ||
| + | *[[Solve the LinkStation's problematic clock drift]] | ||
| + | *[[:Category:Kernel|Install a 2.6.XX kernel]] | ||
| + | *Take a look at [[:Category:Ipkg|Ipkg]] you may want to install | ||
| + | **[[Ipkg Package List: MIPSel|MIPSel]] | ||
| + | **[[Ipkg Package List: PowerPC|PowerPC]] | ||
| - | = | + | =Roadmap of Openlink Development= |
| - | + | {{Openlink-Roadmap}} | |
| - | + | [[Category:Software]] | |
| - | + | [[Category:OpenLink]] | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Latest revision as of 08:38, 12 May 2007
OpenLink is our effort to provide firmware which “opens” your LinkStation, thus providing full access to the LinkStation. The OpenLink firmware is built upon the most recent official LinkStation firmware release. It retains all the stock capabilities of the official LinkStation firmware while adding a number of binaries and libraries. You may download the latest release from the downloads area.
Contents |
Installation
- Find out which version is the latest for your LinkStation
- Initially, the user name is set to "root", the password to "" (empty string; both without the quotes).
- The LinkStation will keep its IP address set before the upgrade.
PowerPC
- http://downloads.nas-central.org/LS1_PPC/Distributions/Openlink/ - For LS1
- http://downloads.nas-central.org/LSHG_PPC/Distributions/Openlink/ - For HG
Install the firmware per the instructions at:
MIPSel
Install the firmware per the instructions at:
Incremental Updates
Incremental Updates are created so users do not need to completely reflash each time they want to update to the latest version. Available updates:
- 0.5x -> 0.73b (Currently PPC Only)
Applications
Utelnetd is an extremely small telnet daemon.
Busybox is an extremely small program which provides many core utility functions, such as dd and wget.
They are specially designed for embedded systems such as the LinkStation
Development Tools
Precompiled C development environment, running on the LS is specifically designed to be used on LinkStations with the OpenLink firmware.
IPKG (Itsy Package Management System)
IPKG - is The Itsy Package Management System used in OpenLink firmware. This is similar to other package management systems in big distributions like Debian (apt-get) or Gentoo (Portage).
After Install
After you install OpenLink you may want to consider the following:
- Free up some space on hda1
- Install the Precompiled C development environment, running on the LS
- Solve the LinkStation's problematic clock drift
- Install a 2.6.XX kernel
- Take a look at Ipkg you may want to install
Roadmap of Openlink Development
- GREEN: status of OpenLink for the LS1
- BROWN: status of OpenLink for the LS2
- BLUE: status of OpenLink for the HG
Versions in Development
0.8x
- make it more mac-friendly
update netatalk to 2.0.3
- using Sylver's perl scripts instead of some closed source components
(mkcode) -> currently in development
- updating samba to the most recent one
Sylvers mkcode has support for latest samba
- updating the webinterface
Sylver has enhanced the webinterface a bit: not all folders in /mnt/ are shared automatically, you can choose if you want to share it here are some sample pics (with the permission of Sylver)![]()
![]()
![]()
- adding an additional webpage (Control-Center) where users can start and stop applications
- updating some libs if needed
- updating some apps:
proftpd from 1.2.9 to 1.3.0 for example
Beta Versions
powerpc-hdhlan-openlink-0.73b
@@ CURRENT STATUS FOR LS1 @@
Update Script
This script updates Openlink for all ppc-boxes to 0.73b.
Incremental Update OpenLink 0.5x 0.73b
- v7: added /bin/su to the update-package, added note about enabling telnet before using the script
- v6: added 2 missing busybox links for /usr/bin/[ & /usr/bin/[[
- v5: added the removal of the unnecessary dropbear-stuff....dropbear was replaced by OpenSSH...
- v4: added missing busybox-binary to the update-package
- v3: added /etc/ld.so.conf (/opt/lib) & /etc/profile (PATH to /opt/bin & /opt/sbin) to the update-tarball
- changed links in /www/cgi-bin4/applaunch.cgi to be relative and removed the unnecessary perl stuff
- v2: disabled first startup script which is only needed if complete image is reflashed and which caused a 6 times flash
- v1: initial release
Preformed Distribution
- Added the DS101G-IPKG-Feed from nslu2-linux.org
- Added OpenSSH
- Added a new Webinterface-Page
- http://<linkstation-IP>/cgi-bin4/applaunch.pl Added wget4web to /www/cgi-bin3/ Added package.cgi (ipkg-web) Added linkstationinfo (in reality it is sluginfo...very useful!)
- Bugfix for USB-HDDs (only Kernel 2.6)
- enhanced /etc/murasaki/bin/mount_sd.sh
- Changed default root password to "openlink"
- Enabled Fanspeed Control over the Webinterface via /www/mellib.pl
- Removed Dropbear
- Upgraded to busybox 1.2.1
- Introduced two new files:
/etc/init.d/prepare_OpenLink
- this file is started once after reflashing
it creates:
the needed folders for ipkg (/mnt/opt/*) & wget4web (/mnt/downloads)
unique Keys for OpenSSH (/usr/local/etc/create_keys.sh)
(this will take about a minute! so wait with connecting via ssh)
a new non-root user "linkstation" with the password "linkstation"
/etc/init.d/startup_OpenLink
- this file is started everytime you start your LS
currently it remounts the USB-HDDs
Fix for SFTP
mkdir -p /mnt/ls_config/COMPILING/openssh-4.3p2/PACKAGE cd /mnt/ls_config/COMPILING/openssh-4.3p2/PACKAGE ln -s /usr usr
powerpc-hdhlan-openlink-0.72
no release
Upgrade to busybox 1.2.0:
- wget - unzip (no password-protection-support) - zip (no password-protection-support) - sed - od - removed all duplicate symlinks introduced with 0.70b + addgroup + adduser + delgroup + deluser + more + zcip
powerpc-hdhlan-openlink-0.71c
- changed /etc/fstab (Mantis Issue 00065)
powerpc-hdhlan-openlink-0.71a
no release
- added support for a second usb-hdd (http://linkstationwiki.org/Articles/GeneralMoreUSBDevices)
- added 'export TERM=vt100' to /etc/profile
- improved /etc/init.d/apservd (PITS bug 00052)
powerpc-hdhlan-openlink-0.70
no release
- added /usr/bin/bzip2 (PITS bug 00057)
- moved xterm Terminal Type Definition in the correct Directory (PITS bug 00055)
- created additional libssl-symlinks (PITS bug 00021)
- corrected the displayed firmware version on the status-page of the webinterface (PITS bug 00025)
- Added new Busybox commands:
+ /bin/dumpleases + /bin/etherwake + /bin/nice + /bin/nohup + /bin/nslookup + /bin/renice + /bin/traceroute + /sbin/dnsd <- a dns-server, a config is missing + /sbin/route + /sbin/udhcpc + /sbin/udhcpd
powerpc-hdhlan-openlink-0.6
- skipped because it was unstable
powerpc-hdhglan-openlink-0.73b
@@ CURRENT STATUS FOR HG @@
Update Script
There is no preformed HG distribution yet, you would have to install hg-openlink-051b then use this script which updates Openlink for all ppc-boxes to 0.73b.
Incremental Update OpenLink 0.5x 0.73b
- v7: added /bin/su to the update-package, added note about enabling telnet before using the script
- v6: added 2 missing busybox links for /usr/bin/[ & /usr/bin/[[
- v5: added the removal of the unnecessary dropbear-stuff....dropbear was replaced by OpenSSH...
- v4: added missing busybox-binary to the update-package
- v3: added /etc/ld.so.conf (/opt/lib) & /etc/profile (PATH to /opt/bin & /opt/sbin) to the update-tarball
- changed links in /www/cgi-bin4/applaunch.cgi to be relative and removed the unnecessary perl stuff
- v2: disabled first startup script which is only needed if complete image is reflashed and which caused a 6 times flash
- v1: initial release
Released Stable Versions
ppc-openlink-0.52b
* LinkStation firmware 1.51
* Upgraded to glibc 2.3.5
* Upgraded to libncurses 5.4
* Upgraded to libpopt 1.7
* Upgraded to libreadline 4.3
* Upgraded to libssl 0.9.7e
* Upgraded to Perl 5.8.7
* Added libdb 4.2.52
* Added libgcc1 3.4.3
* Added libgdbm 1.8.3
* Added libncursesw 5.4
* Added libstdc++ 3.3.5
* Added Perl-base 5.8.7
* Added Perl-modules 5.8.7
* Added inetd startup link (PITS bug 00010)
* Fixed printing permissions (PITS bug 00020)
* Upgraded to Busybox 08–06–2005 snapshot
* Trimmed duplicate commands from Busybox
* Added new Busybox commands:
o /usr/bin/cmp
o /bin/cpio
o /usr/bin/dpkg
o /usr/bin/dpkg-deb
o /usr/bin/fold
o /bin/pwd
o /usr/bin/rpm
o /usr/bin/rpm2cpio
o /usr/bin/strings
o /usr/bin/test
o /usr/bin/time
o /bin/true
o /usr/bin/unzip
o /usr/bin/uudecode
o /usr/bin/uuencode
* Removed Busybox command:
o /bin/linuxrc
ppc-openlink-0.51b
* Symbolic links now use relative paths * Corrected installation instructions
ppc-openlink-0.5b
* LinkStation firmware 1.47 * utelnetd 0.1.9 * dropbear 0.46 * busybox 1.00 * libc6 2.3.2.ds1 * libdb1-compat 2.1.3 * zlib1g-1.2.2 * Additional functions:
1. /usr/bin/bunzip2 2. /usr/bin/bzcat 3. /usr/sbin/chroot 4. /usr/bin/chvt 5. /usr/bin/clear 6. /bin/dd 7. /usr/bin/deallocvt 8. /usr/bin/dirname 9. /bin/dmesg 10. /bin/gunzip 11. /usr/bin/hexdump 12. /bin/linuxrc 13. /usr/bin/md5sum 14. /bin/mknod 15. /usr/bin/od 16. /usr/bin/openvt 17. /usr/bin/patch 18. /sbin/pivot_root 19. /bin/readlink 20. /usr/bin/reset 21. /usr/bin/sha1sum 22. /usr/bin/sort 23. /bin/su 24. /usr/bin/tee 25. /usr/bin/uniq 26. /bin/vi 27. /usr/bin/wget 28. /usr/bin/whoami 29. /usr/bin/yes 30. /bin/zcat
mipsel-openlink-0.52b
@@ CURRENT STATUS FOR LS2 @@
* LinkStation firmware 2.22
* Upgraded to glibc 2.3.5
* Upgraded to libncurses 5.4
* Upgraded to libpopt 1.7
* Upgraded to libreadline 4.3
* Upgraded to libssl 0.9.7e
* Upgraded to Perl 5.8.7
* Added libdb 4.2.52
* Added libgcc1 3.4.3
* Added libgdbm 1.8.3
* Added libncursesw 5.4
* Added libstdc++ 3.3.5
* Added Perl-base 5.8.7
* Added Perl-modules 5.8.7
* Added netkit-inetd 0.10 (PITS bug 00010)
* Fixed printing permissions (PITS bug 00020)
* Upgraded to Busybox 08–06–2005 snapshot
* Trimmed duplicate commands from Busybox
* Added new Busybox commands:
o /usr/bin/cmp
o /bin/cpio
o /usr/bin/dpkg
o /usr/bin/dpkg-deb
o /usr/bin/fold
o /bin/pwd
o /usr/bin/rpm
o /usr/bin/rpm2cpio
o /usr/bin/strings
o /usr/bin/test
o /usr/bin/time
o /bin/true
o /usr/bin/unzip
o /usr/bin/uudecode
o /usr/bin/uuencode
* Removed Busybox command:
o /bin/linuxrc
mipsel-openlink-0.51b
* Symbolic links now use relative paths * Corrected installation instructions
mipsel-openlink-0.5b
* LinkStation firmware 2.05 * utelnetd 0.1.9 * dropbear 0.46 * busybox 1.00 * libc6 2.3.2.ds1 * libdb1-compat 2.1.3 * zlib1g-1.2.2 * Additional functions:
1. /usr/bin/bunzip2 2. /usr/bin/bzcat 3. /usr/sbin/chroot 4. /usr/bin/chvt 5. /usr/bin/deallocvt 6. /usr/bin/dirname 7. /bin/egrep 8. /bin/fgrep 9. /bin/gunzip 10. /usr/bin/hexdump 11. /bin/linuxrc 12. /usr/bin/md5sum 13. /bin/mknod 14. /bin/more 15. /usr/bin/od 16. /usr/bin/openvt 17. /usr/bin/patch 18. /sbin/pivot_root 19. /bin/readlink 20. /usr/bin/reset 21. /usr/bin/sha1sum 22. /bin/su 23. /usr/bin/tee 24. /usr/bin/uniq 25. /bin/vi 26. /usr/bin/wget 27. /usr/bin/whoami 28. /usr/bin/yes
hg-openlink-0.51b
* Apparently version 0.5b was bunk. This release is everything 0.5b was supposed to be. * Added English language web interface
hg-openlink-0.5b
* Initial release
* HG LinkStation firmware 1.45b
* Upgraded to glibc 2.3.5
* Upgraded to libncurses 5.4
* Upgraded to libpopt 1.7
* Upgraded to libreadline 4.3
* Upgraded to libssl 0.9.7e
* Upgraded to Perl 5.8.7
* Added Busybox 08–06–2005 snapshot
* Added dropbear 0.46
* Added libdb 4.2.52
* Added libdb1-compat 2.1.3
* Added libgcc1 3.4.3
* Added libgdbm 1.8.3
* Added libncursesw 5.4
* Added libstdc++ 3.3.5
* Added netkit-inetd 0.10
* Added Perl-base 5.8.7
* Added Perl-modules 5.8.7
* Added utelnetd 0.1.9
* Added zlib1g 1.2.2
* Added new Busybox commands:
o /bin/bunzip2
o /bin/bzcat
o /usr/sbin/chroot
o /usr/bin/chvt
o /usr/bin/clear
o /usr/bin/cmp
o /bin/cpio
o /bin/dd
o /usr/bin/deallocvt
o /usr/bin/dirname
o /usr/bin/dpkg
o /usr/bin/dpkg-deb
o /bin/dmesg
o /usr/bin/fold
o /bin/gunzip
o /usr/bin/hexdump
o /usr/bin/md5sum
o /bin/mknod
o /usr/bin/od
o /usr/bin/openvt
o /usr/bin/patch
o /sbin/pivot_root
o /bin/pwd
o /bin/readlink
o /usr/bin/reset
o /usr/bin/rpm
o /usr/bin/rpm2cpio
o /usr/bin/sha1sum
o /usr/bin/sort
o /usr/bin/strings
o /usr/bin/test
o /usr/bin/tee
o /usr/bin/time
o /bin/true
o /usr/bin/uniq
o /usr/bin/unzip
o /usr/bin/uudecode
o /usr/bin/uuencode
o /bin/vi
o /usr/bin/wget
o /usr/bin/whoami
o /usr/bin/yes
o /bin/zcat

