[Bridge] Bridge support unavailable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Jul 2004 11:17:51 -0500
"Bert Hubbs" <bhubbs@xxxxxxxxxxx> wrote:

> Yep!
> First lsmod I got no bridge. Second lsmod after modprobe bridge I got
> bridge listed. So here comes the $35 question. How do you make the
> module load at boot?
> After Googleing modprobe, lsmod, insmod there seems to be know way to
> use modprobe to load modules at boot. I came across discussion to add it
> to modprobe.conf but others said this would not cause it to load at
> boot. Another mentioned rc.local but I'm not sure that rc.local will
> load at the right time. On the other had that may not matter but I'm in
> to cleanliness.
> 
> Any suggestions?

Your working too hard at getting it loaded.  The kernel will automatically load the bridge module when the first bridge is created with brctl.  Since brctl has to do an ioctl() to create a bridge, the kernel will load the module if needed.  You can't build the bridge module seperate from the kernel. The kernel needs to know the bridge
module is coming to have the necessary hooks.

Just doing:
	brctl addbr br0
should create bridge br0 and load the bridge module.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux