Konfiguration (Asus/Yakumo): Unterschied zwischen den Versionen

Aus Weimarnetz Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
  
 
=== USB ===
 
=== USB ===
 +
Grundpakete installieren (Driver)
 
<pre>
 
<pre>
 +
ipkg install kmod-usb-ohci
 +
ipkg install kmod-usb2
 +
ipkg install kmod-usb-storage
 
ipkg install kmod-usb-core
 
ipkg install kmod-usb-core
ipkg install kmod-usb2
+
ipkg install kmod-vfat
ipkg install kmod-usb-storage
+
</pre>
 +
 
 +
Scanner oder Drucker über das Netzwerk nutzen
 +
<pre>
 +
ipkg install kmod-usb-scanner
 
ipkg install kmod-usb-printer
 
ipkg install kmod-usb-printer
ipkg install kmod-usb-ohci
+
</pre>
 +
 
 +
danach Neustart und überprüfen ob das usb Gerät erkannt wurde indem wir
 +
<pre>
 +
dmesg
 +
</pre>
 +
eigeben. Da sollte dann sowas stehen wie:
 +
<pre>
 +
root@dave_yakumo:~# dmesg
 +
Creating 5 MTD partitions on "Physically mapped flash":
 +
0x00000000-0x00040000 : "cfe"
 +
0x00040000-0x003f0000 : "linux"
 +
0x000b5fec-0x00180000 : "rootfs"
 +
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
 +
0x003f0000-0x00400000 : "nvram"
 +
0x00180000-0x003f0000 : "OpenWrt"
 +
diag boardtype: 0000041a
 +
Probing device eth0: No Robo switch in managed mode found
 +
Probing device eth1: No Robo switch in managed mode found
 +
Probing device eth2: No such device
 +
Probing device eth3: No such device
 +
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
 +
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
 +
usb.c: registered new driver usbdevfs
 +
usb.c: registered new driver hub
 +
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
 +
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
 +
usb.c: new USB bus registered, assigned bus number 1
 +
hub.c: USB hub found
 +
hub.c: 2 ports detected
 +
SCSI subsystem driver Revision: 1.00
 +
hub.c: new USB device 00:04.0-1, assigned address 2
 +
usb.c: USB device 2 (vend/prod 0x126f/0x1325) is not claimed by any active driver.
 +
Initializing USB Mass Storage driver...
 +
usb.c: registered new driver usb-storage
 +
scsi0 : SCSI emulation for USB Mass Storage devices
 +
  Vendor: USB 2.0  Model: Mobile Disk      Rev:   
 +
  Type:  Direct-Access                      ANSI SCSI revision: 02
 +
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
 +
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
 +
sda: Write Protect is off
 +
WARNING: USB Mass Storage data integrity not assured
 +
USB Mass Storage device found at 2
 +
USB Mass Storage support registered.
 +
</pre>
 +
interessant ist für uns eigentlich nur "Gerät erkannt"
 +
<pre>
 +
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
 +
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
 +
sda: Write Protect is off
 +
WARNING: USB Mass Storage data integrity not assured
 +
USB Mass Storage device found at 2
 +
USB Mass Storage support registered.
 +
</pre>
 +
na dann nur noch mounten
 +
<pre>
 
</pre>
 
</pre>
  

Version vom 9. Februar 2007, 12:43 Uhr

Zusätliche Software

Das schönste an diesen Gerät sind doch die vielen Erweiterungsmöglichkeiten.

USB

Grundpakete installieren (Driver)

ipkg install kmod-usb-ohci
ipkg install kmod-usb2 
ipkg install kmod-usb-storage
ipkg install kmod-usb-core
ipkg install kmod-vfat

Scanner oder Drucker über das Netzwerk nutzen

ipkg install kmod-usb-scanner
ipkg install kmod-usb-printer

danach Neustart und überprüfen ob das usb Gerät erkannt wurde indem wir

dmesg

eigeben. Da sollte dann sowas stehen wie:

root@dave_yakumo:~# dmesg 
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000b5fec-0x00180000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00180000-0x003f0000 : "OpenWrt"
diag boardtype: 0000041a
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: No Robo switch in managed mode found
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
hub.c: new USB device 00:04.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x126f/0x1325) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: USB 2.0   Model: Mobile Disk       Rev:     
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

interessant ist für uns eigentlich nur "Gerät erkannt"

Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

na dann nur noch mounten


IDE-Festplatte

FTP-Server

ipkg install vsftpd

Samba-Server

Webcam

es gibt grundsätzlich zwei größere Projekte für Webcam-Driver

pwc/pwcx

ipkg install kmod-pwc


spca5xx/spca5xx_LE

  • Installation:
Die Dateien spca5xx.o.gz und spcacat.gz mit wget auf den Router laden.
mv spca5xx.o.gz /lib/modules/2.4.30
cd /lib/modules/2.4.30/
gunzip spca5xx.o.gz

mv spcacat.gz /usr/bin
cd /usr/bin
gunzip spcacat.gz
chmod +x spcacat
ipkg install videodev

webcam.html anlegen

<html><head>
<script language="JavaScript">
<!--
function refreshIt() {
 if (!document.images) return;
 document.images['SpcaPic'].src = 'SpcaPict.jpg?' + Math.random();
 setTimeout('refreshIt()',10000); // refresh every timeout/1000 secs
 }
//-->
</script>
</head>
<body onLoad=" setTimeout('refreshIt()',5000)">
<br><br><br>
<center>
<img src="SpcaPict.jpg" name="SpcaPic">
<br>
Bild wird aller 10 sek. neu geladen
</center>
</body></html>