<div dir="ltr">Chris, you are not going to like my reply. I would use MobaXterm on a Windows laptop.<div>Plus as John says a USB to serial dongle. Dont get all hung up on null modem cables - just use a USB dongle and any serial cable. Give it a try.<br><br>As an aside if your switch has an RJ45 style serial port the RJ45 to serial cables on Amazon work great.<br>I used to carry one in my bag of cables and adapters in the days when I visited sites.<br><br>(Might not be RJ45 - but you know the standard port, looks like ethernet but it is not)</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 30 Jan 2025 at 17:46, John Edwards via GLLUG <<a href="mailto:gllug@mailman.lug.org.uk">gllug@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Chris<br>
<br>
On Thu, Jan 30, 2025 at 05:26:35PM +0000, Chris Bell via GLLUG wrote:<br>
> Hello,<br>
> I have a secondhand HP ProCurve 2824 J4903 network switch and some computers <br>
> running Debian 12 (Bookworm) with KDE desktop and DB9 serial ports. I have <br>
> followed the switch "return to factory default reset" procedure, so I think <br>
> need to connect the Switch Console DB9 to a computer DB9 via a null-modem <br>
> cable to do an initial configuration with terminal configured as <br>
> <br>
> Baud rate 9600<br>
> 8Bits + 1 stop bit<br>
> No parity<br>
> No flow control<br>
> <br>
> Xmodem is mentioned<br>
> I could then use a standard VT-100/ANSI or web interface to continue <br>
> configuration.<br>
> <br>
> I have two DB9 to open end adapters plus choc block so that I can easily <br>
> change the connections.<br>
> I don't care whether I work as computer user with dialup permission or root.<br>
> I have read through various man pages, but nothing I have done so far has <br>
> shown any sign of working, and am not sure whether I am trying the wrong <br>
> software. Could SystemD need to be configured first?<br>
> Any suggestions welcome.<br>
> I would be happy to install a different version of Debian if needed.<br>
> Thanks for any help.<br>
> -- <br>
> Chris Bell<br>
> <a href="http://www.chrisbell.org.uk" rel="noreferrer" target="_blank">www.chrisbell.org.uk</a><br>
<br>
What program are you using on the Linux machine to connect?<br>
<br>
I tend to use 'minicom'. Control-A followed by 'o' opens up the menu<br>
(to change serial device, speed, etc), Control-A 'z' opens up help,<br>
and Control-A 'q' quits without sending a reset to the serial device<br>
(usually safest).<br>
<br>
The motherboard serial devices are numbered from /dev/ttyS0, and USB<br>
serial adapters from /dev/ttyUSB0.<br>
<br>
The devices are usually group-writable by the "dialout" group, so run<br>
'groups | grep dialout' to make sure you a member of that group.<br>
<br>
I think SystemD only needs to be involved if you want to set a<br>
terminal control on a serial device for other devices to connect to<br>
you machine.<br>
<br>
Another useful tool is 'statserial', which shows you the status of the<br>
various serial pins, so you can use that to see if anything is on that<br>
serial line and it ready to receive (eg have you got the wrong device,<br>
crossover cable, etc).<br>
<br>
<br>
-- <br>
#---------------------------------------------------------#<br>
| John Edwards Email: <a href="mailto:john@cornerstonelinux.co.uk" target="_blank">john@cornerstonelinux.co.uk</a> |<br>
#---------------------------------------------------------#<br>
-- <br>
GLLUG mailing list<br>
<a href="mailto:GLLUG@mailman.lug.org.uk" target="_blank">GLLUG@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/gllug" rel="noreferrer" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/gllug</a><br>
</blockquote></div>