Greetings all!
I'm running Raspbian on my raspberry pi:
--> I got the USB-Wifi installed, and it works with no problems
--> I have the WebIDE running, and I can access it with no problems
Is there a way to get a static IP on the pi WITH the wifi-usb? This would make accessing WebIDE much easier. Right now, with the Pi running DHCP, I have to log into my router to see what IP address the Pi actually is, so that I can access the WebIDE in my browser (not a huge problem, but a static IP would make things easier).
USB-Wifi and static IP for use with WebIDE
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: USB-Wifi and static IP for use with WebIDE
It's certainly possible. Off the top of my head, I think the incantation in your /etc/network/interfaces file should be:
You'll need to edit the values to fit your network of course. The 'gateway' parameter needs to be your router's IP address.
Code: Select all
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
wpa-ssid "your network name"
wpa-psk "your password"
address 192.168.0.100
gateway 192.168.0.1
netmask 255.255.255.0
dns-nameservers 8.8.8.8
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/