Bridge question on SlugOS 4.8
- Hi Folks-
I'm running SlugOS/BE 4.8 in an attempt to build a bridge between an
ethernet and a USB cdma (WAN) card. I've got the CDMA card up &
running as ppp0. I've got the following packages installed and running:
> ipkg list_installed |grep -i bridgeSo far, so good. Unfortunately I can't seem to add the ppp0 interface
> bridge-utils - 1.2-r0 - Tools for ethernet bridging.
> kernel-module-bridge - 184.108.40.206+svnr927-r0 - bridge kernel module
to the bridge. My read of the docs at
says that ppp is now supported (I know that it wasn't a long time ago,
but believe the kernel patches were added to support this).
When I try, I get:
> root@wan-bridge:~$ brctl addbr test3I've looked that the bridge-utils package source and it appears as if
> root@wan-bridge:~$ brctl addif test3 ppp0
> can't add ppp0 to bridge test3: Invalid argument
the failing function is br_add_interface(). Not sure if the
bridge-utils was compiled with #define SIOCBRADDIF and I haven't yet
crawled through the kernel-module-bridge source, but would appreciate
some guidance. The 2.6.21 kernel should support bridging. Is it a
downlevel kernel-module-bridge package? Was trying to avaoid setting
up a build environment.
FYI, ppp0 is the correct interface and it is available...
> root@wan-bridge:~$ ifconfig ppp0Mask:255.255.255.255
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:220.127.116.11 P-t-P:18.104.22.168
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1and
> RX packets:9 errors:0 dropped:0 overruns:0 frame:0
> TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:744 (744.0 B) TX bytes:442 (442.0 B)
> $ uname -aarmv5teb unknown
> Linux wan-bridge 22.214.171.124 #1 PREEMPT Mon Dec 24 23:12:24 UTC 2007