Comandos uteis wireless

Rede Wireless, configuração da conexão em /etc/network/interface :

auto eth1
iface eth1 inet dhcp
wireless-essid XXXXXXXXXXX
wireless-key XXXXXXXX
wireless-channel auto
wireless-mode managed

Ou então para IP fixo
auto eth1
iface eth1 inet static
address x.x.x.x
netmask x.x.x.x
gateway x.x.x.x
wireless-essid XXXXXXXXXXXXX
wireless-key XXXXXXXXXXXXXX


Other useful commands

# Ubuntu version & kernel >> uname -a
# Root file access >> alt F2 then 'gksudo nautilus' in cli
# Get IP Address or Renew >> sudo dhclient wlan0 [or whatever your wl adapter is]
# Get wireless info >> iwconfig
# Get AP info >> iwlist scan ou iwlist interface scan
# Get wireless info >> iwlist (lots of options will list)
# Routes if wlan0 working >> route
# DNS resolving via eth1 >> cat /etc/resolv.conf
# List devices/modules >> lspci, lsusb, lshw, lsmod
# Restart network >> sudo /etc/init.d/networking restart
# Boot messages >> dmesg
# Kill NWM >> sudo killall NetworkManager
# Events from your wl >> iwevent
# Restart all daemons >> sudo /etc/init.d/dbus restart
# Restart network >> sudo /etc/init.d/networking restart

link: https://help.ubuntu.com/community/WifiDocs/WiFiHowTo
Share this article :
 

Postar um comentário

 
Navegando pela Net - All Rights Reserved
Proudly powered by Blogger