Graves
Posts: 7
Joined: Sun Oct 06, 2013 1:37 am

Android share mobile data over wifi without enabling hotspot

Wed Oct 16, 2013 5:56 am

Im just wondering if there is anyway to do this. Im trying to use the MINIPI image for raspberry pi. http://www.raspberrypi.org/phpBB3/viewt ... 86#p433186 I get it all to connect, but it will not share my galaxy s3 internet. Any help is appreciated.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 6:57 am

You can use USB tethering.
What distro are you using ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Graves
Posts: 7
Joined: Sun Oct 06, 2013 1:37 am

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 7:54 am

The distro i have no clue. Its whatever the original creater of Minipi used. I know i can use usb, but im wanting to keep it wifi ad hoc without turning on my phones hotspot. When i try the release with an iphone it does what it suppose to do.

So basically the Pi is the hotspot and the phone is the primary internet. Im wanting to push spotify/pandora to the Pi. The page i linked to describes it best.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 7:56 am

Ah right. Got confused.
Have you got a default route set on the Pi ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Graves
Posts: 7
Joined: Sun Oct 06, 2013 1:37 am

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 8:07 am

I connect to the Pi's hotspot and it gives my phone an ip (192.168.42.11) i think i have narrowed it down to the dns servers i need to use on the phone itself. When i do a static ip on the phone i set it like this

Static ip 192.168.42.11
Gateway 192.168.42.1
Dns this is where i would normally put the same as Gateway, but no luck. The default on android is google dns servers which dont work either.

I just dont get how the iphone works and the s3 doesnt.

Graves
Posts: 7
Joined: Sun Oct 06, 2013 1:37 am

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 8:11 am

Basically if u had a Pi laying around and an android phone u can see for urself lol

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 8:18 am

The Gateway needs to be your Android phone.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Graves
Posts: 7
Joined: Sun Oct 06, 2013 1:37 am

Re: Android share mobile data over wifi without enabling hot

Wed Oct 16, 2013 8:20 am

Ok makes since. how do i go about finding out what gateway the mobile carrier uses. And thank u for helping me.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Android share mobile data over wifi without enabling hot

Thu Oct 17, 2013 12:55 am

The gateway is just the IP address of your android phone
192.168.42.11 in this case. It's only for the local network, i.e. from your Pi to your Android mobile.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Return to “Troubleshooting”