Installing Debian on Agestar without serial port

I have prepared a firmware and tutorial to Install Debian here, this time without the need for serial port. I have tested this, and it seems that everything works. But of course I will not be responsible if anything happens. If you think there are some missing, unclear or inaccurate steps, or if you doubt about something, then don’t install it. If you have anything to ask just email to yohanes [at] gmail.com, or just post your questions as comments.

yohanes Jul 30th 2008 07:30 am agestar, debian, hacks, linux 19 Comments Trackback URI Comments RSS

19 Responses to “Installing Debian on Agestar without serial port”

  1. Artemon 30 Jul 2008 at 10:21 pm link comment

    Thanks for clear instructions!
    FuF! Now I on the step one :) I resized my HDD to have Linux Swap and
    15GB for Debian SWAP. Tomorrow I’ll update the firmware.

  2. Ahtion 31 Jul 2008 at 9:26 am link comment

    Thanks!

    I installed the base system last night and upgraded to sid right away.

  3. Artemon 01 Aug 2008 at 2:15 pm link comment

    Hallo.

    I installed the system and it works! :)
    I have a question about time synchronization. The system clock is set up to Thu Jan 1 07:02:04 1970 every time when I loging after reboot. Quite inconivient. NTPD sync doesn’t work at all, for rdate I have to install linux or some server, are there any solutions?

  4. yohaneson 03 Aug 2008 at 9:09 pm link comment

    @Artem:

    Try stopping ntp

    then try some servers with ntpdate, like this:

    ntpdate ntp.nasa.gov

    or some other sites. Choose nearest one from you (for example, in asia 1.asia.pool.ntp.org, 2.asia.pool.ntp.org, 3.asia.pool.ntp.org is better than some vendors ntp servers).

  5. hercemaniaon 09 Aug 2008 at 7:04 pm link comment

    Helo again,

    after i installed many Linux Distri’s i give up. I make all what you want. But, if i mount the agestar, i can’t write on it. I now use Opensuse 11.0. I make all untill copy Debian on my Agestar….

  6. andygoon 17 Aug 2008 at 7:39 pm link comment

    Hi there!
    is an access to HDD really so slow?
    As I understood it is provided through USB bus…. but m.b. debian-etch kernel is “incorrect” working with USB in this case?
    I have ~2.2MB/s with ethernet (FTP/SMB…). But when I began to do anything with HDD locally that speed became lower, ~400..600KB/s.

  7. yohaneson 19 Aug 2008 at 9:55 pm link comment

    @andygo: yes, i think it is that slow

  8. Ch1ckon 23 Aug 2008 at 11:44 pm link comment

    Hello.
    How do connect to ftp? What login/password at default

  9. mr_tawanon 24 Aug 2008 at 4:49 pm link comment

    Hi,
    I’ve follow your instruction, and it’s rock. However after I’ve play around with it, the power at my home was off for some reason and after that I cannot ssh to my nas anymore. It loooks like the linux doesnot boot after then.

    I may have to bring it to service center sometime this month, but if you know what happen to my box it would be appreciated.

  10. mr_tawanon 24 Aug 2008 at 6:31 pm link comment

    Oops, please disregard the last comment.

    The Nas is working fine. What is screwed up is my router, all of dhcp setting was changed after the power outage.

    Thank you.

  11. Ch1ckon 25 Aug 2008 at 7:22 am link comment

    How set up current date & time in ssh?
    Mldonkey can`t start becose date set is 1970 year.

  12. yohaneson 25 Aug 2008 at 7:31 am link comment

    You can install ntp. You can see a guide here:

    http://nslu2.pcprobleemloos.nl/doku.php

    (search for ntp in that page)

    or you can read http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

    In general, if you have any problem, just search google, add keyword “debian” and “nslu” or “nslu2″. The solution for NSLU/NSLU2 should work with agestar.

  13. Manuel Roederon 21 Sep 2008 at 1:32 am link comment

    I wonder why the MAC-address of the ethernet-chip changed to 00:AA:BB:CC:DD:21 - I had a completly different MAC before …
    Is there any possibility to change that because dnsmasq does not work
    as I wanted it any longer (I use static dhcp and even after changing MAC in
    dnsmasq config it does not work)

    Manuel

  14. Manuel Roederon 21 Sep 2008 at 5:08 am link comment

    Dhcp is working again - restartet the router. But MAC-ID is still changed on the agestar…

  15. yohaneson 21 Sep 2008 at 1:11 pm link comment

    Hi Manuel,

    Sorry, I have changed the Mac Address because I have two Agestar, and both have the same mac address. To change your mac address in Debian, just add

    hwaddress ether 00:AA:BB:CC:DD:20

    (or any other number) to

    /etc/network/interfaces

    belllow the line “iface eth0″

    Pleas read “man 5 interfaces” to learn more about the configuration format of the interfaces file.

  16. Manuel Roederon 23 Sep 2008 at 1:14 am link comment

    Thanks for your Hint! I am trying to run mldonkey, but I think its much to much for the little embedded system :) I work about 15 to 45 minutes and
    after that it hangs. More memory would be really great (would it be possible
    to replace the current ram-chip?).

    Manuel

  17. Crrson 03 Oct 2008 at 4:11 am link comment

    Hi, this is really interesting. (I have never used debian before).

    I’m just wondering does debain have a web configuration page like the default agestar nas drive? If not, how would I make changes and settings without a gui??

    Would it be easy to set up a print server on the drive with debain?

    What happens if the files become corrupt on the hard drive? Is it easily recoverable?

    And my last question, do I need to download a “special” build of debain for the drive or will any version work?

  18. yohaneson 03 Oct 2008 at 8:45 am link comment

    Hi Crss,

    You can use packages such as Webmin to administer you system using web based menu, but I think you will still need some Unix/Linux knowledge. I haven’t tried webmin yet, but with only 32mb RAM, I imagine the web based administration system will be slow.

    Setting up print server is quite easy, the CUPS print server have their own web based administration system. The web based configuration is very slow (it reads a all drivers in the database), but you only need to do it once. The printing is also quite slow (I don’t know whether it is slower or faster compared to the original firmware, because my printer is not supported on the original firmware).

    If somehow your files becomes corrupt, just unplug it, connect the device to USB port on your PC, and use Linux (or Linux Live CD) to scan/fix it.

    You need to download a special kernel and a root file system that I have prepared. After installing that part, you can use (almost) any software in the Debian ARM repository (so you don’t need special applications for it).

    See the instructions here:

    http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/

  19. crrson 03 Oct 2008 at 6:36 pm link comment

    Hi Yohanes,

    Thanks a lot for having the time to reply, as I’m sure you are really busy ;)

    I’ll try to study it all a bit later on this weekend and see if I feel confident enough to get debian installed.

    Great work, its really appreciated!! :)

Leave a Reply