Fangen wir langsam an, die versteckten Möglichkeiten unseres Routers zu erkunden ). Wir werden eine Soundkarte an ihn anschließen, denn es ist heutzutage schwer, sich einen modernen PC ohne Soundkarte vorzustellen.
Nun, da wir in OpenWrt die Möglichkeit haben, Pakete aus dem lokalen Repository nachzuinstallieren, werden wir alle neuen Pakete im Konfigurationsprozess mit
Im Konfigurationsprozess von OpenWrt müssen folgende Module markiert werden:
Kernel modules:
Sound Support:
Sound:
Installation: root@OpenWrt:/# opkg update
root@OpenWrt:/# opkg install kmod-sound-core kmod-usb-audio madplay
Installing kmod-sound-core (2.6.36-1) to root...
Downloading ftp://ftp:ftp@192.168.1.9/kmod-sound-core_2.6.36-1_brcm47xx.ipk.
Installing kmod-input-core (2.6.36-1) to root...
Downloading ftp://ftp:ftp@192.168.1.9/kmod-input-core_2.6.36-1_brcm47xx.ipk.
Installing kmod-usb-audio (2.6.36-1) to root...
Downloading ftp://ftp:ftp@192.168.1.9/kmod-usb-audio_2.6.36-1_brcm47xx.ipk.
Installing madplay (0.15.2b-3) to root...
Downloading ftp://ftp:ftp@192.168.1.9/madplay_0.15.2b-3_brcm47xx.ipk.
Installing libid3tag (0.15.1b-3) to root...
Downloading ftp://ftp:ftp@192.168.1.9/libid3tag_0.15.1b-3_brcm47xx.ipk.
Installing zlib (1.2.5-1) to root...
Downloading ftp://ftp:ftp@192.168.1.9/zlib_1.2.5-1_brcm47xx.ipk.
Installing libmad (0.15.1b-3) to root...
Downloading ftp://ftp:ftp@192.168.1.9/libmad_0.15.1b-3_brcm47xx.ipk.
Configuring kmod-input-core.
Configuring zlib.
Configuring libid3tag.
Configuring libmad.
Configuring madplay.
Configuring kmod-sound-core.
Configuring kmod-usb-audio.
Schließen Sie die Soundkarte an und prüfen Sie die Informationen dazu: root@OpenWrt:/# cat /proc/asound/cards
0 [Set ]: USB-Audio - USB Headphone Set
USB Headphone Set at usb-ssb0:1-1.3, full speed
Musik abspielen: root@OpenWrt:/# madplay /home/song.mp3
Internetradio abspielen: wget -q -O- http://w01-cn01.akadostream.ru:8000/europaplus128.mp3 | madplay -
