Help newbie to config network in the China ONU with stock firmware
by dmab from LinuxQuestions.org on (#6QJM9)
Hello guys.
I have China fiber ONU and want to use it as a standard main WiFi router connected to an ISP through a LAN1 Ethernet port by PPPoE. But its web interface has no such feature. It can be connected to ISP with PPPoE only by xPON fiber.
I know login/pass for SSH/Telnet and trying to configure this device for my purposes in ONU OS directly.
What I earn for now:
- it has limited commands and tools;
- standard config files and any changes of existing files are gone after the device reboot, only files created in folder /userconfig/config are not gone after the reboot; so no need to make device configurations by creating and using config files, at least for now I want to create some script file in /userconfig/config dir that will make all config and run PPPoE connection;
- I made some positive test steps: remove interface eth0.0 from bridge interface br0 and run pppd with my parameters to make a PPPoE connection to ISP using eth 0.0 interface and it established but in this case, other WiFi and LAN ports clients have no access to this connection...
cat /proc/version
Code:Linux version 4.14.222 (zhuliwen@ubuntu) (gcc version 8.3.0 (crosstool-NG 1.24.0)) #3 SMP PREEMPT Thu Aug 8 10:30:21 CST 2024dmesg: https://pastebin.com/TsjrM1F6
Other info and logs are in a closed thread:
https://forum.openwrt.org/t/need-hel...irmware/209814
Thanks for any help.
How I can make a spoiler / hide text in my posts?
I have China fiber ONU and want to use it as a standard main WiFi router connected to an ISP through a LAN1 Ethernet port by PPPoE. But its web interface has no such feature. It can be connected to ISP with PPPoE only by xPON fiber.
I know login/pass for SSH/Telnet and trying to configure this device for my purposes in ONU OS directly.
What I earn for now:
- it has limited commands and tools;
- standard config files and any changes of existing files are gone after the device reboot, only files created in folder /userconfig/config are not gone after the reboot; so no need to make device configurations by creating and using config files, at least for now I want to create some script file in /userconfig/config dir that will make all config and run PPPoE connection;
- I made some positive test steps: remove interface eth0.0 from bridge interface br0 and run pppd with my parameters to make a PPPoE connection to ISP using eth 0.0 interface and it established but in this case, other WiFi and LAN ports clients have no access to this connection...
cat /proc/version
Code:Linux version 4.14.222 (zhuliwen@ubuntu) (gcc version 8.3.0 (crosstool-NG 1.24.0)) #3 SMP PREEMPT Thu Aug 8 10:30:21 CST 2024dmesg: https://pastebin.com/TsjrM1F6
Other info and logs are in a closed thread:
https://forum.openwrt.org/t/need-hel...irmware/209814
Thanks for any help.
How I can make a spoiler / hide text in my posts?