Server :: No Input On Serial Console?

Oct 7, 2010

I've got a home server running ubuntu 10.0.4. It have no monitor or keyboard. So I want to access it from a serial console. (I use SSH currently but if something goes wrong, I need to be able to do something... so serial console seems a fine thing). OK, so on the server, I tell grub to output everything on ttyS0 and opened a getty on ttyS0. On the client side (Laptop running Ubuntu 10.0.4 with pl2303 USB to Serial adapter) I use Minicom.

Home server restart:I see grub menu, linux kernel messages, login prompt. But, I can't do anything:In grub or at the login prompt, no key press is recognized by the server.I've got write permission to /dev/ttyUSB0. I tried a different getty (mgetty)with no success.I stopped the getty on ttyS0 on the server. And run minicom.

From the server's minicom, if I type something, it appear on the client screen. From the client's minicom, if I type something, some garbage appear on the server screen :(One of this things for each char typed). If I short-circuit pin 2 and 3 of the client serial port, it echoed what I type. The two serial ports are connected with a nullmodem cable. (seems to be a full handshaking cable). Of course, same serial port config for both minicom, grub and getty. Hope I'm understandable enough. (English not my primary language). Can somebody help me make this *$*#! serial console working right ? I'm on it for 10 hours now with no success...

Edit : I nearly forgot to tell you I had to update the standard ubuntu kernel to 2.6.34-020634rc1-generic because there was a bug in the pl2303 driver in the stock kernel (2.6.32-25-generic) which prevented me from doing anything (even receiving).

View 8 Replies


ADVERTISEMENT

CentOS 5 Server :: Serial Console Does Not Work?

Apr 16, 2009

I configured the serial consol on centos5 as follows

# dmesg |grep tty
Kernel command line: ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,9600n8
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A[code]......

But I could not consol Centos server from my labtop (win xp) Is there missing or wrong configurations ?

View 3 Replies View Related

General :: Windows With Putty Via USB Serial Cable To Serial Port - Output Ok, Input Isn't?

Jan 13, 2010

I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0

in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but

cat < /dev/ttyS0. just prints out weird characters from what I type.

View 3 Replies View Related

Ubuntu :: 10.04 Serial Console Is Not Up Automatically

Jun 20, 2010

I am trying to pxe boot ubuntu 10.04.When it boot up,it doesn't show up login prompt from serial console ttyS0, Why ttyS0.conf job isn't invoked automatically ? is there anything wrong with configuration?

View 1 Replies View Related

Ubuntu :: 10.04 Serial Console Is Not Up Automatically?

Jun 20, 2010

I am trying to pxe boot ubuntu 10.04

grub config:

Code:
title Linux NFS
dhcp
root (nd)
kernel /vmlinuz-2.6.34 console=ttyS0,9600 root=/dev/nfs nfsroot=192.168.1.1:/home/nfsroot ip=dhcp rw
initrd /initrd.img-2.6.34-pxenfs

[Code]....

Why ttyS0.conf job isn't invoked automatically ? is there anything wrong with configuration?

View 3 Replies View Related

Debian :: Serial Console Blank After Boot

Aug 21, 2015

I have a dell poweredge server. In the bios, it has the option to redirect the screen to the serial port. There is also the check box "redirection after boot" which from what I understand will let me to continue to use the serial port attached to a terminal as if it was the main VGA monitor with a keyboard attached.

When I start the machine up, everything goes as expected, I see the output from the bios on my serial terminal, until debian actually starts booting. It all goes blank. If i attach a monitor i can see it is indeed booted and waiting at the debian login prompt. What should I do from here? I was under the impression that if i enabled "console redirection after boot" that the os would be none the wiser and i could continue using the serial console as the main screen as needed, but that does not seem to be the case.

View 2 Replies View Related

Fedora :: Finding A Serial Console Program?

Jan 14, 2011

i was using a serial console program (not minicom) two weeks back but took a break and have no idea what it is! man, it was awesome, too. it had a nice gui, similar to hyperterminal...and from what i think i remember it came packaged with f14.

View 4 Replies View Related

Debian Programming :: Serial Input In Scripts

Jun 10, 2013

I need a way to use serial input such as through an Arduino in Debian scripts, in any usable language.

View 2 Replies View Related

General :: Serial Input Read Into A Character App?

Oct 27, 2009

I have a character app running on a Linux server with a telnet thin client. This app requires 3 input values that I would like to be filled in from a scale indicator that is connected via serial to the PC running this app. I feel like this is doable but not sure how. The app is running in Progress 10.1B. Currently I can see the 3 values coming from the serial port with hyperterminal but I do not want to have to rekey into the app.

View 1 Replies View Related

OpenSUSE Install :: Access Fsck Through Serial Console?

Dec 22, 2009

I am looking for a solution to administer my remote server running SUSE LINUX 10.1 (X86-64) - Kernel 2.6.16.13-4-smp. I have made changes to server and is able to see the boot process and also able to login to system through serial console.

My question, will I be able to administer the server through serial console incase if my root partition is corrupted and system has gone to maintenance shell(or root shell).

Also is there way to go directly to maintenance shell from grub(not talking about single user mode). I want to go maintenance shell where / partition is not mounted.

View 9 Replies View Related

Ubuntu Servers :: Starting GUI Desktop In Serial Console?

Feb 23, 2011

I have installed KDE and all the software for it to run on my server through the serial console but when I go and run "startx" I get the following and KDE doesn't start running.

root@u15434060:~# startx
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Get Console Output Over A Serial - COM - Port?

May 28, 2011

Is there a way to get console output over a serial (COM) port? I have a box that I use as a NAS, DNS, DHCP and mt-daapd server, I don't have a spare monitor and it is not worth buying one just to use it once or twice a year.

I found this guide [url] but it doesn't work with Natty

View 3 Replies View Related

Fedora :: Connecting Cisco Console Port - USB To Serial Converter

Dec 16, 2009

I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.

View 10 Replies View Related

Ubuntu Servers :: Connect To Serial Console And Check It Remotely?

Jan 18, 2011

I am trying to connect to serial console, local one, just to verify than it works, is is possible?Well, I configure serial console

Code:

# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

[code]...

It is started, now I am trying to connect to the console via minicom, is it possible from machine where the console is running?If not, how could I check it remotely?

View 4 Replies View Related

Fedora :: Getting Console Input During System Startup?

Jan 26, 2010

I am setting up a system for students to use to run lab-based exams. On bootup, the system needs to download an encrypted file containing the exam files, and then ask for a decryption password.

I want to do this during system startup (before anyone logs in). But I am having trouble getting keyboard input at this point.

I've put a script in /etc/rc.d/rc5.d/S99examsetup along the following lines:

Code:
#!/bin/bash
echo -n "Enter password:"
read EXAMPW
echo "You gave me: $EXAMPW"

but it doesn't respond to keyboard input. I have tried appending "< /dev/console" but this also doesn't work; in fact if I insert 'tty' before the first 'echo', it tells me that /dev/console is the tty being used for input anyway.

Is there a way round this? I can use plymouth ask-for-password, but that doesn't seem very portable, and it interacts badly with the graphics driver on one of my machines.

View 4 Replies View Related

General :: Input Any UTF-8 String As If Typed On Keyboard From Console In Xorg?

Oct 6, 2010

Like in xte "str ў", but with support of all characters.

View 1 Replies View Related

CentOS 5 Hardware :: NetMOS PCI 9835 Dual Serial Card - Can't Use The Serial Ports

Feb 21, 2009

On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)

[Code]....

View 17 Replies View Related

Debian Hardware :: How To Get Old Serial-touchscreen To Work With USB / Serial Adapter

Oct 9, 2015

I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.

Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....

This info is a work around to get the xserver to see the touchscreen. [URL] ....

I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......

There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.

Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.

View 1 Replies View Related

Ubuntu :: Serial MIDI - Doesn't See Any Serial Ports?

Jun 21, 2011

I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.

View 2 Replies View Related

Software :: Connect A Serial Cable To The Serial Port?

Mar 23, 2010

We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?

View 3 Replies View Related

Server :: Hdd Serial No

Apr 6, 2010

hi all,

How to find out server's HDD Serial no tried below command but didnt work,

#hdparm -I /dev/sda

so please help & Thanks in Advance.

View 3 Replies View Related

Server :: Using Of SOA Serial Number?

Feb 19, 2011

Except faster reading of zone records there is not other purpose of correct SOA number,right?

View 2 Replies View Related

Ubuntu :: 9.04 - Setting Up Serial Communications Between Server

May 21, 2010

I am wanting to set-up serial communications between my server (ubuntu 9.04) and a picaxe chip (a pic with a bootloader) I need to send data in the format of "1,1,1" or "1,1,0" at 9600 baud 8 data bits, no parity, 1 stop bit and no flow control. the data must be sent as numbers not ASCII I have tried
Code:
echo 1,1,0 > /dev/ttyS0
Any simple shell script or even python.

View 8 Replies View Related

General :: Display Server Serial Number

Mar 18, 2011

How to display server serial number, type of os for that server and kernel version for that server. with seperate way.

View 8 Replies View Related

Software :: Shutdown Of Server Over A Serial Connection?

Jan 18, 2010

We have an APC UPS connected to our main server via a serial cable, with the APC Powerchute Business Edition up and running nicely. We also have another server which is protected by the same UPS I started looking at an APC interface expander which would allow shutdown of multiple servers from the same UPS, however it appears it's not standard serial cables but a whole proprietory nightmare.possible to hook both servers up with a serial cable and have the master shut the other one down through a shell script? Both boxes are CentOS 5.4

View 5 Replies View Related

Server :: Ubuntu 9.04 Server - Console Font Too Big And Starts Off Screen

Jan 4, 2010

The title pretty much says it all. Once I get past GRUB, the font becomes HUGE and starts off screen. It appears to be center zoomed because I cannot see the login prompt nor anything I type. It's not really an emergency, I installed OpenSSH during the OS installation and can just turn it on and log in over SSH or start up Webmin. It just bugs me that I cannot figure this out.

There is no graphical environment installed, so it's not a video card issue. I tried adding vga=ask as a kernel flag and then tried several options, but to no avail.

View 1 Replies View Related

Server :: Script For Managing SOA Serial In Zone Files

Feb 25, 2011

Here's a little tool that does this:
Without arguments, updates the SOA serial in a zonefile to the current date. If the date was already updated, just updates the revision number (incrementing up to 99, and then again 01). Uses RFC 1912* recommended format.
With $1 == <two digit number>, auto updates (if necessary) just the date part and uses your provided revision number.
With $1 == <eight digit number>, uses that as a date (no validation of any kind), and just auto update the revision number
With $1 == <full serial>, will just replace whatever the serial is with the provided serial, without any validation

* YYYYMMDDRR (4-digit year, 2-digit month, 2-digit day of month, 2-digit revision number)
This script + keeping SOA/NS/MX/CNAME RRs in a common file $included from other files with $ORIGIN and A/PTR/TXT RRs, made everything way easier to manage, enabling me to script some zone switchers, automatic failover/redirection of DNS on WAN changes, etc, etc. I think this stuff might be cool to integrate with something like this script and make nice CLI toolset for bind. Looking forward to implement it.

Code in pastebin
Code:
#!/bin/bash
# globals
script_name="${0##*/}"
script_dir=$(readlink -f "${0%/*}")
script_version=1 .....

View 4 Replies View Related

Programming :: Getting Information From Serial Port On Server Unit

Jul 19, 2011

I'm working on program that is going through setting different baud rates onto a config file. After I set a new value i want to check if it's the correct one by reading from the serial port on the server unit. I know what to expect if it's the correct baud rate so that's no problem, but searching through the internett i've yet to find a compact solution to my problem.

View 1 Replies View Related

Software :: Start A Program From Tty1 Console To Be Executed In Tty2 Console?

Sep 8, 2010

How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.

View 6 Replies View Related

Server :: VPS Ip's - Connect To Console By Ssh ?

Jan 7, 2010

I have a website on a shared hosting and the domain name of this website is hosted by the shared hosting company too. This domain name has :

- One ip address and two name servers
- ns1.companyname.com and
- ns2.companyname.com

Both name servers pointing to different ip addresses. Now I have a VPS server running on Debian 5. The new hosting gave me two ip's for this VPS.

Now I want the domain name to point to the VPS, I asked both hosting providers for the VPS and the shared hosting which host the domain name, the shared hosting tell me that it is very easy what you want to do and possible, you have just to point the domain name to the new ip of the VPS and all is fine, the seem thing confirm the VPS provider too.

Now as I have two ip's I am confusing, first :

- Which ip should I indicate when setting the domain name to point to ? because VPS has two.

- Once I point the domain name to the new ip, is there a further configuration to take on setting on the VPS ? for example should I indicate the name servers ns1.companyname.com and ns2.companyname.com on the VPS or it is not necessary ? the hosting tell me that the problem is solved once I point the domain name to the VPS ip.

- To connect to console by ssh, I am free to choose one of the two ip's of the VPS or there is just one which work for console ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved