HOW TO MOD a WNR2000v2 to add USB port, or SD card

Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware DIY / Hardware Mods
Author Message
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Tue Oct 15, 2013 4:01    Post subject: HOW TO MOD a WNR2000v2 to add USB port, or SD card Reply with quote
Question
Is it possible to mod the Netgear WNR2000v2 to add either a USB port internally (just wired with jumpers to the mainboard), or is there a way to wire an SD card to the mainboard so that storage can be used by ddwrt??
Sponsor
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Tue Oct 15, 2013 4:31    Post subject: Reply with quote
if it could be modded for SD card, would DD-WRT see it? use, or make it available?
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Tue Oct 15, 2013 20:54    Post subject: Reply with quote
is it impossible? am i asking in the wrong place?
smokinabowl
DD-WRT User


Joined: 21 Sep 2007
Posts: 373
Location: pittsburgh pa

PostPosted: Mon Oct 21, 2013 2:22    Post subject: Reply with quote
it has a bcm4716 which according to datasheets includes a usb2.0 host. whether or not the pins on the chip are connected to traces on the board are unknown unless someone here has done it. you could always pull up the datasheet and see if you can find the pins yourself and see if any traces lead back to them, though its difficult when it is a bga chip.

as for the mmc/sd card, you could manually toggle on/off gpio's and use a multimeter to test various points on the board. all you need is 3 free gpio's and you can run an sd card in spi mode.

the one problem with that is that it runs the 2.6 kernel, which unless something changed recently, does not support the mmc/sd driver in 2.6 - i believe there was a project on openwrt to get it to work though.

_________________
TP-Link TL-WR1043ND - DD-WRT std BS build 20675
WRT54GS v3/64mb ram/usb/sd mod - Tomato 1.28.0000 MIPS1 K26
WRT54G v5/16mb ram/usb/sd mod - DD-WRT mega BS build 14929
WAP54g v2/32mb ram/usb/sd mod - DD-WRT micro Eko Build 15943
WRTSL54GS sd mod - DD-WRT mini-usb Eko build 18946
Belkin N300 - DD-WRT std-usb-nas Eko build 16773M K2.6
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Mon Oct 21, 2013 21:09    Post subject: Reply with quote
Thanks for taking the time to answer! Awesome. I learned something, even if it's not possible. I appreciate your answer. Much better than the rtfm/google it responses i get sometimes.

Respect!
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Sun Nov 10, 2013 10:55    Post subject: Reply with quote
where does one find datasheets/pinouts for broadcom chips? i tried googling, but haven't found anything...

i'd like to try this on the Linksys e1000v2.1
smokinabowl
DD-WRT User


Joined: 21 Sep 2007
Posts: 373
Location: pittsburgh pa

PostPosted: Sat Nov 23, 2013 0:42    Post subject: Reply with quote
http://digiland.tw/uploads/2_bcm_4718_block_diagram.gif

block diagram would indicate the 4716 probably doesnt even have the pinouts for the usb host. notice there are less bga pins on the chip. i still think the SoC has the host internally though. you can load usbcore and ehci-hcd modules and see if it recognizes it in software, but again its most likely a fruitless effort

if youre looking for additional storage, sd card would be your best bet there. its fairly easy to wire on in, provided you have the gpio's available. if youre on 2.6 kernel though, you'd have to switch to openwrt as dd-wrt and tomato (last i checked) dont have mmc/sd over gpio in 2.6

_________________
TP-Link TL-WR1043ND - DD-WRT std BS build 20675
WRT54GS v3/64mb ram/usb/sd mod - Tomato 1.28.0000 MIPS1 K26
WRT54G v5/16mb ram/usb/sd mod - DD-WRT mega BS build 14929
WAP54g v2/32mb ram/usb/sd mod - DD-WRT micro Eko Build 15943
WRTSL54GS sd mod - DD-WRT mini-usb Eko build 18946
Belkin N300 - DD-WRT std-usb-nas Eko build 16773M K2.6
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Sat Nov 23, 2013 16:55    Post subject: Reply with quote
smokinabowl wrote:
if youre looking for additional storage


yes looking for more storage plus feeling kind of do it yourself ish...

can't seem to get cifs to work, so I was looking at other alternatives...

plus I solder well, and am not afraid to take anything apart and modify it... as long as I have some idea of what to do or how to find out work any confidence what to do...

if soldering an SD card in is the simplest way, I'd rather so that... was mostly looking for ways to add software to ddwrt... like tcpdump and a few other strangely missing tools...
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Sat Nov 23, 2013 16:56    Post subject: Reply with quote
sorry, replying on mobile... typos etc
smokinabowl
DD-WRT User


Joined: 21 Sep 2007
Posts: 373
Location: pittsburgh pa

PostPosted: Wed Nov 27, 2013 7:28    Post subject: Reply with quote
you may be SOL with added storage....

checked - the v2 is the only version openwrt doesn not support.

why cant you get cifs to work?

_________________
TP-Link TL-WR1043ND - DD-WRT std BS build 20675
WRT54GS v3/64mb ram/usb/sd mod - Tomato 1.28.0000 MIPS1 K26
WRT54G v5/16mb ram/usb/sd mod - DD-WRT mega BS build 14929
WAP54g v2/32mb ram/usb/sd mod - DD-WRT micro Eko Build 15943
WRTSL54GS sd mod - DD-WRT mini-usb Eko build 18946
Belkin N300 - DD-WRT std-usb-nas Eko build 16773M K2.6
etyrnal
DD-WRT User


Joined: 12 Oct 2013
Posts: 64

PostPosted: Wed Nov 27, 2013 14:35    Post subject: Reply with quote
smokinabowl wrote:
why cant you get cifs to work?


finally got tired of trying different combinations and permutations of syntax for what to put in the cifs fields. Couldn't find any site where they have a REAL example of the expected syntax beyond someone saying, "put in the correct values for your share"

and the "documentation" is pretty confusing. is not even clear whether samba, and cifs are even truly synonymous... yet when I search the wiki or manual or seems to imply they are... can't get it to mount a samba share from either of my os x machine, or my Ubuntu machines... yet from the os x, and Ubuntu machines, they can see each other, and mint reach other's samba shares. yet it seems I can never get ddwrt to see /mount the shares of those machines. it's so bizarre that i can't find actual spelled out example syntax on the Web.
smokinabowl
DD-WRT User


Joined: 21 Sep 2007
Posts: 373
Location: pittsburgh pa

PostPosted: Sun Dec 01, 2013 19:36    Post subject: Reply with quote
this is taken from my linux fileserver mounting CIFS shares from a windows machine:

mount -t cifs -o user=media -o password= //192.168.1.11/tv/ /mnt/500/media/TV/

same should be true to mount a cifs share from your ubuntu box to your dd-wrt router

note if password is blank like mine, you must leave a blank password. i believe sometimes it tries to put in a 'guest' password if you do not specify.

and i cannot say if cifs=samba, but i use them synonymously

_________________
TP-Link TL-WR1043ND - DD-WRT std BS build 20675
WRT54GS v3/64mb ram/usb/sd mod - Tomato 1.28.0000 MIPS1 K26
WRT54G v5/16mb ram/usb/sd mod - DD-WRT mega BS build 14929
WAP54g v2/32mb ram/usb/sd mod - DD-WRT micro Eko Build 15943
WRTSL54GS sd mod - DD-WRT mini-usb Eko build 18946
Belkin N300 - DD-WRT std-usb-nas Eko build 16773M K2.6
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware DIY / Hardware Mods All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum