Posted: Thu Jul 14, 2016 3:08 Post subject: 07-01-2016-r30082 on DIR-860L-A : ebtables crashes
I have multiple wireless devices but my main is the Dlink DIR860L-A and after a full reset/reload the EBTABLES command no longer functions. I have a E4200 running the same version of firmware that does not have the issue.
When ebtables runs on the DIR unit it jumps up and takes 100% cpu (this is on the full version of my config) and keeps the openvpn client from making a connection sometimes.
Flash dir860-webflash 06-24-2016-r30016.bin "reset to defaults"
telnet erase nvram, reboot.
Change IP to my internal IP (192.168.x.x), change MAC clone to what my provider requires, turn on SSH,reboot.
verify internet is working (it is)
Log in and run ebtables -V
A response is given with the expected version number:ebtables v2.0.10-4 (December 2011)
Flash dir860-webflash 07-01-2016-r30082.bin
Change IP to my internal IP (192.168.x.x), change MAC clone to what my provider requires, turn on SSH, reboot.
verify internet is working (it is)
SSH in and run: ebtables -V
*HANGS* ( i have waited up to 3 minutes before - for a version number I find this excessive so I figure it is hung)
top will sometimes show "/usr/sbin/ebtables -t nat -D POSTROUTING -o tap1 --pkttype-type multicast -j DROP"
taking 100% (or whatever is available)
Flash back to dir860-webflash 06-24-2016-r30016.bin reload my config, no issues currently. I was running flawlessly on the 4/11 build if I remember right, and I have currently upgraded to r30016 and have been stable for the last few hours.
Both are working pretty well after eventually getting them flashed with dd-wrt.v24-29974_NEWD-2_K3.x_mega (web gui kept locking up permanently with r30016 mega) - the v1 is being used as a client bridge, while the v3 is being used as an access point and router (without NAT). Did seem to take a few reboots before the web UI would admit the right version, but the basic functionality is pretty stable.
As previously noted, the 5GHz band is missing: it would need the brcmfmac (and brcmutils) kernel modules enabled and the associated firmware for the 0a5c:bd17 (Broadcom 43236 rev3 USB), which I believe is in the svn already under src/router/firmwares/brcm/brcmfmac43236b.bin, installed with the firmware in the right place where the kernel looks for firmware. However, I haven't been able to test this because...
I can't get any USB sticks to mount on the v3, even in FAT partitions. (It appears there's no ext2/3/4 modules or compiled-in support included in the firmware I mentioned above.) Plugging in sticks creates directories (sda_part1, etc) under /mnt and /tmp/mnt, but any mount command appears to be a no-op.
Does anyone know the particular build setup (the makefile I assume is Makefile.brcm3x, but not sure of the device .config nor the kernel .config, and it looks like the makefile replaces and mangles the kernel .config by default...) used to build the dd-wrt.v24-29974_NEWD-2_K3.x_mega firmware or its subsequent nightlies? I've got a build environment set up and have kernel modules, additional apps (apcupsd), etc. building, but since I can't really mount storage with proper unix permissions, I'd either like a smaller build that has space for jffs, or the ability to build a nearly-stock DD-WRT firmware but with those extra modules.
I got a brand new RT-N66W and installed v3.0-r30082 mega (after updating BL and going to Merlin from stock) and it came up fine (of course had to go into recovery mode to get rid of new Asus incompatibility issue, but that only minor).
Everything seems fine so far.
The only issue I have is the RNDIS is not working and on digging found that cdc-ethernet.ko module is not present in the /lib/modules/3.10.102 folder.
Is it possible to get a version of this module which is available for 2.6 kernel in the forums made for the v3.0 kernel ? Or any direction on how to compile it?
I am trying USB tethering with a phone and the phone appears to correctly detect. dmesg has these:
usb 1-1.2: new high-speed USB device number 8 using ehci-pci
cdc_acm 1-1.2:1.1: This device cannot do calls on its own. It is not a modem.
cdc_acm 1-1.2:1.1: ttyACM0: USB ACM device
usb 1-1.2: USB disconnect, device number 8
usb 1-1.2: new high-speed USB device number 9 using ehci-pci
There is no usb0 interface created however when doing ifconfig -a. So would it point to the missing cdc-ethernet driver?
Router WGR3500Lv1 works with latests K3.x beta, however ext2/3/4 modules are missing in mega build, necessary for mounting an external USB to run ipkg/opkg. Inserting modules from big build doesn't work, apparently there are some missing symbols in kernel.
All early K3.x builds, of last couple years, thru 30471, Linux 3.10.102 (10/07/16) show correct 256 nvram in GUI.
Starting with public release build 30534, Linux 3.10.103 (09/01/16) thru latest
30880, Linux 3.10.104 (11/14/16) the nvram shows as 64 KB in GUI.
Good news for the E2500 is all the K3.x builds actually have usable 262144 bytes (256 KB)
Maybe we can fix this cosmetic issue ?
Pics of Web-GUI Status pages
E1200v2 GUI shows same as mentioned above ... same builds.
Fixed with build DD-WRT v3.0-r31544 mega (02/28/17)
Last edited by mrjcd on Wed Mar 01, 2017 0:38; edited 1 time in total
I've noticed my trendnet-812DRUv2 doesn't have ext2/3 modules installed either - kinda wish I understood the posts I read before I bought the router. Oh well, nice piece of ARM hardware, just lacking on the flash. I'm hoping I can compile for it, maybe get some time this weekend to start compiling DD-WRT.
I have been using dd-wrt.v24-3****_NEWD-2_K3 revisions on e3000 up to 2/28 2017 build 31544 (at time of writing this post), and consistently have issues with dhcp on unbridged wifi at 192.168.3.0/24 toggling itself randomly back to 192.168.1.0/24 for some reason and leases wrong IPs. It is very frustrating. I'm using custom vlans and multiple subnets though, dd-wrt for e3000 is the most reliable firmware to work with when it comes to vlans. Hoping 31544 stays stable for me.
consistently have issues with dhcp on unbridged wifi at 192.168.3.0/24 toggling itself randomly back to 192.168.1.0/24 for some reason and leases wrong IPs
I presume you've tested this after a reset (preferably `erase nvram`), and set things back up manually? If so, do k2.6 builds work properly? _________________ #NAT/SFE/CTF: limited speed w/ DD#Repeater issues#DD-WRT info: Builds, Types, Modes, Changelog, Peacock, Demo#
x64 OPNsense 18.7b65|EA6900v1.1 Xwrt 380.70|DD: 35927 WNDR4500v2, WNDR4000@533, E1500@353, R6300v1,
2*E2500, WRT54*@250: GLv1.1 nks, GSv6 µ|RT-N66U@663 Merlin 380.70|OEM: WGR614v10@400-WNR1000v3 mod
I presume you've tested this after a reset (preferably `erase nvram`), and set things back up manually? If so, do k2.6 builds work properly?
Pardon me for late reply, yes I did 'erase nvram' and 30/30/30 reset. I believe the problem is with my hardware, something is happening to my wifi transmitter in my e3000 router, even with stock setting and various older known-stable firmwares I was running into issue of wifi transmitter intermittently dropping (AP would toggle ON/OFF--which is what I think was responsible for causing my dhcp issues. Sometimes AP would completely disappear). To get wifi AP back no nvram erase or 30/30/30 would help, but rather unplugging router for couple hours does the trick.
I have been on r31825 mega and everything has been working perfectly in last 10 days