Hi,
I am opening this topic to get some ideas of investigations or corrections.
My setup is the following:
This configuration was fully functional until a power interruption on entire home.
Now NSA310 get an IP address only when connected directly to router.
Of course, I restarted all devices few times, I checked access on switch with another new devices and nothing changed.
BTW, in the same switch is a NSA325 (original firmware) without this issue.
Here are some details:
- ethernet LED is blinking just until the start of loading essential drivers and after is no more activity (when connecting to switch)
- if I am taking that cable and insert in PC starts immediately to negotiate and is getting IP
- if I am moving back to NSA310 nothing is happening (including LED activity)
- interface configuration:
- logs during booting direct connection to router (it was before changing the name to eth0):
- logs during booting using the switch:
- content of printenv:
Any thoughts what to change or investigate?
Thank you
I am opening this topic to get some ideas of investigations or corrections.
My setup is the following:
Router <-> unmanaged switch <-> NSA310with an asuswrt router and a TP-Link TL-SG105 switch.
This configuration was fully functional until a power interruption on entire home.
Now NSA310 get an IP address only when connected directly to router.
Of course, I restarted all devices few times, I checked access on switch with another new devices and nothing changed.
BTW, in the same switch is a NSA325 (original firmware) without this issue.
Here are some details:
- ethernet LED is blinking just until the start of loading essential drivers and after is no more activity (when connecting to switch)
- if I am taking that cable and insert in PC starts immediately to negotiate and is getting IP
- if I am moving back to NSA310 nothing is happening (including LED activity)
- interface configuration:
rename /enp1s0=eth0
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
hwaddress ether [redacted MAC]
- logs during booting direct connection to router (it was before changing the name to eth0):
Listening on LPF/enp1s0/[redacted MAC] Sending on LPF/enp1s0/[redacted MAC] Sending on Socket/fallback DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 6 [ 73.310930][ T64] r8169 0000:01:00.0 enp1s0: Link is Up - 10Mbps/Full - flow control rx/tx DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 17 DHCPOFFER of [redacted IP] from [redacted IP]
- logs during booting using the switch:
Listening on LPF/enp1s0/[redacted MAC] Sending on LPF/enp1s0/[redacted MAC] Sending on Socket/fallback DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 17 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 20 DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 7 No DHCPOFFERS received.
- content of printenv:
NSA310> printenv arcNumber=2097 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa310.dtb ethact=egiga0 ethaddr=[redacted MAC] led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x2c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 machid=0x831 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env) nc_ready=0 partition=nand0,2 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; for devtype in $devices; do run init_$devtype; done uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done; uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi usb_ready_retry=15 Environment size: 2725/131068 bytes
Any thoughts what to change or investigate?
Thank you