OpenWrt Forum Archive

Topic: WRT54GS add serial port

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,
please bear with me, I am new to all this.
The hardware side of this is well documented on the net, and I have completed this.
My hardware is 3.3v so I understand it is ok to direct connect without the need for 5v max232.
I have installed the White Russian interface for this router, it completed successfully.
I can't find any reference to serial ports in the Open WRT Administrative Console.
Do the serial ports need initialising from a "script" during the router bootup?
Is this done with a program like PuTTY?
If so - how? step by step please
I have used PuTTY to log into the router, but thats as far as I have got.
Thanks in anticipation,
cheers,
David

According to the wiki, the first serial port is always enabled by default, so you can connect with the terminal program of your choice right away. The connection settings are also mentioned in the wiki.
If you are doing this for the first time, better double check that you have the right serial cable. It has to operate at 3.3V. Make sure to read http://wiki.openwrt.org/doc/hardware/port.serial before starting.

Many thanks for this,
I am focusing on the virtual serial port at the moment.
I am using HW Virtual Serial Port 2.5.10
I can ping successfuly from command window.
I have set exception in windows firewall for HWVSP 2.5.10
Also turned of firewall, but still no joy
ip 192.168.10.1
port 23000
port name com5
server port 23000

(II) 12/05/2013 19:00:35 : Program execute
(II) 12/05/2013 19:02:01 : Sending test ping to 192.168.10.1 device
(EE) 12/05/2013 19:02:01 : Can't create serial port COM5
(EE) 12/05/2013 19:02:02 : Winsock error 10061

changed the ports to 22 as in PuTTY
(II) 12/05/2013 19:02:41 : Sending test ping to 192.168.10.1 device
(EE) 12/05/2013 19:02:41 : Can't create serial port COM5
(II) 12/05/2013 19:02:41 : Connected device 192.168.10.1

One more question is it ok to loop the tx & rx just to test?
Thanks for the chink of light
David

cheers,
I am waiting for a max3232, and will then try to comunicate directly to a pc.
I will let you know how I get on,
D

The discussion might have continued from here.