1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NAS200 Firmware for Mac

Discussion in 'Cisco/Linksys Network Storage Devices' started by Dirktator, Jan 10, 2009.

  1. Dirktator

    Dirktator Addicted to LI Member


    I am building a NAS200 firmware specifically for NAS200 devices used for Macs. It contains an iTunes server and AFP support and I am hoping to transform one of the USB ports into a printer port that can be used for Apple printing as well. Currently the Netatalk software is compiled and the iTunes server is running. The web-configuration tools have not been updated yet.
    Finally telnet is enabled and I am close to having unfsd up and running as well.

    I was wondering if there is interest for this image, in particular people who would like to support me extending this image. Its based on the NAS200i development environment.
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    Post a link to the compiled binary as I'm sure someone will be interested. I would be if I had a NAS200
  3. Dirktator

    Dirktator Addicted to LI Member


    I am really close now to posting the image. Had some issues since the afpd was too large and as such the squashfs image could not fit all files.

    I decided, just to avoid any more of these issues, to proceed as follows:
    1. Create a split-image. A basic boot-image that boots and hands over the control to a second run-image with all added tools
    2. You place the run-image on a USB stick (4GB is 6Euros nowadays), this is a simple tgz file that you need to unpack
    3. Any future enhancements are being done on the run-image
    4. If the USB stick is not there, the boot-image starts up with the standard NAS200 software version.

    To be able to do this I had to compile a modern mount command, which has the option --bind, so it can rebind the ro-folders /usr, /bin etc to the USB filesystem. I have tested this and it works. I only need to change the bootscripts of the boot-image to check for the USB stick. If its not there, it boots as usual, if its there it moves all control to the run-image.

    At this point I have successfully compiled the following into the run image:
    1. Netatalk 2.0.3 - ie Apple File Sharing
    2. mt-daapd - ie iTunes server
    3. linux utils 2.12r - contains new mount command
    4. unfsd 3-0.9.21 - NFS daemon
    5. portmap - portmapper, needed for unfsd
    6. zlib-1.2.3 - compression library needed by mt-daapd
    7. gdbm-1.8.3 - database library, needed by netatalk
    8. libid3tag-0.15.1b - mp3 tag lib needed by mt-daapd

    Please stay tuned. If you have any other suggestions please do not hesitate to post them here.

    Anyone has an idea how to convert USB2 into a printer port?!

    Dirktator (18th of Jan 2009)
  4. squixz

    squixz Guest

    NAS200 for Mac

    Hi Dirk, in an unexpected impuls i've bought the nas200 this weekend and ended up a bit sad about the speed and features and it even didnt fit in my stack of other linksys hardware. I should have known better :frown: ... well anyway, at the end of the day i decided to keep it anyway so i'am looking forward to bette software. Keep up the spirit :thumbup:
  5. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    Alejandro_liu has already done all this work in his NAS-CC firmware.

    I've been thinking of putting Incentives Pro USB server in my firmware. It's an interesting piece of software that would theoretically allow you to connect anything (not just printers) to the USB port and access it as if it were connected to another PC. I'm not sure if a Mac client is available. The client software (i.e. the part that would run on the PC) is not free but the server part is open-source and free; it may be possible to reverse-engineer the protocol (and maybe someone has already done it).

  6. Dirktator

    Dirktator Addicted to LI Member


    I agree the performance is not so high but its a box with a lot of opportunities to expand. Especially since its a single enclosure which I find far more useful than the NSLU2 for example. The default compiler and GLib version are terribly outdated which causes most compilations to fail by default. Anyway, enough for the complaining, I hope to come back to you shortly with a working split image model.

    For the USB part, I guess we should just be able to convert the device type of one of the USB ports and launch a printing daemon like cups or the Apple variant (which is already compiled successfully in the Netatalk toolset).
  7. ladiabla

    ladiabla Addicted to LI Member

    I'm interested in this development, and would like any info the developer might provide as to its current activity.

    FYI: I run a multi-platform soho LAN [over digital cable] which sits behind a WRT54Gv4 router running Tomato 1.27. There is Windows-based netbook for testing & mobile presentation, but rely on macs as the production workstations. I actively use my NAS200 for general storage and am eager to expand its utility within my setup. FYI: there is also a wii for entertainment purposes in this LAN mix.

    I'm doing my research here among the community forums, but should any member fell like pointing me toward tools, mods & knowledge that would prove pertinent to the LAN described above, I'd appreciate the help & redirection. Thanks!

Share This Page