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

No data through hotspot #48

Open
robster7674 opened this issue Aug 5, 2022 · 3 comments
Open

No data through hotspot #48

robster7674 opened this issue Aug 5, 2022 · 3 comments

Comments

@robster7674
Copy link

After activating the hotspot I can connect my laptop ok, but there is no data flowing. Are there additional steps I need to take? How can I troubleshoot?

@robster7674
Copy link
Author

Tested with beta27: still the same issue. After connecting my iPhone (iOS 15), I could not use internet on the iPhone, it just times out.

@robster7674
Copy link
Author

robster7674 commented Nov 14, 2022

Here is a sample of nmcli with hotspot activated on beta27:

[manjaro@manjaro-arm ~]$ nmcli
wlan0: connected to Hotspot
        "wlan0"
        wifi (rtl8723cs), 02:BA:FD:F4:BA:94, hw, mtu 1500
        inet4 10.42.0.1/24
        route4 10.42.0.0/24 metric 600
        inet6 fe80::d315:7dc5:bf23:6e19/64
        route6 fe80::/64 metric 1024

cdc-wdm0: connected to Default
        "cdc-wdm0"
        gsm (qmi_wwan, option), hw, iface wwan0, mtu 1500
        ip6 default
        inet6 2a02:a420:4f:4f3b:e94f:5b5d:b668:fb35/64
        route6 2a02:a420:4f:4f3b::/64 metric 700
        route6 default via 2a02:a420:4f:4f3b:fc95:c848:b535:450b metric 700

p2p-dev-wlan0: disconnected
        "p2p-dev-wlan0"
        wifi-p2p, hw

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
        servers: 2a02:a47f:e000::53 2a02:a47f:e000::54
        interface: wwan0

Is it expected to have only ipv6 DNS servers in resolv.conf?

Connection from MacBook to PinePhone is fine, as I can ssh from it to the phone.

[manjaro@manjaro-arm ~]$ nmcli d
DEVICE         TYPE      STATE         CONNECTION 
wlan0          wifi      connected     Hotspot    
cdc-wdm0       gsm       connected     Default    
p2p-dev-wlan0  wifi-p2p  disconnected  --         
lo             loopback  unmanaged     --  

How can I further troubleshoot? https://github.com/gartfr/QualcommLTE has some useful commands, but I do not have enough experience/knowledge with mobile connections to make good use of them.

I suspect there is some issue with my APN config or something like that, as it appears that for other people the hotspot works fine. I am using KPN as provided in The Netherlands. Using the same SIM card in iPhone allows enabling hotspot with no issues.

@robster7674
Copy link
Author

Discussing this on my provider's forum (https://forum.kpn.com/toestellen-en-besturingssystemen-126/pine-phone-linux-manjaro-phosh-als-hotspot-instellen-geeft-geen-internet-op-laptop-580507, Dutch) learns that my phone only gets an ipv6 address for its data connection. Therefore I looked into setting up NAT64 and that succeeded, but I still don't get data on my MacBook.

I followed https://wiki.archlinux.org/title/Internet_sharing#Enable_packet_forwarding to setup ip forwarding.

I added the ipv6 pool as mentioned on:
https://www.jool.mx/en/pool6.html#nat64-jools-pool6

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

1 participant