simonax12
Posts: 3
Joined: Sat Apr 09, 2016 10:23 pm

Raspberry Pi3 WIFI Static IP?

Sun Apr 17, 2016 5:46 pm

Hi guys,

I wanted to ask how do i setup static ip on the Pi 3 Wifi option. i read lots of guides online and they all talk about old version of raspberry pi and stuff has changed with the new one and some new settings have to be changed which i dont understand. Also most guides are about ethernet static but not wifi cause of the wifi not being available until now on raspberry pi.

Thank you for any help :)

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Raspberry Pi3 WIFI Static IP?

Sun Apr 17, 2016 7:10 pm

Open a window and type this: man dhcpcd.conf[ENTER]

When a window like

Code: Select all

DHCPCD.CONF(5)              BSD File Formats Manual             DHCPCD.CONF(5)

NAME
     dhcpcd.conf — dhcpcd configuration file

DESCRIPTION
     Although dhcpcd can do everything from the command line, there are cases
     where it's just easier to do it once in a configuration file.  Most of
     the options found in dhcpcd(8) can be used here.  The first word on the
     line is the option and the rest of the line is the value.  Leading and
     trailing whitespace for the option and value are trimmed.  You can escape
     characters in the value using the \ character.

     Blank lines and lines starting with # are ignored.

     Here's a list of available options:

     allowinterfaces pattern
             When discovering interfaces, the interface name must match
             pattern which is a space or comma separated list of patterns
             passed to fnmatch(3).  If the same interface is matched in
             denyinterfaces then it is still denied.

 Manual page dhcpcd.conf(5) line 1 (press h for help or q to quit)
appears type: /static [ENTER] n [ENTER] n [ENTER]

By [ENTER] I mean the big enter key on your keyboard.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

tony power
Posts: 33
Joined: Tue Mar 08, 2016 9:07 pm

Re: Raspberry Pi3 WIFI Static IP?

Sun Apr 17, 2016 7:26 pm

The easiest and cleanest way is to fix it using your router

login to yoir router web page and search for an option to fix your Rpi 3 based on its mac and enter your specified ip address

Return to “Beginners”