Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network lost after DSM boot #31

Closed
sashakozlov86 opened this issue May 7, 2023 · 47 comments
Closed

Network lost after DSM boot #31

sashakozlov86 opened this issue May 7, 2023 · 47 comments
Labels

Comments

@sashakozlov86
Copy link

Hello, friends! On a baremetal laptop HP x360 Pavilion ba103ur (connected via USB3.0-LAN Adatep D-Link DUB-1312, also tried TP-link) the problem - after a certain period of time (after determining the IP address and DSM kernel boot), the device disappears in the router.

If i boot in config bootloader mode, then the network does not disappear. This happens after loading DSM. I've already tried disabling the "cdc ncm" module, but that doesn't help. Thanks for any help!

@AuxXxilium
Copy link

No module/driver for ax88179 chip

@sashakozlov86
Copy link
Author

Do you mean that module/driver for ax88179 chip needs to be installed? To be honest, I chose "select all modules" and simply excluded "cdc ncm" from this entire list of modules, although there is no difference with and without this module (cdc ncm). Disabling "cdc ncm" used to work in older versions of arpl, but not now. Regarding the module / driver for ax88179 chip - do I need to install it separately (it is not in the list of all modules)? Thanks for your reply!

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

你要安装什么型号?

@sashakozlov86
Copy link
Author

DVA1622

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

modules-test.zip

把他解压后的文件放到 /mnt/p3/modules 下,然后重新编译

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

刚刚加的编译出来,如果它好使, 下一个版本将发布

@AuxXxilium
Copy link

@wjz304 it is possible that usbnet.ko is working too for this chip.

@sashakozlov86
Copy link
Author

刚刚加的编译出来,如果它好使, 下一个版本将发布

Dear friend, thank you very much! That is, if everything works, then in the next version we can expect a fix for this bug? I honestly do not quite understand how you can compile. Thank you!

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

@wjz304 it is possible that usbnet.ko is working too for this chip.

OK, 一会儿我看一下 usbnet.c

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

刚刚加的编译出来,如果它好使, 下一个版本将发布

Dear friend, thank you very much! That is, if everything works, then in the next version we can expect a fix for this bug? I honestly do not quite understand how you can compile. Thank you!

Yes, of course you need to test it first to see if it works

@sashakozlov86
Copy link
Author

Okay. And what file should be downloaded and how to compile?

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

modules-test.zip

把他解压后的文件放到 /mnt/p3/modules 下,然后重新编译

This attachment
Download it and unzip it, and place the three files inside under "/mnt/p3/modules" in arpl to replace the original files

@sashakozlov86
Copy link
Author

Thank you! It turns out that it is better to unpack the img image using an archiver, replace the file there in the specified folder and archive it back into img?

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

I don't think I can explain this matter clearly in English.

Just a moment, I'll give you a beta version.

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

https://github.com/wjz304/arpl-i18n/releases/download/23.5.1/arpl-test-ax88179.zip

@sashakozlov86
Copy link
Author

Okay, thank you very much dear friend! I'll try to overwrite the flash drive tomorrow evening and check. Then I will write to you. Should I just select the ax88179 module?

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

Do you mean that module/driver for ax88179 chip needs to be installed? To be honest, I chose "select all modules" and simply excluded "cdc ncm" from this entire list of modules, although there is no difference with and without this module (cdc ncm). Disabling "cdc ncm" used to work in older versions of arpl, but not now. Regarding the module / driver for ax88179 chip - do I need to install it separately (it is not in the list of all modules)? Thanks for your reply!

Following your original approach, give it a try.

@sashakozlov86
Copy link
Author

Okay friend! Thank you very much! I'll definitely try it tomorrow night and let you know the result. Have a nice day!

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2023

https://github.com/wjz304/arpl-i18n/releases/download/23.5.1/arpl-test-ax88179-2.zip
我检查了一下,它有 usbnet 的依赖,我重新编译了一下,请用这个测试

@sashakozlov86
Copy link
Author

sashakozlov86 commented May 8, 2023

Unfortunately friend, it didn't work. After installing DSM and rebooting the computer, it disappears from the network when loading DSM. I installed your beta from the link above and enabled select all modules

@AuxXxilium
Copy link

AuxXxilium commented May 8, 2023

@wjz304 your modules build is crashed. ;)

@sashakozlov86
Copy link
Author

I also tried with USB3.0-LAN adapter TP-link UE300. It also does not work with it, the device disappears from the network.

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

它和 eudev 也有关系

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

如果 你知道如何进入shell,可以先测试 ko 是否好使。

@sashakozlov86
Copy link
Author

Unfortunately I don't know how to do it. When configuring the bootloader, I write "menu.sh" and then I do the rest of the actions through the menu.

@AuxXxilium
Copy link

usb:v0B95p1790*
ID_MODEL_FROM_DATABASE=AX88179 Gigabit Ethernet

from: 20-usb-vendor-model.hwdb

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

usb:v0B95p1790* ID_MODEL_FROM_DATABASE=AX88179 Gigabit Ethernet

from: 20-usb-vendor-model.hwdb

There are still some issues with my modified eudev

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

@sashakozlov86 Just a moment, I'll give you a restored version of eudev

@AuxXxilium
Copy link

and:

usb:v2001p4A00*
ID_MODEL_FROM_DATABASE=DUB-1312 Gigabit Ethernet Adapter for this specific version

@sashakozlov86
Copy link
Author

sashakozlov86 commented May 8, 2023

If it help, my TP-Link UE300/UE330 USB to Ethernet adapter based on Realtek RTL8153.

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

7.2 or 7.1 ?

@sashakozlov86
Copy link
Author

7.2

@AuxXxilium
Copy link

@wjz304 the rtl8153 is in eudev set by "50-usb-realtek-net.rules"

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

@wjz304 you modules build is crashed. ;)

emm.... I just noticed..

@sashakozlov86
Copy link
Author

@wjz304 the rtl8153 is in eudev set by "50-usb-realtek-net.rules"

That's just the point, I select all modules, that is, in fact, all drivers should be installed, including on my adapter, but for some reason the network still disappears when DSM is loaded. Up to this point, the adapter is determined in the bootloader and the IP address is also determined, but then the device disappears.

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

#10

Yes, according to this issue, there is a problem with the 7.2 driver
I have also tried some other drivers that can be manually loaded, but they do not automatically load.
The rules for eudev in 7.1 and 7.2 are consistent, and it is currently unknown where the problem lies

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

So I tried to recompile eudev, but I feel like it's not working well,
Although it is possible to attach an action and copy it again to drive it to the system for loading, this is not a good solution.

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

So these are two questions

  1. Is the driver available
  2. Does the driver automatically load

@AuxXxilium
Copy link

good question, need console to find out

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

But I don't have these hardware, so I can only try to solve problem 2 first and then rely on others to give me the answer to problem 1,
QZ_VX4RRXXUC`T1WG4OPF5D

@AuxXxilium
Copy link

an information which modules are loaded will be nice, yes.

@sashakozlov86
Copy link
Author

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2023

Let's give up for now and wait for further information from me,

Of course, you can also try manually loading it in the system and providing feedback, (But if you don't know how to operate it, you don't have to try, just wait for me.)

insmod mii.ko
insmod usbnet.ko
insmod ax88179_178a.ko

@sashakozlov86
Copy link
Author

I'm sorry dear friend, I didn't mean to offend you in any way. I am very grateful to you for your work, promotion and development of the project. I just thought that my review as a "tester with problematic equipment" would help you. Well I'll wait. Thank you!

@wjz304
Copy link
Contributor

wjz304 commented Jun 12, 2023

试一下 ax88179_178a ?

@wjz304
Copy link
Contributor

wjz304 commented Jun 18, 2023

modules 23.6.9

@wjz304 wjz304 closed this as completed Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants