General :: Determine The Serial # Of The New Hdd?
Jan 20, 2010
I 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
ADVERTISEMENT
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
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
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
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
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
Apr 13, 2010
Just wondering if there is a way to determine if the user has logged in is via ssh or if they are sitting directly in front of the PC and have logged in that way.I was going to do it via the .bash_profile so once they have logged in the bash_profile is run and it will have a test to see if the user is logged in via ssh or 'direct' log in. but not sure how or if this can be done.
View 2 Replies
View Related
Apr 20, 2011
I'm interested in figuring out which programs on my machine are using swap, and how much each is using. I realize this can probably be done with top, but I am having trouble figuring how how.
What I've tried:
Start top
Press f (add column)
Press p (SWAP colum)
This adds a SWAP column, but the data doesn't seem to be correct. Top lists Firefox as using 582m of swap, but the header simultaneously reports that 0k of swap is being used.
Is there a better way to monitor swap usage?
View 2 Replies
View Related
Jul 2, 2011
How do I determine what sound card I have? How do I find out for sure what version of Linux I am running? I think it is 10.04 Lucid.My computer is a Dell desktop, pentium 4.
View 7 Replies
View Related
Apr 20, 2011
Firstly I would like to say that Linux is very cool, especially the CLI. I have been trying to learn how to do some things in Fedora after being told Fedora was a good distro to get my feet wet. I have run into some issues and cant seem to find any answers. What Linux utility can be configured to automatically save the current logs?
How does your Fedora get an IP number? What IP numbers has your Fedora been assigned since it was installed (based on the logs you have)? What command did you run to determine the IP numbers? What command would you run to determine the number of times a user successfully used "su"? What command would you run to determine the number of times a user unsuccessfully used "su"? Having some issues with the file system as your Fedora boots up.
View 5 Replies
View Related
Jun 25, 2010
server has stopped responding 2x the past week. can't authenticate locally, web servers are not responding, etc. reboot seems to resolve the issue temporarily, but it looks like a disk or controller failure.
View 2 Replies
View Related
Nov 13, 2009
We have quota system in home directory and there is binary aquota.user file.
How do i determine how much quota is assigned to a user?
View 1 Replies
View Related
Mar 14, 2010
How do I, in Ubuntu, determine what the formatting (e.g FAT etc.) of an SD card is?
View 2 Replies
View Related
Mar 23, 2010
How would I find out all the files a particular process accesses?
I am using Ubuntu 9.04.
View 1 Replies
View Related
May 18, 2010
Finding the process that is using a certain port in linux
I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?
View 1 Replies
View Related
Sep 20, 2010
When CentOS boots up, it tries to determine the IP for a network device (eth0) and fails.
'Determining IP information for eth0... failed; no link present.'
I'm curious to know how, after booting up, I could set the IP information for a wireless device, wlan0, manually. Another way of putting this questions is: if CentOS is able to determine IP information for a network device on bootup, what settings is it configuring exactly?
View 2 Replies
View Related
Nov 16, 2010
We have two directories:
$ ls -l
total 8
drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 jeter
drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 mariano
I create one file in the first folder:
$ dd if=/dev/zero of=jeter/zero_file.1 bs=512000 count=1
1+0 records in
1+0 records out
512000 bytes (512 kB) copied, 0.268523 s, 1.9 MB/s
This is the output of du:
$ du -sh *
504K jeter
4.0K mariano
As expected, if I place a hard link of the zero_file. in the other folder du output does not change:
$ ln jeter/zero_file.1 mariano/zero_file.2
$ du -sh *
504K jeter
4.0K mariano
there is nothing in the filesystem that points to zero_file.1 as the original file. So how does du know to count zero_file.1 but not zero_file.2?It cannot be a timestamp comparison because all hard links share one inode; they'll have the same timestamp data correct?
View 3 Replies
View Related
Feb 11, 2011
Let's say I have a bash script called log.sh. In this script, I want to read in input from a pipe, but I also want to know the command used to pipe input into me. Example:
tail -f /var/log/httpd/error | log.sh
In the shell script, I want to know the command tail -f /var/log/httpd/error.
View 2 Replies
View Related
Jan 13, 2010
Is there a simple way to determine the CPU socket from the output of /proc/cpuinfo. Determining the type of processor is simple enough, but the processor I have (Celeron) has two different possible sockets. The output of /proc/cpuinfo is:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
[Code]...
I've looked on the Intel processor finder web site with appropriate filters, but the stepping values do not appear to match anything.
View 1 Replies
View Related
Jan 19, 2010
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.
View 3 Replies
View Related
Feb 27, 2011
As per these instructions, I got up to the end of the "Acquiring an Ubuntu filesystem" step (where it asks you to mount the newly created Ubuntu partition) and ran into a problem: The partition won't mount, as the file system type cannot be determined because I cannot remember the file system used during installation. Is there any command that prints the file system type of GPT partitions?
View 5 Replies
View Related
Nov 16, 2010
Multiple dirs full of mp3s All strictly encoded with exactly the same parameters (CBR 128kbps, Joint-Stereo, etc) Is it possible to determine the total playing time (to within ~98% accuracy) by some formula based on the total file size? I say ~98% accurate since ID3 tags do consume a small amount of space.
View 3 Replies
View Related
Apr 5, 2011
I m using SUN Server .
How would i determine the number of RAM slots using dmidecode.
I m running following command to get RAM information. code....
View 7 Replies
View Related
Jun 13, 2010
Is there a linux/unix command that will return where a domain is hosted at? Basically, the command that is used for [URL]?
View 1 Replies
View Related
Nov 30, 2010
i have a folder with 10 files and i would like to determine the size of each file. i was trying the command
Code:
du -sh foldername
but i receive the total size .
View 5 Replies
View Related
Feb 8, 2010
I am writing, well actually enhancing, a script to do a daily backup of important data on my PC to a second hard drive.I wish to tar my home directory to a single file - and will probably use gzip as well.So I decided to work out the correct tar syntax in a terminal first - here is what happened.I opened a terminal window.I cd to a directory not part of my home directory.I issued the command..Quote: tar -cvf mytar.tar /home/ken tar processed a bunch of files, the last being .netrc.I examined the tar file and it contains .netrc.The contents of .netrc are correct.I scrolled back through the list of files in the terminal window and do not see any error messages.I guess the question is... how do I determine what file tripped up the tar process?
View 8 Replies
View Related
Nov 8, 2010
i can i determine my distribujtion type, i use a redhat linux 9, i need to knw for download benefits, cause its seems am alwyas downloadin the wrong software for my package.
View 8 Replies
View Related
Jul 1, 2010
Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.
Why is block size divided by 1024?
I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.
My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.
View 1 Replies
View Related
May 3, 2010
You would think it would be easy to do this (and essential to maximizing and predicting the usage of tapes), but apparently this isn't so. The program MT(1) actually had some commands that give the block positition (if supported by the drive) from which the remaining space could be deduced (even if you couldn't predict exactly how much space the next archive would take up). However I'm using MT(1L) which no longer has such commands.
View 1 Replies
View Related
Dec 13, 2010
Consider the following scenario: you have two disks that are kept synchronized by some method. Could be RAID, could be LVM snapshots, could be a script. However, something has gone wrong. The disks are out-of-sync and you don't know which disk received which updates. You want to manually re-sync the disks but how do you figure-out which file to copy where?
I'm thinking of saving recursive directory-listings of the entire disks to text-files. Sorting them on last-update and removing all identical entries from the files.
I have a feeling that this is something that can be done with just a few command's but I need some help to get me started.
View 6 Replies
View Related