Can not configure network on supermicro board

Hi,

i have this A2SDV-4C-LN10PF | Motherboards | Products | Supermicro supermicro board, i booted Openwrt it works fine and recognizes ethernet cards so no need for additional drivers etc. but can not configure network, all i want is to get ip from dhcp server but doesnt work, here is uci show network ;

network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ippaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.lan=interface
network.lan.ifname='eth7'
network.lan.proto='dhcp'
network.wan.ifname='eth0'
network.wan.proto='dhcp'

ip a;

eth7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000 link/ether ##:##:##:##:##:## brd ff:ff:ff:ff:ff:ff

i masked the mac address, sorry.

ifconfig eth7;

eth7      Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

i wrote those by my self because i can not access via ssh.

can you help me?

It doesn't seem to detect the cable or the link.

1 Like

lan side usually isn't a DHCP client, if it's a router.

what does dmesg say, if you unplug and reconnect the ethernet cable.

but cable is working if i connect another device it works!

it doesnt matter, if i give static ip doesnt work either.

Are you sure eth7 is the port you think it is ?

@trendy, @frollic i installed Openwrt on Cyberoam CR 50iNG device network configuration is the same, it works and i had to install drivers.

it is, i tried with all of them from eth0 to eth7, same result.

eth port mapping could differ, big time.

only thing I can think of, is to try all ports, one by one.

it has 1 IPMI port, 8 ethernet ports starts from 0 and 2 SFP ports. i tried all 8 ethernet ports from eth0 to eth7, nothing changes. Leds blinking orange (no green) but can not get an ip.

dmesg doesnt say anything, i run it before unplug, and after plug, there is nothnig changed.

Which module is used for the network interfaces?

Do you mean kmod? if so kmod-igb (35-igb), kmod-e1000 (35-e1000 and e1000e) and kmod-ixgbe (35-ixgbe)

The kmod-igbshould be good for the I350 from what I can see. For the other one I was not able to find clear information. Try to unload the e1000 and the ixgbe (it's for 10G), and see if you can get at least 4 of them up.
Have you tried any other OS? Do the interfaces work?

I could not do what you asked, i will try firmware selector, and trying to install another OS this week. i will post outcome here.

Thanks!.

Hello,
I installed Ubuntu server on it, and the ethernet cards are working just fine. I did not install any additional drivers to make them work.

Which modules are loaded?

Here they are;

$ lspci -nn

04:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Fiber Network Connection [8086:1536] (rev 03)
05:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Fiber Network Connection [8086:1536] (rev 03)
06:00.0 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01)
06:00.1 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01)
06:00.2 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01)
06:00.3 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01)
09:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e4] (rev 11)
09:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e4] (rev 11)
0a:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
0a:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
$ lsmod

Module                  Size  Used by
nls_iso8859_1          16384  1
dm_multipath           32768  0
scsi_dh_rdac           16384  0
scsi_dh_emc            16384  0
scsi_dh_alua           20480  0
intel_rapl_msr         20480  0
ipmi_ssif              36864  0
binfmt_misc            24576  1
intel_rapl_common      24576  1 intel_rapl_msr
pnd2_edac              24576  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             286720  0
kvm                   663552  1 kvm_intel
rapl                   20480  0
intel_cstate           20480  0
input_leds             16384  0
joydev                 24576  0
qat_c3xxx              16384  0
intel_qat             122880  1 qat_c3xxx
authenc                16384  1 intel_qat
ipmi_si                65536  0
ipmi_devintf           20480  0
ipmi_msghandler       106496  3 ipmi_devintf,ipmi_si,ipmi_ssif
mac_hid                16384  0
sch_fq_codel           20480  41
msr                    16384  0
ramoops                28672  0
reed_solomon           24576  1 ramoops
efi_pstore             16384  0
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
btrfs                1265664  0
zstd_compress         167936  1 btrfs
raid10                 61440  0
raid456               155648  0
async_raid6_recov      24576  1 raid456
async_memcpy           20480  2 raid456,async_raid6_recov
async_pq               24576  2 raid456,async_raid6_recov
async_xor              20480  3 async_pq,raid456,async_raid6_recov
async_tx               20480  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  2 btrfs,raid456
raid1                  45056  0
raid0                  24576  0
multipath              20480  0
linear                 20480  0
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  2 usbhid,hid_generic
ast                    53248  0
drm_vram_helper        20480  1 ast
ttm                   106496  1 drm_vram_helper
drm_kms_helper        184320  3 ast
crct10dif_pclmul       16384  1
syscopyarea            16384  1 drm_kms_helper
crc32_pclmul           16384  0
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
ghash_clmulni_intel    16384  0
fb_sys_fops            16384  1 drm_kms_helper
aesni_intel           372736  0
ixgbe                 344064  0
drm                   495616  5 drm_kms_helper,drm_vram_helper,ast,ttm
i2c_i801               32768  0
crypto_simd            16384  1 aesni_intel
igb                   221184  0
xfrm_algo              16384  1 ixgbe
mdio                   16384  1 ixgbe
ahci                   40960  3
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
libahci                32768  1 ahci
glue_helper            16384  1 aesni_intel
i2c_ismt               32768  0
dca                    16384  2 igb,ixgbe
i2c_algo_bit           16384  2 igb,ast
/lib/modules/5.4.0-149-generic/kernel/drivers/net/ethernet/intel$ ls

e1000
e1000e
e100.ko
fm10k
i40e
iavf
ice
igb
igbvf
igc
ixgb
ixgbe
ixgbevf

Judging by that, I'd say you need

ixgbe       
igb         
xfrm_algo   
mdio        
dca         
i2c_algo_bit

Which version of OpenWrt are you flashing by the way?

Latest, both with firmware selector and the https://downloads.openwrt.org/releases/22.03.5/targets/x86/64/ image file.

i included only ixgbe and igb to firmware selector from above, i am not familiar with others, the modules i included are;

lsblk, pciutils, kmod-igb, hostapd, kmod-ixgbe, luci, kmod-usb-storage, kmod-usb-storage-uas and usbutils