On 13-01-22 06:38 AM, Martin Michlmayr wrote: > [...] > > I'd like to avoid uploading a netboot.img since it will get out of > date. However, here are the instructions for you to generate your own > netboot.img that will work on the C1: > > # Install the package used to create the .img file > apt-get install dns323-firmware-tools > # Download the current image of Debian stable > wget > http://ftp.nl.debian.org/debian/dists/stable/main/installer-armel/current/images/orion5x/network-console/d-link/dns-323/netboot.img > # Unpack it > splitdns323fw -k kernel.uboot -i initrd.uboot netboot.img > # Remove the .img file > rm netboot.img > # Change mkdns323fw to use 3 rather than 4 in the header > sudo vi /usr/bin/mkdns323fw > # Go to line 64 and change to 4. The context looks like this: > 1, > 3, <-- change this to 4 > "\x00" * 7, > # Now generate a new .img that will work on the C1 > mkdns323fw -k kernel.uboot -i initrd.uboot -p 7 -c 1 -m 1 -o netboot.img > Hello,
Many thanks for the detailed steps. I had tried that previously but didn't have time to come up with the proper generation command + arguments. I didn't want to risk ending up with a brick :) I tried the above from an Ubuntu 12.04 LTS host which has the same version of dns323-firmware tools and generated a new netboot.img, then flashed it on a C1 version DNS-323 device running stock 1.08 firmware (as shipped), and it worked as expected. I took about 10 minutes or so to get back SSH access and the installer showed up (I've attached a screenshot). I followed the steps indicated here under "Installation": http://www.cyrius.com/debian/orion/d-link/dns-323/install.html I've attached a screenshot. F.
<<attachment: 028.png>>
signature.asc
Description: OpenPGP digital signature