Hardware-Informationen mit inxi anzeigen

08.08.2014 - Lesezeit: ~1 Minute

Gefunden bei Linux und ich

$ inxi -F
System:    Host: c2012 Kernel: 3.13.0-32-generic x86_64 (64 bit) Desktop: KDE 4.13.2 Distro: Ubuntu 14.04 trusty
Machine:   Mobo: Gigabyte model: Z68XP-UD3 version: x.x Bios: Award version: F9 date: 02/21/2012
CPU:       Quad core Intel Core i7-2600 CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) 
           Clock Speeds: 1: 1600.00 MHz 2: 1600.00 MHz 3: 1600.00 MHz 4: 1600.00 MHz 5: 1600.00 MHz 6: 1600.00 MHz 7: 1600.00 MHz 8: 1600.00 MHz
Graphics:  Card: NVIDIA GF119 [GeForce GT 520] 
           X.Org: 1.15.1 drivers: nvidia (unloaded: fbdev,vesa) Resolution: 1920x1200@60.0hz 
           GLX Renderer: GeForce GT 520/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.38
Audio:     Card-1: NVIDIA GF119 HDMI Audio Controller driver: snd_hda_intel Sound: ALSA ver: k3.13.0-32-generic
           Card-2: Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel 
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 50:e5:49:c5:bd:2e
Drives:    HDD Total Size: 2128.4GB (52.1% used) 1: id: /dev/sda model: SAMSUNG_SSD_830 size: 128.0GB 
           2: id: /dev/sdb model: WDC_WD20EARS size: 2000.4GB 
Partition: ID: / size: 37G used: 7.3G (21%) fs: ext4 ID: /home size: 55G used: 29G (55%) fs: ext4 
           ID: /tmp size: 20G used: 60M (1%) fs: ext4 ID: /var size: 39G used: 2.8G (8%) fs: ext4 
           ID: swap-1 size: 41.94GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 35.0C mobo: N/A gpu: 41C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 260 Uptime: 8:38 Memory: 2354.1/16032.2MB Client: Shell (bash) inxi: 1.9.17
Tags: Linux-Hardware

Kubuntu 13.04 und Drucker Minolta Magicolor 2300W

04.08.2013 - Lesezeit: ~1 Minute

Treiber für Drucker Minolta Magicolor 2300W

$ lsusb
Bus 005 Device 003: ID 0686:3009 Minolta Co., Ltd Magicolor 2300W
$ sudo apt-get install printer-driver-m2300W

Systemeinstellungen - Drucker - Drucker hinzufügen - Druckertreiber auswählen

Konica Minolta Magicolor 2300W foomatic m2300w

oder auch hier nachsehen:

http://sourceforge.net/projects/m2300w/

$ sudo apt-get install build-essential 
$ tar zxvf m2300w-0.51.tar.gz
$ cd m2300w-051
$ ./configure
$ make
$ sudo make install
Tags: Linux-Hardware

Kubuntu 13.04 auf Sony Vaio VGN-CR11Z/R

03.08.2013 - Lesezeit: ~1 Minute

Treiber für integrierte Webcam

$ lsusb
Bus 001 Device 003: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]

Dann weiter, wie hier beschrieben:

https://launchpad.net/~r5u87x-loader/+archive/ppa

Tags: Linux-Hardware

Mein neuer Rechner c2012

17.04.2012 - Lesezeit: 3 Minuten

128 GiB SSD

2 TB HD

Intel i7-2600

  • 3,4GHz
  • 8 MB Cache
    $ lscpu  
    Architecture:          x86_64  
    CPU op-mode(s):        32-bit, 64-bit  
    Byte Order:            Little Endian  
    CPU(s):                8  
    On-line CPU(s) list:   0-7  
    Thread(s) per core:    2  
    Core(s) per socket:    4  
    CPU socket(s):         1  
    NUMA node(s):          1  
    Vendor ID:             GenuineIntel  
    CPU family:            6  
    Model:                 42  
    Stepping:              7  
    CPU MHz:               1600.000  
    BogoMIPS:              6819.89  
    Virtualization:        VT-x  
    L1d cache:             32K  
    L1i cache:             32K  
    L2 cache:              256K  
    L3 cache:              8192K  
    NUMA node0 CPU(s):     0-7  

$ lspci  
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)  
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)  
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)  
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)                                                            
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)                                                             
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)                                                                        
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)                                                                        
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)                                                                        
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)                                                                        
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)                                                                        
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)                                                                        
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)  
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)  
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset Family LPC Controller (rev 05)  
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)  
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)  
01:00.0 VGA compatible controller: nVidia Corporation GT520 [GeForce GT520] (rev a1)  
01:00.1 Audio device: nVidia Corporation HDMI Audio stub (rev a1)  
03:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 30)  
04:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)  
05:00.0 USB Controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)  
06:00.0 USB Controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)  
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)  
08:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11)  
Tags: Linux-Hardware c2012

ssh Zugriff auf WD My Book Live über Public Keys

01.03.2012 - Lesezeit: 2 Minuten

Literatur

Vorraussetzung der Zugriff über ssh und Passwort funktioniert bereits.

Auf meinem Rechner den Public Key erstellen:

$ ssh-keygen -t rsa  

den Public Key für rootauf WD My Book Live übertragen:

$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@mybooklive.local  
root@mybooklive.local's password: welc0me  
Now try logging into the machine, with "ssh 'root@mybooklive.local'", and check in:  

  ~/.ssh/authorized_keys  

to make sure we haven't added extra keys that you weren't expecting.  

und siehe da man kann sich ohne Passwort als root auf dem WD My Book Live anmelden:

$ ssh root@mybooklive.local  

Damit ich nicht als root auf das Gerät zugreifen muss, erlaube ich dem Standard-Nutzer admin auch den Zugriff über ssh.
Dazu muss der Public Key auch dem Nutzer admin zugeordnet werden. Dazu werden die Dateien des Verzeichnisse /root.ssh in das Verzeichnis /share/.ssh kopiert

MyBookLive:~# mkdir /shares/.ssh  
MyBookLive:~# cp ~/.ssh/* /shares/.ssh/.  
MyBookLive:~# ls -l /shares/.ssh/  
total 128  
-rw------- 1 root root 391 2012-03-01 11:31 authorized_keys  
-rw-r--r-- 1 root root 442 2012-03-01 11:31 known_hosts  
MyBookLive:~# chmod +r /shares/.ssh/authorized_keys   
MyBookLive:~# ls -l /shares/.ssh/  
total 128  
-rw-r--r-- 1 root root 391 2012-03-01 11:31 authorized_keys  
-rw-r--r-- 1 root root 442 2012-03-01 11:31 known_hosts  
MyBookLive:~# exit  

und siehe da man kann sich ohne Passwort als admin auf dem WD My Book Live anmelden:

$ ssh admin@mybooklive.local  
Linux MyBookLive 2.6.32.11-svn21605 #1 Fri Oct 15 17:13:23 PDT 2010 ppc  
Last login: Thu Mar  1 13:09:26 2012 from 192.168.1.8  
admin@MyBookLive:~$  
Tags: Linux-Hardware MyBookLive ssh

ssh Zugriff auf WD My Book Live

28.02.2012 - Lesezeit: 3 Minuten

Um den ssh Zugriff zu ermöglichen kann man diese Hinweise befolgen:

Einloggen unter:
http://mybooklive.local/UI/login

Dann auf die ssh-Seite wechseln:

http://mybooklive.local/UI/ssh


Um den ssh Zugriff zu ermöglichen kann man diese Hinweise befolgen:

http://community.wdc.com/t5/My-Book-Live/Telnet-or-ssh-my-book-live/td-p/87065

  • Konfigurationsdatei über mybooklive.local herunterladen

    • Einstellungen
    • Dienstprogramme
      • Aktuelle Konfiguration importieren/exportieren
  • Die heruntergeladene Datei bearbeiten

    ssh_enable="disabled"  

    ändern in

    ssh_enable="enabled"  
  • und wieder hochladen. Danach führt MyBookLive einen Neustart aus.

  • Jetzt ist ein Zugriff als root über ssh möglich:

$ ssh root@mybooklive.local  
root@mybooklive.local's password: welc0me  
MyBookLive:~# df -h  
Filesystem          Size  Used Avail Use% Mounted on  
/dev/md1            1,9G  887M  939M  49% /  
tmpfs                50M     0   50M   0% /lib/init/rw  
udev                 10M  6,5M  3,5M  65% /dev  
tmpfs                50M     0   50M   0% /dev/shm  
tmpfs                50M  2,5M   48M   5% /tmp  
ramlog-tmpfs         20M  2,2M   18M  11% /var/log  
/dev/sda4           1,9T  260G  1,6T  15% /DataVolume  
MyBookLive:~#   

Damit ich nicht als root auf das Gerät zugreifen muss, erlaube ich dem Standard-Nutzer admin auch den Zugriff über ssh.
Dazu wird mit dem Editor nano die Datei /etc/ssh/sshd_config bearbeitet. (Bitte beachten: es gibt auch eine Datei “/etc/ssh/ssh_config”. Diese ist hier nicht gemeint.)

MyBookLive:~#nano /etc/ssh/sshd_config  

Die Zeile

AllowUsers root  

erweitern auf

AllowUsers root admin  

und den ssh-Server anweisen die Konfiguration neu zu lesen:

MyBookLive:~#/etc/init.d/ssh reload  
$ ssh admin@mybooklive.local  
admin@mybooklive.local's password:   
Linux MyBookLive 2.6.32.11-svn21605 #1 Fri Oct 15 17:13:23 PDT 2010 ppc  
Last login: Thu Mar  1 12:59:41 2012 from 192.168.1.8  
admin@MyBookLive:~$ df -h  
Filesystem            Size  Used Avail Use% Mounted on  
/dev/md1              1,9G  887M  939M  49% /  
tmpfs                  50M     0   50M   0% /lib/init/rw  
udev                   10M  6,5M  3,5M  65% /dev  
tmpfs                  50M     0   50M   0% /dev/shm  
tmpfs                  50M  2,5M   48M   5% /tmp  
ramlog-tmpfs           20M  2,3M   18M  12% /var/log  
/dev/sda4             1,9T  150G  1,7T   9% /DataVolume  
admin@MyBookLive:~$ pwd  
/shares  
admin@MyBookLive:~$   
Tags: Linux-Hardware MyBookLive ssh