11/22/2023 0 Comments Raspberry pi 4 routeros![]() # setting the interface address, in my case ether4Īdd address=192.168.2.1/24 interface=ether4 network=192.168.2.0 Wpa_passphrase=the_secret_key # secret key to joing with the wifi network Ssid=the_ssid_name # name of your network Wifi AP configuration, “/etc/default/hostapd”: DAEMON_CONF="/etc/hostapd/nf"Īnd “/etc/hostapd/nf”: bridge=br0 # bridge interface You’ll see “ bridge=br0” option on nf which will fix that misbehavior. Pay attention on “ bridge_ports” the wifi interface is not added on the list, this is because until the hostapd is running it doesn’t make sense to do that. File “/etc/network/interfaces”: source /etc/network/interfaces.d/* Start by configuring the bridge in the Ubuntu server. The wifi interface is in bridge mode with the ethernet port and send all traffic to the Mikrotik gateway where there is a DHCP server in charge to serve IP address to wifi clients. There is a server running Ubuntu 16.04 and offering wifi service as an AP. This is an evolution of the previous post: Ubuntu server as wifi AP and Mikrotik as a DHCP server It’s important to have a very clear picture about the scenario that we’re going to configure in that case because it’s a little bit particular.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |