RJ45 Console access
-
@jknott said in RJ45 Console access:
@smcgowan said in RJ45 Console access:
I might cut off the RJ45 end and crimp a new end with a new pinout.
If I'm not mistaken, the pin out listed earlier has the same TXD and RXD as the Cisco, so it should work. So, please verify what you have before you cut. If I had it here, it wouldn't take me long to check it, but it's difficult to explain the process here.
You're absolutely right, it matches the manual's console pinout (both Netgate and Lanner Inc). Here are two pictures of the RJ45 end, with the color of each wire viewable:
@stephenw10 said in RJ45 Console access:
Yes that cable should work. The pinout is the same as listed for the FW-7551:
http://www.lannerinc.com/phocadownload/user-manuals/x86-network-appliances/FW-7551_manual_v1.3_20170509.pdfIt seems like either a bad cable or bad terminal setting somehow. Are you sure it's com5?
Yes. Device Manager shows COM5 as the "USB Serial Port"
The 3 minute period for the reboot seems a lot like a filesystem panic in which case it probably can be escaped or at least reinstalled with a working console.
Excellent! If I can eventually get into the console.
Do you know if it's running Nano from a CF card or full install from an SSD? Both were options when purchased.
If it's Nano you can always reflash the last available Nano image to it without needing a console at all. Though it really should be running a full install of 2.4.4 at this point even it that's from CF.It's a CF. I don't know what version is currently installed, because I only have to access that router every once in a great while when they contact me with an issue. Typically, the router isn't even the issue, but I always go in and check to make sure and to make them feel better.
I'll do some digging into reflashing the device, thanks Steve :)
Oh and Colin Wu over at Lanner Inc was very helpful. The Lannerinc.com's site has an automated chatbot that pops up to see if you have questions. I had sent this question last night: "My only question is if you have an RJ45 to USB console cable you'd recommend for this device? I currently have a client with one and it reboots after about 3 minutes so I need to access the console.". Colin was notified of a missed chat message at some point today and he sent me an email in which he told me to try the following cable: https://www.amazon.com/Console-Essential-Accesory-Ubiquity-Switches/dp/B01AFNBC3K. By all appearances, that cable matches the one I bought in terms of pinout. That is, it does on the RJ45 side. The linked product above includes pin layout for the USB side in it's product pictures on Amazon.
Alright guys, I'm off to go eat and walk by friggin' large dogs (85lbs and 121lbs!!!).
Have a good evening,
Sherwood -
If someone has the correct console cable they can do a continuity check to pinout the cable and post the pinout here. The so called cisco admin cable is a "rollover" cable. Sometime I cut the RJ45 connector off and flip the connector to make it work. Really what you want to do is make sure that the following pins go to each other.
RXD - TXD
RTS - CTS
DTR - DSR
GND - GND
and it should be this way on both sides of the cable on the RJ45 and DB9 sides. -
Here is the pinout for a RS-232 port for a PC
1 CD «— Carrier Detect
2 RXD «— Receive Data
3 TXD —» Transmit Data
4 DTR —» Data Terminal Ready
5 GND System Ground
6 DSR «— Data Set Ready
7 RTS —» Request to Send
8 CTS «— Clear to Send
9 RI «— Ring Indicator -
Your cable should look like this:
RJ45 ------ DB9
1 RTS -> CTS 8
2 DTR -> DSR 6
3 TXD -> RXD 2
4 GND -> GND 5
5 GND -> GND 5
6 RXD -> TXD 3
7 DSR -> DTR 4
8 CTS -> RTS 7
***********N/A 9
*Pin 4 on the RJ45 side is probably not usedI do not have the cable or the firewall that you have but using a multi-meter set to the diode test (make sure it's set to audio) you can verify your pinout. This should be the cable pinout if someone can confirm. While the cisco admin cable matches the pins it doesn't have all the pins and I'm not sure which signal the box actually uses.
-
Just thought of something you might want to try to turn your flow control to off. Using putty the default is XON/XOFF
-
BTW, as I mentioned in another thread, it's DE-9, not DB-9.
A lot of people get this wrong.
-
Thanks for the clarification/Correction.
-
The default flow control setting is off, yes. It looked like it was set to off in putty in the previous screenshots though.
It is possible to disable console redirection entirely in the BIOS. If you still see nothing at all it might be worth a cmos reset to bring back the default bios values.
Steve
-
@jknott said in RJ45 Console access:
BTW, as I mentioned in another thread, it's DE-9, not DB-9.
So funny, I make that mistake all the time. Even the mfgrs list this wrong on Amazon
-
@stephenw10 said in RJ45 Console access:
The default flow control setting is off, yes. It looked like it was set to off in putty in the previous screenshots though.
I modified the various settings into various matching combinations. Still no dice.
It is possible to disable console redirection entirely in the BIOS. If you still see nothing at all it might be worth a cmos reset to bring back the default bios values.
What jumper needs changed to accomplish a bios reset?
Thanks again everyone, this is helping. Soooo much more info than the manual gives
-
Hmm, seems like there might not be one amazingly, or at least I can't see one in the manual.
You could just pull the battery for a few minutes instead.
Edit: There is a jumper next to the battery labelled JBAT1 which I would guess will clear it.
Steve
-
Thanks @stephenw10 I'll check that out.
I just received my SG-1100 from the Netgate store. I'll be configuring it shortly but after that I'll be digging back into the FW-7551.
-
Arrg! I have no idea how I'm supposed to get my test lead into the USB end and then also hold my other test lead on the RJ45 end, all while not being completely sure if I'm making proper contact :P (I'm using the smallest test leads I've got, still huge compared to the RJ45 conductors and the USB conductors.
I need a USB to RJ45 cable tester like I have for RJ45/RJ11, as well as a few audio cable type testers
-
@smcgowan said in RJ45 Console access:
I need a USB to RJ45 cable tester like I have for RJ45/RJ11, as well as a few audio cable type testers
You don't have end to end connections on that cable. There is a converter chip in that cable that converts from the USB to serial interface. I have the same thing, except the serial end is a DE-9. Beyond that, one trick is to get a jack that accepts the serial end and breaks it out to screw terminals. However, they're not that common for 8 pin connectors and getting that way for 4 & 6 pins.
-
@jknott said in RJ45 Console access:
You don't have end to end connections on that cable. There is a converter chip in that cable that converts from the USB to serial interface. I have the same thing, except the serial end is a DE-9.
Serial end? I'm not sure I follow. I think there's a lot of little lost in translation things going on.
I'm using this cable:
FTDI RJ45 - USB cable. A different cable was suggested by the manufacturers of the motherboard at the heart of the FW-7551, but the one linked in this post just now is the one I'm using. I'm having trouble figuring out how to determine if the signal at say pin 5 on the RJ45 side is making it to the appropriate pin on the USB side. I can barely fit my test leads into the USB end, let alone get it on a specific lead.
Of course, then there's the chip issue that you brought up. If there's a chip in there that's performing the rerouting of the signals, it's probably relying on power via USB to run, which seems problematic for our little netgear console needs, would you agree?Beyond that, one trick is to get a jack that accepts the serial end and breaks it out to screw terminals. However, they're not that common for 8 pin connectors and getting that way for 4 & 6 pins.
Again, I'm curious about the "serial end" moniker here. Do you mean the USB or RJ45 end? There is no DE-9 end, male or female, at any stage of this cable, or on any of my devices.
One last thing...I'm thinking if nothing else, I've had a fake prolific chip cable delivered to me. Apparently that is an issue with some sellers. Anybody know how I might determine that without tearing apart this cable?
Thanks again guys, I appreciate you all continuing through this little cable drama with me (pun intended har har).
Cheers
-
@smcgowan said in RJ45 Console access:
Serial end? I'm not sure I follow. I think there's a lot of little lost in translation things going on
An adapter like that has two ends, the USB end, which plugs into a computer and the serial end, which plugs into the serial port of whatever it is you're trying to connect to. Many years ago, a DB-25 connector was commonly used, then DE-9. In many devices, such as routers and switches, an 8 pin RJ45 connector is now common.
If there's a chip in there that's performing the rerouting of the signals, it's probably relying on power via USB to run, which seems problematic for our little netgear console needs, would you agree?
It does more that just reroute signals, it converts from USB data, to RS-232, which uses different protocols, voltages, etc.. However, that device does rely on USB power. Any device with an A or C connector and some B can provide USB power. As for your equipment, if it has an RJ45 connector, then it's not expected to provide power. The power for that chip will come from the computer it's connected to.
You can test that adapter, by connecting TXD to RXD and using something like Putty to type. If it's working, you should see the characters appear as you type. Make sure handshaking is not enabled for this test.
-
Yes, that exactly. You can't test continuity on that cable (except for the gnd maybe).
The best you can do is link Rx and Tx and see if typed characters are echoed back.
I would bet on a bad terminal setup of some kind. Maybe the wrong driver in there or not installed correctly in Windows.
Can you test using a Live Linux distro? Or any Linux client that will have the drivers included.
If not try re-installing the usb drivers in Windows.
Steve
-
-
Connecting to TXD to RXD physically on the RJ45, ah yes that makes sense!
@mikeisfly, unfortunately I'm in a financial situation where I already bought this cable I have and my financial situation at this particular moment doesn't allow for purchasing further cables. Additionally, this is something I only have to do once every few years.
I'll launch one of my linux CDs and see if it works there, otherwise I'll go to the TX<->RX jumper route to test. I'm pretty dang sure I have no issues with my driver, since the SG-1100 console works just fine via a different cable. The putty session is identical as well. The Profilic driver needed for the cable I'm using with the FW-7551is the latest version.
I'll follow up after these tests.
-
@smcgowan said in RJ45 Console access:
I'll launch one of my linux CDs and see if it works there, otherwise I'll go to the TX<->RX jumper route to test.
Regardless of what software you use, you'll still have to connect RXD - TXD. In Linux, minicom is a commonly used app for this.