Difference between revisions of "Network Bridge"

From FlightGear wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
sudo ifconfig eth0 down #Ethernet
 
sudo ifconfig eth0 down #Ethernet
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[File:Raspberry Bridge Router setting.png|thumb|150px|Location of the DHCP check box and Raspberry IP address.]]
 +
The screenshot of the Network Preferences dialog box, shows where the DHCP check box is and the Raspberry address. Right click on the network icon, upper right of the Desktop, next to the speaker icon. Click on Wireless & Wired Network Settings.
 +
 +
 +
==Barrier==
 +
Barrier allows sharing a common keyboard and mouse between many computers and works with different operating systems. It also allows sharing the clip board. Barrier is in the Raspberry software repository. In order to have a Raspberry boot with Barrier running edit the following file. At the end of the file <code>/home/pi/.profile</code>, place the command <code>barrier &</code>. This will only work if the Raspberry is configured auto login, which is it's default setting.

Revision as of 00:39, 20 January 2021


It is possible that there will be an increasing number of Raspberries being added to your FlightGear simulator. It is also possible that the location of said simulator only has a WiFi connection, to the home network. Furthermore, the home network might be saturated by other family menbers. It also might be possible that this cluster of devices is using Barrier, to share a common keyboard and mouse. One solution is to use a common WiFi router as a LAN/WLAN Bridge. Now, all the Raspberries can be connected to the fast switch that is part of the Bridge Router and still have a internet connection.

LAN/WLAN Bridge

An excellent guide on how to set up a bridge can be found at Nerd Quickies. It requires flashing the router with OpenWrite software.

Raspberry bridging hints

The ifconfig command is helpful for find information and the address of eth0. After making changes to the Raspberry network settings, use the below commands to activate the modified settings. After making the changes, take the Ethernet down. After a bit of time, use the up command to restart the Ethernet. This is when your changes go into effect.

sudo ifconfig eth0 up #Ethernet
sudo ifconfig eth0 down #Ethernet
Location of the DHCP check box and Raspberry IP address.

The screenshot of the Network Preferences dialog box, shows where the DHCP check box is and the Raspberry address. Right click on the network icon, upper right of the Desktop, next to the speaker icon. Click on Wireless & Wired Network Settings.


Barrier

Barrier allows sharing a common keyboard and mouse between many computers and works with different operating systems. It also allows sharing the clip board. Barrier is in the Raspberry software repository. In order to have a Raspberry boot with Barrier running edit the following file. At the end of the file /home/pi/.profile, place the command barrier &. This will only work if the Raspberry is configured auto login, which is it's default setting.