Difference between revisions of "Linksys AC Series Router Configuration Tips for OpenWRT"

m
m
Line 4,022: Line 4,022:
[[File:USBABCable.jpg|none|thumb|126x126px|USB B to USB A with Cable]]
[[File:USBABCable.jpg|none|thumb|126x126px|USB B to USB A with Cable]]
Link as of Late 2020:https://www.ebay.com/itm/PL2303TA-USB-to-TTL-RS232-COM-UART-Module-Serial-Cable-Adapter-for-Arduino/233559278066
Link as of Late 2020:https://www.ebay.com/itm/PL2303TA-USB-to-TTL-RS232-COM-UART-Module-Serial-Cable-Adapter-for-Arduino/233559278066
[[File:PL2303TA.jpg|none|thumb|126x126px|PL2303TA]]
[[File:PL2303TA.jpg|none|thumb|126x126px|USB PL2303TA Serial to 2.54mm Pitch Molex "70553 Style" Female Pigtail]]
[[File:JSTPH2mmFemale.jpg|left|thumb|126x126px|JST-PH 2.0mm Pitch 6 Pin Female Connector (notice the striped wires that are soldered.]]
<br />
<br />
As of early 2021, there doesn't appear to be anyone that manufactures a 6 pin 2.0mm pitch JST-PH female connector / adapter / converter to a "pigtail" 2.54 breadboard / jumper Molex "70553 style" male connector.  And that was just when you thought everything existed in the world.  Oh, well.
The best "non-soldering" / "plug it all together" solution is the above noted "USB B to USB A with Cable" Connector + the PL2303TA USB (the USB version of a MAX3232) to 2.54 breadboard / jumper Molex "70553 style" female connector to the JST-PH 2.0mm Pitch 6 Pin Female Connector.  The stripped off wires that are soldered with fit nicely into the "70553 style" female connector.  Everything else is just plugged together, minus the hole in the side of the router for the USB connector.  In the end, once put together, it makes it so a router can be connected to a computer via an ordinary USB cable.
===The Real Pin # 1===
===The Real Pin # 1===
Many website tutorials, YouTube videos, diagrams, and even images on the OpenWRT website show the TTL Serial Port for the AC series of routers numbered from left to right, starting with "pin 1", as viewed from the top / front of the circuit board.  This is NOT correct, although both the names / labels of the pins and what their function is (Ground, TX (Transmit), and RX (Receive)), ''are correct''.  It is an industry standard to identify "Pin 1" on a circuit board in several manners.  The most common methods includes a triangle printed on the circuit board closest to "Pin 1" and a square solder connection (as viewed from the bottom).  Another convention that is typically followed, but is not an absolute rule, is putting "Pin 1" closest to the nearest edge of a circuit board.  The AC Series of routers all have a square solder connection on the bottom and a triangle printed on top of the circuit board for "Pin 1" on the right side of the connector, as viewed from the top.  Since there is no pinout standard for that type of connector, the manufacturer (Linksys in this case) gets to define where "Pin 1" is located.  And per the triangle marking, pin closest to edge, and square solder connection pin number one is located as indicated by the below image.  PERIOD.  Image is courtesy of: http://wtarreau.blogspot.com/2018/
Many website tutorials, YouTube videos, diagrams, and even images on the OpenWRT website show the TTL Serial Port for the AC series of routers numbered from left to right, starting with "pin 1", as viewed from the top / front of the circuit board.  This is NOT correct, although both the names / labels of the pins and what their function is (Ground, TX (Transmit), and RX (Receive)), ''are correct''.  It is an industry standard to identify "Pin 1" on a circuit board in several manners.  The most common methods includes a triangle printed on the circuit board closest to "Pin 1" and a square solder connection (as viewed from the bottom).  Another convention that is typically followed, but is not an absolute rule, is putting "Pin 1" closest to the nearest edge of a circuit board.  The AC Series of routers all have a square solder connection on the bottom and a triangle printed on top of the circuit board for "Pin 1" on the right side of the connector, as viewed from the top.  Since there is no pinout standard for that type of connector, the manufacturer (Linksys in this case) gets to define where "Pin 1" is located.  And per the triangle marking, pin closest to edge, and square solder connection pin number one is located as indicated by the below image.  PERIOD.  Image is courtesy of: http://wtarreau.blogspot.com/2018/
Line 4,032: Line 4,044:
For a detailed explanation of Serial Ports: https://en.wikipedia.org/wiki/Serial_port
For a detailed explanation of Serial Ports: https://en.wikipedia.org/wiki/Serial_port


[[wikipedia:JST_connector|JST Connector]] Specifications: http://www.jst-mfg.com/product/pdf/eng/ePH.pdf
[[wikipedia:JST_connector|JST Connector]] Specifications: http://www.jst-mfg.com/product/pdf/eng/ePH.pdf And a nice video on the subject: https://www.youtube.com/watch?v=wn3ixZ-sv5w


Various comparisons between RS-232 and TTL: https://learn.sparkfun.com/tutorials/serial-communication/wiring-and-hardware  
Various comparisons between RS-232 and TTL: https://learn.sparkfun.com/tutorials/serial-communication/wiring-and-hardware  
Line 4,091: Line 4,103:
After: root::18475:0:99999:7:::<br />
After: root::18475:0:99999:7:::<br />


=== Weak Passwords ===
===Weak Passwords===
Not that one would ever want to configure a "weak password", and out of the box, the OpenWRT GUI doesn't allow that.  As it should be.  But the frustrating part is having that limitation imposed with no way around it.  Maybe there is a good reason to temporarily configure a weak password.  Is that possible with the OpenWRT LuCI GUI interface?  No, not by default.  Is there a way around it?  Not via that same GUI as far as Google is concerned.  But there is a way...
Not that one would ever want to configure a "weak password", and out of the box, the OpenWRT GUI doesn't allow that.  As it should be.  But the frustrating part is having that limitation imposed with no way around it.  Maybe there is a good reason to temporarily configure a weak password.  Is that possible with the OpenWRT LuCI GUI interface?  No, not by default.  Is there a way around it?  Not via that same GUI as far as Google is concerned.  But there is a way...


Install the above passwd command, and at a command prompt type: passwd (then enter whatever password one wants)
Install the above passwd command, and at a command prompt type: passwd (then enter whatever password one wants)
*
*