Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
788 stars 188 forks source link

foxconn-nT330i network issue #740

Closed DeadPo01 closed 2 years ago

DeadPo01 commented 2 years ago

Hi. We have foxconn-nt330i barebones, and we load them by PXE - everything OK during booting, but there is an issue after full Thinstation boot with network connection. We are pinging test machine and ping is around 1ms, right after getting an ip address from DHCP untill full Thinstation boot, then ping grows to 1000-2000ms... So RDP connection from Thinstation is impossible and VNC connection to thinstation is impossible... it connects, but freezes and disconnects. We tryed to boot Windows 10 LiveCD and Ubuntu 22.04 LiveCD on this barebone - everything OK with network, ping - 1ms. So the trouble is in Thinstation. How to fix this network issue? What to try?

Thinstation commented 2 years ago

Is it a firmware issue?

Thinstation commented 2 years ago

Which network stack? That is a very strange issue.

DeadPo01 commented 2 years ago

"Is it a firmware issue?" - i don't know =( "Which network stack?" - Atheros AR8131

Doncuppjr commented 2 years ago

networkmanager or autonet?

On Sunday, July 17, 2022 at 11:34:50 PM PDT, DeadPo01 @.***> wrote:

"Is it a firmware issue?" - i don't know =( "Which network stack?" - Atheros AR8131

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

DeadPo01 commented 2 years ago

networkmanager/autonet - same problem

Thinstation commented 2 years ago

build with param allfirmware true

DeadPo01 commented 2 years ago

Tried - same result...

Thinstation commented 2 years ago

That's a really old system. Maybe try an older kernel.

DeadPo01 commented 2 years ago

Ubuntu 22.04 on kernel 5.15 and no problem. I tried another terminal system based on linux (WtWare), and got same result on PXE boot..... BUT! Problem disapears when boot from USB Flash Drive.... Unfortunately i can't boot Thinstation from USB to try network, because this build, that i boot from PXE freezes on boot from USB =(

DeadPo01 commented 2 years ago

On boot from USB it stuck on downloading global config. If i disconnect ethernet cable, it fails to get config and will boot, but without network connection, even if i connect the cable back. =(

DeadPo01 commented 2 years ago

Tried to change autonet to newtworkmanager on USB build. Client tried to access global config, didn't find it, wrote "Will boot in 5 seconds..." and stuck again.... But i can't see any access on http server for config files, when PXE boot i can see that client dowloading config files... But from USB http logs are empty, and tftp-hpa log is silent too...

Thinstation commented 2 years ago

I don't think netfiles works with networkmanager

DeadPo01 commented 2 years ago

Returned to autonet.. but logs are silent, anyway. How to boot from USB? Built iso image same as PXE, wrote it to flash by rufus from iso, boot... stuck on "Getting global config from (Serv_IP)"

DeadPo01 commented 2 years ago

Ok. Managed to load from USB. USB load can't boot with NET_FILE_METHOD=wget, only with NET_FILE_METHOD=tftp, configs loaded over tftp correctly and Thinstation started. And ping is stable, 1-2ms! But.. what is the problem with network after load over PXE?!

Thinstation commented 2 years ago

You could try the ubuntu kernel. prt-get install ubuntu-kernel ./build --kernel 5.8.0-63-generic

DeadPo01 commented 2 years ago

Same problem. =( So... i think it's device problem, specifically atheros module. Because other our devices have no such problem with PXE. Will boot them from USB.