Hardware :: Tool - Finding The Mainboard Serial Number?
Jan 15, 2011Which linux tool can find out mainboard serial number?
View 5 RepliesWhich linux tool can find out mainboard serial number?
View 5 RepliesExcept faster reading of zone records there is not other purpose of correct SOA number,right?
View 2 Replies View RelatedI have Ubuntu 10.04 LTS. I have a script that prompts you to insert a USB HDD/memory stick then it needs to determine its serial and model and save it to a file. The script can determine the device file of the inserted drive(ex: /dev/sdc) and if hdparm -I /dev/sdc works then all is ok. The problem is that not all USB HDDs/memory sticks work with hdparm. When it does not work I get the following:
Code:
root@izghitu:~# hdparm -I /dev/sdc
/dev/sdc:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
The other command to get the serial for USB devices of any kind is lsusb -v or lsusb -D /path/to/bus/address The problem of the first one(lsusb -v) is that it lists all USB devices and there's no way for me to script it to detect the inserted USB drive/memory stick and get the serial/model for it. The problem with the second one(lsusb -D /path/to/bus/address) is that I do not know how to get the correct USB bus address of the inserted USB drive/memory stick.
Is there any other way to get the serial number/model of a USB HDD/memory stick using its /dev/sdc device file? Is there any way to link the /dev/sdc device file with the /dev/bus/usb/address device file so I can then use the lsusb -D command to get the required info?
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 RelatedKernel 2.6.21.5, Slackware 12.0
Code:
root@darkstar:~# blkid
/dev/sda: LABEL="MAESTRO!" UUID="4730-D359" TYPE="vfat"
/dev/hdc: LABEL="STORE1 ver. 2 (overrules ver. 1)" TYPE="iso9660"
[code]...
As you can see, the first command gives numbers like C841-0655. But for the optical disks (iso9660) it gives them not. Neither does the second one. This number is known as 'Volume serial number' in MS-DOS, and is printed on console with the command 'dir' not only for the HDD partitions but for the optical disks too. how to get an optical disk Volume serial number? Notice that this number is inherent to the media (is a property of the media, under any O.S.).
how do i get the volume serial number using the API on CentOS?for example, on Microsoft Windows i use this function(API - Kernel32.dll):
BOOL GetVolumeInformation One of function's parameter is a pointer to a variable that receive the volume serial number;
I want to get the Hard Disk serial number of SCSI HDD on Solaris. On linux this is done using following structs and API:
struct hd_driveid hd;
int ide;
ide=open("/dev/hda",O_RDONLY);
(void)ioctl(ide,HDIO_GET_IDENTITY,&hd);
(void)printf("Serial number - %s
",hd.serial_no);
Is there any similar method exists in Solaris to get HDD serial number.
i need to get the hard disk serial number of my machine using a C++ program.
View 11 Replies View RelatedOn a small network i have 3 WinXP computers and i've just installed a two new ones with Win7 pre-installed. As server i'm running OpenSuSE 10.3 and Samba with only one share. As i mount it to WinXP computers all get same volume serial number:
Code:
V:>dir
Volume in drive V is AppDrive
Volume Serial Number is 8CD5-975C
...and all Win7 computers get a diffrent one:
Code:
V:>dir
Volume in drive V is AppDrive
Volume Serial Number is A0D3-975C
We use application witch somehow only works when one/same volume serial number on a mounted drive is used.
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 RelatedI can not for the life of me determine how to get the monitor serial number / manufacture date using Extended Display Identification Data (EDID). Does anyone know? None of the following provide this info:
monitor-get-edid
monitor-edid --v
monitor-edid --MonitorsDB
monitor-get-edid | monitor-parse-edid
dmidecode -q
I read this thread but
Code:
anisha@linux-uitj:~> su
Password:
[code]...
I'm the POC for all my families Linux computers. Is it possible to get statistics on which programs are accessed, how frequently, for how long and by which user?
When it comes time to upgrade it would be useful so I know which programs to concentrate my testing. I usually just e-mail and ask but every time people forget to send me the programs they actually use.
I am in search of a free tool (Due to Finance Manager budget restrictions) for monitoring USB, Folder and Internet access for network users.I want to know when someone plugs in a USB drive, which folders they access and which websites they visit. CEO request but no budget given to this request.
View 3 Replies View RelatedI am trying to search a tool for testing multicast. Currently, 'yum search multicast' yields nothing. I saw mcsender and mctest in google but they seem not to be supported in CentOS. Do you know any tool that can test multicast?
View 3 Replies View RelatedFrom time to time I try to play saved video from ..... but it is not working.<br> I receive the following lines from MPlayer.<br>
Quote:
Playing /tmp/FlashqikYbO.
libavformat file format detected.
[flv @ 0xb7f27c48]Unsupported video codec (7)
[flv @ 0xb7f27c48]Unsupported audio codec (a)
and
Quote:
Cannot find codec matching selected -vo and video format 0x7. Read DOCS/HTML/en/codecs.html! But I can't find DOCS/HTML/en/codecs.html this at my machine, damn I guess it is some rare flv format, no one of my video players are able to play following video.<br> [URL] it happens often, so I was wondering maybe exist some video diagnostic tool that will provide me all info about video file?
how to find a free X display number?
I am using Xephyr to create a windowed session for logging in as another user. It needs its own X display, though. Obviously I can just give it :1.0 and hope for the best, that it would be better to identify the first free display and use that.
But I don't know how...
anyone know that the ntfs's file sytem struct? is there's a API or something other could let me get this number? Or there is actually no such number in windows like the number of inode in linux?
View 1 Replies View RelatedI deleted files on my linux drive that I shouldn't have. What is a good tool to use to recover these files that will:
Recover the various file types (txt, php etc)
Recover it as the original files names
TestDisk and PhotoRec almost do the trick, but the original filenames are not restored.
My collection contains some MP3s which have some glitches like
displaying the wrong duration on loading
minor jumps
suddenly ending despite the duration claims another minute remaining
noise
I'm looking for a tool that can detect as many of these glitches as possible and fix those that can be fixed (obviously e.g. noise can not simply be eliminated in most cases).
I tried to come up with a thread title that was specific without being too long or cryptic. Don't think I succeeded. In my PHP error log I keep getting this error over and over again:
Code:
EntityRef: expecting ';' at line 565, column 81
It's very odd to me that it doesn't contain any sort of stack trace or file info. I know which of my virtual hosts and therefore which directory it's coming from, and it's happened now on half a dozen different servers that this site has lived on. So obviously I'm trying to track it down and add the missing ';' to the right file. This directory has dozens of sub-directories and hundreds of files though.
This is the best I've managed to come up with so far:
Code:
find . -type f -iname "*.php" -print -exec awk 'NR==565' {} ;
(I've run it both with and without the -iname filter.)
I get a very large list of files, and some of them display the contents of line 565 after them. I've checked through a number of them there, but haven't found the culprit. Is it possible to limit my "find" command to only files that have at least 565 lines? Is it possible to have it only print matches from line 565 that has at least 81 columns? How would I modify that to print perhaps 5 lines on either side (in case the error reporting is pulling a slightly different line.)
I there a monitoring tool that will alert me if one of the linux service is off? example MySQL, http, SSH,...etc
View 7 Replies View RelatedI'm constantly going 'cd ../../../../'. Is there a command/alias that could let me go 'cmd 4' and I'd be taken back 4 directories?
View 8 Replies View RelatedIs there a tool for Ubuntu that will detect whether I have a SATA or a PATA hard drive interface, even if there's no hard drive inserted?
View 3 Replies View RelatedI am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.
View 3 Replies View RelatedI just installed ubuntu 10.10 on my HP G70-460US laptop, the ethernet connection works but my wifi card cant be detected..I dont know if the the wifi state being "off" (there is a button to turn it on and off) has anything to do with ubuntu not being able to pick up on it..but even before i had no problem getting ubuntu to find the proprietary drivers.
View 9 Replies View RelatedI am looking for a NATIVE Linux tool (e.g. does NOT require WINE) to operate a scanner using the TWAIN protocol over USB. I found a package called "twain" but it appears to not be a package. The following message is produced by attempting to install it:
Code:
E: Package 'twain' has no installation candidate
The following information is produced about it by the "aptitude show twain" command:
Code:
No current or candidate version found for twain
Package: twain
State: not a real package
I'm looking for a real package, of course.
I'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:
Output #0, swf, to 'new.swf':
Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0
I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.
The requirements I have from the tool are:
1. Can be ran from the shell.
2. Direct conversion, or an indirect one that will produce a small output swf file.
3. Suport for multiple file conversion is a plus.
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]....