[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:network_services:wifi_to_eth_bridge_routing [2017/08/02 13:10 (UTC)] – [Solution for Slackware, step-by-step] slacker | howtos:network_services:wifi_to_eth_bridge_routing [2017/08/02 20:56 (UTC)] (current) – Spelling, syntax, layout alienbob | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | + | ====== |
- | ====== | + | |
- | This Howto describes, how to interconnect wireless and wired network interfaces on the same Linux computer, to enable unmodified TCP/IP packets to transpass. On other places this is mentioned as network bridge or WiFi line extender or WiFi Internet share. | + | This Howto describes, how to interconnect wireless and wired network interfaces on the same Linux computer, to enable unmodified TCP/IP packets to pass from one interface to the other. In other places this is mentioned as network bridge or Wi-Fi line extender or Wi-Fi Internet share. |
- | **The reason for this HOWTO: word __bridge__ is misleading** | + | **The reason for this HOWTO: |
- | For a network bridge we assume a device that transfer | + | For a network bridge we assume a device that transfers |
- | One can create a bridge device (virtual) and add members to it. This works only for a members of a type wired - eth network cards. | + | One can create a bridge device (virtual) and add members to it. This works only for bridge |
- | When you want to add a WiFi device to the bridge, you hit to a barrier: | + | When you want to add a Wi-Fi device to the bridge, you hit a barrier: |
- | So you can find many manuals on the Internet, how to circumvent this (in a form of putting | + | You can find many manuals on the Internet |
- | WiFi network card (member of bridge) | + | The Wi-Fi network card (member of the bridge) |
- | So searching for "wifi eth bridge" | + | So searching for "wifi eth bridge" |
====== General solution ====== | ====== General solution ====== | ||
- | A working solution is "Proxy ARP Routing" | + | A working solution is "Proxy ARP Routing" |
- | You simply enable IP forwarding and then for every device connected to eth side of a " | + | You simply enable IP forwarding and then for every device connected to the wired (eth) side of a " |
- | < | + | < |
====== Solution for Slackware, step-by-step ====== | ====== Solution for Slackware, step-by-step ====== | ||
- | Tested and working on Slackware64-14.2, | + | Tested and working on Slackware64-14.2, |
- | This solution is for static IP addresses. See below link of original source for a use of DHCP.\\ | + | This solution is for static IP addresses. See below link of original source for a scenario that uses DHCP. |
**Assumptions**: | **Assumptions**: | ||
- | We want to interconnect one WiFi and one eth network card - devices wlan0 and eth0.\\ | + | We want to interconnect one Wi-Fi and one wired (eth) network card - the network |
- | Prepare Slackware box so, to be able to communicate over WiFi adapter (Networkmanager, rc.inet1 ...), eth adapter is idle.\\ | + | Prepare Slackware box so that you are able to communicate over the Wi-Fi adapter (using NetworkManager, rc.inet1 |
- | I had set up WPA2 AES verification with Networkmanager | + | I had set up WPA2 AES verification with NetworkManager |
- | Disable all bootable | + | Disable all on-boot |
- | 1. IP forwarding must be enabled | + | - IP forwarding must be enabled |
- | 2. download & compile & install [[http:// | + | |
- | 3. edit / | + | |
- | Below lines from **/ | + | |
- | < | + | |
IFNAME[1]=" | IFNAME[1]=" | ||
IPADDR[1]=" | IPADDR[1]=" | ||
Line 55: | Line 52: | ||
WLAN_WPADRIVER[0]=" | WLAN_WPADRIVER[0]=" | ||
</ | </ | ||
+ | - set ''/ | ||
+ | # chmod +x / | ||
+ | </ | ||
+ | - add a line < | ||
+ | / | ||
+ | </ | ||
- | 4. set / | + | That's all. Reboot and you have a working Wi-Fi - eth bridge, also called Wi-Fi extender or Wi-Fi Internet share. |
- | chmod +x / | + | |
- | 5. add a line:\\ | + | |
- | / | + | |
- | + | ||
- | into **/etc/rc.d/ | + | |
- | That's all. Reboot and you have a working WiFi - eth bridge, also called WiFi extender or WiFi Internet share.\\ | + | :!: Note on parprouted compilation: |
- | + | The '' | |
- | :!: parprouted compilation: | + | Slackware installs the '' |
- | parprouted man page section " | + | |
- | parprouted requires " | + | |
====== DHCP enabled variant ====== | ====== DHCP enabled variant ====== | ||
Line 78: | Line 74: | ||
* Original source: | * Original source: | ||
- | |||
- | |||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
- | <!-- * Originally written by [[wiki: | ||
- | <!-- * Contributions by [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |