Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 02, 2020 06:36PM |
Registered: 8 years ago Posts: 96 |
root@sch~# uname -r 4.14.176-oxnas-tld-1 root@sch:~# fw_printenv ... dtb_file=/boot/dts/ox820-pogoplug-classic.dtb ethact=dwmac.40400000 ethaddr=52:3b:20:9c:XX:XX ...
root@schcamus:~# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 .... ether 62:4a:a7:bb:YY:YY txqueuelen 1000 (Ethernet) .....
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 02, 2020 08:06PM |
Admin Registered: 12 years ago Posts: 17,637 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 02, 2020 10:51PM |
Registered: 8 years ago Posts: 96 |
[ 3.767057] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 3.772096] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 3.777784] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 3.785062] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 3.791846] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 3.798461] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 3.805742] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 3.810795] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 3.817671] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 3.823938] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address 62:4a:a7:bb:YY:YY [ 3.834452] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 05:00AM |
Admin Registered: 12 years ago Posts: 17,637 |
bdinfo
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 10:17AM |
Registered: 8 years ago Posts: 96 |
ethaddr 52:3b:20:9c:11:51
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 02:51PM |
Registered: 3 years ago Posts: 37 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 03:49PM |
Admin Registered: 12 years ago Posts: 17,637 |
iface eth0 inet static address 192.168.0.236 netmask 255.255.255.0 gateway 192.168.0.1 hwaddress ether 60:31:xx:xx:1xx:xx
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 04:11PM |
Registered: 3 years ago Posts: 37 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 03, 2020 04:23PM |
Admin Registered: 12 years ago Posts: 17,637 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 01:55PM |
Registered: 3 years ago Posts: 37 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 03:17PM |
Registered: 8 years ago Posts: 96 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 04:21PM |
Registered: 3 years ago Posts: 37 |
auto lo eth0 iface lo inet loopback iface eth0 inet static address 10.1.1.197 netmask 255.255.255.0 broadcast 10.1.1.255 network 10.1.1.0 gateway 10.1.1.1 hwaddress ether 00:25:31:xx:xx:xx
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 04:41PM |
Registered: 8 years ago Posts: 96 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 05:01PM |
Admin Registered: 12 years ago Posts: 17,637 |
auto lo eth0 iface lo inet loopback iface eth0 inet static address 10.1.1.197 netmask 255.255.255.0 gateway 10.1.1.1 hwaddress ether 00:25:31:xx:xx:xx
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 05:56PM |
Admin Registered: 12 years ago Posts: 17,637 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 07, 2020 07:01PM |
Admin Registered: 12 years ago Posts: 17,637 |
Quote
To enable the network dynamic IP to stay consistent after each reboot, and also for faster boot. In this rootfs, a script is executed during kernel booting (in /etc/rc.local), to detect if a local MAC address was assigned during boot, and then set the persistent MAC address to what is currently defined in u-boot env ethaddr.
/root/set_persistent_mac_address
To keep using the kernel generated local MAC address (if local MAC address was generated in your box) then remove or rename this script.
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Set MAC to the real one for this box /root/set_persistent_mac_address ....
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 08, 2020 04:52PM |
Admin Registered: 12 years ago Posts: 17,637 |
Quote
dts/ox820-stg212.dtb
dts/ox820-pogoplug-pro.dtb
dts/ox820-akitio.dtb
dts/ox820-kd20.dtb
dts/ox820-pogoplug-classic.dtb
cd /boot tar xf linux-dtb-4.14.176-oxnas-tld-2.tar
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 08, 2020 05:21PM |
Registered: 3 years ago Posts: 37 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 08, 2020 06:46PM |
Admin Registered: 12 years ago Posts: 17,637 |
Re: Ethernet problem with Linux Kernel 4.14.176 Oxnas (OX820) Pogo V3 May 09, 2020 07:59AM |
Registered: 8 years ago Posts: 96 |