Tuesday, December 16th 2025, 10:18am UTC+1

Giriş yapmadınız.

  • Giriş
  • Kayıt

1

Monday, January 22nd 2024, 11:40am

IB-4220-B: Upgrade to OpenWRT: Where to start?

Hi everybody!
Greez from a total noob.
I just stumbled into my old IB-4220-B this weekend and I was wondering whether I can get new life into that device. Luckily I found this wonderful forum and recognized, that it seems to be possible to upgrade the box with some OpenWRT image to get a decent OS on it.
Unfortunately, I can't really get a hold on the steps to perform and I didn't really understand whether a recent OpenWRT-version would run or whether it's necessary to use some older version (which would of course still be a giant leap forward wrt. the last official Raidsonic firmware).


Which version of OpenWRT works on the IB4220-B?

Can I use the web-based firmware update?
What Image do I have to use?
==> Any help is very much appreciated. (Also in German, if that's more convenient for You great people out there.)
Cheers,Felix

Current situation:
  • I have the IB and it still works:
  1. I can log in using the Web-Interface (yes I recognized my password)
    [img]https://nas-forum.org/index.php?page=Attachment&attachmentID=325&h=7fd5ccdcb6af20ccc9d54535da27ce6126858235[/img]
  2. I can access it using Samba v1
  3. i can login to SSH using some old obscure key-exchange algos
  4. The spindown of the disks works by means of a USB stick on the rear side. (However, I have no idea what I did to achive that 15 years ago)
  • In the web-interface all the entries for user managment are gone. I can only manage the users by means of SSH.
  • I cannot unraid my disks. They are currently coupled in RAID1 (mirrored).
  • I don't manage to get access to the telnet console on startup. Neither by trying to establish a manual telnet connection nor by means of the FlashTool from the database.

What I'd like to get:
  • Install some modern OS like OpenWRT
  • unraid my disks and either use JBOD or just two independent disks
  • understand how to do this.
  • Just use the Box again
opt12 belirtilen dosyaları ekledi:

2

Tuesday, February 13th 2024, 10:43am

Hi opt12,
I run the latest kernel 6.1 on my NAS4220. Since I did not want to mess around with the original Redboot flash layout I decided to implement some patches. You find them in the repo below.

Would be great if you want to give it a try.

1.) clone the repo

Kaynak kod

1
2
git clone https://github.com/Smartsmurf/openwrt-ib4220.git
cd openwrt-ib4220


2.) update feeds

Kaynak kod

1
2
./scripts/feeds update -a
./scripts/feeds install -a


3.) copy config-default to .config

Kaynak kod

1
cp config-default to .config

4.) make menuconfig
-> select packages

5.) make

finally you find the update under

./bin/targets/gemini/generic

and you find all the nice packages under
./bin/packages/arm_fa526

To install the packages I recommend to insert USB flash drive (4 GB are more than sufficient) and configure this as overlay. All installations will be put on the drive since flash memory is spare. Then configure the software sources to point to the arm_fa526 (or copy it locally on the HDD somewhere).The main benefit is that my fork is flash layout compatible with the original Raidsonic firmware. So when you want to revert you can just install the original FW.


Good luck SM
PS: the default root password is "welcome" (without quotes), but you can put any hash you want into the template "target/linux/gemini/base-files/etc/passwd"

Bu mesaj 3 defa düzenlendi; son düzenleyen "SmartSmurf" (Feb 13th 2024, 11:02am)


3

Yesterday, 9:15pm

Hi opt12,
I run the latest kernel 6.1 on my NAS4220. Since I did not want to mess around with the original Redboot flash layout I decided to implement some patches. You find them in the repo below.

Would be great if you want to give it a try.

1.) clone the repo

Source code

1
2
git clone https://github.com/Smartsmurf/openwrt-ib4220.git
cd openwrt-ib4220


2.) update feeds

Source code

1
2
./scripts/feeds update -a
./scripts/feeds install -a


3.) copy config-default to .config

Source code

1
cp config-default to .config

4.) make menuconfig
-> select packages

5.) make

finally you find the update under

./bin/targets/gemini/generic

and you find all the nice packages under
./bin/packages/arm_fa526

To install the packages I recommend to insert USB flash drive (4 GB are more than sufficient) and configure this as overlay. All installations will be put on the drive since flash memory is spare. Then configure the software sources to point to the arm_fa526 (or copy it locally on the HDD somewhere).The main benefit is that my fork is flash layout compatible with the original Raidsonic firmware. So when you want to revert you can just install the original FW.


Good luck SM
PS: the default root password is "welcome" (without quotes), but you can put any hash you want into the template "target/linux/gemini/base-files/etc/passwd"

Hello.
I have been runing the smartsmurf release for a long time. The ethernet driver is not optimal, sometimes, I seem to see glitches in the network whenver i read/send data to/from the nas.
Still, the nas itself is enough even for day to day stuff and I would like to keep it running like this as it is mostly ok for normal home related activities.
I tried to build the openwrt release but I get an error on the the ethernet patch:

Any idea regarding how to fix that?:
(meanwhile, i wanted to add a usb wifi card driver in the process, but the outcome is identical even if i dont add the driver to the build)Applying /home/olivier/openwrt-ib4220/target/linux/gemini/patches-6.6/970-net-ethernet-cortina.patch using plaintext:
patching file drivers/net/ethernet/cortina/gemini.c
Hunk #1 succeeded at 82 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 149 (offset -1 lines).
Hunk #3 succeeded at 209 (offset -1 lines).
Hunk #4 succeeded at 610 (offset -3 lines).
Hunk #5 succeeded at 713 (offset -3 lines).
Hunk #6 succeeded at 740 (offset -3 lines).
Hunk #7 succeeded at 765 (offset -3 lines).
Hunk #8 succeeded at 778 (offset -3 lines).
Hunk #9 succeeded at 801 (offset -3 lines).
Hunk #10 succeeded at 833 (offset -3 lines).
Hunk #11 succeeded at 847 (offset -3 lines).
Hunk #12 succeeded at 881 (offset -3 lines).
Hunk #13 succeeded at 915 (offset -3 lines).
Hunk #14 succeeded at 923 (offset -3 lines).
Hunk #15 succeeded at 938 (offset -3 lines).
Hunk #16 succeeded at 963 (offset -3 lines).
Hunk #17 succeeded at 972 (offset -3 lines).
Hunk #18 succeeded at 1200 (offset 45 lines).
Hunk #19 succeeded at 1407 (offset 45 lines).
Hunk #20 succeeded at 1441 (offset 49 lines).
Hunk #21 succeeded at 1510 (offset 49 lines).
Hunk #22 succeeded at 1777 (offset 48 lines).
Hunk #23 FAILED at 2037.
Hunk #24 succeeded at 2528 (offset 60 lines).
Hunk #25 succeeded at 2595 (offset 52 lines).
1 out of 25 hunks FAILED -- saving rejects to file drivers/net/ethernet/cortina/gemini.c.rej
Patch failed! Please fix /home/olivier/openwrt-ib4220/target/linux/gemini/patches-6.6/970-net-ethernet-cortina.patch!
make[4]: *** [Makefile:40: /home/olivier/openwrt-ib4220/build_dir/target-arm_fa526_musl_eabi/linux-gemini_generic/linux-6.6.58/.prepared_bc6c7b9cfb5f3af425403e45de205b97] Error 1
make[4]: Leaving directory '/home/olivier/openwrt-ib4220/target/linux/gemini'
make[3]: *** [Makefile:11: compile] Error 2
make[3]: Leaving directory '/home/olivier/openwrt-ib4220/target/linux'
time: target/linux/compile#10.15#6.23#12.29
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:32: target/linux/compile] Error 1
make[2]: Leaving directory '/home/olivier/openwrt-ib4220'
make[1]: *** [target/Makefile:25: /home/olivier/openwrt-ib4220/staging_dir/target-arm_fa526_musl_eabi/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/olivier/openwrt-ib4220'
make: *** [/home/olivier/openwrt-ib4220/include/toplevel.mk:248: world] Error 2

olivier@debnascompil:~/openwrt-ib4220$
$ cat ./build_dir/target-arm_fa526_musl_eabi/linux-gemini_generic/linux-6.6.58/drivers/net/ethernet/cortina/gemini.c.rej
--- drivers/net/ethernet/cortina/gemini.c 2019-03-15 14:28:50.689390331 +0100
+++ drivers/net/ethernet/cortina/gemini.c 2019-03-15 15:31:34.009462305 +0100
@@ -2037,7 +2012,8 @@
}
*values++ = port->tx_frags_linearized;
*values++ = port->tx_hw_csummed;
-
+ *values++ = port->geth->freeq_replaced;
+ *values++ = port->geth->freeq_lost;
} while (u64_stats_fetch_retry_irq(&port->tx_stats_syncp, start));
}

olivier@debnascompil:~/openwrt-ib4220$
thanks !!!

Bu mesaj 2 defa düzenlendi; son düzenleyen "oliv75" (Yesterday, 11:14pm)