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 20523 times)

0 Members and 1 Guest are viewing this topic.

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #31 on: November 11, 2015, 03:51:37 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
N4RPS, the equipment I have allowed me to have a separate radio for the reception, so it is full duplex. But I did give some thought to the arrangement you are suggesting. My link speed is already below 4Mbps, so I think I'd go crazy using half duplex as you are. Let me see if I can draw a picture for clarity.

(Upstairs ISP modem/router/wifi)

|| 802.11 ||

(netbook built-in-wifi/Linux Lite or Windows XP/built-in-ethernet) ==Ethernet==

                                                                                                        (Belkin Wireless G Router) ==Ethernet== (wired connections Downstairs)

                                                                                                                                                    || 802.11 ||   (wireless connections Downstairs)

 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #30 on: November 11, 2015, 12:17:28 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

I have a second router here as a repeater. It has ports I can plug Ethernet cables into if I want. It's a Linksys WRT54G running DD-WRT. The down side is that anything connected to it - wireless or otherwise - is limited to 1/2 of your regular speed. Is something like THIS what you want to do?

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #29 on: November 07, 2015, 09:51:19 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
Thanks for the info on the task scheduler, I've been wanting something like that.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #28 on: November 07, 2015, 07:56:27 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)

@wnl
Yes the LL community(IMHO) is the best.


O.K on the initial eth <> eth success, progress


Regarding the situation now with eth <> wifi mmm
Could it be something unrelated..??
I had a WiFi connection that would go to sleep frequently,
and sometimes not wake up, so would loose the connection
first I updated the driver, then do a cron job every 1hr to do:
Code: [Select]
service network-manager restartsince then never had an issue.


EDIT:
Should have given more detail.
I installed gnome-scheduler from synaptic, that gives you Scheduler in the System menu.
If you run it this way from menu tasks are only run as "normal user".


But if you open a terminal and do:
Code: [Select]
gksu gnome-schedulerIt now run's as root, so anything you now schedule this way run's with root privileges.
If you open Scheduler from the menu, you do not see the root tasks.
« Last Edit: November 07, 2015, 08:17:30 AM by Wirezfree »
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 #27 on: November 07, 2015, 12:30:30 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
 :-\

Update: Although the testbed with two Ethernet NICs did work (and perhaps just accidentally at that), applying the same strategy to the netbook where one of the interfaces is wlan0 did NOT work. At least not yet. It did  bring up the bridge and connect to the wired side but would never try or complete getting the wireless side connected. I may look further into this.

One thing to be aware of, it is  necessary to trigger the daemon (NetworkManager) to poll its state and/or refresh things by invoking touch /etc/NetworkManager/NetworkManager.conf. while  experimenting; you must have the proper (or root) privilege to do this. I saw elsewhere  someone was editing the file with null changes to accomplish this, evidently they didn't know about the touch command.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #26 on: November 06, 2015, 10:32:45 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
Glad to hear you got it working!! And thanks for the kind words

I'll be bookmarking this one for sure!!
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 #25 on: November 06, 2015, 10:17:51 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
Gentlemen, we have liftoff!

Thank you both for your patience, knowledge, and research.

When I changed the last line in /etc/NetworkManager/NetworkManager.conf to enable it to deal with the interfaces, the bridge and the slave  interfaces automatically came up before I could even reboot. That is, I changed the last line here from "managed=false" to "managed=true".
____
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

no-auto-default=C8:9C:DC:A9:C1:70,26:AB:81:7B:89:AE,

[ifupdown]
managed=false
_____

firenice03, it was trying out your command that made me think to look into it with nmcli d show a little closer, it revealed that the bridge was not being managed.

Wirezfree, I really respect your ability to think out of the box. Who would have thought about using virtual machines in such an arrangement, very clever. But obviously, I won't have to go down that path.

They say that the linux community is full of people willing to help, you two have shown this to be true. Thanks again and goodnight.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #24 on: November 06, 2015, 06:46:28 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)
@wnl
I guess you have a dilemma, but options, I guess it's down to priorties/needs..??
> If you need it "now" and "all the time", switch to Ubuntu 15.04, follow the link provided by firenice03
> If you like LL, and want to stick with it, Install 15.04, and run LL in Virtualbox, and just let 15.04 host run the bridge for now.
> Dual boot 15.04 with LL, and use it when needed.

I can only assume, given it's in 15.04, it will make it in to 16.0 LTS next year,
LL 3.0 will be based on 16.0, so it should be in LL.

@Jerry
Am I assuming in-correctly..??

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 #23 on: November 06, 2015, 06:39:13 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
More digging... So yes my Network Manager has the option to add a bridge but doesnt seem to activate or show in the command..
Code: [Select]
ifconfig
I did get it to show after the following command:
Code: [Select]
sudo /sbin/ifconfig bridge0 up
I may not have my settings exact but CLOSER????
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 #22 on: November 06, 2015, 05:42:39 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 firenice03, you have indeed hit on the information I have been trying to explain over and over again. Notice the similarity between your link's image





and the one I posted before. And Wirezfree is indeed correct, Linux Lite is based on the earlier version of Ubuntu.

Now, today I tried to upgrade the network-manager and network-manager-gnome packages to the latest and greatest in the Ubuntu repositories, but that failed as I sort of expected it would. (It's not clear to me exactly how one determines when it's okay to update/upgrade packages; I was just going by the higher version numbers.)

But all of this still leaves a bunch of questions. As I understand it, the bridging was added long ago, way before the version which is shipped with Linux Lite. If I have the bridge option appearing in this old version, why doesn't it have a way of activating it. I believe there probably was a different way of achieving the on/off switching that you see in the image above. Nobody would have shipped the software the way it seems to operate in our version. I think there is something wrong in the version of nm-applet we have because it also behaves differently from any of the several others I have run. I may try another from a different desktop environment (and/or windows manager), can't one configure some optional ones such as KDE and the like for the desktop? I'm not any better versed in the panel applet interoperability problem than the package revision problem.

You guys have been great to hang in with me for so long on this challenge. I'll try a little more messing around with it. Then I think tonight or tomorrow I may give the command-line/configuration-file method a try or two just to see if I can get it to work.
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #21 on: November 06, 2015, 02:25:00 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
@firenice
Nice find, You win the "Google Gold Badge of the day" :) :) ;)

Thanks!!!! and a shout out to my keyboard and mouse for making it possible.. :)
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 #20 on: November 06, 2015, 01:47:28 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)
@firenice
Nice find, You win the "Google Gold Badge of the day" :) :) ;)


I think LL is only 14.04
Code: [Select]

dave@asus-mini-1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Linux Lite 2.4
Release: 14.04
Codename: trusty
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 #19 on: November 06, 2015, 01:02:21 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
Bridge + Network Manager + Ubuntu + GUI = Possible???

Gave a look on the ole google..
http://ask.xmodulo.com/configure-linux-bridge-network-manager-ubuntu.html
Quote
Requirement
To avoid any issue, it is recommended that you have Network Manager 0.9.9 and higher, which is the case for Ubuntu 15.04 and later.

Looks feasible - But can Linux Lite as its based on Ubuntu 14.04.3 LTS?? ?????
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 #18 on: November 05, 2015, 10:15:56 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
Please forgive me for not being able to acknowledge who gave me what in the way of links to further information. But somebody here led me to the path of setting the downstream network interface via IPv4 Settings->Method: to "Shared to other computers". I had tried this once before but knew it wasn't working because the interface was being configured to 10.42.0.1/24! Then I read further that it is actually setting up a network and the various services for it. So I adjusted for that and did indeed get the downstream test machine tacked on to the LAN in a fashion.

But this is like Windows XP's Internet Connection Sharing. I'm not looking for ICS. (One guy needed to dual boot with the same (sub)net, see the nightmare he went through just to change that 10.24.0 to 192.168.0 here: http://ubuntuforums.org/showthread.php?t=2179393 )

I had tried using Windows XP's ICS for my setup way back when I started. I do not want to make a subnet just to get to the wireless router's modem port. That's why I switched to bridging on Windows XP and got exactly the behavior I want and need.

Now, if someone could kindly tell me what I'm missing to enable the bridge I can get on with the pathetic life I lead when not updating this thread.  ;)
 

Re: Using network-manager-gnome to bridge eth0 and wlan0
« Reply #17 on: November 05, 2015, 08:47:11 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,

I missed the GUI bit...
I very much doubt it will be via a GUI, unless Ubuntu starts to offer it via a GUI.

Fedora looks like it may have a GUI with Bridge option , scroll down page.
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