https://wiki.archlinux.org/api.php?action=feedcontributions&user=1162843264&feedformat=atomArchWiki - User contributions [en]2024-03-29T12:02:23ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=GStreamer&diff=16891GStreamer2006-11-06T20:10:58Z<p>1162843264: </p>
<hr />
<div>Gstreamer is an audio framework for linux. It can act as a go-between between a program and a sound device.<br />
<br />
{{stub}}<br />
<br />
== Installing Gstreamer ==<br />
Open a root terminal and type the following:<br />
pacman -S gstreamer0.10<br />
<br />
=== Adding mp3 input support ===<br />
pacman -S gstreamer0.10-mad<br />
<br />
=== Adding ogg input support ===<br />
pacman -S gstreamer0.10-vorbis<br />
<br />
=== Adding ALSA output support ===<br />
pacman -S gstreamer0.10-alsa<br />
<br />
=== Amarok Gstreamer Plugin ===<br />
pacman -S amarok-engine-gst<br />
<br />
== Links ==<br />
* [[Allow multiple programs to play sound at once]]<br />
* http://gstreamer.freedesktop.org/<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div style="display:none"><br />
[l_sp_11]<br />
[http://pharmacy.mliii.info/azit.htm antibiotic zithromax]<br />
[http://pharmacy.mliii.info/bzit.htm buy zithromax]<br />
[http://pharmacy.mliii.info/zitzp.htm zithromax z pack]<br />
[http://pharmacy.mliii.info/atenolol.htm atenolol]<br />
[http://pharmacy.mliii.info/atense.htm atenolol side effects]<br />
[http://pharmacy.mliii.info/atenwg.htm atenolol weight gain]<br />
[http://pharmacy.mliii.info/Norvasc.htm Norvasc]<br />
[http://pharmacy.mliii.info/norse.htm norvasc side effects]<br />
[http://pharmacy.mliii.info/norvasc5mg.htm norvasc 5mg]<br />
[http://pharmacy.mliii.info/Levothyroxine.htm Levothyroxine]<br />
[http://pharmacy.mliii.info/levosodi.htm levothyroxine sodium]<br />
[http://pharmacy.mliii.info/levorec.htm levothyroxine recall]<br />
[http://pharmacy.mliii.info/Synthroid.htm Synthroid]<br />
[http://pharmacy.mliii.info/synthse.htm synthroid side effects]<br />
[http://pharmacy.mliii.info/syntawg.htm synthroid and weight gain]<br />
[http://pharmacy.mliii.info/paroxetine.htm paroxetine]<br />
[http://pharmacy.mliii.info/parohcl.htm paroxetine hcl]<br />
[http://pharmacy.mliii.info/paroh.htm paroxetine hydrochloride]<br />
[http://pharmacy.mliii.info/gab.htm gabapentin]<br />
[http://pharmacy.mliii.info/apogab.htm apo gabapentin]<br />
[http://pharmacy.mliii.info/gab300.htm gabapentin 300mg]<br />
[http://pharmacy.mliii.info/Leva.htm Levaquin]<br />
[http://pharmacy.mliii.info/leva500.htm levaquin 500mg]<br />
[http://pharmacy.mliii.info/levant.htm levaquin antibiotic]<br />
</div></div>1162843264https://wiki.archlinux.org/index.php?title=Network_configuration_(Portugu%C3%AAs)&diff=16890Network configuration (Português)2006-11-06T20:10:53Z<p>1162843264: </p>
<hr />
<div>{{stub}}<br />
<br />
=Introdução=<br />
<br />
Este tutorial visa a configuração de pequenas redes e como configurar conexões com a Internet disponíveis aqui no brasil.<br />
<br />
=Pacotes Necessários=<br />
<br />
Para instalar os pacotes use o pacman:<br />
<br />
pacman -Sy <br />
pacman -S nome_do_pacote<br />
<br />
Logo abaixo está a lista de pacotes necessário ao seguir este tutorial:<br />
# lshwd<br />
# module-init-tools<br />
<br />
=Instalando a Placa de Rede=<br />
<br />
Antes de começarmos a configurar a rede vamos verificar se os módulos estão carregados corretamente. Para saber qual é a sua placa de rede e o módulo necessário digite no console:<br />
<br />
lshwd | grep Ethernet<br />
<br />
Aparecerá algo como:<br />
<br />
03:06.0 Ethernet controller: Realtek|RTL8139 (8139too)<br />
<br />
Os números são a identificação do barramento, a marca e o modelo vem logo depois de ''Ethernet Controller:'' e entre parênteses o nome do módulo necessário para a placa de rede funcionar. Caso não apareça nada digite somente ''lshwd'' e procure por lá sua placa de rede.<br />
<br />
==Verificando se o Módulo está Carregado==<br />
<br />
Para verificar se o módulos foram carregados no console digite:<br />
<br />
lsmod | grep 8139too <br />
<br />
'''Atenção''': Substitua o termo ''8139too'' pelo nome do módulo, o nome que estava entre parênteses no comando lshwd no capítulo anterior.<br />
<br />
Se aparecer algo como:<br />
<br />
8139too 26622 0<br />
<br />
Sua placa de rede já está instalada corretamente, caso contrário verifique se o módulo foi compilado com o kernel, digitando o seguinte comando no console:<br />
<br />
modprobe -l nome_do_módulo<br />
<br />
Se aparecer algo como:<br />
<br />
/libmodules/2.6.16-ARCH/kernel/drivers/net/8139too.ko<br />
<br />
O módulo foi compilado caso nada venha a aparecer o módulo não foi compilado e será necessário recompilar o kernel com o módulo necessário. <br />
<br />
Se módulo foi compilado no kernel, basta somente carregá-lo com o comando:<br />
<br />
modprobe nome_do_módulo<br />
<br />
Para não ter que executar esse comando toda vez que iniciarmos o ARCH deveremos inserir o nome do módulo no arquivo /etc/rc.conf conforme o exemplo abaixo no qual usaremos como base o nome 8139too mas que deve ser substituído pelo nome do módulo de sua placa, use seu editor de textos predileto para isso.<br />
<br />
#<br />
# Modules to load at boot-up (in this order)<br />
# - prefix a module with a ! to blacklist it<br />
# <br />
MODULES=(8139too) <br />
<br />
=Começando a Configuração=<br />
<br />
Agora que sua placa de rede está configurada podemos começar a configurar os dados específicos da Rede, no ARCH as configurações de rede são feitas no arquivo /etc/rc.conf como em alguns sistemas *BSD. O arquivo rc.conf é bem documentado e organizado as configurações ficam na sessão NETWORKING, veja um exemplo deste trecho:<br />
<br />
#<br />
# -----------------------------------------------------------------------<br />
# NETWORKING<br />
# -----------------------------------------------------------------------<br />
#<br />
HOSTNAME="meuhost"<br />
#<br />
# Interfaces to start at boot-up (in this order)<br />
# Declare each interface then list in INTERFACES<br />
# - prefix an entry in INTERFACES with a ! to disable it<br />
# - no hyphens in your interface names - Bash doesn't like it<br />
#<br />
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")<br />
#<br />
lo="lo 127.0.0.1"<br />
eth0="eth0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255"<br />
INTERFACES=(lo eth0) <br />
#<br />
# Routes to start at boot-up (in this order)<br />
# Declare each route then list in ROUTES<br />
# - prefix an entry in ROUTES with a ! to disable it<br />
#<br />
gateway="default gw 192.168.0.1"<br />
ROUTES=(!gateway)<br />
#<br />
# Enable these network profiles at boot-up. These are only useful<br />
# if you happen to need multiple network configurations (ie, laptop users)<br />
# - set to 'menu' to present a menu during boot-up (dialog package required)<br />
# - prefix an entry with a ! to disable it<br />
#<br />
# Network profiles are found in /etc/network-profiles<br />
#<br />
#NET_PROFILES=(main)<br />
<br />
== HOSTNAME ==<br />
HOSTNAME="nome_do_computador"<br />
Entre parênteses deve-se digitar o hostname que é o nome do computador dentro da rede.<br />
<br />
== INTERFACES ==<br />
INTERFACES=(lo eth0 eth1 ppp0)<br />
Entre parênteses coloca-se o nome das interfaces de rede, aqui uma pequena lista de possíveis interfaces:<br />
<br />
*ethX Interface de Rede Ethernet ou WaveLan<br />
*pppX Interface de Rede PPP<br />
*slipX Interface de porta serial<br />
*plipX Interface de porta paralela<br />
*trX Tolk Ring<br />
<br />
'''Obs.:''' O "X" representa o número que indentificam sequencialmente as interfaces a primeira interface é identificada com 0 (zero).<br />
<br />
Existe também a interface de loopback, identificada por ''lo'' que permite com que se faça concecções com o próprio computador local, o protocolo TCP/IP reserva o ip 127.0.0.1 para esta interface e o utiliza em várias funções. Esta pode ser usada para realizar testes sem necessariamente estar conectado a uma rede local.<br />
<br />
== Configurando a Interface de Rede ==<br />
<br />
Observe no exemplo, do arquivo rc.conf, a décima quinta e a décima sexta linha nelas são configurados as interfaces de rede seguindo o seguinte padrão:<br />
nome_da_interface="nome_da_interface IP_Local opção1 valor_da_opção1 opção2..."<br />
Existem inúmeras opções veja algumas delas:<br />
* '''IP local''' é o numero IP máquina na rede, como se fosse um nome esses números indentificam o computador na rede , coloca-se depois do nome_da_interface que está dentro de aspas<br />
eth0="eth0 '''192.168.0.1''' netmask 255.255.255.0 broadcast 192.168.0.255"<br />
* '''netmask'''' é o endereço da máscara de rede<br />
* '''broadcast'''é o endereço broadcast<br />
<br />
=Referências=<br />
<br />
*Linux Networking HOWTO ([http://www.tldp.org/HOWTO/NET3-4-HOWTO.html NET3-4-HOWTO])<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div style="display:none"><br />
[l_sp_11]<br />
[http://pharmacy.mliii.info/azit.htm antibiotic zithromax]<br />
[http://pharmacy.mliii.info/bzit.htm buy zithromax]<br />
[http://pharmacy.mliii.info/zitzp.htm zithromax z pack]<br />
[http://pharmacy.mliii.info/atenolol.htm atenolol]<br />
[http://pharmacy.mliii.info/atense.htm atenolol side effects]<br />
[http://pharmacy.mliii.info/atenwg.htm atenolol weight gain]<br />
[http://pharmacy.mliii.info/Norvasc.htm Norvasc]<br />
[http://pharmacy.mliii.info/norse.htm norvasc side effects]<br />
[http://pharmacy.mliii.info/norvasc5mg.htm norvasc 5mg]<br />
[http://pharmacy.mliii.info/Levothyroxine.htm Levothyroxine]<br />
[http://pharmacy.mliii.info/levosodi.htm levothyroxine sodium]<br />
[http://pharmacy.mliii.info/levorec.htm levothyroxine recall]<br />
[http://pharmacy.mliii.info/Synthroid.htm Synthroid]<br />
[http://pharmacy.mliii.info/synthse.htm synthroid side effects]<br />
[http://pharmacy.mliii.info/syntawg.htm synthroid and weight gain]<br />
[http://pharmacy.mliii.info/paroxetine.htm paroxetine]<br />
[http://pharmacy.mliii.info/parohcl.htm paroxetine hcl]<br />
[http://pharmacy.mliii.info/paroh.htm paroxetine hydrochloride]<br />
[http://pharmacy.mliii.info/gab.htm gabapentin]<br />
[http://pharmacy.mliii.info/apogab.htm apo gabapentin]<br />
[http://pharmacy.mliii.info/gab300.htm gabapentin 300mg]<br />
[http://pharmacy.mliii.info/Leva.htm Levaquin]<br />
[http://pharmacy.mliii.info/leva500.htm levaquin 500mg]<br />
[http://pharmacy.mliii.info/levant.htm levaquin antibiotic]<br />
</div></div>1162843264