Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use my gentoo box as access point for my Nexus tablet
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
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 93

PostPosted: Mon Jun 19, 2017 2:23 pm    Post subject: Use my gentoo box as access point for my Nexus tablet Reply with quote

hello.

i have my old-but-good gentoo box, a ThinkPad X61s (http://www.thinkwiki.org/wiki/Category:X61s), using it mostly for surfing currently.
i also have a Nexus 7 tablet, non-rooted, but have LineageOS installed on it.

in my house, there is no wireless router, nor do i plan on buying one, but sometimes i would like to share the wireless connection to my tablet from the gentoo box.

so far i installed wpa_supplicant with the ap and p2p use flags, played a bit around the settings and the various commands and also the gui, but did not manage to share the internet connection.
i also tried it via the wicd gui, but it supports only WEP encryption, so i didn't bother with it any further.

my tablet supports the following wifi connection options (apart from the traditional connection): wi-fi direct, WPS push button and WPS pin entry

i searched around both these forums and the net and every article or manual or ho-to about setting up wpa_supplicant revolved around using it to connect your machine to another access point, or manage one, none of them really had what i want. too bad, that the wpa_gui also only lets yoou to connect to an access point, not make the machine act like one

also worth mentioning, that i would prefer to use a shell script, that i can run when i need the internet sharing, rather than setting it us as a service, this is why i would like to avoid modifying too many config files.

thank you
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10355
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Jun 19, 2017 2:33 pm    Post subject: Reply with quote

What you want is net-wireless/hostapd, but (a) it's a non-trivial setup and (b) not all wireless adapters are capable or acting as an access point. The Hostapd article on the Gentoo Wiki shows how to tell whether your access point will work.

printf wrote:
in my house, there is no wireless router, nor do i plan on buying one, but sometimes i would like to share the wireless connection to my tablet from the gentoo box.
You may want to reconsider that. You can get something on the used market for very little money that's supported by the (Linux based) DD-WRT open source router distribution.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Mon Jun 19, 2017 2:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22541
Location: here

PostPosted: Mon Jun 19, 2017 2:34 pm    Post subject: Reply with quote

You read this?
But first you should understand if your wireless card have AP mode support.

EDIT: John is faster 8O
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 93

PostPosted: Mon Jun 19, 2017 2:37 pm    Post subject: Reply with quote

thanks, will check that first
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