Linux Scroll

Just another WordPress.com site

Monthly Archives: June 2010

Dmi Types

Dmi Types

Type  Information

0
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply

Get Bios and Processor details:

$ sudo dmidecode --type 0,4

Get RAM details:

$ sudo dmidecode --type 17
Advertisements

Terminal package configuration in ubuntu server

Terminal:

$ sudo tasksel

OR

Directly install package:

$ sudo tasksel install lamp-server

Linux hyperterminal – minicom

Install minicom:

$ sudo apt-get -y install minicom

Configure Minicom:

$ sudo minicom

CTRL-A

z
o
A - Serial Device : /dev/ttyUSB0
B - Lockfile Location : /var/lock
C - Callin Program :
D - Callout Program :
E - Bps/Par/Bits : 9600 8N1
F - Hardware Flow Control : Yes
G - Software Flow Control : No
Save

RS232 to USB (Serial port to Usb)

$ sudo lsusb

Bus 003 Device 006: ID 0403:6001 USB-Serial
$ sudo modprobe usbserial vendor=0x0403 product=0x6001

OR

$ sudo vi /etc/modules

Add:

usbserial vendor=0x0403 product=0x6001

Check:

$ sudo dmesg | grep "ttyUSB0"

Chkconfig for ubuntu

Search the package metadata:

$ sudo apt-cache search sysv-rc-conf

Install sysv-rc-conf:

$ sudo apt-get -y install sysv-rc-conf

chkconfig –list:

$ sudo sysv-rc-conf --list

Start dns server at bootup:

$ sudo sysv-rc-conf --level 345 bind9 on
$ sudo sysv-rc-conf --list bind9