Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) How to give PC Internet to cellular?
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
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1404
Location: Montréal

PostPosted: Fri Feb 10, 2012 5:52 pm    Post subject: (Solved) How to give PC Internet to cellular? Reply with quote

I would like to give access to Internet to my cellular using the connection of Gentoo from my PC. If you have a working method using USB, Bluetooth or Wifi, I will use it. It is a Samsung GT-S5830D with Android 2.3.4. Wifi do not support ad-hoc mode by default.
_________________
Paul


Last edited by Logicien on Sun Feb 12, 2012 2:01 am; edited 1 time in total
Back to top
View user's profile Send private message
tremens
n00b
n00b


Joined: 10 Feb 2012
Posts: 3

PostPosted: Fri Feb 10, 2012 7:15 pm    Post subject: Reply with quote

http://en.gentoo-wiki.com/wiki/Wireless/Access_point
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 651
Location: San Diego, CA

PostPosted: Sat Feb 11, 2012 8:40 am    Post subject: Reply with quote

I usually use the phone as a modem to give my laptop Internet connection (i.e. tethering), but I guess you want the other way around: give the phone Internet access via courtesy of your PC. As tremens mentioned, turning the PC's WiFi adapter as an access point is a good method. Note that not all WiFi chipsets support access point mode.
__
sol
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Feb 11, 2012 12:01 pm    Post subject: Re: How to give PC Internet to cellular? Reply with quote

Logicien wrote:
Wifi do not support ad-hoc mode by default.

Then hack it. That's the beauty of Android, it's hackable. Replacement wpa_supplicant is available, one that supports ad-hoc. Search the xda-developers forums, I'm sure you'll find something.
However, I'm kinda surprised Samsung didn't put in ad-hoc support. Motorola does. And of course homebrew ROMs, such as CyanogemMod, also have ad-hoc support.

Or you turn your machine into an access point, if your wifi chip supports it (pretty much the only ones that don't are intel)
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1404
Location: Montréal

PostPosted: Sun Feb 12, 2012 1:56 am    Post subject: Reply with quote

Thank's for the answers. I succeed using the Atheros AR2413 PCMCIA I have for my old Thinkpad T21. I understoud I could not use my Centrino Ultimate-N 6300. I have a Ralink 2800 PCI. I will check later if it have the capability of being an access point. I use Hostapd with Dhcpd, Dnsmasq and appopriates Iptables rules. It's a bit long to configure all that, but give knowledge. I am looking how I can give Internet to the cellular on USB and Blutooth ports. I wrote this message with my cellular. Painfull. I need a HOWTO for that to.
_________________
Paul
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 651
Location: San Diego, CA

PostPosted: Sun Feb 12, 2012 5:25 am    Post subject: Reply with quote

I can pair my phone with a Bluetooth headset, send and receive files to/from my PC, but Bluetooth PAN (Personal Area Network) has always been rather flaky for me. Some Bluetooth modules worked, but most didn't. And even when it was working before, sometimes it just stopped working for no apparent reasons. And that was Windows side; anything other than sending/receiving files was hit-or-miss at best in Linux. Perhaps that was just my case.

Anyhow, when you figure out how to let your phone network connectivity via the USB cable or Bluetooth, please come back and share your experience. Thank you.
__
sol
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