this post was submitted on 08 Apr 2026
16 points (90.0% liked)

Selfhosted

58328 readers
851 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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).

top 8 comments
sorted by: hot top controversial new old
[–] dnls@lemmy.world 2 points 8 hours ago (2 children)

Are you using external power with the Adapter? I ran into this issue with my oneplus 6t, which cant supply power to a usb device. Using a external chsrger with a Combo dongle works fine right now. You may need to enable host mode though

[–] tomandjerryco@mander.xyz 1 points 31 minutes ago

When testing the Ethernet, I didn't put power. I wanted to isolate each variable at a time.

[–] non_burglar@lemmy.world 2 points 8 hours ago

The oneplus 6t can supply 500mA through USB, it just can't negotiate usbC power delivery.

[–] frongt@lemmy.zip 4 points 11 hours ago (1 children)

Anything in the logs when you plug it in?

[–] tomandjerryco@mander.xyz 1 points 24 minutes ago

Nothing there and as I wrote in another comment here, I think the mainline doesn't have the necessary drivers for this.

[–] KaninchenSpeed@lemmy.blahaj.zone 4 points 12 hours ago (1 children)

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

[–] tomandjerryco@mander.xyz 1 points 25 minutes ago

With 'lsusb', I can see the portonics being detected. But 'ip a' doesn't seem to show any valid Ethernet connection.

It seems you are right on the absence of correct drivers. I'll try the USB-debugging mode + router port approach to see if that works.

I would ideally want to leave this for the next couple of years without having to fiddle with it.

[–] defaultusername@lemmy.dbzer0.com 1 points 10 hours ago

Look into how to either enable OTG or host mode in your specific device. Sometimes the pmOS wiki has instructions on how to do so.