Wifi with ethernet
Julie Stamp (8365) 474 posts |
Hi is there a configuration that lets you use wifi (ROOL) and ethernet at the same time on Pi 3B+ please? |
Julie Stamp (8365) 474 posts |
Actaully what I want to do is get vncserver working over wifi headless, but difficult if don’t have vnc on to set up wifi configuration. Has anybody managed to do this ok? |
Bryan Hogan (339) 592 posts |
Definitely possible to have wifi and ethernet active at once with the ROD stack, although I’ve not tried it with VNCserver. I wonder how you’d tell it which interface(s) to listen on? |
Rick Murray (539) 13840 posts |
That’s probably why it is currently one or t’other. |
Alan Williams (2601) 88 posts |
One would normally assume it will listen for connections on any interface and you decide to connect to the wifi address or the lan address as appropriate. |
David J. Ruck (33) 1635 posts |
I’m not sure what is going on with VNCserver and WiFi. It’s listening on all interfaces and works on Ethernet, however using the WiFi address it connects but I get an blank window on Linux’s Remmina VNC client. I’ve tried restarting VNCserver and connecting to over WiFi first, but the same result. I can run other things such as HTTP servers and connect to them on either interface. |
Frederick Bambrough (1372) 837 posts |
Oh! you can have ethernet & WiFi running together on the ROOL version if the startup error message is ignored. Seems WiFi does all the sending but both receive, though what?? Usenet/web ticks ok. |
Steve Pampling (1551) 8170 posts |
Sounds rather like the interface metric for both wired and wireless is identical. If you can find a way to set the metric of the wired as a lower number than the wireless, that will leave the system with less of a quandary about which interface to use to talk to places foreign. |
Julie Stamp (8365) 474 posts |
I have both ethernet and wifi connected, but I can’t ping the wifi address either from the Pi or another computer. They both show up in ifconfig the same except for the ethernet shows a mac address and obviously the IP addresses are different |
Dave Higton (1515) 3525 posts |
Do the interfaces have to be on different subnets? |
Alan Williams (2601) 88 posts |
> I have both ethernet and wifi connected, but I can’t ping the wifi address either Is the ‘other computer’ trying to ping the wifi interface over wifi or the lan? maybe unplug just to be sure its forced to use wifi. Maybe table a diagram with the ip addresses of each interface on the two machines in question, and what you get as the default route an a machine only connected to the LAN and also on a machine only connected to wifi. We need to be able to tell if the access point is routing or bridging between its interfaces. |