[raspberry-vi] Re: wicd and wpa2-psk

  • From: Angus MacKinnon <thedogtoy@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Thu, 14 Jul 2016 16:56:42 -0700

I am only a newbie with networking and trying to understand. Would the below be 
part of the answer.


Start by editing the dhcpcd.conf file

sudo nano /etc/dhcpcd.conf



Scroll all the way to the bottom of the file and add one, or both of the 
following snippets. Depending on whether you want to set a static IP address 
for a wired connection or a wireless connection eth0 = wired, wlan0 = wireless.

You’ll need to edit the numbers in the snippet so they match your network 
configuration.

CODE
interface eth0

static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

interface wlan0

static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
 Angus MacKinnon

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: