OpenWrt Forum Archive

Topic: D-link DSL-2640B hardware version B3 console connection

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

Hello all.  This is my first post.  So here is what I am looking to do with the 2640B.  I am looking to use the WiFi NIC in the router to bridge to another WiFi access point (essentially turning the WiFi NIC into a WAN connection).  I then intend to run NAT on the router and extend off the 4 LAN ports to connect Ethernet devices to do it.

By default the device won't do this with factory firmware.  I'm looking for some information about how to get OpenWRT onto this unit so I can accomplish my goal.  This my first dealings with OpenWRT so please forgive me if I'm asking dumb questions.   From the best I can determine I need to have console access to the unit to accomplish this.  Basically per post #2 of what I found here https://forum.openwrt.org/viewtopic.php?id=33146 .    From what I am gathering I need some sort of USB to serial converter for an older cell phone or some special make box to accomplish this connection. 

Does anybody have any particulars on what parts and pieces are needed to with with this unit?  I realize it's not a standard RS232 type connection so some advice would be appreciated.  I'm trying to get it going this weekend so some common off the shelf type stuff would be nice.  I have a 9 pin Serial port on my laptop so I can work with a USB only or a serial only solution. 

Thanks a bunch for your help guys.

Jason

Flopsoft wrote:

Is this the same or alike this version :

http://wiki.openwrt.org/toh/d-link/dsl-2640u ?

Yep, the console port is inside the router case not external but that's the basic unit.

You need an adapter 3.3V <-> RS232 12V :
ex :

http://members.shaw.ca/swstuff/wgt634u.html
http://www.netbsd.org/ports/sandpoint/ttl2rs232.html
http://www.superdroidrobots.com/shop/ca … x?catid=41

and a serial port, integrated in your pc or an usb adapter

try usb rs232 in google !

Thanks

Hey, I wanted to give a further update.  I have been unable to flash this unit yet.  Long story short I opened the unit up and checked the console port prior to ever hooking any cables to it and found something interesting.  The 6 pin connector that in the one writeup indicates it is a console, I'm not so sure now that is the case with these, but looking for help.  Basically one whole row of pins is a ground, and the other row of 3 pins is 3.3 volts.  Basically this connector

http://i640.photobucket.com/albums/uu122/jayss10/31CE21EB-04E8-4E1F-BEE4-231EA50E0532-1123-00000153539738D5_zps679e0f6e.jpg

I did some further poking and found that the 8 pin connector on the board is not pinned out like others described it as well.  I don't have the particulars in front of me at the moment, but I know the ground and the voltages were in different places (perhaps this is the console on this board)?  Here is him. 

http://i640.photobucket.com/albums/uu122/jayss10/B13C6CF5-8656-4989-A33B-4E7A4D8982B0-1123-0000015346AE54CF_zpsc048c739.jpg

Just confirm for me that this is a good way to go about finding the console port on these routers.  There is nothing else that screams at me "I'm the console port look at me".  If anybody has any suggestions please by all means offer them up.  This is kinda the guide I've used to confirm what I think I know, but we all know that some of the things on youtube has to be taken with a grain of salt.  http://www.youtube.com/watch?v=9pumxmUyfuI  Thanks a million for your help guys.

Jason

(Last edited by kossuth on 28 Feb 2013, 05:48)

You should give that 6 pin connector another try. See if you can find a 3.3V test point on the board (normally labeled something like "3V3") and do some resistance tests against the pins on that connector. The ones with around 0 ohms are most likely real 3.3V pins, so they should not be connected. Then just connect Rx and GND of your serial cable to the remaining pins and look for some output on your terminal program. If that works, you can even connect your serial cables Tx.

Thanks a bunch MBS, got into it finally.  Unfortunately I've run into another snag.........  But that's ok, apparently I have an odd duck here.  Thanks again.  Off to start a new topic

The discussion might have continued from here.