Schlagwort-Archive: ALARM

List all USB devices

Q. How do I list all USB devices connected to my computer / Linux laptop?

A.You need to use command called lsusb. It is a utility for displaying information about USB buses in the system and the devices connected to them under Linux kernel.

lsusb – list USB devices

To make use of all the features of this program, you need to have a Linux kernel which supports the /proc/bus/usb interface (e.g., Linux kernel 2.3.15 or newer).
$ lsusb


Bus 004 Device 002: ID 0930:6532 Toshiba Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
To get verbose output type the command:
$ lsusb -v

Arch Linux auf deutsch & NTP-Zeitsynchronisation

ArchLinuxARM Einrichten

Das frisch installierte ArchLinux erreicht man direkt schon über SSH mit dem Login root / root

Die wichtigsten ersten Schritte:

passwd # neues Passwort für root setzten
pacman -Scc # Beide Fragen mit yes Beantworten
pacman -Syyuf
Mehr zu pacman:

Für Uhrzeit per NTP:

pacman -S openntpd
und ganz unten in /etc/rc.conf bei DAEMONS=() den Dienstnamen openntpd hinzufügen, siehe:

Die wichtigsten Einstellungen befinden sich in:

nano /etc/rc.conf

[Bearbeiten] auf Deutsch_stellen

In rc.conf u.a. das ändern:

/etc/locale.gen ändern in:

de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
#en_US.UTF-8 UTF-8
#en_US ISO-8859-1
Danach Befehl „locale-gen“ ausführen. Es sollte dann eigentlich sowas herraus kommen:

[root@PLX7820 ~]# locale-gen
Generating locales…
de_DE.UTF-8… done
de_DE.ISO-8859-1… done
de_DE.ISO-8859-15@euro… done
Generation complete.
Doch im ox820 kernel ist Momentan ein Bug, der das Produziert: de_DE.UTF-8…cannot map archive header: Invalid argument Siehe:

mehr Info:

Installing LAMP on Pogoplug’s Arch Linux ARM

Installing (L)AMP
If you didn’t catch it earlier, LAMP stands for Linux, Apache, MySQL, and PHP. We have Linux taken care of, so here’s how to install the rest.

We’ll need Pacman to install a couple of things. First, let’s have Pacman grab the latest Apache, MySQL and PHP:

pacman -Sy apache mysql php
This will take a few minutes, but when it’s done we’ll also need to install apachectl so we can actually start apache:

pacman -Sy lynx
Some of the next steps were already taken care of for me, but just in case here’s what you need to do. If you don’t already have an http user, you’ll need to add one:

useradd -d /srv/http -r -s /bin/false -U http
If you already have one and the command fails, no harm done. In some cases you may not be able to add one if you haven’t changed your root password. Log out of your Plugbox and ssh back in to set a new root password if you’re having any trouble.

Next, you need to edit your /etc/hosts file:

nano /etc/hosts
You should see something like localhost.localdomain localhost. That last part (localhost) may need to change. Basically, it needs to match what’s in /etc/rc.conf. If it doesn’t, starting Apache will fail. In my case, I just needed to change localhost to Plugbox, because Plugbox was the hostname set in /etc/rc.conf. Really, you just need to change one. To check out what your hostname is in rc.conf, use the following command (and scroll down until you see it):

nano /etc/rc.conf
Once you’ve got both names matching and saved, you can try to start Apache:

/etc/rc.d/httpd start
It’ll say [DONE] if it worked, but you’ll want to head to your Pogoplug’s local IP address to make sure.