Wireless USB no Linux
Neste artigo vou explicar como é o procedimento para compilar e deixar sua wireless USB rodando no Linux, muito simples e bem rápido. Testado em kernel 2.4.
Parte 4: Configurando
# iwconfig wlan0
irá mostrar as informações do client.
Veja um exemplo de configuração:
# iwconfig wlan0 ESSID "MeuProvedor"
# iwconfig wlan0 nick "AlexandreCorrea"
# ifconfig wlan0 10.0.0.100 netmask 255.255.255.0
# route del default
# route add default gw 10.0.0.1
Adicione os servidores de DNS no /etc/resolv.conf:
# echo "nameserver 10.0.0.1" > /etc/resolv.conf
# echo "nameserver 10.0.0.2" >> /etc/resolv.conf
Neste ponto já é possível navegar!!!
# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=3.61 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=3.42 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=3.48 ms
64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=2.44 ms
irá mostrar as informações do client.
Veja um exemplo de configuração:
# iwconfig wlan0 ESSID "MeuProvedor"
# iwconfig wlan0 nick "AlexandreCorrea"
# ifconfig wlan0 10.0.0.100 netmask 255.255.255.0
# route del default
# route add default gw 10.0.0.1
Adicione os servidores de DNS no /etc/resolv.conf:
# echo "nameserver 10.0.0.1" > /etc/resolv.conf
# echo "nameserver 10.0.0.2" >> /etc/resolv.conf
Neste ponto já é possível navegar!!!
# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=3.61 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=3.42 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=3.48 ms
64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=2.44 ms
meu parabéns!