Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rndis0 on Note9 not working with Debian laptop and workstation #36

Open
etbe opened this issue Mar 20, 2024 · 3 comments
Open

rndis0 on Note9 not working with Debian laptop and workstation #36

etbe opened this issue Mar 20, 2024 · 3 comments

Comments

@etbe
Copy link

etbe commented Mar 20, 2024

I can't get my rndis0 interface on my Note9 talking to my Debian/Unstable laptop or my Debian/Bookworm workstation.

To get my freshly installed Droidian Note9 talking to my laptop running Debian/Unstable with kernel 6.6.15 over rndis0 I gave the interface on the laptop the address 10.15.19.83, my phone has 10.15.19.82.

When I run arping on the laptop tcpdump on the phone shows the phone receiving packets and sending replies.

When I run arping on the phone tcpdump on the phone shows packets being sent out but tcpdump on the laptop doesn't show receiving.

Seems strictly one way transfer of packets from laptop to phone.

When I repeated the test with my workstation running Debian/Bookworm with kernel 6.1.76 I gave the interface on the workstation the address 10.15.19.100 as that seems common in examples. I assigned the address on my workstation with the command "ifconfig note9 10.15.19.100 netmask 255.255.255.0". Is there something else I need to do to get this working?

23:19:51.481262 ARP, Request who-has 10.15.19.82 tell 10.15.19.100, length 44
23:19:52.482060 ARP, Request who-has 10.15.19.82 tell 10.15.19.100, length 44
23:19:53.483191 ARP, Request who-has 10.15.19.82 tell 10.15.19.100, length 44

I see the above output from tcpdump on the Note9 when running arping on my workstation. When I run arping on the phone to talk to the workstation I don't see anything from tcpdump on the phone which seems strange and is not what happened when doing the laptop tests. Even specifying the interface via "arping 10.15.19.100 -i rndis0" doesn't result in tcpdump seeing ARP requests sent out on rndis0.

The fact that this fails on 2 different computers with different versions of the kernel indicates that it's either the phone having a problem or me doing something wrong when trying to communicate with it. I asked on Matrix and got no answer.

@FakeShell
Copy link
Member

is it a known issue on exynos chipsets samsung has modified the rndis driver which makes it act like this

@etbe
Copy link
Author

etbe commented Mar 25, 2024

Is there any documentation about this issue? Is there a workaround?

@FakeShell
Copy link
Member

you can read more about the rndis issue here
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Note_9_(Exynos)_(samsung-crownlte)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants