Network Bridge: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:


An excellent guide on how to set up a bridge can be found at [https://www.nerd-quickies.net/2019/08/20/setup-lan-wlan-bridge-with-openwrt-luci/ Nerd Quickies].
An excellent guide on how to set up a bridge can be found at [https://www.nerd-quickies.net/2019/08/20/setup-lan-wlan-bridge-with-openwrt-luci/ Nerd Quickies].
It requires flashing the router with OpenWrite software.


===Raspberry bridging hints===
===Raspberry bridging hints===


The <code>ifconfig</code> command is helpful to find information and addresses of eth0.
The <code>ifconfig</code> command is helpful to find information and the address of eth0.
After making changes to the Raspberry network setting, 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. That is when your changes go into effect.
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.
<syntaxhighlight>
<syntaxhighlight>
sudo ifconfig eth0 up #Ethernet
sudo ifconfig eth0 up #Ethernet
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, in order to bring up this dialog box.
==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. Barrier is not a component of the network bridge, however Barrier's performance will benefit from a network bridge.

Latest revision as of 01:12, 23 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 to 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, in order to bring up this dialog box.

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. Barrier is not a component of the network bridge, however Barrier's performance will benefit from a network bridge.