Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No internet connection with HOTSPOT?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri Oct 02, 2015 8:29 am    Post subject: No internet connection with HOTSPOT? Reply with quote

I am trying for the first time to connect my laptop through my smartphone's hotspot
I activated hotspot in my smartphone and established WIFI connection with laptop
and get IP from smartphone - nameserver in resolv.conf seems ok
but can not connect to internet - also ping -c 1 8.8.8.8 is failed
Please advise if I need to install any additional package to gentoo in laptop or change any configuration?
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7192
Location: almost Mile High in the USA

PostPosted: Sat Oct 03, 2015 11:08 pm    Post subject: Reply with quote

Does it work for anything else? other OS?
Did you set up your wifi correctly for other wireless access points?

Some carriers do special tricks to prevent you from tethering and want you to pay extra for the service, that's another possibility? From the data you've given, most likely something's wrong with your phone or your isp... Can you at least ping your phone?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Oct 04, 2015 7:41 am    Post subject: Reply with quote

eccerr0r,

Quote:
Does it work for anything else? other OS?

This is my first time to use hotspot so no reference -
Now I just tried with another gentoo's desk top and also with WIN7 OS -
The same result - no internet connection.
Quote:
Did you set up your wifi correctly for other wireless access points?

Yes - and I can connect internet with my WIFI router.
Quote:
Can you at least ping your phone?

I did not know how to find out my phone IP but I guess it is as following:
Code:
ping -c 1 192.168.43.1
PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
64 bytes from 192.168.43.1: icmp_seq=1 ttl=64 time=1.78 ms

--- 192.168.43.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.784/1.784/1.784/0.000 ms


Here is ping result to google - looks transmission is ok but no receive:
Code:
 ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms


Looks there is a problem with my carrier - Right?

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7192
Location: almost Mile High in the USA

PostPosted: Sun Oct 04, 2015 7:47 am    Post subject: Reply with quote

Yeah, either that, or your phone is not set up properly.

I heard that a lot of "carrier branded" phones have carrier firmware that does funny stuff or disables tethering...
You might want to look for third party tethering software. You didn't mention what phone you had and who the carrier is. This is prevalent in the USA (but will new net neutrality laws change this?) but not sure about other countries.

I have one android phone that seems to not do anything funny with the packets, as it's not carrier branded or have carrier firmware - so apparently there are some phones out there that don't dupe the consumer...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43553
Location: 56N 3W

PostPosted: Sun Oct 04, 2015 12:43 pm    Post subject: Reply with quote

pmam,

You should see all the usual WiFi Associating and Authenticating in dmesg for you phones hotspot as you would for your WiFi access point.
Your phone will set a default password. You will need to know that and enter it somewhere for the laptop to connect to the phone.
Its usually this bit that is carrier crippled, since the rest of the link is needed for web access from the phone.

Does tethering via USB work?
Thats harder to set up on your laptop as you need the kernel options to get ethernet interface usb0 to appear but after that, its just wired networking.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum