из консоли, можно выполнив команду:
wget -O - -q icanhazip.com
06:00.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) Subsystem: LSI Logic / Symbios Logic 1P2S Flags: medium devsel, IRQ 21 I/O ports at 1030 [size=8] I/O ports at 1028 [size=8] I/O ports at 1020 [size=8] I/O ports at 1018 [size=8] I/O ports at 1010 [size=8] I/O ports at 1000 [size=16] Kernel driver in use: parport_serial Kernel modules: parport_serial
setserial /dev/ttyS2 port 1030 UART 16550A irq 21 Baud_base 115200 setserial /dev/ttyS3 port 1028 UART 16550A irq 21 Baud_base 115200Запускаем на выполнение /etc/rc.local