You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Using network-manager-gnome to bridge eth0 and wlan0

Author (Read 20524 times)

0 Members and 1 Guest are viewing this topic.

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #16 on: November 05, 2015, 08:31:43 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500

Okay, let me explain one more time; I want to do this from the gui. (And yes, I have looked into the bridge-utils and many articles besides.)

Please focus your attention on this image from RedHat's tutorial. Notice that there is an on/off switch for the bridge. WHAT I WANT is for Linux Lite's nm-applet (the little gadget in the notification area which lets your manage networking) to show me the bridge and to allow me to enable and disable it like that. It's a missing piece of software!


 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #15 on: November 05, 2015, 07:32:22 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Hi,
You peaked my interest, givenn LL2.x is based on Ubuntu 14.04 LTS
Lots of stuff on this subject, this was the last I found, a response to another post. You have probably tried this...

@wnl - Wirezfree is great source for LL...
This link is in NO WAY for Linux Lite - but informational.. https://wiki.archlinux.org/index.php/Software_access_point Hope it helps...

UPDATE:
https://gist.github.com/jhjguxin/5750212 Refers to hostapd (in synaptic??)
« Last Edit: November 05, 2015, 07:38:50 PM by firenice03 »
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #14 on: November 05, 2015, 07:27:36 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,
You peaked my interest, givenn LL2.x is based on Ubuntu 14.04 LTS
Lots of stuff on this subject, this was the last I found, a response to another post. You have probably tried this...

Quote
Originally Posted by myth-eeebox-ben  View Post
it seems a simple bridge interface will not work for wlan0 <--> eth0 because wi-fi packets aren't the same as ethernet packets.


Not true.
A simple bridge interface works fine, and I am using it now. The packets are the same.

* Install bridge-utils to be able to create network bridges:
Code: [Select]
sudo apt-get install bridge-utils
* Edit /etc/network/interfaces:
Code: [Select]
sudo nano /etc/network/interfaces
The interfaces file should look like this after editing it:

Code: [Select]
auto eth0
iface eth0 inet manual
#
auto br0
iface br0 inet dhcp
#
bridge_ports eth0 wlan0
#
# The loopback network interface
auto lo
iface lo inet loopback

* Restart networking with:

Code: [Select]
sudo /etc/init.d/networking restart
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #13 on: November 05, 2015, 07:19:31 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Sorry, I'm a little under the weather and was on my phone...
I think I get what your attempting.. It dawned on me..
I have this USB WiFi adapter.. http://www.tp-link.com/en/products/details/cat-11_TL-WN823N.html
Quote
SoftAP Mode – Turn a wired internet connection to a PC or Laptop into a Wi-Fi hotspot
You'll notice that it has a built-in SoftAP app.. It takes a wired connection "bridges" to WiFi.. From here you use router 2 to connect to the SoftAP allowing use of ports...
WinXP does/did this on certain WiFi adapters (I think)...

This may start going out of my Linux expertize...
You may need to see if there is an updated driver or software to set up allow...
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #12 on: November 05, 2015, 07:12:19 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
Can you when hardwired to router have the pc broadcast an SSID? And pick it up say a phone and access internet? Then maybe its something on the router, like a repeater for the wireless?? Wish my other router was here lol...

Sorry firenice03. I cannot follow you. Let me be clear. I have this working just fine in Windows XP so I don't need to do anything but do the same thing in Linux Lite. If Linux lite can bridge the two network interfaces, yay! If not, then fine. Only I think in that case it would be appropriate to remove the misleading settings and dialog in the applet.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #11 on: November 05, 2015, 07:03:44 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
Say, can anybody explain why Linux Lite's nm-applet allows one to specify a WiFi slave to a bridge given this statement which I have encountered several times:

"Note that a bridge cannot be established over Wi-Fi networks operating in Ad-Hoc or Infrastructure modes. This is due to the IEEE 802.11 standard that specifies the use of 3-address frames in Wi-Fi for the efficient use of airtime. "

(from: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_Network_Bridging.html )

Perhaps it means that you cannot have more than one WiFi slave, I can't tell because "bridge cannot be established OVER" is not precise enough terminology in this case. It also begs the question as to why Windows XP can do it. I suppose the statement is correct and that what is being done for both Windows XP and Linux Lite is something slightly different from true bridging or whatnot. Anyway, any clarification as to whether or not it is true for Linux Lite would be helpful.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #10 on: November 05, 2015, 06:59:28 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Can you when hardwired to router have the pc broadcast an SSID? And pick it up say a phone and access internet? Then maybe its something on the router, like a repeater for the wireless?? Wish my other router was here lol...
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #9 on: November 05, 2015, 05:31:12 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
Yes this. This is indeed what I want to do ... only without buying anything. I have a perfectly good netbook (broken screen, iffy power switch) which can do this using Windows XP. I want to run Linux Lite in place of Windows XP so that I can rdesktop into it and for other reasons. (By the way, Windows XP Home Edition doesn't support rdesktop'ing in but the Pro edition does. There is a way to fake it, but I'm not going there either.)

My current state of affairs is trying to grok the man page for nmcli which apparently lies beneath network-manager-gnome. I feel I'm making progress and appreciate your kind help.

https://www.mankier.com/1/nmcli
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #8 on: November 05, 2015, 05:21:59 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
O.K,
If I understand correctly..??, you want wired ports available downstairs with out running cables..??
I had a similar situation.
I wanted to connect my TV, STB and media player to my network without cables back to my WiFi router ports.
I got a WiFi bridge with 4 ports that connects to my WiFi Router of ebay for about £15, works perfectly.

It is powered from a spare USB socket on the back of my TV, so no need for another power plug/adapter.

At the moment the only one I can find is this one , a new one.


There are one's that do the same, but run over the electrical house wiring,
but they generate interference on short-wave radio.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #7 on: November 05, 2015, 01:12:10 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
No, I couldn't do that.

I have some additional data though. I stuck a second NIC in one of the (already) wired machines. Then I tried to setup a bridge (using the network-manager-gnome interface) between the two NICs. I was unsuccessful in getting anything different. The question is, once a bridge entry is setup, how is it activated?
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #6 on: November 05, 2015, 11:03:32 AM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Of course all this will depend on Models of Routers... And how much I recall ;)
Couldn't you just connect the 2 routers via the Ethernet cable, segregate the two networks at the routers, Router 2 only having access to internet..??
I had something semi-similar, but I had a Linksys router and a version of dd-wrt along with ISP stuff.. Now that router resides in my camper :)...
I had a separate network for working on other peoples virus ridden stuff :)

Some info/ideas
http://www.smallnetbuilder.com/lanwan/lanwan-howto/24428-howtotwoprivlan?limitstart=0
https://brainwreckedtech.wordpress.com/2007/07/06/howto-set-up-a-segregated-home-network/
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #5 on: November 05, 2015, 10:45:25 AM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
In Windows XP, a bridge is a separate concept from Internet Connection Sharing.

I'm trying to run eth0 (via a Cat5 cable) into a wireless router "modem" port. The wireless router then establishes a network of it's own. The netbook is simply connecting the upstairs DSL-modem/wifi-router to the downstair's router's WAN port. The upstairs unit is configured to know about the router at that node, i.e., so called router behind router.

The whole point of doing this is to get some wired ports (on the downstairs wireless router) for plugging older machines into the network without buying a USB wireless adapter for every machine. But it also offers some degree of isolation of upstairs from downstairs as I rent the space.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #4 on: November 05, 2015, 03:50:21 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,

I remember a long time ago on WinXP doing some "bridge" type connection, I think that was for ICS..??
I have never found a need for it for years since connecting  device straight to router.
I don't have WinXP anymore, apart from a VM running an image of my last XP PC.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #3 on: November 04, 2015, 10:03:06 PM »
 

wnl

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU Z520 @ 1.33 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Intel GMA 500
Yes Wirezfree, I have poured over many things appearing to address the issue on the web. In fact I just finished trying to get it to work by using the parprouted command. But all of that other manual configuration is EXACTLY what I'm trying to avoid by using network-manager and network-manager-gnome. If you think that the bridging in network-manager-gnone isn't able to do what it seems made to do, just let me know and I'll stick with Windows XP in that position.

Also, I'm curious, have YOU ever done this using the bridge-utils?
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #2 on: November 04, 2015, 09:26:01 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,

LL is based on Ubuntu 14.04, a quick google show lots of eth/wlan bridging
It involves configuration, and installing bridge-utils
Code: [Select]
sudo apt-get install bridge-utils
Google: Ubuntu 14.04 bridge-utils
Things like this example
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section