Linksys Srw224g4 Serial Connection

Posted on  by admin
  1. Linksys Srw224g4 Serial Port Settings
  2. Usb To Serial Connection

With two models to choose from, Linksys Gigabit VPN Routers provide secure and reliable network service for employees whether they're at the office or on the road. OpenVPN Server Support Linksys Gigabit VPN Routers allow OpenVPN clients running on employees' laptops, smartphones, and tablets to connect to the office using two-factor authentication. VLAN Problem i have a 1 zyxel modem connected to 1 D-Link DI-604 Router connected to 1 Linksys SRW224G4 Switch and the 2 D-Link DES-1024 Switch are connected to SRW. All computers are connected to the 2 DES-1024 switch.

Active6 months ago

Some idiot (one guess as to who) installed a Cisco/Linksys SRW2024P in a 2nd location and forgot to change the IP before doing so. Now it's on a new subnet and I need to control it via console port.

I'm used to controlling Cisco gear through the console port from my Mac using screen or ZTerm and a Tripp Lite (née Keyspan) USB-to-Serial adapter, but have the benefit of being up to my neck in Cisco's blue DB9-to-RJ45 console cables. This Cisco/Linksys switch has a DB-9 male console port and I dug out a female-to-female DB9 serial cable, but I have no idea whether it's a null modem cable or not and it doesn't seem to work using the official serial port settings for the SRW2024P:

I must admit that I'm usually lucky and what cables I have tend to work, but not this time. Unfortunately, the former admin ditched the box & cables. So, should I need a null modem cable like the Tripp Lite P450-006 Null Modem Gold Cable DB9F/F - 6ft or something else?

I can get all crazy if I have to, but that's a lot of effort for something I could just buy a cable for, esp. since I'd like to keep the correct cable with this switch from now on. Any other ways to get into this that I'm not thinking of?

UPDATE:

I have tried a random serial cable and the aforementioned Tripp Lite null modem cable with my Keyspan USB-to-Serial adapter (both ZTerm and screen), and get nothing, no matter how many times I tap enter/return (okay, I haven't tested all the possibilities there). This is with using the aforementioned serial settings as well as the following (I found both in official documentation):

By connecting directly to the switch via ethernet and changing my IP to the same subnet as the original IP of the switch I can connect via the web interface, but do not have the password. And, no, it's not the default! So, my only option is serial (to perform a password reset, but that doesn't seem to be working in the slightest.

Any further suggestions would be greatly appreciated!

morgant

Linksys Srw224g4 Serial Port Settings

morgantmorgant
1,1155 gold badges19 silver badges33 bronze badges

5 Answers

This is the pin out of the connector on the switch.

A null modem cable should work.

dbasnettdbasnett

I have the SRW2024 and had to make a cable also.

My cable is wired 2--2, 3--3, 5--5 between the two female DB9's.

38400-8-N-1, No flow control.

Bryan
6,41011 gold badges60 silver badges89 bronze badges
SandySandy

Edit: I agree with Mike above - try just changing the IP on your laptop to be on the same subnet on the switch and plugging it into the switch first. Might just be that simple.

If not...Yes, you need a null modem cable. The fact that the DB-9 connector is male indicates it is a DTE (data terminal equipment, like a terminal, or... your PC). Normal serial cables are meant to go DCE (data communications equipment)-DTE, thus the gender mismatch.

Now, why Linksys would put a DTE port and call it a 'console' port instead of a real console port is another matter... but I don't think simply gender-bending, as you have done, will ever work.

tkrajcartkrajcar

Reset switch password

  1. Get hyperterm for windows: https://digitizor.com/install-winxp-hyperterminal-client-on-windows-vista-or-windows-7-free/
  2. Or use PuTTy
  3. The advice is to connect to the console port using terminal emulation parameters (typically 38400, 8, 0, 1, None)
  4. I found out this works better:

Bits per second: 115200Data bits: 8 Parity: none Stop bits: 1Flow control: none

  1. Reboot switch (Remove power)
  2. Hold down Ctrl U while rebootinga. Menu will be displayed
  3. Select> [D] Delete file
  4. Type startup-config (be sure that this is the ONLY file that you delete – if you delete other files, you will have to reload the firmware)
  5. Now, you have erased the configuration file and you should be able to reboot and login with the default username and password.

I did not have the ciorect terminal cable lying around...

I used a generic USB to serial comport bought at aliexpress for 2 dollars. And a universal DB9 female to female gender changer (which acts as a ground-to-ground 1-1 2-2 3-3 4-4 5-5 6-6 7-7 8-8 9-9 nullmodem. Which is just what this Linksys POE router SRW224P needs.) No soldering! :)

BartBart

I managed to access mine with a straight-through female to female DB9 cable and a USB to serial adapter set to 38400-8-N-1, No flow control.

I also needed to hit ENTER/ESC (ONCE) before the 'Hit escape' option. It says it will wait 2 seconds, but it doesn't. Don't hit it twice, or it will resume boot normally (unless that's what you want).

Others say using a null-modem cable worked for them. Perhaps different revisions used different pin-outs.

XebozoneXebozone

Not the answer you're looking for? Browse other questions tagged ciscoswitchconsolelinksysserial or ask your own question.

Active6 months ago

Some idiot (one guess as to who) installed a Cisco/Linksys SRW2024P in a 2nd location and forgot to change the IP before doing so. Now it's on a new subnet and I need to control it via console port.

I'm used to controlling Cisco gear through the console port from my Mac using screen or ZTerm and a Tripp Lite (née Keyspan) USB-to-Serial adapter, but have the benefit of being up to my neck in Cisco's blue DB9-to-RJ45 console cables. This Cisco/Linksys switch has a DB-9 male console port and I dug out a female-to-female DB9 serial cable, but I have no idea whether it's a null modem cable or not and it doesn't seem to work using the official serial port settings for the SRW2024P:

I must admit that I'm usually lucky and what cables I have tend to work, but not this time. Unfortunately, the former admin ditched the box & cables. So, should I need a null modem cable like the Tripp Lite P450-006 Null Modem Gold Cable DB9F/F - 6ft or something else?

Serial

I can get all crazy if I have to, but that's a lot of effort for something I could just buy a cable for, esp. since I'd like to keep the correct cable with this switch from now on. Any other ways to get into this that I'm not thinking of?

UPDATE:

I have tried a random serial cable and the aforementioned Tripp Lite null modem cable with my Keyspan USB-to-Serial adapter (both ZTerm and screen), and get nothing, no matter how many times I tap enter/return (okay, I haven't tested all the possibilities there). This is with using the aforementioned serial settings as well as the following (I found both in official documentation):

By connecting directly to the switch via ethernet and changing my IP to the same subnet as the original IP of the switch I can connect via the web interface, but do not have the password. And, no, it's not the default! So, my only option is serial (to perform a password reset, but that doesn't seem to be working in the slightest.

Any further suggestions would be greatly appreciated!

morgant
morgantmorgant
1,1155 gold badges19 silver badges33 bronze badges

5 Answers

This is the pin out of the connector on the switch.

A null modem cable should work.

Linksys srw248g4
dbasnettdbasnett

I have the SRW2024 and had to make a cable also.

My cable is wired 2--2, 3--3, 5--5 between the two female DB9's.

38400-8-N-1, No flow control.

Bryan
6,41011 gold badges60 silver badges89 bronze badges
SandySandy

Edit: I agree with Mike above - try just changing the IP on your laptop to be on the same subnet on the switch and plugging it into the switch first. Might just be that simple.

If not...Yes, you need a null modem cable. The fact that the DB-9 connector is male indicates it is a DTE (data terminal equipment, like a terminal, or... your PC). Normal serial cables are meant to go DCE (data communications equipment)-DTE, thus the gender mismatch.

Now, why Linksys would put a DTE port and call it a 'console' port instead of a real console port is another matter... but I don't think simply gender-bending, as you have done, will ever work.

tkrajcartkrajcar

Reset switch password

Usb To Serial Connection

  1. Get hyperterm for windows: https://digitizor.com/install-winxp-hyperterminal-client-on-windows-vista-or-windows-7-free/
  2. Or use PuTTy
  3. The advice is to connect to the console port using terminal emulation parameters (typically 38400, 8, 0, 1, None)
  4. I found out this works better:

Bits per second: 115200Data bits: 8 Parity: none Stop bits: 1Flow control: none

  1. Reboot switch (Remove power)
  2. Hold down Ctrl U while rebootinga. Menu will be displayed
  3. Select> [D] Delete file
  4. Type startup-config (be sure that this is the ONLY file that you delete – if you delete other files, you will have to reload the firmware)
  5. Now, you have erased the configuration file and you should be able to reboot and login with the default username and password.

I did not have the ciorect terminal cable lying around...

I used a generic USB to serial comport bought at aliexpress for 2 dollars. And a universal DB9 female to female gender changer (which acts as a ground-to-ground 1-1 2-2 3-3 4-4 5-5 6-6 7-7 8-8 9-9 nullmodem. Which is just what this Linksys POE router SRW224P needs.) No soldering! :)

BartBart

I managed to access mine with a straight-through female to female DB9 cable and a USB to serial adapter set to 38400-8-N-1, No flow control.

I also needed to hit ENTER/ESC (ONCE) before the 'Hit escape' option. It says it will wait 2 seconds, but it doesn't. Don't hit it twice, or it will resume boot normally (unless that's what you want).

Others say using a null-modem cable worked for them. Perhaps different revisions used different pin-outs.

XebozoneXebozone
Linksys srw2024

Not the answer you're looking for? Browse other questions tagged ciscoswitchconsolelinksysserial or ask your own question.