view · edit · history · print

Disk setup

  
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3385    27188244+   7  HPFS/NTFS
/dev/sda2            3925        3926       15851   ef  EFI (FAT-12/16/32)
/dev/sda3            3386        3925     4329473    5  Extended
/dev/sda5            3386        3894     4082688   83  Linux
/dev/sda6            3894        3925      245760   82  Linux swap / Solaris

Get started commands

  
lspci | grep -i wireless; lsusb | grep -i wireless
airdriver-ng loaded
iw phy phy1 info | grep -A11 modes
ifconfig -a
iwconfig -a
airmon-ng

wicd-gtk --no-tray

ifconfig wlan0 up
iwlist scan
iwconfig wlan0 essid "xxx"
dhclient wlan0 

airmon-ng start wlan1

Interfaces available to me

PC, Asus Eee PC T91MT internal: AW-NE785H

  
Atheros AR9285		ath9k
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
	HWaddr 00:25:d3:e3:5f:0a
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO

PC, Dell Latitude E6400 internal:

  
Broadcom		b43
0c:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
	HWaddr 00:23:4d:c1:52:b5  
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point

Device, AlFA USB Wifi AWUS036H; RT8187L

  
Realtek RTL8187L	rtl8187
Bus 002 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
	HWaddr 00:c0:ca:54:54:f9  
	Supported interface modes:
		 * managed
		 * monitor

Device, PCMCIA card Netgear WAG511 v2 (model 1); see WikiLinuxWLANCard

  
Atheros AR5213A		ath5k
04:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
	HWaddr 00:18:4d:d4:c9:8e
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point

Status

  
$ airmon-ng | grep "^wlan" | while read AA ZZ; do iwconfig $AA | grep "802.11"; ifconfig $AA | egrep "HWaddr|inet"; echo "          ${ZZ}"; done
wlan0     IEEE 802.11bg  ESSID:"SpacePortAlpha"  
wlan0     Link encap:Ethernet  HWaddr 00:23:4d:c1:52:b5  
          inet addr:192.168.0.114  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::223:4dff:fec1:52b5/64 Scope:Link
          Broadcom	b43 - [phy1]
wlan2     IEEE 802.11abg  ESSID:off/any  
wlan2     Link encap:Ethernet  HWaddr 00:18:4d:d4:c9:8e  
          Atheros AR5213A	ath5k - [phy3]
wlan1     IEEE 802.11bg  ESSID:off/any  
wlan1     Link encap:Ethernet  HWaddr 00:c0:ca:54:54:f9  
          Realtek RTL8187L	rtl8187 - [phy4]

Extended status:

  
$ airmon-ng | grep "^wlan" | while read AA BB ZZ; 
do 
  DEV=""
  PHY=$(echo $ZZ | sed 's/.*\[// ; s/\]//')
  echo "==============================================="
  iwconfig $AA | grep "802.11"
  ifconfig $AA | egrep -i "HWaddr|inet"
  echo "$AA     ${BB} ${ZZ}"
  echo -n "Modes:   "
  iw phy $PHY info | sed '1,/modes/d ; /Supported commands/,$d' |  perl -p -i -e 's/[\n|\s|\*]+/ /g'
  echo ""
  echo "-----------------------------------------------"
  echo "DeviceGuess: "
  if DEV=$(lspci | grep -i wireless | grep $BB)
  then
    echo "PCI: $DEV"
    lspci -v -s $(echo $DEV | awk '{print $1}') | egrep -i "Subsystem"
  fi
  if DEV=$(lsusb | grep -i wireless | grep $BB)
  then
    echo "USB: $DEV"
    lsusb -v -s $(echo $DEV | awk '{print $2":"$4}') | egrep -i "iManufacturer|iProduct|Vendor"
  fi
done
===============================================
wlan0     IEEE 802.11bg  ESSID:"SpacePortAlpha"  
wlan0     Link encap:Ethernet  HWaddr 00:23:4d:c1:52:b5  
          inet addr:192.168.0.114  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::223:4dff:fec1:52b5/64 Scope:Link
wlan0     Broadcom b43 - [phy1]
-----------------------------------------------
DeviceGuess: 
0c:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
	Subsystem: Dell Device 000d
===============================================
wlan2     IEEE 802.11abg  ESSID:off/any  
wlan2     Link encap:Ethernet  HWaddr 00:18:4d:d4:c9:8e  
wlan2     Atheros AR5213A	ath5k - [phy3]
-----------------------------------------------
DeviceGuess: 
04:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
	Subsystem: Netgear Device 4610
===============================================
wlan1     IEEE 802.11bg  ESSID:off/any  
wlan1     Link encap:Ethernet  HWaddr 00:c0:ca:54:54:f9  
wlan1     Realtek RTL8187L	rtl8187 - [phy4]
-----------------------------------------------
DeviceGuess: 
Bus 002 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
  idVendor           0x0bda Realtek Semiconductor Corp.
  iManufacturer           1 Manufacturer_Realtek_RTL8187_
  iProduct                2 RTL8187_Wireless

admin · attr · attach · edit · history · print
Page last modified on January 15, 2012, at 02:57 PM