I have a OnePlus5T that runs PostmarketOS (console, no GUI). I use pmbootstrap to flash the image and it serves me well for the most part. To make the internet connection more stable, I wish to connect the phone to the router using an Ethernet adapter.

I have borrowed a Porttonics Ethernet 8in1 adapter and works well on other stock android phones. I can use ethernet nicely and surf sites on those phones

I seem to be unable to do this with Postmarket OS. Based on what i have read, I think the kernel needs to be tweaked so it can connect and work with the router. Does anyone know how to do this?

(This is my second post on this topic. Apologies).

  • KaninchenSpeed@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Does it show up as an interface in ip a? If it doesn’t it usually means, that you don’t have drivers for it / the drivers aren’t in mainline, but sometimes it’s the usb role switching of the phone being stuck in peripheral mode (a reboot with the adapter plugged in usually fixes it).

    Depending on what you want to do with the phone and how permanent the connection is, an alternative method would be to connect it to the router with a usb cable. Enable the usb debug connection on in pmbootstrap when building the image (it might be possible to do this on the phone too) and set up routing on the router and add an ip address and a default route to the debug interface on the phone, it should behave as if it were a normal network card (but with a dhcp server running on it).

    I’m sorry I didn’t read that you posted on this before before finishing this, I’m way too tired qwq