http://leaf.sourceforge.net/devel/jnilo
----- Original Message -----
From: "Manfred Schuler" <[EMAIL PROTECTED]>
I defined the interfaces in /etc/network/interfaces
<snip>
Then I declared the bridge and removed the interfaces
auto br0
iface br0 inet static
        address 192.168.1.254
        network 192.168.1.0
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        bridge_ports eth1 wlan0
now when booting I get the error message
Don't seem to be have all the variables for br0/inet.
I then found a mail regarding the netmask parameter and changed it to
        masklen 24
but nothing changed.
<snip>
OK I think there are two different problems here.
One you already found yourself you need to use masklen. More precisely your
interface file sould look like:
auto br0
iface br0 inet static
        address 192.168.1.254
        masklen 24
        broadcast 192.168.1.255
        bridge_ports eth1 wlan0

(Remove the network statement, useless for 2.4 kernels, use masklen instead of
netmask and I am not sure you really need gateway)

The second problem is a Bering bridge.lrp bug.
When you install bridge.lrp it unload a "bridge" script in
/etc/network/if-pre-up.d directory. Whatever script is in this directory will
be executed to begin with, before the interfaces are brought up.
Now if you look at what is inside this scipt, you will notice these lines:
<snip>
for i in $INTERFACES
do
  brctl addif $IFACE $i && ifconfig $i 0.0.0.0 up
done
<snip>
The problem is there: Bering does not provide ifconfig any more (it used to be
the case in earlier version) and I forgot to change that rarely used script.
So either install ifconfig.lrp or replace the ifconfig by its ip equivalent.
To be honest I do not know the meaning of this ifconfig $i 0.0.0.0 up. Any idea
from the list ? (I would have rather said something like ifconfig eth1 promisc)

Thanks for spotting the bug. Let me know if it fixes your problem.
Cheers
Jacques



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to