Tag Info

New answers tagged

2

lshw is an awesome tool to list the hardware found in your machine. You will have to install it first before running. $ yum install lshw $ apt-get install lshw Use yum or apt-get depending on the system you are using. Then to specifically list the storage hardware: # lshw -class storage *-storage description: SATA controller ...


12

To get this information from sysfs for a device file, first determine the major/minor number by looking at the output of ls -l, eg $ ls -l /dev/sda brw-rw---- 1 root disk 8, 0 Apr 17 12:26 /dev/sda The 8, 0 tells us that major number is 8 and the minor is 0. The b at the start of the listing also tells us that it is a block device. Other devices may ...


4

You can use the udevadm tool to discover this. The command would be udevadm info -a -n /dev/sda, and then look at the DRIVER== parameters. # udevadm info -a -n /dev/sda | grep -oP 'DRIVERS?=="\K[^"]+' sd ahci This shows that there are actually 2 drivers involved in providing this device, sd and ahci. The first one, sd is directly responsible for the ...


0

Did you run depmod? This is something make modules_install does automatically for you, but if you copy a module into /lib/modules this way, you will need to do that manually. See man depmod for more information. I am not sure if depmod will report the presence of incompatible modules. You can also use an explicit path with insmod, which will at least ...


0

sudo apt-­get install network­-manager­-pptp  sudo apt­-get install network­-manager­-vpnc sudo apt-­get install network­-manager­-openvpn  then , follow this tuto: http://snnyc.com/wp-content/uploads/2012/06/connecting-to-cisco-vpn-from-ubuntu-linux-12-04.pdf



Top 50 recent answers are included