Welcome! Log In Create A New Profile

Advanced

Debian on Zyxel NAS326

Posted by Kirsch 
Re: Debian on Zyxel NAS326
January 22, 2020 04:40AM
Proceeded with linux-4.9.0-mvebu-tld-12-bodhi.tar.bz2
Update successfull.
root@debian:~# uname -a
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l GNU/Linux

Still no network.
ping 192.168.1.25
PING 192.168.1.25 (192.168.1.25) 56(84) bytes of data.
64 bytes from 192.168.1.25: icmp_seq=1 ttl=64 time=0.042 ms

root@debian:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.25 icmp_seq=1 Destination Host Unreachable
Re: Debian on Zyxel NAS326
January 22, 2020 04:44AM
bodhi Wrote:
-------------------------------------------------------
> vadim,
>
> To summarize: at home network works OK, but at
> work with this TP-Link router it does not?
>
> Could it be a IP address block restriction in the
> router setting?
>
> I guess we should try the latest kernel to see if
> any difference. I will come back and post the env
> change to boot
> linux-5.3.5-mvebu-tld-1-bodhi.tar.bz2

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Zyxel NAS326
January 22, 2020 04:47AM
To summarize: at home network works OK, but at work with this TP-Link router it does not?
Yes.

Could it be a IP address block restriction in the router setting?
No, stockOs loads ok and receives IP by DHCP. I can navigate by browser http://stockdhcpip

I can use IP by cross cable between my PC and NAS. Bodhi debian works like intended.
I can switch my PC from wi-fi to wired and TP-Link works alright.

I think TCP/IP stack is fine. Something wrong on lower levels of OSI with router and usb-debian.

And still I had not heard of any problem from my colleagues and guest wi-fi users.



Edited 1 time(s). Last edit at 01/22/2020 04:54AM by vadim.
Re: Debian on Zyxel NAS326
January 22, 2020 12:48PM
vadim,

Please take look at the kernel upgrade instruction here and let me know if you have any question:

https://forum.doozan.com/read.php?2,88619,94989#msg-94989

My box u-boot envs have changed quite a bit, so I can't test this exact instruction on top of the original installation steps.

You are the tester :)

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 01/22/2020 02:36PM by bodhi.
Re: Debian on Zyxel NAS326
January 23, 2020 12:46AM
Followed your instructions literally.

root@debian:~# uname -a
Linux debian 5.3.5-mvebu-tld-1 #1.0 SMP PREEMPT Tue Oct 8 21:03:08 PDT 2019 armv7l GNU/Linux

root@debian:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.364 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.277 ms

Long live bodhi!!!

Thanks a lot for making me study. I got a strong interest in arm devices now.
Re: Debian on Zyxel NAS326
January 23, 2020 03:31AM
vadim,

Cool :) I'm glad that solved the problem. Thanks for testing the upgrade instruction!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Zyxel NAS326
January 23, 2020 03:45AM
I upgraded debian, installed mdadm, mounted raid1.
The box already installed to rack.
Already copying backups with scp under sshpass.

Sorry to fail boot log. screen -L -Logfile file left no file.
Then I was overwhelmed and proceeded with hard disks and
my fellow admin assembled the box and carried it away.
Can post dmesg here if it's useful.

Download speed is ok. Perfect poor man's solution.
Thanks Zyxel but no thanks.
The box might be more friendly and ready for tweaks.
Thanks go to bodhi and all forum's members for sharing knowledge.

"And in the end, the love you take is equal to the love you make."
Re: Debian on Zyxel NAS326
January 23, 2020 08:52PM
vadim,


> I upgraded debian, installed mdadm, mounted
> raid1.
> The box already installed to rack.
> Already copying backups with scp under sshpass.
>
> Sorry to fail boot log. screen -L -Logfile file
> left no file.
> Then I was overwhelmed and proceeded with hard
> disks and
> my fellow admin assembled the box and carried it
> away.
> Can post dmesg here if it's useful.
>
> Download speed is ok. Perfect poor man's
> solution.
> Thanks Zyxel but no thanks.
> The box might be more friendly and ready for
> tweaks.
> Thanks go to bodhi and all forum's members for
> sharing knowledge.
>
> "And in the end, the love you take is equal to the
> love you make."

Proud to hear my works being used in productive environment :) awesome!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Zyxel NAS326
February 25, 2020 04:56AM
vadim Wrote:
-------------------------------------------------------
> I upgraded debian, installed mdadm, mounted
> raid1.

I'm really having a hard time to setup the raid with debian. Every time the whole /dev/sdb device gets lost after touching anything with /dev/sdb (lsblk).
For example: even if I'll try to mount the Zyxel array it takes pretty long and afterwards the /dev/sdb is lost until reboot.
Operations on /dev/sda is not a problem.
I've switched the disks already and on the stock firmware it runs without a problem.

Any help on that would be appreciated.
Re: Debian on Zyxel NAS326
February 25, 2020 07:50AM
The discs /dev/sda and /dev/sdb are only physical devices. While they are connected and operational lsblk must show them no matter what. Troubles may begin when you would try to mount them for example.
I would look at full dmesg log for starters.

>>dmesg > /dmesg.txt
>>poweroff

Move the file from usb-stick to your computer and attach to the post.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: