OpenWrt Forum Archive

Topic: Trunk on D-Link DIR-300

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

Hi.
I want use OpenWRT on my DIR-300.
I build images from svn and do everything like on this page http://wiki.openwrt.org/OpenWrtDocs/Har … nk/DIR-300 .
Everything is ok to this point:

DD-WRT> exec

After this step i lose my connection (redboot i turning off i think) It come back but a have no respond from router.
I traied to use lzma from the Kamikaze 7.09 from svn with and without PCI support.

Maybe someone can help me.


Sorry for my English wink

Small edit wink

I tray to do this one more time.
And it's working on openwrt-atheros-2.6-vmlinux.lzma from Kamikaze 7.09 and openwrt-atheros-root.squashfs from trunk (with luci), but on this configuration I don't have wifi and LuCI see only one Ethernet.
When I change openwrt-atheros-2.6-vmlinux.lzma from Kamikaze 7.09 to openwrt-atheros-vmlinux.lzma from Kamikaze trunk (with or without PCI support) I can't connect to OpenWRT.

Maybe someone can help me now wink

Problem i resolved by disabling GPIO in kernel.
#CONFIG_GENERIC_GPIO=y
#CONFIG_GPIO_DEVICE=y
#CONFIG_LEDS_GPIO=y

Any idea when wireless will be available for DIR-300 ?

I compiled trunk (rev 12954) and followed DIR-300 wiki instructions. But madwifi does not work:

wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC, TX_DESC_SWAP, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_ahb: trunk
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
MadWifi: unable to attach hardware: 'EEPROM version invalid' (HAL status 5)
jffs2: Too few erase blocks (2)
root@OpenWrt:/#

I don't know how to fix this "'EEPROM version invalid' (HAL status 5)" thing.

It worked. But after bdrestore, I had to recreate the flash partitions with fis command.

Thanks a lot!

(Last edited by carlopires on 14 Oct 2008, 05:30)

Another problem. Trunk (rev 12983) don't get to mount jffs_data partion, so the AP stays unusable sad

Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[843]: started, version 2.45 cachesize 150
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[843]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[843]: using local addresses only for domain lan
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[843]: reading /tmp/dhcp.leases
Jan  1 00:00:44 OpenWrt daemon.warn dnsmasq[843]: no servers found in /tmp/resolv.conf.auto, will retry
Jan  1 00:00:44 OpenWrt daemon.info dnsmasq[843]: read /etc/hosts - 1 addresses
Jan  1 00:00:45 OpenWrt user.err kernel: jffs2: Too few erase blocks (2)
Jan  1 00:00:45 OpenWrt user.info : mount: mounting /dev/mtdblock3 on /rom/jffs failed: Invalid argument
Jan  1 00:01:14 OpenWrt authpriv.info dropbear[877]: Running in background

I tried to comment

#CONFIG_GENERIC_GPIO=y
#CONFIG_GPIO_DEVICE=y
#CONFIG_LEDS_GPIO=y

on target/linux/atheros/config-2.6.26 but no success.

Post a full boot log, please

The discussion might have continued from here.