Server :: Hdd Serial No
Apr 6, 2010hi 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.
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.
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.
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]....
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.
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 RelatedWe 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 RelatedExcept faster reading of zone records there is not other purpose of correct SOA number,right?
View 2 Replies View RelatedI'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).
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.
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 RelatedWe 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 RelatedI 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 ?
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 .....
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 RelatedI need to talk to several serial ports. I was thinking of having a bunch of USB to serial cables and then plugging all of them into a USB hub, which goes to the computer. What I want to know is, will I see each serial port as a separate thing? With 1 USB to serial cable and no hub, I see /dev/ttyUSB0. With this hub, will I see /dev/ttyUSB0, /dev/ttyUSB1, etc?
View 1 Replies View RelatedI have cloned my linux OS onto a new hdd. Now even tho the system will boot, it directs me to the login screen and asks me to fix the location of the root dir because it is looking for /dev/disk/by-id with a very long serial #. I presume this is the old hdd serial #. How can I determine the serial # of the new hdd and change it in fstab? Is this the correct idea? Is it just......ls /dev/disk/by-id???
View 2 Replies View RelatedI am in verse to understand the serial communication between guest and host.I have just added a serial port through VI Client selecting "Use serial port on host"(host being ESX host).If I am on VM and run :
ll > /dev/ttyS0
I understand that it should get displayed through ESX Host. So On ESX Host, I typed:
cat /dev/ttyS0
But nothing worked !
Can anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc
View 7 Replies View Relatedi would like to connect to my cisco via a console port and i dont konw how
View 13 Replies View RelatedI recently got an Avocent ESP 2 MI serial to IP converter to read some info information out of my Solarpanel converters. When I try to build the linux driver on my HP DLl40, running OpenSuSE 11.0, from the source rpm espx-3.17-1.src.rpm the build process exits with an error.My google searches have come up empty, unfortunately.
The log file from the installation program follows below. I am unsure what I need to do next in order to get working driver.
[Code]...
I have a laptop which has only one serial port.
I went into:
How do I know which of those "ttyS" refers to my serial port?
I am trying to get the ti_usb_3410_5052.ko driver installed but it gives a an error saying that "cannot locate the usb-serial.h file." Kindly let me know how to over come this problem. I saw in this forum about a patch but it is not working.
View 2 Replies View Relatedi need a usb to rs-232 converter to get into the console port i have an aten uc-232a converter and i have downloaded a .gz file called uplcom.4freebsd.gz i have unpacked it but i do not know what to do from here could some one please help i need to do some practice for the external icnd 2 exam and i have left it to the last minute as per usual.
View 2 Replies View RelatedI 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 RelatedI am able to use USB in serial mode for reading using
cu,
screen,
minicom,
jpnevulator,
[Code]....
i got this old UPS from compaq long back and installed it with a new battery. Thing is i need to connect it to my PC using this serial cable. But my mobo doest have 1. So i bought a COM port cable converter to serial and have attached the UPS through it.
Now after all this done, my PC wont detect any UPS.. i dont know whether its detecting it or not...
here is the output of dmesg|grep tty
Code:
stoned_420@stoners ~ $ dmesg|grep tty
[ 0.000000] console [tty0] enabled
[ 0.852459] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.852698] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
So is my UPS being detected :-/ If not how can i know?
Am attaching pics of what all i have.. save my UPS from draining off when i'm not at home and theres a power failure
I'm having ongoing problems with my Ubuntu installation(s) almost to the point that each addition causes new problems. The latest, continual problem is periodically the computer is being used and abruptly hangs with a blank screen. Though I believe the error is associated with my having an undefined ServerName for LAMP development server. I've decided to do a fresh install with all the options included and see what happens. I need some assistance in developing an install CD/DVD which has all the packages (and configurations) that I need. I want to be able to use a serial mouse (the computer is an older one and I only have a serial mouse to use).
View 1 Replies View Relatedive been looking through several online documents and forum posts but i cant get a clearcut answer on how to set up serial port acces in ubuntu 10.04 (server).
View 7 Replies View RelatedI bought a USB Adapter (Trendnet TU-S9) so that I could connect a old camera that connects via a serial port to my newer pc that has no serial port. The problem is that the adapter,to my surprise,requires drivers or some software to work.Windows, of course, and Mac drivers came with it on a disc but.... nothing for Linux. I am running Ubuntu 11.04.
View 1 Replies View RelatedI want to get a serial mouse (PS/2 with adapter) to work on a Dell C400 (so I can use the one USB port for wireless). I enabled the serial port in the BIOS, but the mouse didn't work.
View 1 Replies View Related