User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Multiple SSID/access-points and dhcpcd.conf

Mon Jul 18, 2016 1:33 am

Multiple SSID/access-points and dhcpcd.conf

rpi0
so if at home I have SSID: myHome and static IP of 192.168.0.101
and at work I have SSID: myWork and static IP of 10.1.2.3.11
and I want to carry my rpi0 back and forth.
I know in wpa_supplicant.conf I can set two networks.
How is it done with the new dhcpcd.conf method?
Antikythera

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Multiple SSID/access-points and dhcpcd.conf

Mon Jul 18, 2016 5:34 am

See viewtopic.php?f=66&t=140252 ('arping' method)

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: Multiple SSID/access-points and dhcpcd.conf

Sat Jul 23, 2016 3:36 am

I tried that thread.
That doesn't seem to be the answer.
What did I miss?
Antikythera

Heater
Posts: 16091
Joined: Tue Jul 17, 2012 3:02 pm

Re: Multiple SSID/access-points and dhcpcd.conf

Sat Jul 23, 2016 5:29 am

You did not miss anything. The thread liked to above is all about setting up static IP addresses which is not what you want to do.

I use my Pi at home and work on the WIFI network at each location. As far as I recall it was just a matter of putting two entries for the two access points in dhcpd.conf

Sadly I'm away from my Pi today so I can't cant and paste that setup as an example for you.

Now, you may also want static IP on the Pi at both home and work. I do that by configuring the WIFI routers to always allocate the same address, static reservation. Not necessarily the same address at both locations mind.
Memory in C++ is a leaky abstraction .

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Multiple SSID/access-points and dhcpcd.conf

Sat Jul 23, 2016 10:43 am

solar3000 wrote:I tried that thread.
That doesn't seem to be the answer.
What did I miss?
No idea... What did you try?

Return to “General discussion”