Hello every one!
Is there anyone  who use George Kashperko patches from
http://www.znau.edu.ua/temp/asus-rt-n16/2011-02-13T17-44/ ?

I have some problem with bgmac, after router start, switch works approx 10
minutes then i can't see any trafic not on eth0, not on vlan2, not on vlan3.
wifi works well.

My configuration:
ASUS RT-N16
debian stable (loaded from usb-hdd drive /dev/sda1)
I use debwrt and openwrt trunk + George patches to compile image.
Linux kernel and nas,wl,wlc was compiled successful (after some tricks
(nothing serious) ).

After flashing trx, and configuring debian i have following settings:

bgmac loaded from /etc/modules
switch-robo loaded from /etc/network/interfaces

there is my network configuration:


linvinus:/home/denis# cat /etc/network/interfaces

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual
pre-up ifconfig eth0 0.0.0.0 up
pre-up modprobe switch-robo
pre-up echo 1 > /proc/switch/eth0/reset
pre-up echo 1 > /proc/switch/eth0/enable_vlan
pre-up echo "1 2 3 4 8" > /proc/switch/eth0/vlan/2/ports
pre-up echo "0 8"       > /proc/switch/eth0/vlan/3/ports
post-down ifconfig eth0 down

auto vlan2
iface vlan2 inet manual
    vlan-raw-device eth0


auto vlan3
iface vlan3 inet static
vlan-raw-device eth0
    address  192.168.5.5
    netmask  255.255.255.0

auto nbn
iface nbn inet ppp
provider nbn
plugin rp-pppoe.so vlan3


auto br0
iface br0 inet static
        address  192.168.1.1
        netmask  255.255.255.0
        nameserver 192.168.1.1
        bridge_ports vlan2 wl0
        bridge_stp no


auto wl0
iface wl0 inet manual
post-up start-stop-daemon -S -v -b -p /var/run/nas.wl0.pid -x
/usr/local/bin/nas -- -P /var/run/nas.wl0.pid -l br0 -H 34954 -i wl0 -A -m
128 -k mypassword -s my_ssid -w 4 -g 3600
post-up wlc ap 1
post-up wlc up
pre-down start-stop-daemon -K -v -p /var/run/nas.wl0.pid
post-down wlc down

I don't use any other utilities or scripts to configure network, only
/etc/network/interfaces

after switch break, i don't see any external traffic with tcpdump on eth0 or
vlans (only wl0 and lo works),
path /proc/switch/eth0 present and working, so switch-robo working
i don't see any new messages in dmesg  and /var/log/syslog
Everything works except switch.

To get switch working again i use /etc/init.d/networking restart (basically
ifconfig eth0 down;ifconfig vlan2 down;ifconfig vlan3 down; and then
configure them again)

Does anyone know how to debug bgmac? Or may be some other methods how to
find problem?

Cheers,
Denis.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to