Skip to content
Advertisement

Openwrt linux devices list

I want to transfer some serial data as explained here:http://www.cse.dmu.ac.uk/~sexton/ENGD2003/openwrt/arduino%20teensy%20openwrt.html on an openwrt router. However, I directly connected to the serial port of the router as opposed to usb(in the guide) so now I don’t know which of the following is the device:

Which one of the following is the serial port of the router?

JavaScript

When I connect the device using serial, nothing new shows up so it must be one of those. Any ideas?

Edit: The results of cat /proc/cmdline board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd

Advertisement

Answer

As far as I understand, you are trying to connect Arduino board to your router’s console port, that you’ve soldered. The device name is /dev/ttyATH0.

I would make following test. If Arduino sends something on start, you can set the desired baudrate via stty and then execute cat /dev/ttyATH0 and see, if startup message appears.

If Arduino awaits commands, before it sends data, you will need minicom or screen, so that you can send/receive data over serial link.

Possible issues: this port is owned by both kernel (console=ttyATH0,115200) and init processes (see /etc/inittab), that means, that even if can use the port, kernel messages can interfere with your data.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement