Configuring dhcpcd in Raspbian Stretch - Raspberry Pi Forums


hi all,

i'm trying set pi 0 w access point, per official tutorial here:
https://www.raspberrypi.org/documentati ... s-point.md

however, i'm having trouble getting dhcpcd play nice.

after adding following /etc/network/interfaces :

code: select all

allow-hotplug wlan0   iface wlan0 inet static       address 192.168.0.1     netmask 255.255.255.0     network 192.168.0.0
when

code: select all

sudo service dhcpcd restart
following:

code: select all

job dhcpcd.service failed because control process exited error code.  see "systemctl status dhcpcd.service" , "journalctl -xe" details.
relevant bit of output of commands this:

code: select all

not running dhcpcd because /etc/network/interfaces defines interfaces use dhcp client or static address. dhcpcd.service: control process exited, code=exited status=6
appreciated!

use /etc/dhcpcd.conf assign static ips in jessie or stretch.

code: select all

interface wlan0 static ip_address=192.168.0.1/24


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'