This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
connect OP2 to two Access points simutaniously
#1
I am having issues with the reliability of OP2 as an access point so I would like to run Tinypilot in access point mode, and have OP2 connect to it as a client, but I would also like to be able to access OP2 via Teamviewer on my home network or have internet on OP2 while on the dock. Is it possible to add a usb wifi adapter and connect OP2 as a client to 2 networks?
Reply
#2
yes it's possible, you need a second wifi adaptor

You need special iptable rules if you want to route packets from one network to the other as well as these rules on the clients.

I don't have much confidence in the reliability of network manager and have not had very good results managing multiple adaptors especially if you need specific ones on certain networks, mac spoofing and changing the power levels. You can give it a try, but I use a script that runs wpa_supplicant and dhclient or dhcpcd directly.
Reply
#3
So this was much easier with then I expected, although it took some searching to find the newer method using buster.
All I had to do to get 2 wifi client connections was plug in the usb wifi adaptor, buster immediately installed the card and clicking on the wifi symbol I was able to choose which wifi AP I wanted it to connect to.
To define which card connected to which AP I just created 2 .conf files with the ssid and passwords ... follow these instructions
https://superuser.com/questions/469039/w...-dual-wlan

Now one adapter connects to the internet and the other connects to Tinypilot...

And now that i have deleted the network app in Openplotter my reboots are fast again and my wifi is connecting instantly.

I have not figured out how to access the Tinypilot from the other network yet but I can always VNC in and access it from a terminal in openplotter... I think i have done that before.

Now if I could only get Moiteissier Hat to stay connected.... I am having to reinstall the driver package every once in a while.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)