cezary czy to już powinno grać możesz zerknąć
root@OpenWrt:~# mpc play
http://178.33.55.20:9000
[playing] #1/1 0:00/0:00 (0%)
volume:100% repeat: off random: off single: off consume: off
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez rysiek1971
cezary czy to już powinno grać możesz zerknąć
root@OpenWrt:~# mpc play
http://178.33.55.20:9000
[playing] #1/1 0:00/0:00 (0%)
volume:100% repeat: off random: off single: off consume: off
ok
czemu jest błąd
opkg install alsamixer
Unknown package 'alsamixer'.
Collected errors:
* opkg_install_cmd: Cannot install package alsamixe
czy tu nie da się zainstalować alsamixera
ale nie gra
root@OpenWrt:~# /etc/init.d/mpd start
BusyBox v1.22.1 (2015-02-07 11:27:39 CET) multi-call binary.
Usage: nice [-n ADJUST] [PROG ARGS]
Change scheduling priority, run PROG
-n ADJUST Adjust priority by ADJUST
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_direct.c:998:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave
alsa: Error opening default ALSA device: Broken pipe
output: Attempting to detect a oss audio device
output: Successfully detected a oss audio device
root@OpenWrt:~# mpc clear
volume:100% repeat: off random: off single: off consume: off
root@OpenWrt:~# mpc add [01.] Ibiza - Nogi 2012.mp3
error adding [01.]: Not found
root@OpenWrt:~# mpc add Ibiza - Nogi 2012.mp3
error adding Ibiza: Not found
root@OpenWrt:~# mpc clear
volume:100% repeat: off random: off single: off consume: off
root@OpenWrt:~# mpc add http://178.32.161.114:9100
root@OpenWrt:~# mpc play
http://178.32.161.114:9100
[playing] #1/1 0:00/0:00 (0%)
volume:100% repeat: off random: off single: off consume: off
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Failed to open database file "/mnt/sdb5/muzyka/database": No such file or directory
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_direct.c:998:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave
alsa: Error opening default ALSA device: Broken pipe
output: Attempting to detect a oss audio device
output: Successfully detected a oss audio device
czy to znaczy że wykrył karte dzwiękową
chcę mieć radio internetowe do posłuchania na ogrodzie w altance
czyli trzeba zainstalować madplay a mpd odinstalować
8970 ten co mi do niego wgrałeś openwrt bo na tym drugim 1043 mam gargolca i tam jest fajny plugin radio inernetowe
jestem w pracy to zobaczę ale chyba
Karta Muzyczna na USB z systemem 3D-Sound i Virtual 5.1-Sound
czyli co zrobić trzeba inną kartę dzwiękową ale tak jak pisałem na gargoyle chodzi bez problemu na tplinku1043
po restarcie jest to samo ale czemu
root@OpenWrt:~# /etc/init.d/mpd start
BusyBox v1.22.1 (2015-02-07 11:27:39 CET) multi-call binary.
Usage: nice [-n ADJUST] [PROG ARGS]
Change scheduling priority, run PROG
-n ADJUST Adjust priority by ADJUST
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Failed to open database file "/mnt/sdb5/muzyka/database": No such file or directory
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
alsa: Error opening default ALSA device: No such file or directory
output: Attempting to detect a oss audio device
oss: Error opening OSS device "/dev/dsp": Invalid argument
oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Unable to detect an audio device
a co zrobić żeby wykrył karte audio mam taką jak ty z alegro w gargoyle mi wykrwała bez problemu
a po wpisie mam coś takiego
/etc/init.d/mpd start
BusyBox v1.22.1 (2015-02-07 11:27:39 CET) multi-call binary.
Usage: nice [-n ADJUST] [PROG ARGS]
Change scheduling priority, run PROG
-n ADJUST Adjust priority by ADJUST
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Failed to open database file "/mnt/sdb5/muzyka/database": No such file or directory
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
alsa: Error opening default ALSA device: No such file or directory
output: Attempting to detect a oss audio device
oss: Error opening OSS device "/dev/dsp": Invalid argument
oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Unable to detect an audio device
na gargoyle nie miałem problemu fajny dodatek radio internetowe a tu mam problemy pozostałe rzeczy zrobiłem dzięki twojej pomocy dzięki
zrobiłem /etc/mpd/conf
music_directory "/mnt/sdb5/muzyka/music"
playlist_directory "/mnt/sdb5/muzyka/playlists"
db_file "/mnt/sdb5/muzyka/database"
pid_file "/mnt/sdb5/muzyka/pid"
state_file "/mnt/sdb5/muzyka/state"
input {
plugin "curl"
}
mixer_type "software"
i reset i w mnt/sdb5/muzyka powinny utwożyć się pliki database,pid,state
teraz się pojawiło
root@OpenWrt:~# ls /dev/snd/*
/dev/snd/controlC0 /dev/snd/pcmC0D0c /dev/snd/timer
ale nie chcą się utworzyć pliki ,database,pid,state
a czemu po zainstalowaniu karty mam tylko
root@OpenWrt:~# ls /dev/snd/*
/dev/snd/timer a powinno być /dev/snd/controlC0 /dev/snd/pcmC0D0c /dev/snd/pcmC0D0p /dev/snd/timer
motion jest gorsz
cezary czemu kamerka od ps3 w motion działa tylko na 320x240 przy zwiększeniu pikseli nie ma obrazu a na mjpg-streamer na gargolcu działa bez zastrzeżeń na 640x480 apropo myślisz coś żeby zrobić nakładke gargoyle na 8970
tak to ma wyglądać a w tej linij option network ??
config zone
option name 'newzone'
option input 'ACCEPT'
option forward 'REJECT'
option network ' '
option output 'ACCEPT'
config rule
option name 'webcam'
option src 'wan'
option target 'ACCEPT'
option proto 'tcp'
option dest_port '8081
a co zrobić robię jak jest opisane w poradniku a bezpośrednio z uci da się zrobić
ok czy to tak ma być wpiszne
uci set firewall.@rule[-1] 8970 kamerka
Usage: uci [<options>] <command> [<arguments>]
Commands:
batch
export [<config>]
import [<config>]
changes [<config>]
commit [<config>]
add <config> <section-type>
add_list <config>.<section>.<option>=<string>
del_list <config>.<section>.<option>=<string>
show [<config>[.<section>[.<option>]]]
get <config>.<section>[.<option>]
set <config>.<section>[.<option>]=<value>
delete <config>[.<section>[[.<option>][=<id>]]]
rename <config>.<section>[.<option>]=<name>
revert <config>[.<section>[.<option>]]
reorder <config>.<section>=<position>
Options:
-c <path> set the search path for config files (default: /etc/config)
-d <str> set the delimiter for list values in uci show
-f <file> use <file> as input instead of stdin
-m when importing, merge data into an existing package
-n name unnamed sections on export (default)
-N don't name unnamed sections
-p <path> add a search path for config change files
-P <path> add a search path for config change files and use as default
-q quiet mode (don't print error messages)
-s force strict mode (stop on parser errors, default)
-S disable strict mode
-X do not use extended syntax on 'show'
root@OpenWrt:~# uci set firewall.@rule[-1].src=wan
root@OpenWrt:~# uci set firewall.@rule[-1].target=ACCEPT
root@OpenWrt:~# uci set firewall.@rule[-1].proto=tcp
root@OpenWrt:~# uci set firewall.@rule[-1].dest_port 8081
Usage: uci [<options>] <command> [<arguments>]
Commands:
batch
export [<config>]
import [<config>]
changes [<config>]
commit [<config>]
add <config> <section-type>
add_list <config>.<section>.<option>=<string>
del_list <config>.<section>.<option>=<string>
show [<config>[.<section>[.<option>]]]
get <config>.<section>[.<option>]
set <config>.<section>[.<option>]=<value>
delete <config>[.<section>[[.<option>][=<id>]]]
rename <config>.<section>[.<option>]=<name>
revert <config>[.<section>[.<option>]]
reorder <config>.<section>=<position>
Options:
-c <path> set the search path for config files (default: /etc/config)
-d <str> set the delimiter for list values in uci show
-f <file> use <file> as input instead of stdin
-m when importing, merge data into an existing package
-n name unnamed sections on export (default)
-N don't name unnamed sections
-p <path> add a search path for config change files
-P <path> add a search path for config change files and use as default
-q quiet mode (don't print error messages)
-s force strict mode (stop on parser errors, default)
-S disable strict mode
-X do not use extended syntax on 'show'
root@OpenWrt:~# uci commit firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fe80::/10'
option src_port '547'
option dest_ip 'fe80::/10'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'any'
option reload '1'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '81'
option dest_ip '192.168.1.100'
option dest_port '81'
option name 'tplink1043'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '441'
option dest_ip '192.168.1.100'
option dest_port '441'
option name 'tplink1043'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '82'
option dest_port '82'
option name 'tplink841'
option dest_ip '192.168.1.200'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '442'
option dest_ip '192.168.1.200'
option dest_port '442'
option name 'tplink841'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '9091'
option dest_ip '192.168.1.10'
option dest_port '9091'
option name 'transmision'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option dest_ip '192.168.1.100'
option name 'kamerka1043'
option src_dport '8080'
option dest_port '8080'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '8081'
option dest_ip '192.168.1.1'
option dest_port '8081'
option name 'kamerka 8970'
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp'
option src_dport '80'
option dest_ip '192.168.1.1'
option dest_port '80'
option name 'tplink8970'
eko.one.pl → Posty przez rysiek1971
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc