[Hot News] [SOLVED]: How To Set Static IP Address On Your Raspberry Pi Running Linux Kernel

[Hot News] [SOLVED]: How To Set Static IP Address On Your Raspberry Pi Running Linux Kernel
Di Posting Oleh : Crew Blog
Kategori : FAQ LINUX OS Q&A RASPBERRY PI Solved TUTORIALS WiFi


If you are running one of the default Raspberry Pi Linux Kernel based OS distribution, you can set a static IP address for your Raspberry Pi connected to the internet through a WiFi network hub using the following guidelines.

First, boot into your Raspberry Pi Linux kernel and log in to Raspberry Pi using the default username "pi" and password "raspberry".

Next, open:

/etc/network/interfaces

file as a super user (sudo) to start editing the file. Add the following lines to this file:

iface default inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1

Finally, reboot your Raspberry Pi and once it boots back up, it should now have connected to the WiFi network with the set static IP address 192.168.0.5

You can check the ip address and verify this using the command "ifconfig" on your Raspberry Pi and check for the ip address for wlan0 entry.

Hope this helps!