Routers with serial port inside WAN port

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6
Author Message
lenjung
DD-WRT Novice


Joined: 10 Feb 2009
Posts: 35
Location: Stationed in Hawaii

PostPosted: Mon Apr 15, 2013 4:45    Post subject: Reply with quote
So I got my CA-42 the other day. After I stripped the shielding I find I only have three wires: Blue, White, Green.

Anyone know which wires are which?

_________________
If it ain't broke, fix it 'til it is
Sponsor
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Mon Apr 15, 2013 8:53    Post subject: Reply with quote
lenjung wrote:
So I got my CA-42 the other day. After I stripped the shielding I find I only have three wires: Blue, White, Green.

Anyone know which wires are which?


There is info in the serial wiki on the pinouts
http://www.dd-wrt.com/wiki/index.php/Serial_Recovery
Kiaos
DD-WRT Novice


Joined: 17 Apr 2009
Posts: 15

PostPosted: Sat Jul 13, 2013 6:28    Post subject: Reply with quote
Hello I was wondering where you buy all this stuff online. I have a Linksys WRT-310N and I have no idea where to buy this stuff to make the serial cable myself.

Im going to get this because I only have usb no serial port on my computers.

http://www.ebay.com/itm/110893970903?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

I posted my own thread here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=765182

If you can help me on that thread that would be awesome. I just need to know what to buy and where to buy it.
wqandrade
DD-WRT Novice


Joined: 08 Dec 2013
Posts: 33
Location: Brasília-DF / Brasil

PostPosted: Tue Dec 17, 2013 0:26    Post subject: Re: another connector attempt Reply with quote
I should ask the same...especially now that´s r23082 seems to brick a lot of broadcom´s hardware (e2000 in my case).

Thanks in advance.

wats6831 wrote:
hansendc wrote:
I made a different kind of connector. It uses the conductors from a telephone splitter cable:



You still have to be careful about it, but it worked for me on my first try, and was really simple to construct. More pictures and some notes here:

https://picasaweb.google.com/hansendc/LinksysCiscoWANSerialConnection


That's awesome. For us electronically ignorant people would you mind posting a very brief parts list? I didn't recognize the red PCB you had the pin header on. I'm sure I could build this and it would be very helpful once I know where that red PCB fits in.

Is that just your switching chip to go from serial to USB? Could you just take the splitter and fit it to the end of a CA-42 cable?

Thanks.
Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad
mikesmtih
DD-WRT Novice


Joined: 15 Dec 2013
Posts: 10

PostPosted: Wed Dec 18, 2013 0:00    Post subject: Reply with quote
Kiaos and wqandrade take a look at http://www.dd-wrt.com/phpBB2/viewtopic.php?t=206715

It was a very long and detailed answer to your question

If you don't want to read that the short answer is you need is a FTDI Basic 3.3V - USB to Serial. Link here: https://www.sparkfun.com/products/9893

If you want to know exactly how I recovered my bricked E2000 check the link.

Good Luck
wqandrade
DD-WRT Novice


Joined: 08 Dec 2013
Posts: 33
Location: Brasília-DF / Brasil

PostPosted: Tue Dec 24, 2013 14:02    Post subject: Re: another connector attempt Reply with quote
Yes!

I made it! Thanks to Serial Recovery Wiki and this adaptor i did not have to open my linksys e2000.

Now my router is back from the underworld Cool Very Happy Cool Very Happy Laughing

Note: on my TTL<->USB adapter the TX linked to TX and RX to RX conectors...no need of mirroring.

(yes, I found that out after many tries...) Rolling Eyes Rolling Eyes


wqandrade wrote:
I should ask the same...especially now that´s r23082 seems to brick a lot of broadcom´s hardware (e2000 in my case).

Thanks in advance.

wats6831 wrote:
hansendc wrote:
I made a different kind of connector. It uses the conductors from a telephone splitter cable:



You still have to be careful about it, but it worked for me on my first try, and was really simple to construct. More pictures and some notes here:

https://picasaweb.google.com/hansendc/LinksysCiscoWANSerialConnection


That's awesome. For us electronically ignorant people would you mind posting a very brief parts list? I didn't recognize the red PCB you had the pin header on. I'm sure I could build this and it would be very helpful once I know where that red PCB fits in.

Is that just your switching chip to go from serial to USB? Could you just take the splitter and fit it to the end of a CA-42 cable?

Thanks.
Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad
wqandrade
DD-WRT Novice


Joined: 08 Dec 2013
Posts: 33
Location: Brasília-DF / Brasil

PostPosted: Tue Jan 28, 2014 11:22    Post subject: Re: RE Reply with quote
pgotze wrote:
Will this cable work for Linksys E3000?

http://www.ebay.co.uk/itm/FTDI-USB-to-serial-RS232-console-rollover-cable-for-Cisco-routers-RJ45/251423882587?_trksid=p5197.m2280&_trkparms=aid%3D333005%26algo%3DRIC.FIT%26ao%3D1%26asc%3D319%26meid%3D4432002996772773422%26pid%3D100068%26prg%3D1175%26rk%3D1%26rkt%3D1%26sd%3D251423882587%26clkid%3D4432003667095140497&_qi=RTM1572015[/url]


I don´t think so...

Try one like this http://www.ebay.co.uk/itm/USB-2-0-to-TTL-UART-6PIN-CP2102-Module-Serial-Connector-Converter-Adaptor-Cable-/281189049157?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item41782c6345

It worked for me.

_________________
-----------------------------------xxx------------------------------->>
TPLINK WR 740N v4.23 (12/12/13) std - build 23082
TPLINK WR 841N v8.21 (07/24/14) std - build 22118
TPLINK WR 740N v2.1 (01/10/14) std - build 23320
LINKSYS E2000 - died (12/17/13) big - build 23138
LINKSYS E3200 1.0 (01/10/14) mega - build 23320 K3.x
AirPort Extreme 5th Gen - AP
TeutonJon78
DD-WRT Novice


Joined: 11 Mar 2014
Posts: 29

PostPosted: Fri Mar 21, 2014 6:09    Post subject: Reply with quote
So, I got a used E3000 and wanted to delve into dd-wrt, and I promptly soft bricked it (don't think I waited long enough at various points), so I needed to recover via serial. I tried the phone splitter version hansendc made, but I ran into the same problems of others of bending the wires correctly.

The main problem I saw with the other versions was making sure the wires stayed straight and aligned with the pads.

So, I came up with my own version, which I'm quite happy with, and in the end, can be duplicated very easily. It provides channels for the wires to make sure that they don't move as well as fitting the channel perfectly.

And since people have been asking for parts lists/steps, I thought I would give one.

Imgur album -- http://imgur.com/a/2mfyb

Versions - Left to Right

v1 - longer plastic part, length of connector and thickness of insulation prevented connection to the pads

v2 - wires wrapped around the connector, added length from the wrapping make the connector still too big

v3 - final working version

Final Version Close-ups


Parts

  1. USB to TTL converter (~$2.50 - $8 depending on store)
    I ordered a CP2102 based one from chip_partner on eBay for $2.60. A lot of the PL2303 ones have been reported to be counterfeits or using old EOL chips, and the official drivers aren't working with them anymore. The CP2102 ones seem legit and their official drivers work (including Win8). Plus, this converter had the full 6 pins, which makes it more useful for other projects like Arduino programming.

  2. rigid, flat, non-polyethylene plastic source
    This needs to be non-PE for the glue to hold. Yogurt container didn't work as it was PE. I ended up using a store loyalty card (old credit card would work too). Once I started to work on it, the label even peeled off leaving a nice clean plastic to use.

  3. 22 AWG solid hook-up wire (tinned) ($4+ depending on amount)
  4. x-acto knife or similar
  5. super glue (I used Gorilla glue)
  6. sand paper (optional)
  7. header pins with soldering equipment or a bread board
  8. wire strippers
  9. wire cutters
  10. spacer to put in the WAN port and keep connector secure (I used the telephone coupler part from my failed connector attempt with the little tab on top completely sanded off)
  11. tape (I used glossy Scotch tape, masking may work better)
  12. needle nose pliers
  13. metric ruler


Steps

  1. cut a piece of plastic 6 mm wide and ~7-10 mm long. The extra length will be cut off but helps for handling the plastic piece.
  2. lightly sand the plastic (to help the glue stick better)
  3. get 2 sections of insulation ~7 mm in length by stripping the wire (to save wire, this can be from the ends of the wires you will use for connecting later)
  4. cut the stripped insulation in half length wise (this takes some precision/practice as you want them exactly in half)
  5. place the 4 halves of insulation on a piece of tape with no gaps so that they are aligned length wise -- you want the grooves to be touching the tape
  6. apply super glue to one end of the piece of plastic and place the insulation pieces flush with the end of the plastic -- be careful of using too much glue as it spreads pretty easily and makes a mess
  7. remove the tape and wait for glue to dry (~30 seconds)
  8. using the knife, cut the end of the header flush to create a straight line of the plastic and insulation
  9. measure 5 mm from the end and cut the plastic and insulation again making a clean rectangle
  10. being aware of pin orientation, cut any excess insulation hanging over the Vcc side (if the channels are running vertically, that will be the right side of the connector). I cut about 0.3-0.5x of the insulation piece off and a tiny sliver of plastic with it. This step is important because the channel this will sit in is almost exactly 6 mm, and the 4 pieces of insulation will be slightly wider making it hard to fit in the router if not trimmed.
  11. cut and strip 3 pieces of wire with >= 7 mm of exposed wire (and save at least one piece of insulation)
  12. cut this spare piece of insulator to 5 mm in length
  13. using another piece of tape, arrange the wires again with no gaps and place the extra piece of insulation to the right side. Again, no gaps and you want to line up all the edges of the insulators together. If you need the Vcc connection, then you can use 4 wires.
  14. using super glue, attach the wires to the back of the header plastic. The edge of the exposed wire/insulators should line up with the plastic edge exactly, and the empty insulator piece should line up with the partially cut insulator from the other side
  15. remove tape and wait for glue to dry (~30 seconds)
  16. using fingers or needle nose pliers, carefully bend the wires around the edge of the connector into their respective channels cutting off any excess wire that sticks out past the connector edge
  17. setup wires to attach to USB to TTL device. This can be via soldering header pins or just leaving the wire bare to use a breadboard. My soldering iron was crappy and barely melting the solder, so I ended up using the breadboard instead.
  18. put the connector into the WAN part as far back and to the right as possible. The farthest right wire (GND) should be on the little shelf and the other two wires should be in the lowest channel
  19. use some form of spacer to hold the connector down to the pins
  20. attach the wires to the USB to TTL converter. For the device I used, the wires hooked up in the "correct way" of TX on one device going to RX on the other device.
  21. follow the serial recovery instructions


It took 3 attempts to get the connection working correctly, because I wasn't being careful about the alignment of the connector. The insulation-channeled wires help with this, but the placement is still important. Once the connection was good, I was able to Ctrl-C the CFE boot sequence in one try. It was rather anti-climatic after 2 days of making connectors.

_________________
Linksys E3000 v1 - r27506, K3.x

Previous Stable Builds: 21676/K3.x/mega
Bad Builds: r23838/K3.x (issues with flashing/NVRAM, seems to work once there)

E3000 WAN Serial Cable
reubot
DD-WRT Novice


Joined: 27 Nov 2023
Posts: 1

PostPosted: Mon Nov 27, 2023 11:57    Post subject: Re: another connector attempt Reply with quote
hansendc wrote:
I made a different kind of connector. It uses the conductors from a telephone splitter cable:



You still have to be careful about it, but it worked for me on my first try, and was really simple to construct. More pictures and some notes here:

https://picasaweb.google.com/hansendc/LinksysCiscoWANSerialConnection


Was this uploaded anywhere else? That link now gives:
Quote:
Album Archive is no longer available

Album Archive was a web gallery for users to view and manage photo and video content from a number of Google products and services. As of 19 July 2023, Album Archive is no longer available.
Goto page Previous  1, 2, 3, 4, 5, 6 Display posts from previous:    Page 6 of 6
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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 can attach files in this forum
You can download files in this forum