× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Network bridge error

Xaver
Tutor

Network bridge error

Hi,

i've tried to bridge my eth1 with the tap0 device for using it with openvpn in bridging modus.

I've executed the brctl addbr command as follows: 'brctl addbr br0' which leads to the following error:

add bridge failed: Invalid argument

I've tried to update bridge-utils but I can't find a newer version then 1.2.1.

Attached you can find a strace output fpr my brctl command. It would be nice if someone could help me out with this problem...


readynas-pro:~# strace brctl addbr br0
execve("/usr/sbin/brctl", ["brctl", "addbr", "br0"], [/* 15 vars */]) = 0
brk(0) = 0x804e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7ee3000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=18669, ...}) = 0
mmap2(NULL, 18669, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7ede000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libsysfs.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220%\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=44792, ...}) = 0
mmap2(NULL, 47852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7ed2000
mmap2(0xf7edd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xf7edd000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1294572, ...}) = 0
mmap2(NULL, 1300080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7d94000
mmap2(0xf7ecc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x138) = 0xf7ecc000
mmap2(0xf7ecf000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7ecf000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7d93000
set_thread_area({entry_number:-1 -> 12, base_addr:0xf7d93ad0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xf7ecc000, 4096, PROT_READ) = 0
munmap(0xf7ede000, 18669) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
brk(0) = 0x804e000
brk(0x806f000) = 0x806f000
open("/proc/mounts", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7ee2000
read(4, "rootfs / rootfs rw 0 0\n/dev/md0 "..., 1024) = 456
close(4) = 0
munmap(0xf7ee2000, 4096) = 0
lstat64("/sys/class/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
ioctl(3, 0x89a0, 0xff895eab) = -1 ENOPKG (Package not installed)
ioctl(3, SIOCSIFBR, 0xff8953e0) = -1 EINVAL (Invalid argument)
write(2, "add bridge failed: Invalid argum"..., 36add bridge failed: Invalid argument
) = 36
exit_group(1) = ?
Process 3005 detached
Message 1 of 15
hoogends1
Aspirant

Re: Network bridge error

Same problem here:
I'm trying to setup an openvpn server on my Readynas Pro and i get same error.
Any1 got an idea if bridging will work at all on the Readynas Pro ?

I installed openvpn, bridge-utils via apt-get and i got to the point that i had a working routing vpn.
But i want to access all systems in my LAN via VPN, so bridging looked the way to go.
(Not sure if this also possible with routing vpn)

Regards.
Message 2 of 15
lurium
Aspirant

Re: Network bridge error

Still not working with bridge-utils_1.4-5_i386.deb

http://www.linuxfoundation.org/collabor ... ing/bridge


"You need to enable bridging in the kernel.
Set "networking -> 802.1d Ethernet Bridging" to either yes or module "


nas:~# modprobe bridge
FATAL: Module bridge not found.


So basically the modules is missing, asked yoh-dah for the kernel modules tar.gz that fits the kernel in RAIDiator 4.2.16-T25.

Yes im a crazy beta tester 🙂
Message 3 of 15
cgalpin
Aspirant

Re: Network bridge error

Did you ever get this figured out?
Message 4 of 15
lurium
Aspirant

Re: Network bridge error

Nope, readynas never posted the kernel modules like they promised with the next beta release T33.

Without them we cant get the module into the kernel.
Message 5 of 15
cgalpin
Aspirant

Re: Network bridge error

That sucks. Ok, maybe time to put this pogoplug that's been sitting in a box for years to good use 🙂
Message 6 of 15
igorek1
Aspirant

Re: Network bridge error

now that the final firmware is out, anyway to make the bridging work?

thanks
Message 7 of 15
WhoCares_
Mentor

Re: Network bridge error

If it's just the bridging module that's missing, I could provide that. I'm currently compiling kernel modules for the ReadyNAS anyway.

-Stefan
Message 8 of 15
igorek1
Aspirant

Re: Network bridge error

Great, can you post it?

thanks
Message 9 of 15
WhoCares_
Mentor

Re: Network bridge error

For what ReadyNAS? Sparc or Intel, 64 or 32 bit?

-Stefan
Message 10 of 15
igorek1
Aspirant

Re: Network bridge error

for readynas pro

2.6.37.5.RN.x86_64.2.1

thanks
Message 11 of 15
WhoCares_
Mentor

Re: Network bridge error

http://whocares.de/rpro/bridge_modules_64.tar.gz

To install:
cd
wget http://whocares.de/rpro/bridge_modules_64.tar.gz
cd /lib/modules/2.6.37.5.RNx86_64.2.1/kernel
tar xzf /root/bridge_modules_64.tar.gz
depmod -a


-Stefan
Message 12 of 15
igorek1
Aspirant

Re: Network bridge error

Thanks Stefan, I got one step closer.

Now everytime I create a bridge, 30 sec after, I loose connection to the NAS, until I reboot. do you have any suggestions?


thanks again for your help
Message 13 of 15
WhoCares_
Mentor

Re: Network bridge error

Without the output from "dmesg" or excerpts from /var/log/syslog and /var/log/messages there's not much I can suggest. Maybe there's a background task on the ReadyNAS checking for network connections that is getting confused by the bridge setup but I honestly don't know.

-Stefan
Message 14 of 15
erupter
Aspirant

Re: Network bridge error

Hi Whocares.
Did you do any other work on the bridge-utils?
I would appreciate the module for the sparc platform.
Message 15 of 15
Discussion stats
  • 14 replies
  • 5551 views
  • 0 kudos
  • 7 in conversation
Announcements