I have created a hotspot using the NetworkManager UI following tutorials on the internet (e.g.).

# route -n

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    100    0        0 enp2s0f0   U     100    0        0 enp2s0f0   U     600    0        0 wlp3s0

wlp3s0 is serving the hotspot while enp2s0f0 provides a gateway connected to the internet.

The problem:

I can connect to the the hotspot (*wlp3s0) but I am not connected to the internet. So

#ping -I wlp3s0 google.com

does not work. So my device (e.g. mobile phone) does not connect to the internet.

I thought -> goes to -> (internet). But it does not.

How could I define routes, s.t. wlp3s0 can ping the gateway?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.