1

I am currently trying to setup my raspberry pi 3 to be a wireless access point. It is connected to an Enterprise WPA2 802.1x network via Ethernet. I have credentials for the network but it was easier to register the pi's mac address with my network admin and then just connect it to the network through wired Ethernet.

I want the RasPi to broadcast a wireless network to which I can connect wireless devices that are otherwise incompatible with Enterprise wifi.

So I followed the tutorial available here. In my case, the IP Address of my raspberry pi that I ssh into is 168.150.xxx.xxx, so I used 168.150.255.0/24 instead of 192.168.0.10/24 and similarly for the dhcp-range. (I'm unsure if this is the correct substitution to make, but neither the 192 nor the 168 worked).

However after rebooting I do not see the ssid I chose available to connect to. Any advice would be appreciated. (If there are logs located somewhere that will be of assistance, just let me know where to find them and I can provide them.)

Ingo
  • 42,961
  • 20
  • 87
  • 207

1 Answers1

0

Your Raspberry Pi is already connected to the enterprise network with an ethernet cable. So it is not a big issue to setup an access point and connect it to the enterprise network. You have two options: routing or bridging. You have to decide what you want before going on.

Routing is more flexible and has a better performance than bridging. For example you can route part of your traffic to another subnet, maybe to a remote network at your home with openvpn. The access point and devices connected to it have its own subnet with own DHCP server, means their ip address range differ from that of the enterprise network.

Bridging is completely transparent to the enterprise network. That means, devices connected to the access point get part of that network with same ip address range and they can manage broadcasts. They can use a DHCP server on the enterprise network and any other things using broadcasts (e.g. seeing printer devices, using media sources, etc.). They behave as they were direct connected to the enterprise network.

How to configure an access point you can look at Setting up a Raspberry Pi as an access point - the easy way. For routing follow the instructions on section Setting up an access point and with eth0, with routing. You have to modify the file /etc/systemd/network/04-eth0.network to:

rpi ~$ sudo -Es # only if not already done
rpi ~# cat > /etc/systemd/network/04-eth0.network <<EOF
[Match]
Name=eth0
[Network]
DHCP=yes
IPForward=yes
EOF

Use the NAT solution by modifying the wpa_supplicant@wlan0.service as described. Maybe DNS=84.200.69.80 84.200.70.40 in /etc/systemd/network/08-wlan0.network must be modified to the DNS server used in your enterprise.

For bridging use section Setting up an access point with a bridge.

Ingo
  • 42,961
  • 20
  • 87
  • 207