OpenWrt Forum Archive

Topic: D-link DIR-505 support?

The content of this topic has been archived between 2 Apr 2018 and 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Got a DIR-505 A2 recently and tried to flash it with plesius image.

Damn, should have looked at the version number before...

Flashed the device with the emergency recovery method (pushing reset @ power up until red light starts to blink 2sec on, 1sec off). Red light went out, and stayed out.

Not reachable via 192.168.0.1 or 192.168.1.1
After powerup, red light comes up for some seconds, then no red light any more.

P/N: EIR505MEU....A2E
S/N: QBWS103018189
H/W Ver.:A2   F/W Ver.: 1.06

Shame on me I didn't look for the H/W rev. earlier.. :-/

But there's still hope: Emergency recovery mode still works.

Apart from that: Any suggestions how to proceed?

Hi,
I have a DIR-505 with the openWRT on it (thanks to the binary from plesiu in his last post).
I am trying to set-up a wifi-hotspot (like the original firmware does), but I don't know how it really works.
What I want to do: Set-up a connection in WIFI to my home router (where the internet is), and to broadcast another SSID in
wifi, to connect my devices (iPad, Portable, netbook, etc.), like the original firmware works with the Switch in the position WIFI-HOTSPOT.

Anyone?

plesiu wrote:

There are a lot of tutorial how to configure hotspot with openwrt firmware. In google type "openwrt hotspot" and then first result indicate http://wiki.openwrt.org/doc/howto/wireless.hotspot.

Thank you for the answer.
I saw your link from openwrt, and all the solutions looks like to build a kind of gateway in the router for a cybercafe, and unfortunatelly, that's not what I am looking for.

I want to be able to configure a second wireless network on the device (a different SSID, password, security), and connect as a client to a WIFI (as a Station (STA) infrastructure mode), and shares that connection (internet for example) in the new network created with different SSID+pass+security (this network would be a AccessPoint (AP) infrastructure mode to receive the clients, like my phone or iPAD). This the DIR-505 was capable to do with the stock firmware, but poorly (DNS problems with the firmware forced me to try another sollution, and I openWRT seems to be the way).

I found those definitions for the network types in http://wireless.kernel.org/en/users/Documentation/modes

I think now after some reading that I need to configure my router to be able to understand the dipswitch positions. With that, start a script to configure the bridge, vlans, ports, gateways, ips, for each configuration of the DIR-505.

But before that, I still have to do some basic configuration to my DIR-505. Just for clarify: I am just starting to explore the openWRT, and I am trying to configure everything via uci commands, which is a pain for me (I'm new at this).

The binary you shared did not have Luci installed and my internet is via WIFI (shared from my cousin's home in the same building), so commands like opkg update do not work yet for me.

Have you got luci interface? You can broadcast new wi-fi network via luci. Open Network->WI-FI then click add. You can configure SSID, password etc and then new WI-FI network will be broadcast.

I thin you should read http://wiki.openwrt.org/doc/recipes/guest-wlan

plesiu wrote:

Have you got luci interface? You can broadcast new wi-fi network via luci. Open Network->WI-FI then click add. You can configure SSID, password etc and then new WI-FI network will be broadcast.

I thin you should read http://wiki.openwrt.org/doc/recipes/guest-wlan

That's exactly what I need! Thank you very much!

I still couldn't figure out the parameters which I need to set for my DIR-505 connect to a wifi network, and so download the Luci packages using the opkg tool.

If I manage to get the internet working, I can install Luci and configure my router more easily.

(Last edited by spam-toaster on 24 Jun 2013, 18:03)

To enable wi-fi through cli (command line interface) you need to edit just one file /etc/config/wireless. It is documented at http://wiki.openwrt.org/doc/uci/wireless.

As I remember you can execute only "wifi" command and then wifi will be broadcast.

plesiu wrote:

To enable wi-fi through cli (command line interface) you need to edit just one file /etc/config/wireless. It is documented at http://wiki.openwrt.org/doc/uci/wireless.

As I remember you can execute only "wifi" command and then wifi will be broadcast.

YES! It works now!

After some trial and error with the internet connection, I made a bridge in windows with my ethernet adapter and my wireless adapter, to share my internet with the DIR-505.
In the configurations of the openWRT, I changed the ip to the same subnet (192.168.0.xxx), and I configured the dns to google's DNS 8.8.8.8, and my router it recognized the internet bridge!

root@OpenWrt:/etc/config# vi network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.0.123'
        option gateway '192.168.0.1'
        option dns '8.8.8.8'

config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'

~
~
~
root@OpenWrt:/etc/config# ifup lan
^[[A^[[A^[[AConfiguration file: /var/run/hostapd-phy0.conf
^[[BUsing interface wlan0 with hwaddr c8:be:19:5c:b2:33 and ssid "Teste DIR-505"
root@OpenWrt:/etc/config# ifup lan
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr c8:be:19:5c:b2:33 and ssid "Teste DIR-505"
root@OpenWrt:/etc/config# ifup wan
root@OpenWrt:/etc/config# opkg update
Downloading http://downloads.openwrt.org/attitude_a … ckages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.


root@OpenWrt:/etc/config# opkg install luci
Installing luci (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing uhttpd (2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-mod-admin-full (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-mod-admin-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-lib-web (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-lib-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing lua (5.1.4-8) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing liblua (5.1.4-8) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing libuci-lua (2013-01-04.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing libubus-lua (2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-lib-sys (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-lib-nixio (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-sgi-cgi (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-proto-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-i18n-english (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-lib-ipkg (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-theme-openwrt (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-theme-base (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-app-firewall (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing luci-proto-ppp (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing libiwinfo-lua (36) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Installing libiwinfo (36) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Configuring luci-lib-sys.
Configuring liblua.
Configuring libuci-lua.
Configuring lua.
Configuring libubus-lua.
Configuring luci-lib-core.
Configuring luci-lib-nixio.
Configuring luci-sgi-cgi.
Configuring luci-lib-web.
Configuring luci-proto-core.
Configuring luci-i18n-english.
Configuring luci-mod-admin-core.
Configuring libiwinfo.
Configuring libiwinfo-lua.
Configuring luci-theme-base.
Configuring luci-theme-openwrt.
Configuring luci-app-firewall.
Configuring luci-lib-ipkg.
Configuring luci-proto-ppp.
Configuring luci-mod-admin-full.
Configuring uhttpd.
Configuring luci.
root@OpenWrt:/etc/config#

Now time for some configurations with luci... smile

thank you plesiu for all the help!

(Last edited by spam-toaster on 25 Jun 2013, 01:54)

Thanks to plesiu for sharing the precompiled image.

I'm struggling with the network setup tho. It looks good when I connect over WiFi to the device when no ethernet cable is plugged in (I get an ip over dhcp and all), but the moment the ethernet cable is plugged, my dir-505 turns into AP instead of router -- it no longer issues ip and if I change my ip address manually and ssh into dir-505 it doesn't know it's online:
root@dir-505:/etc/config# ifconfig  eth1
ifconfig: eth1: error fetching interface information: Device not found

I'm sorry if I'm not using the proper terms, but hopefully you guys can understand what's going on and provide me with some directions on where do I go from here.
thanks!

What is still missing before one can commit the patch to trunk, such that the the DIR505 artifacts (squashfs and jffs) will be build automatically in

http://downloads.openwrt.org/snapshots/trunk/ar71xx/

?

(Last edited by sophitus on 4 Jul 2013, 08:41)

plesiu wrote:

Hello everyone
I want to thank you all for really good job. I recompiled it and currently I can mount USB device. I have no serial port cable and before apply new firmware I restore original d-link firmware.

Here is a link to firmware file: https://mega.co.nz/#!wgJUhACR!ICLw_SO1d … 4Uv8xFmFlk

Seem like it is not working anymore it said Upgrade Successfully!, but after that also it is not working, no light on device.

NZLamb wrote:

I've been following this for the last few weeks with some interest and had mine running but very rough until danz added his latest patch.

Here's a vanilla firmware image for those who just want their DIR-505 modded without having to compile anything:

https://mega.co.nz/#!mgIyCazI!M2_-Aw6w6 … Tn1qc1lU3g

Just upload it via the standard web interface and go. It is very basic but you can grab anything else you want as packages. I've included all of the suggestions from tangsoft above and this is based on danz's patch.

Big thank you to rAndy, danz and tangsoft for their work and suggestions.

Does it work on DIR-505L ?
Thanks

danz wrote:

Okay here it is.
http://pastie.org/7936110

This is against AA 12.09, not trunk. Haven't tried it against trunk, haven't had time. If somebody would try it that would help.

Hello. I made some changes to this patch and apllied to the trunk.
This made a sysupgrade bin with kernel 3.10, but there's no factory bin.
The sysupgrade worked, and I noticed that the DIR-505-A1 boots faster with this image.
Maybe something's missing?

http://pastie.org/8178120

*my fault, wrong patch, edited to right patch.

(Last edited by brsinal on 26 Jul 2013, 16:03)

While searching for a new router the DIR-505 got my attention, because of it's simple format.
What I didn’t know was the serial connector would be bad almost impossible to make a good solder and every time I wanted to access the serial interface I would need to open the router, so I got to work and came with a simple solution with some female headers and some tools.
http://imageshack.us/a/img547/8919/y686.jpg
http://imageshack.us/a/img14/7642/n0i1.jpg
http://imageshack.us/a/img443/3759/4c39.jpg
http://imageshack.us/a/img713/5433/4hgf.jpg
http://imageshack.us/a/img441/8798/0jo0.jpg
http://imageshack.us/a/img826/3519/mt3m.jpg
http://imageshack.us/a/img199/971/6i7o.jpg
http://imageshack.us/a/img7/2489/d2z0.jpg
I hope this might be useful since you can access any time, without issues, to the serial interface!!!


When will the patch be submitted to trunk to build our own versions?

Best Regards

(Last edited by doiga on 8 Aug 2013, 22:36)

I've been trying to build the 12.09 firmware with the supplied patches but there seems to be some problems:

the one in http://pastie.org/7936110 seems to be missing some code in dir_505_a1_setup

I tried using the code from the trunk patch: http://pastie.org/8178120 but that didn't completely fix the problem.

And the code here: http://www.packetfog.com/openwrt-on-a-dir-515/

Doesn't patch and seems incomplete: the patch doesn't mention patching dir_505_a1_setup.

Can anyone offer an up to date patch against 12.09 that works?

... and how do I then apply that patch without needing to go back to square one and start the build all over again?

Thanks

asteele4 wrote:

I've been trying to build the 12.09 firmware with the supplied patches but there seems to be some problems:

the one in http://pastie.org/7936110 seems to be missing some code in dir_505_a1_setup

Here are the missing lines. But be careful, this may be outdated. I was able to patch a working 12.09 image, but had to edit some outdated lines. I don't have the patch anymore, since I quit working with AA when started working with trunk.

tangsoft wrote:
danz wrote:

This is against AA 12.09, the release.

in patch file, a few lines missing in trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c:


-    ath79_register_wmac(art + DIR_505A1_CALDATA_OFFSET, lan_mac);
-}
-MIPS_MACHINE(ATH79_MACH_DIR_505_A1, "DIR-505-A1","D-Link DIR-505 A1", dir_505_a1_setup);


asteele4 wrote:

I tried using the code from the trunk patch: http://pastie.org/8178120 but that didn't completely fix the problem.

I only made a sysupgrade image with this, I couldn't make a factory image. Anyway, it's meant for trunk, not for AA 12.09 (different kernel version). The development team put in the trunk source new code to support dir-505-A1, and it's probably more complete than this patch. I'm still having issues and looking for the problem in the log files.

hi evereryone!

i can't get it work the usb storage
i tried with these binaries:

http://www.internet6.ro/firmware/dlink-dir-505/
https://mega.co.nz/#!wgJUhACR!ICLw_SO1d … 4Uv8xFmFlk

This is the ouotput:
root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/attitude_a … ckages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
root@OpenWrt:/#  opkg install kmod-usb-storage
Installing kmod-usb-storage (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:
*      kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) *   kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) *
* opkg_install_cmd: Cannot install package kmod-usb-storage.

PLEASE HELP!
sorry about my english

nix-v wrote:

hi evereryone!

i can't get it work the usb storage
i tried with these binaries:

http://www.internet6.ro/firmware/dlink-dir-505/

Hello, my build has Barrier Breaker:

root@dir505:~# opkg list-installed
6in4 - 14-1
6rd - 4-1
6relayd - 2013-07-26-2ed520c500b0fbb484cfad5687eb39a0da43dcf7
6to4 - 12-1
6tunnel - 0.11rc2-3
base-files - 146-r37738
block-mount - 2013-07-31-21737b1ff2e0be28b68293c7ac198a8fe505cbc2
busybox - 1.19.4-7
chat - 2.4.5-10
comgt - 0.32-21
ddns-scripts - 1.0.0-21
dnsmasq - 2.66-3
dropbear - 2012.55-2
ds-lite - 1-1
etherwake - 1.09-3
firewall - 2013-07-16
ip - 3.10.0-1
ip6tables - 1.4.19.1-2
iptables - 1.4.19.1-2
iptables-mod-conntrack-extra - 1.4.19.1-2
iptables-mod-filter - 1.4.19.1-2
iptables-mod-ipopt - 1.4.19.1-2
iptables-mod-iprange - 1.4.19.1-2
iptables-mod-ipv4options - 2.3-1
iw - 3.10-1
jshn - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
kernel - 3.10.4-1-bca915a5b2ed5fe9ca055efa133edeeb
kmod-ath - 3.10.4+2013-06-27-1
kmod-ath9k - 3.10.4+2013-06-27-1
kmod-ath9k-common - 3.10.4+2013-06-27-1
kmod-cfg80211 - 3.10.4+2013-06-27-1
kmod-crypto-aes - 3.10.4-1
kmod-crypto-arc4 - 3.10.4-1
kmod-crypto-core - 3.10.4-1
kmod-crypto-ecb - 3.10.4-1
kmod-crypto-hash - 3.10.4-1
kmod-crypto-manager - 3.10.4-1
kmod-crypto-sha1 - 3.10.4-1
kmod-fs-ext4 - 3.10.4-1
kmod-fs-ntfs - 3.10.4-1
kmod-fs-vfat - 3.10.4-1
kmod-gpio-button-hotplug - 3.10.4-1
kmod-gre - 3.10.4-1
kmod-ifb - 3.10.4-1
kmod-input-core - 3.10.4-1
kmod-ip6-tunnel - 3.10.4-1
kmod-ip6tables - 3.10.4-1
kmod-ipt-conntrack - 3.10.4-1
kmod-ipt-conntrack-extra - 3.10.4-1
kmod-ipt-core - 3.10.4-1
kmod-ipt-filter - 3.10.4-1
kmod-ipt-ipopt - 3.10.4-1
kmod-ipt-iprange - 3.10.4-1
kmod-ipt-ipv4options - 3.10.4+2.3-1
kmod-ipt-nat - 3.10.4-1
kmod-ipt-nathelper - 3.10.4-1
kmod-ipt-nathelper-extra - 3.10.4-1
kmod-iptunnel - 3.10.4-1
kmod-iptunnel4 - 3.10.4-1
kmod-iptunnel6 - 3.10.4-1
kmod-ipv6 - 3.10.4-1
kmod-leds-gpio - 3.10.4-1
kmod-ledtrig-heartbeat - 3.10.4-1
kmod-ledtrig-netdev - 3.10.4-1
kmod-ledtrig-usbdev - 3.10.4-1
kmod-lib-crc-ccitt - 3.10.4-1
kmod-lib-crc16 - 3.10.4-1
kmod-lib-lzo - 3.10.4-1
kmod-lib-textsearch - 3.10.4-1
kmod-libphy - 3.10.4-1
kmod-mac80211 - 3.10.4+2013-06-27-1
kmod-mppe - 3.10.4-1
kmod-nls-base - 3.10.4-1
kmod-nls-cp437 - 3.10.4-1
kmod-nls-cp850 - 3.10.4-1
kmod-nls-cp852 - 3.10.4-1
kmod-nls-iso8859-1 - 3.10.4-1
kmod-nls-iso8859-2 - 3.10.4-1
kmod-nls-utf8 - 3.10.4-1
kmod-ppp - 3.10.4-1
kmod-pppoe - 3.10.4-1
kmod-pppox - 3.10.4-1
kmod-pptp - 3.10.4-1
kmod-sched-connmark - 3.10.4-1
kmod-sched-core - 3.10.4-1
kmod-scsi-core - 3.10.4-1
kmod-sit - 3.10.4-1
kmod-slhc - 3.10.4-1
kmod-tun - 3.10.4-1
kmod-usb-core - 3.10.4-1
kmod-usb-net - 3.10.4-1
kmod-usb-net-asix - 3.10.4-1
kmod-usb-net-cdc-ether - 3.10.4-1
kmod-usb-net-cdc-mbim - 3.10.4-1
kmod-usb-net-cdc-ncm - 3.10.4-1
kmod-usb-net-dm9601-ether - 3.10.4-1
kmod-usb-net-hso - 3.10.4-1
kmod-usb-net-ipheth - 3.10.4-1
kmod-usb-net-kaweth - 3.10.4-1
kmod-usb-net-mcs7830 - 3.10.4-1
kmod-usb-net-pegasus - 3.10.4-1
kmod-usb-net-qmi-wwan - 3.10.4-1
kmod-usb-net-rndis - 3.10.4-1
kmod-usb-net-sierrawireless - 3.10.4-1
kmod-usb-ohci - 3.10.4-1
kmod-usb-printer - 3.10.4-1
kmod-usb-serial - 3.10.4-1
kmod-usb-serial-ark3116 - 3.10.4-1
kmod-usb-serial-cp210x - 3.10.4-1
kmod-usb-serial-ftdi - 3.10.4-1
kmod-usb-serial-ipw - 3.10.4-1
kmod-usb-serial-keyspan - 3.10.4-1
kmod-usb-serial-mct - 3.10.4-1
kmod-usb-serial-mos7720 - 3.10.4-1
kmod-usb-serial-motorola-phone - 3.10.4-1
kmod-usb-serial-option - 3.10.4-1
kmod-usb-serial-oti6858 - 3.10.4-1
kmod-usb-serial-pl2303 - 3.10.4-1
kmod-usb-serial-qualcomm - 3.10.4-1
kmod-usb-serial-sierrawireless - 3.10.4-1
kmod-usb-serial-ti-usb - 3.10.4-1
kmod-usb-serial-wwan - 3.10.4-1
kmod-usb-storage - 3.10.4-1
kmod-usb-wdm - 3.10.4-1
kmod-usb2 - 3.10.4-1
kmod-video-core - 3.10.4-1
kmod-video-uvc - 3.10.4-1
kmod-video-videobuf2 - 3.10.4-1
kmod-zram - 3.10.4-1
libblobmsg-json - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
libc - 0.9.33.2-1
libcyassl - 1.6.5-2
libgcc - 4.6-linaro-1
libip4tc - 1.4.19.1-2
libip6tc - 1.4.19.1-2
libiwinfo - 46
libiwinfo-lua - 46
libjpeg - 6b-1
libjson-c - 0.11-2
libjson-script - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
liblua - 5.1.5-1
liblzo - 2.06-1
libnfnetlink - 1.0.1-1
libnl-tiny - 0.1-3
libpcap - 1.3.0-1
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libubox - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
libubus - 2013-07-25-2b4fc4c9163eacaf95b09773746a3dbb12cfe958
libubus-lua - 2013-07-25-2b4fc4c9163eacaf95b09773746a3dbb12cfe958
libuci - 2013-06-11.1-1
libuci-lua - 2013-06-11.1-1
libusb-1.0 - 1.0.9-1
libustream-cyassl - 2013-07-24-daa954de38f2bf4e2fbc41ac7917f8447d37a2a0
libxtables - 1.4.19.1-2
lua - 5.1.5-1
luci - svn-r9877-1
luci-app-commands - svn-r9877-1
luci-app-ddns - svn-r9877-1
luci-app-firewall - svn-r9877-1
luci-app-multiwan - svn-r9877-1
luci-app-p910nd - svn-r9877-1
luci-app-qos - svn-r9877-1
luci-app-samba - svn-r9877-1
luci-app-tinyproxy - svn-r9877-1
luci-app-upnp - svn-r9877-1
luci-app-watchcat - svn-r9877-1
luci-app-wol - svn-r9877-1
luci-i18n-chinese - svn-r9877-1
luci-i18n-english - svn-r9877-1
luci-i18n-french - svn-r9877-1
luci-i18n-german - svn-r9877-1
luci-i18n-greek - svn-r9877-1
luci-i18n-hungarian - svn-r9877-1
luci-i18n-italian - svn-r9877-1
luci-i18n-japanese - svn-r9877-1
luci-i18n-norwegian - svn-r9877-1
luci-i18n-polish - svn-r9877-1
luci-i18n-portuguese - svn-r9877-1
luci-i18n-romanian - svn-r9877-1
luci-i18n-russian - svn-r9877-1
luci-i18n-spanish - svn-r9877-1
luci-lib-core - svn-r9877-1
luci-lib-ipkg - svn-r9877-1
luci-lib-nixio - svn-r9877-1
luci-lib-sys - svn-r9877-1
luci-lib-web - svn-r9877-1
luci-mod-admin-core - svn-r9877-1
luci-mod-admin-full - svn-r9877-1
luci-proto-3g - svn-r9877-1
luci-proto-core - svn-r9877-1
luci-proto-ipv6 - svn-r9877-1
luci-proto-ppp - svn-r9877-1
luci-sgi-cgi - svn-r9877-1
luci-ssl - svn-r9877-1
luci-theme-base - svn-r9877-1
luci-theme-bootstrap - svn-r9877-1
luci-theme-openwrt - svn-r9877-1
mini-snmpd - 1.2b-7
miniupnpd - 1.8.20130426-1
mjpg-streamer - r148-4
motion - 20110826-051001-2
mtd - 20
multiwan - 1.0.22-2
netifd - 2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641
odhcp6c - 2013-07-03-007ae1a6ae8092878adccde1f610ea9dd86e5aad
opkg - 618-3
p910nd - 0.95-3
ppp - 2.4.5-10
ppp-mod-pppoe - 2.4.5-10
ppp-mod-pptp - 2.4.5-10
procd - 2013-07-23-ba0cb9c1ecc72e6b726deaf91193d24b2a85814a-1
px5g - 1
qos-scripts - 1.2.1-6
resolveip - 2
restorefactory - 1-6
samba36-server - 3.6.11-2
swconfig - 10
tc - 3.10.0-1
tcpdump-mini - 4.2.1-3
tinyproxy - 1.8.3-1
uboot-envtools - 2013.07-rc1-1
ubox - 2013-07-31-21737b1ff2e0be28b68293c7ac198a8fe505cbc2
ubus - 2013-07-25-2b4fc4c9163eacaf95b09773746a3dbb12cfe958
ubusd - 2013-07-25-2b4fc4c9163eacaf95b09773746a3dbb12cfe958
uci - 2013-06-11.1-1
uhttpd - 2013-07-31-fae8886f8aa5d996c8de607abea8b677216549b5
uhttpd-mod-ubus - 2013-07-31-fae8886f8aa5d996c8de607abea8b677216549b5
usb-modeswitch - 2013-05-31-b62a33af03c39a8970249ce7afe7baec7ea9b91b
usbutils - 007-1
vsftpd - 3.0.2-2
vtun - 3.0.2-1
watchcat - 1-5
wifitoggle - 1-3
wpad-mini - 20130707-1
wput - 0.6.2-1
zlib - 1.2.8-1
zram-swap - 1-2

please can you send me a link with .bin or better step by step...
i'm a newbe on this sad

thx!

(Last edited by nix-v on 13 Aug 2013, 12:25)

Hello.

I Tried the AA version and the Barrier Breaker version, but I still have USB issue with the modem Huawei e3276. It sometimes work, but most of the time it doesn't. I have search around and found that sometimes Openwrt have some issues with usb drivers (usually some removable storage media). When it doesn't work, dmesg output display some errors:

[    0.000000] Linux version 3.10.4 (user@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37742) ) #1 Sat Aug 10 15:24:33 PDT 2013
[    0.000000] MyLoader: sysp=71c3aa6b, boardp=223451ef, parts=5d57d807
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803069b0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=DIR-505-A1 console=ttyATH0,115200 mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,256k(language)ro,1024k(kernel),6656k(rootfs),7680k@0x80000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61272k/65536k available (2208k kernel code, 4264k reserved, 592k data, 268k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is D-Link DIR-505 rev. A1
[    0.550000] bio: create slab <bio-0> at 0
[    0.560000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.570000] TCP: Hash tables configured (established 512 bind 512)
[    0.580000] TCP: reno registered
[    0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.630000] msgmni has been set to 119
[    0.640000] io scheduler noop registered
[    0.640000] io scheduler deadline registered (default)
[    0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.660000] console [ttyATH0] enabled, bootconsole disabled
[    0.670000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.690000] 8 cmdlinepart partitions found on MTD device spi0.0
[    0.690000] Creating 8 MTD partitions on "spi0.0":
[    0.700000] 0x000000000000-0x000000010000 : "u-boot"
[    0.700000] 0x000000010000-0x000000020000 : "art"
[    0.710000] 0x000000020000-0x000000030000 : "mac"
[    0.710000] 0x000000030000-0x000000040000 : "nvram"
[    0.720000] 0x000000040000-0x000000080000 : "language"
[    0.730000] 0x000000080000-0x000000180000 : "kernel"
[    0.730000] 0x000000180000-0x000000800000 : "rootfs"
[    0.740000] mtd: partition "rootfs" set to be root filesystem
[    0.740000] mtd: partition "rootfs_data" created automatically, ofs=0x520000, len=0x2e0000
[    0.750000] 0x000000520000-0x000000800000 : "rootfs_data"
[    0.760000] 0x000000080000-0x000000800000 : "firmware"
[    0.780000] libphy: ag71xx_mdio: probed
[    0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    1.340000] eth0: Found an AR7240/AR9330 built-in switch
[    2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.920000] ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.930000] TCP: cubic registered
[    2.930000] NET: Registered protocol family 17
[    2.940000] 8021q: 802.1Q VLAN Support v1.8
[    2.950000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    2.960000] Freeing unused kernel memory: 268K (8031d000 - 80360000)
[    5.430000] SCSI subsystem initialized
[    5.710000] usbcore: registered new interface driver usbfs
[    5.720000] usbcore: registered new interface driver hub
[    5.720000] usbcore: registered new device driver usb
[    6.520000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.530000] ehci-platform: EHCI generic platform driver
[    6.530000] ehci-platform ehci-platform: EHCI Host Controller
[    6.540000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    6.540000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    6.570000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    6.570000] hub 1-0:1.0: USB hub found
[    6.570000] hub 1-0:1.0: 1 port detected
[    6.760000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.880000] usbcore: registered new interface driver usb-storage
[   11.960000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 17 of xref (0 dead, 0 orphan) found.
[   12.020000] jffs2: notice: (331) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 17 of xref (0 dead, 0 orphan) found.
[   16.420000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[   16.420000] Backport generated by backports.git backports-20130617-4-ge3220f5
[   16.610000] cfg80211: Calling CRDA to update world regulatory domain
[   16.610000] cfg80211: World regulatory domain updated:
[   16.620000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   16.620000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.630000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   16.640000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   16.650000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.660000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   16.940000] NET: Registered protocol family 10
[   17.300000] zram: Created 1 device(s) ...
[   18.320000] ath: EEPROM regdomain: 0x0
[   18.320000] ath: EEPROM indicates default country code should be used
[   18.320000] ath: doing EEPROM country->regdmn map search
[   18.320000] ath: country maps to regdmn code: 0x3a
[   18.320000] ath: Country alpha2 being used: US
[   18.320000] ath: Regpair used: 0x3a
[   18.330000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   18.350000] cfg80211: Calling CRDA for country: US
[   18.360000] cfg80211: Regulatory domain changed to country: US
[   18.360000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   18.370000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   18.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   18.380000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   18.390000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   18.400000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   18.410000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   18.420000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   18.820000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   19.230000] PPP generic driver version 2.4.2
[   19.560000] tun: Universal TUN/TAP device driver, 1.6
[   19.570000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   19.870000] PPP MPPE Compression module registered
[   20.170000] sit: IPv6 over IPv4 tunneling driver
[   20.310000] gre: GRE over IPv4 demultiplexor driver
[   20.400000] ip_gre: GRE over IPv4 tunneling driver
[   20.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   20.610000] xt_time: kernel timezone is -0000
[   20.720000] NET: Registered protocol family 24
[   21.260000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[   21.660000] PPTP driver version 0.8.5
[   22.920000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   23.360000] usbcore: registered new interface driver usbserial
[   23.370000] usbcore: registered new interface driver usbserial_generic
[   23.370000] usbserial: USB Serial support registered for generic
[   23.480000] usbcore: registered new interface driver ums-alauda
[   23.490000] usbcore: registered new interface driver ums-cypress
[   23.500000] usbcore: registered new interface driver ums-datafab
[   23.510000] usbcore: registered new interface driver ums-freecom
[   23.520000] usbcore: registered new interface driver ums-isd200
[   23.530000] usbcore: registered new interface driver ums-jumpshot
[   23.540000] usbcore: registered new interface driver ums-karma
[   23.550000] usbcore: registered new interface driver ums-sddr09
[   23.560000] usbcore: registered new interface driver ums-sddr55
[   23.570000] usbcore: registered new interface driver ums-usbat
[   23.780000] usbcore: registered new interface driver cdc_wdm
[   23.890000] usbcore: registered new interface driver cdc_ether
[   23.900000] usbcore: registered new interface driver cdc_ncm
[   24.000000] usbcore: registered new interface driver qmi_wwan
[   24.230000] usbcore: registered new interface driver rndis_host
[   24.420000] usbcore: registered new interface driver ipw
[   24.430000] usbserial: USB Serial support registered for IPWireless converter
[   24.630000] usbcore: registered new interface driver option
[   24.630000] usbserial: USB Serial support registered for GSM modem (1-port)
[   24.740000] usbcore: registered new interface driver qcserial
[   24.750000] usbserial: USB Serial support registered for Qualcomm USB modem
[   24.870000] u32 classifier
[   24.870000]     input device check on
[   24.880000]     Actions configured
[   25.100000] Mirror/redirect action on
[   26.880000] Adding 30716k swap on /dev/zram0.  Priority:-1 extents:1 across:30716k SS
[   30.870000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   30.870000] device eth1 entered promiscuous mode
[   30.890000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   33.740000] eth1: link up (100Mbps/Full duplex)
[   33.740000] br-lan: port 1(eth1) entered forwarding state
[   33.750000] br-lan: port 1(eth1) entered forwarding state
[   33.750000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   33.760000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.750000] br-lan: port 1(eth1) entered forwarding state
[  245.470000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[  260.590000] usb 1-1: device descriptor read/64, error -145
[  275.820000] usb 1-1: device descriptor read/64, error -145
[  276.050000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[  291.170000] usb 1-1: device descriptor read/64, error -145
[  306.400000] usb 1-1: device descriptor read/64, error -145
[  306.630000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[  317.050000] usb 1-1: device not accepting address 4, error -145
[  317.170000] usb 1-1: new high-speed USB device number 5 using ehci-platform
[  327.590000] usb 1-1: device not accepting address 5, error -145
[  327.590000] hub 1-0:1.0: unable to enumerate USB device on port 1


The vendor and product id from e3276 is 12d1:14fe (storage mode) and 12d1:1506(ndis mode).

Any help will be appreciated.

nix-v wrote:

please can you send me a link with .bin or better step by step...
i'm a newbe on this sad

thx!

Dape's binaries already have usb storage built in. You may have an usb issue, like me.
Plug your usb media, then type dmesg command and post output.