The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
27 views

Redirect console to a serial port

I have a serial port /dev/ttyS2 that is connected to a supervisor. Normally, I use this line to send commands back and forth between CPU and supervisor. However, under some settings, I want to just ...
2
votes
1answer
55 views

How to readout unused serial pins (RTS, CTS, etc.)?

I have an interface for RS-232 communication. I need this interface for simple communication (no parity bit or flow control → TX, RX and ground) but now I have quite 4 pins unused (RTS, DTR, DCD/DSR, ...
1
vote
1answer
27 views

How to programatically send break signal (Magic SysRq) through serial terminal

I have following setup - I have 2 computers connected by serial connection (null modem) emulating vt220. I'd like to send break signal (Magic SysRq) from shell script - is it possible without writing ...
0
votes
0answers
18 views

QEMU kernel panic to serial port

I'm working with kernel 2.6.13.1 on Debian 6 with QEMU/KVM for a class. The kernel, once installed, panics on boot. The curses interface to qemu doesn't seem to allow scrollback to view the entire ...
4
votes
1answer
74 views

Find correct tty & tty settings

I managed to run pure Debian (debootstraped) ON my Android-based device. That means that my Nexus 5 runs a perfectly normal GNU/Linux system but with the CyanogenMod 11 Linux kernel (has some ...
2
votes
0answers
51 views

Working /dev/ttyS0 but can't transfer binary (one serial but two drivers Com1/Com4)

I think it's a driver config issue, it works in winXP(dual boot) with intel drivers. I'm debugging via serial port from another machine, which works fine. The PC is a i5 dell Optiplex 790 running ...
1
vote
1answer
16 views

access to ttyusb0 as normal user

I am trying to access a serial device, which is attached as: "/dev/ttyUSB0". crw-rw---- 1 root dialout 188, 0 Nov 29 15:45 ttyUSB0 For that I created a new udev rule: SUBSYSTEM=="tty", ...
1
vote
1answer
27 views

Configuring Getty for hardware terminal

I am looking to configure a serial line for the following: 9600 Baud Word Length: 8BIT Parity: Mark XON/XOFF On I can't seem to locate the details on the "Parity Mark" part so far on my searches ...
7
votes
0answers
44 views

Why does 8250 UART driver not wake up TTY if more than 256 characters are pending?

What is the motivation of this if-condition in void serial8250_tx_chars(struct uart_8250_port *up)? if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) uart_write_wakeup(port); It has been ...
1
vote
1answer
65 views

Connect to serial, issue a command, read result, capture it and exit

I have some device, connected to serial port. Actually, it is Arduino based temperature sensor. I wish to write a script, which will connect to serial port, send a command to device, receive it's ...
3
votes
1answer
91 views

Serial File Transfer without lrzsz

I have a device running Raspian, that does not have the lrzsz package installed on it. I only have a serial port to the device, and can connect to the device using screen or minicom, but unfortunately ...
0
votes
0answers
50 views

Getty crashes when I attempt to open a serial terminal

I started a getty console on my serial port on a raspberry pi compute module running Raspian by configuring the following line in /boot/cmdline.txt: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 ...
-2
votes
1answer
154 views

Virtualbox and telnet

With the latest VirtualBox it is possible to set a tcp serial. I have set port 2231 and with telnet localhost 2231, the login prompt appears on my old Unix system. The problems are: passwords are ...
1
vote
1answer
398 views

Sending serial commands with echo vs screen session

I have a small LED matrix controlled by a display driver that accepts serial commands to update the display. I'm successfully controlling it via node with the node serial package, however I'd like to ...
2
votes
1answer
308 views

How to get kernel messages on serial console on a systemd system?

I'm trying to set up an A20-OLinuXino-LIME2 as a headless fileserver with a Debian 8 image from Igor Pečovnik's builds. I would like the system to output its kernel messages to the serial console ...
1
vote
0answers
19 views

Serial Console Log Redraw Characters [duplicate]

We have a server in our infrastructure that logs all serial output of devices. One of the main issues we experience with it, is that sometimes we get output that is virtually unreadable due to the ...
1
vote
1answer
158 views

How to free a serial port owned by Getty

I have machines in pairs. They're connected to each other by a null modem serial cable. These machines sometimes go down, and the only way to diagnose them is through that cable, using the other node ...
0
votes
1answer
206 views

Using `minicom` not able to access the root file system

I am trying to use minicom for my serial cable communication to the target but I am not able to access the / of my remote device.I tried setting up ttyXX for minicom using sudo minicom -s but still I ...
1
vote
1answer
75 views

Available console solution for a physical machine running OpenBSD?

If we have a physical server running OpenBSD, what are the available remote console solutions for it? Are there any unique methods because it's an OpenBSD? Console of course means if there is no ...
4
votes
1answer
189 views

List serial devices on FreeBSD

On FreeBSD, I'm looking for a way to list serial communication devices. The computer has two of them installed: An on-board serial console (ttyS0), and an internal analog modem. I can find out about ...
1
vote
1answer
152 views

_Robust_ bluetooth serial port console/tty

I've managed to create and connect to a console via bluetooth, as is described in many Q&A's FAQs Guides etc found via a google search. Briefly, in sudo mode, /usr/sbin/hciconfig hci0 piscan ...
2
votes
0answers
422 views

cat /dev/ttyS0 Input/output error

I created infrared receiver as in LIRC manual (http://www.lirc.org/receivers.html). And tested it on windows using program called Terminal. When I switched on RTS pin DCD pin was also switched on ...
3
votes
1answer
742 views

What is the complementary command to 'rx' for xmodem transfer?

I have an installation of busybox on an embedded linux system that comes with a great little utility called rx: rx FILE Receive a file using the xmodem protocol This is perfect for transferring ...
1
vote
0answers
110 views

Kernel loglevel and console manipulation

I want to have two console kernel arguments, one /dev/tty2 for screen and one /dev/ttyAM0 for serial debugging. I can achieve that simply with: console=ttyAM0,115200 console=tty2 I want /dev/ttyAM0 ...
0
votes
0answers
119 views

Can't access multiple USB channels

In OpenBSD I have a 3G minipcie (USB) modem, that has multiple non multiplexed USB channels. dmesg output: umsm0 at uhub4 port 1 configuration 1 interface 0 "Sierra Wireless, Incorporated AirCard" ...
1
vote
1answer
353 views

how to use ser2net control port

man ser2net says that by running ser2net with a -p flag I can execute a number of commands. If I run ser2net -p 12345 and, then, lsof -i :12345, I can see the service on that port. How would I, for ...
2
votes
1answer
581 views

terminate screen monitoring serial port

I'm using screen /dev/tty-MyDevice to look at traffic on my serial port. Pressing Ctrl+D doesn't cause the screen to terminate. How do I terminate it? Thanks
1
vote
1answer
100 views

login using serial port in Linux

I have a slackware machine and I'd like to have a serial console on it. I have a RJ45 console on my hardware. I can now only get output on the console and cannot give any input back to the device. ...
1
vote
2answers
651 views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...
5
votes
1answer
2k views

No login prompt on serial console

I have connected a USB-to-serial cable from OS X to a Banana Pi board running Arch Linux ARM, distributed by Lemaker. The connection itself works well - I see all the boot messages on startup, I can ...
1
vote
1answer
140 views

problem with U-boot while flashing Linux in sd-card

Please help as it is immense necessary for a project which is to be evaluated coming week. Also, I am very new to this and unable to find help from existing contents available on the Internet. While ...
3
votes
1answer
206 views

Linux console: only kernel messages are printed

My Linux system is built by Buildroot and runs on a Raspberry Pi. I use a Usb to TTL Serial cable to get a console. Here comes cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 ...
3
votes
1answer
318 views

Output shutdown messages to multiple consoles

I have configured my system to direct console output on boot to serial and vga using kernel parameters. Serial is the last argument in the kernel parameters and will be the default used for ...
1
vote
1answer
250 views

Serial communication not working in both directions

I am working with a SOM mounted on a carrier board running Ubuntu 14.04 with the generic 3.13 kernel. While testing out the peripherals, I hit a problem with serial communication. Basically, I can ...
1
vote
1answer
369 views

VT100 terminal emulation to use with a Java-based 8-bit computer emulator

I'm successfully using GNU Screen as serial terminal to "talk" to my Altair 8800 clone (http://altairclone.com/) using serial line. The command I use is: screen -istrip /dev/ttyUSB0 Screen does the ...
1
vote
1answer
137 views

unable to establish communication using grabserial

I have use teraterm in past and it works fine. I can see log messages coming from my board. Ultimately I reach the login prompt where I enter my login and password for OS running on my board. Now ...
2
votes
1answer
147 views

Should IP tables rules affect a serial port on Linux

I'm trying to setup some iptables rules on my embedded Debian Linux system, using a serial console I entered this: root@ts7600-47aad3:~# iptables -F root@ts7600-47aad3:~# iptables -P INPUT DROP ...
0
votes
0answers
60 views

When connecting with GNU Screen (patched version) RPi reprompts for password in kind of loop

I'm sorry this is a repost of my question on raspberrypi.stackexchange.com, but I didn't get an answer there, so I thought I could post it here. If not, please suggest some other way to get help. I ...
7
votes
2answers
7k views

How to change the width of remote serial console?

I followed this tutorial and now I'm able to connect to serial line. Now I want to change the width of terminal. How can I do this by using screen or minicom or something else?
2
votes
0answers
398 views

Kicking a process from a USB-Serial port

I have a application which is using the USB-serial port. Occasionally on shutdown the port cannot be opened by another instance of the program, and up until now the only way I know of the program ...
5
votes
1answer
1k views

how to reboot a frozen FreeBSD server from the serial console?

Linux has the "magic sysrq key" to reboot frozen machines remotely, and it works over the serial console, but what about FreeBSD? Is there a way to send a "control-alt-delete" to FreeBSD servers on ...
2
votes
1answer
317 views

FreeBSD gettytab configuration

I have a serial port on my system which is named cuau3 under FreeBSD. I want to change the properties of this port, I can change the device's speed using /etc/ttys and /etc/gettytab files, but I can't ...
3
votes
1answer
274 views

Is it possible to have two seperate one way (simplex) serial ports to make single tty device?

I am building embeded device, which has IR comunication with PC and it will have two IR Led/detector pairs which are one-way and are setup like this: IR source input commands -> near embeded device ...
2
votes
1answer
5k views

Unable to receive data from /dev/ttyACM0 device [closed]

Using USB based CAN device connected on AR9350 mips processor based Atheros reference board with linux kernel 2.6.32.61. Which is coming up as /dev/ttyACM0 device. In which Able to transmit data from ...
2
votes
1answer
6k views

Using screen to connect to Cisco console

I am trying to configure a Cisco (small business 300) via serial port. I read here: http://www.commandlinefu.com/commands/view/6130/use-screen-as-a-terminal-emulator-to-connect-to-serial-consoles ...
1
vote
0answers
113 views

beagleboard com and HDMI dispaly

I've installed Ubuntu 11.10,lkde and gem on my BB and I connect to it through serial com. when trying GUI application through the com (e.g. gedit) I get "display not found, though a monitor is ...
4
votes
1answer
2k views

How do I test that two connected serial ports really transmit data?

I have a device with two serial ports which I connected together, and I SSH into it. I would like to send data via one of the serial ports and read it from the other, to see that they do ...
2
votes
1answer
2k views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
4
votes
3answers
13k views

GSM modem does not create /dev/ttyUSB file

I installed Kannel in a server, and I want to use a GSM 3G USB modem to send/receive SMS messages, as described in section SMS Centers > GSM Modem of the Kannel User Guide. I have already installed, ...
3
votes
1answer
3k views

Redirect linux serial console

I want to redirect my serial port while telnet session in linux. I have an embedded Linux box which is has a serial console. After I do a telnet to the box, I can type in both the serial console as ...