PDA

View Full Version : [ubuntu] Static IP using 3G+ stick



Raf3600
August 2nd, 2011, 12:36 PM
Hello i'm using a 3G+ stick, by Sfr in France.

Is it possible to get a static local ip address ?

I wasnt able to find the answer with google. Thank you

CyberPingU
August 2nd, 2011, 02:27 PM
If it's a stick it doesn't matter: all you have is a "modem", so you will get on that device the IP that the provider gives you.
All you can do, if (depending on the device) a bridge with a local eth0 or you can use an alias for the device. Doubt you can acheive this with a stick though.

Raf3600
August 2nd, 2011, 04:46 PM
Sorry I was talking about the local ip address.

For apache I would like to have 192.168.1.2 assigned to my server ( ubuntu 04/11 )

spiky001
August 2nd, 2011, 06:26 PM
I use a 3G usb on my server, I have not added a static ip for local but it alawys gets 10.42.43.1. Here is how to set a static ip LINK (http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/)
Hope this helps