funplug icon indicating copy to clipboard operation
funplug copied to clipboard

fun_plug script are not working anymore

Open msimic opened this issue 1 year ago • 2 comments

The problem resides in wget not being able to establish a secure http connection. Is there a way to update wget on the NAS? For now I manually downloaded the repo file and changed the script to load it locally in order for slacker to work.

Regards

P.S. I also have another unrelated problem specific to the DNS-320, regarding initializing a drive that was formatted externally (since the NAS did not have enough memory to do the formatting) - drive is seen but /dev/sdb2 is not mounted (only /dev/sdb4 is) and the NAS wants to reinitialize and reformat it as it was just plugged in. If somebody is willing to help message on Telegram: +385 92 317 3179 or on Discord: marsovac#8011

msimic avatar Mar 08 '23 19:03 msimic

Nevermind my request for help about the DNS-320. I've made it work with tune2fs on my host system, now it mount correctly on the NAS. It was one of the options of the ext4 partition that the NAS didn't like in order to autostart the mounting correctly. And I need to initialize a swap on the first partition, and add it to the raid array.

Too bad all this hassle to format a 16TB drive... the amount of memory on the Nas is not enough for mke2fs to complete...

For anybody interested:

  • initialize the disk on the NAS, when formatting it will fail, but you will have the partitions
  • on the first partition do mkswap
  • the second partition needs to be formatted with ext4, but this will make it unusable for the nas
  • use tune2fs to add and remove options until you have this and then insert it back into the nas:

Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize Default mount options: (none) Default directory hash: half_md4

msimic avatar Mar 08 '23 23:03 msimic

as for wget, it can be fixed server-side if all url's for fun_plug will be excluded from http-to-https forced redirect I assume for our humble needs http is ought to be enough ;)

lazyest avatar Apr 21 '23 06:04 lazyest