Page 1 of 1
3G internet for Raspberry pi- static IP
Posted: Fri Jun 07, 2013 8:10 am
by bobdxcool
I have suucessfully configured a Wireless USB 3g modem using Sakisg3g for Raspberry pi, and am able to access internet on pi using it.
I want to stream a video over the internet all the time , for which I need a static Ip address.
Is it possible to assign a static Ip address for the USB dongle ??? If yes, how to do so ??
Will that work everytime ???
Re: 3G internet for Raspberry pi- static IP
Posted: Fri Jun 07, 2013 8:30 am
by DaveDriesen
If I understand correctly, you've created a ppp connection to your 3G internet provider using a USB 3G modem, right?
If so, the IP address you receive, is most likely assigned by your internet provider.
The bad: most 3G carriers won't even provide you with a public IP, let alone a static one. This means that if you want to approach your pi from the internet, using a fixed IP, you're probably out of luck unless you have a ton of $€£ to spend.
The good: think about using openvpn or similar to connect to your LAN, or establish a reverse ssh tunnel using autossh.
Once that is done, you will be able to reach your pi over that channel.
Dave Driesen
Linux dev and oldskool elite
Re: 3G internet for Raspberry pi- static IP
Posted: Fri Jun 07, 2013 2:25 pm
by bobdxcool
Yes, I'm using PPP protocol.
I could not understand by what you meant, as i'm a newbie.
So, you say its impossible to get static ip for the usb modem, without spending money.
I did not get the other part you said.
Re: 3G internet for Raspberry pi- static IP
Posted: Fri Jun 07, 2013 2:35 pm
by redhawk
You will not get a static IP from a 3G provider, also your IP is highly likely to be internal anyway like a NAT router which basically means your Pi cannot receive incoming connections.
Richard S.