Posts by den4545

    Thank you so much, making good progress, but I still need your help please as I am going round in circles trying to assign an ip address to eth1.

    Eth1 is listed with ifconfig eth1, but without ip address assigned. It does not appear in 'connmanctl services' or in the kodi connections screen.

    When I was using the usb adapter, the eth1 interface appeared in the kodi connections screen, and I was able to set the ip address as static using the gui. This setting persisted when rebooted.

    I don't know where the config files are for setting static ip address on eth1 in LibreELEC, so I tried setting the ipaddress using ifconfig commands:-

    ifconfig eth1 192.168.122.1
    ifconfig eth1 netmask 255.255.255.0
    ifconfig eth1 broadcast 192.168.1.120 (the fixed ip for eth0)

    after which eth1 appears in the kodi connection screen, but is listed as dhcp with an incorrect ip address. Forwarding between eth1 and wg0 using iptables does not work, even if I set the ip address to static with the same ip config within the kodi connections gui.

    Can you tell me where the config file to set the ip static address for eth1 is on LibreELEC please (if this is the correct way to proceed). I cannot use connmanctl as the interface does not appear until it has an ip address and ifconfig does not seem to be working.

    Hope you can help.

    Many thanks again for your time

    Hi,

    Thanks for your reply.

    I want to share my wireguard connection using the second lan port.

    I have had this config working with a usb lan adapter. I would like to use the port on the hat, as the usb lan adaptor is not always recognised on rebooting and requires the usb cable to be remove and reconnected to function.

    Thanks again

    I have a Waveshare PCIe to ethernet and M2 Hat on my Pi5, the Drive and ethernet port functions correctly with the standard Pi OS but with LibreELEC 12.2 the drive functions but the ethernet port is not recognised.

    lspci lists the ethernet port as Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15). I have attached a dump from lspci.

    Pi5 lspci.txt

    I have tried using the lastest nightly build, but the ethernet port is still not recognised.

    Any advice please?

    Thanks