Topic: Need some help with D-Link DSL 504T

I've been reading around all day about openwrt and everything seems great so I feel I wanna try this out, however I need some help.

First of I collected some info about my model and found out that it has a Texas Instrument chipset AR7 and 4mb memory.
http://wiki.openwrt.org/Hardware/DLink

Then I downloaded the Kamikaze 8.09_RC1 release and ran

make menuconfig

After spending some time with the settings I felt satisfied and saved, exited and ran:

make

I let that finish but now I'm stuck, what do I do now?
I was expecting to get a .bin or .trx file to upload through the webinterface of my router but I didn't...
So where did I go wrong or have I missed anything?


Also I would like to check some things with you guys.
What are the must haves for the firmware? Are those installed by default? ( I would suppose so but one can never be to sure )

I was thinking of using the DSL-504T only as a modem with bridging capabillity only, no ppoe, no firewall no nothing as I have a separate router for that stuff ( DLink DGL-4300 ).

Re: Need some help with D-Link DSL 504T

Hi.

Generated images can be found in the "bin/" subfolder.
Yes, sane defaults are selected if nothing (besides the architecture) is changed in menuconfig.

~ JoW

3 (edited by Bemorph 2008-12-22 23:32:16)

Re: Need some help with D-Link DSL 504T

jow wrote:

Hi.

Generated images can be found in the "bin/" subfolder.
Yes, sane defaults are selected if nothing (besides the architecture) is changed in menuconfig.

~ JoW

Hi, and thanks for the insanely quick reply smile

Then I must have done something wrong, I have 48 bin files in my bin folder...
( If that's correct which one do I choose? )

Okey thanks for clearing that up smile

EDIT: The files I have in bin can also be found here: http://downloads.openwrt.org/kamikaze/8.09_RC1/ar7/
Which one do I pick? :S

EDIT2: Sorry think I was abit to hasty, if I understod things right I'm supposed to use: openwrt-ar7-squashfs.bin

EDIT3, Just checking, pppoe isn't needed if I'm gonna use bridging, right?

Re: Need some help with D-Link DSL 504T

Hi.

Yep, it's safe to remove pppoe support if you don't need it.

Re: Need some help with D-Link DSL 504T

I'm not sure if it's the recommended method, but I used adam2flash-502T.pl to install openwrt on my DSL-504T.  All you have to do is remove the line about USB detection that it fails on.  Everything else matches.

Mine's also a pure bridge.  Please let me know if you figure out how to make the DSL connection persist after reboots smile

6 (edited by Bemorph 2008-12-28 17:29:42)

Re: Need some help with D-Link DSL 504T

stonefish wrote:

I'm not sure if it's the recommended method, but I used adam2flash-502T.pl to install openwrt on my DSL-504T.  All you have to do is remove the line about USB detection that it fails on.  Everything else matches.

Mine's also a pure bridge.  Please let me know if you figure out how to make the DSL connection persist after reboots smile

I tried to use that method too but it stopped and said my router wasn't a 502T which is true, but you're saying if I remove the part about usb I should get it working?

I have another question for you too, did you notice any performance increase?

EDIT: Should I add support for IPv6 or will that crank the file size way of my charts? (4mb)

Re: Need some help with D-Link DSL 504T

Hi,

I too am trying OpenWRT on a DSL-504T.

I've checked out from SVN, run `make menuconfig' with the settings recommended on the DSL-502T page, and altered the adam2flash-502T.pl script as mentioned above, to disable the USB check.

However, after the script successfully writes the firmware to the router, on a reboot the router doesn't load the image; the power LED is on, and any ethernet cables plugged in show up, including activity (which I find odd, given that I'm 99% sure those LEDs are driven in the ethernet driver, not in the hardware). However, the status LED never comes on, and I cannot ping or telnet to the IP. I've even tried a broadcast ping, but since I never changed any IP settings in menuconfig I assume it's just on 192.168.1.1...

As expected I can still get to the ADAM2 FTP, so I can easily reflash it back to the D-Link firmware, I just wondered if anybody had any blazing insights into why it isn't working.

Thanks in advance,
Andy

8 (edited by Bemorph 2008-12-29 03:07:49)

Re: Need some help with D-Link DSL 504T

I'm pretty sure the default router IP with openwrt is 192.168.0.1 smile Give that a try!

And then about that status LED isn't that supposed to blink when it connects to the adsl? If that's the case then it isn't that strange if it doesn't work since you haven't been able to ssh the router and configure it smile

EDIT: Oh yeah I have a question of my own, would compiling on a 64bit linux system be a bad idea? ( In other words, does the bin file have to be 32bit? )

Re: Need some help with D-Link DSL 504T

I'm pretty sure OpenWRT defaulted to 192.168.1.1 for me.
I didn't bother with that whole "compiling" thing.  I'm not even sure what it gets you.  I just applied http://downloads.openwrt.org/kamikaze/8.09_RC1/ar7/openwrt-ar7-squashfs.bin and away it went.

Yes, Bemorph, I did notice a performance increase.  Using the D-link firmware, the box would stop responding to about 50-80% of ethernet packets *after* the internet connection had been established.  With OpenWRT, that doesn't happen.  I suppose that counts as a performance increase smile

The "status" light should blink (heartbeat style) as soon as OpenWRT boots.  There's a separate "Sync" light that only comes on once the DSL link is working.

Re: Need some help with D-Link DSL 504T

Thanks very much for the replies everyone, keeping me wanting to hack it about! smile

stonefish wrote:

The "status" light should blink (heartbeat style) as soon as OpenWRT boots.  There's a separate "Sync" light that only comes on once the DSL link is working.

That's what makes me think it doesn't like the image: the status light never does anything... When I turn it on, the power LED comes on, it blinks each ethernet light in turn, and then nothing... The status LED never even comes on. sad

I'll try a default firmware image and see if it's a problem with my compiling, or this router in general (it's always been a little "special" lol)

Thanks again,
Andy

Re: Need some help with D-Link DSL 504T

Perhaps this isn't the best place to talk about it, but I still need an answer to my question above.

I made the DSL link work once on my 504, by typing in a command beginning with "br2684ctl", which created a device which I then bridged to my ethernet, and all was well.

However, after a reboot, that device no longer existed.  Either there's a config file I need to update to do it properly, or there's the openwrt equivalent of "autoexec.bat" that I need to deal with.  Can anyone point me towards either of these?

Also, is the 4 port switch on the 504T "vlan-able" like the one on my WRT54GS is?  I need to be able to bridge my DSL only to a single port, while leaving the other three available for regular LAN access.  The cabling I've got now is...  not exactly recommended smile

Re: Need some help with D-Link DSL 504T

see about rc.d and init.d

Re: Need some help with D-Link DSL 504T

OK, it was me being a purist and trying to compile it that made my router hate it. big_smile

Seems to be fine and do everything I want with the default one. Not running out of space yet either, which I was a tad worried about (all my images turned out very close to the 4MB limit thanks to me finding more things I wanted).

Still, running 8.09 RC1 fine now.
Thanks to everyone for the help! smile

Andy

Re: Need some help with D-Link DSL 504T

Esvandiary wrote:

OK, it was me being a purist and trying to compile it that made my router hate it. big_smile

Seems to be fine and do everything I want with the default one. Not running out of space yet either, which I was a tad worried about (all my images turned out very close to the 4MB limit thanks to me finding more things I wanted).

Still, running 8.09 RC1 fine now.
Thanks to everyone for the help! smile

Andy

No don't give up so easily! tongue

I'm trying to compile my own version too and I'm gonna need help wink
Running out of space? What were you adding? My images end up around 1 mb tongue

Re: Need some help with D-Link DSL 504T

I'm not giving up; my RC1 quickly ran out of space on the JFFS after adding some stuff, so I'm going to try and compile it all in - but this time, starting from the 8.09 RC1 build instead of the head SVN rev. When I'm not at a LAN party. tongue