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

  • From: Mike Ray <mike@xxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Fri, 15 Jul 2016 11:59:39 +0100


No, this is not the answer.  I am trying to find a graphical way to
manage changing WiFi hotspots depending on where I am.  There is no way
I should need to edit files if I am sitting in a coffee shop or public
bar into which I have never been before.



On 15/07/2016 00:56, Angus MacKinnon wrote:

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



-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

=========================================================== 
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: