Synology DSM 4.0 beta is here – breaks IPKG

Synology has really outdone themselves with DSM 4.0:

Synology DSM 4.0 beta

Although this is the first beta, it introduces a number of improvements with the most noticeable a completely revamped user interface which includes widgets and vast UI improvements over the desktop-style dashboard in DSM 3.0:

Synology DSM 4.0 beta desktop

The system information is now displayed in a side-widget and several widgets (such as the Package Manager) have received a complete rework and now include features south as Synology Cloud Services for seamless syncing between devices (no support for OS X yet) and Antivirus Essential which runs antivirus scans on your Synology NAS.

My installation and customizations (such as Squid Proxy server) initially did not work, since this beta resets IPKG Optware. The fix is relatively simple and works after a reboot:

1) edit /etc/rc.local and add the bold line:
mount -o bind /volume1/@optware /opt
# Optware setup
[ -x /etc/rc.optware ] && /etc/rc.optware start
exit 0

2) edit /root/.profile and adjust the bolded path:

Reboot your Synology and IPKG and other services residing in /opt should now work again.

Print Friendly, PDF & Email
  • User

    Thank you very much

  • Rstephenb

    Thank you! Was looking for a fix for this.

  • Danny

    I don’t understand howto edit????

    • Bobby86

      Edit with “vi” for example 😉
      Thanks GNaschenweng !

  • Xxx

    Thank you

  • Hoffa75

    This is great info, thanks!

  • taylerdo

    Thank you for this … timely and awesome.  Worked perfectly.


  • Andrew Traversone

    i goofed up when editing the /root/.profile and after a reboot i attempted to SSH in and i get this:
    “-ash: hostname: not found”

    Any help would be great

    • Martinbrokwinther

      hi did u find a solution, sins i just did the same thing 😀

  • Stephane

    Many thanks for your great and helpful post !!! It saved me a lot of effort re-installing everyhting !


  • Pingback: NAS-Synology DS212+ für Temperaturmessung einsetzen | Robins Blog()

  • Tobias

    Wow, nice! Thank you so much for your help. Easy fix for a problem I didn’t expect to be solved that quickly! Thanks! 🙂

  • Pingback: Synology Newznab | jonlê()