wifi troubleshooting
JD
jd1008 at gmail.com
Sat Mar 26 20:22:56 UTC 2011
On 03/26/2011 07:40 AM, Adam Tong wrote:
> Hi,
>
> below you'll find the output of ifconfig and iwconfig.
>
>> What is the output of
>>
>> iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11bg ESSID:off/any
> Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
>
>> What is the output of
>>
>> ifconfig
>>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)
>
> Thank you
>
>
>
If you are still using the rt2870 based USB wifi device, please run
lsmod | grep rt2
and show the output.
Also, show be sure that you have configured
/etc/wpa_supplicant/wpa_supplicant.conf correctly.
Example below:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
# ap_scan=1
ap_scan=2
network={
bssid=aa.bb.cc.dd.ee.ff # This is a fictitious MAC address
of the router. You must change it to the real MAC address of the router.
ssid="Your_SSID"
mode=MANAGED
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
group=CCMP
scan_ssid=1 # only needed if your access point uses a hidden ssid
psk="AN_ASCII_STRING_OF_RANDOM_CHARACTERS_UP_TO_126_LONG"
}
On my system, I have disabled NetworkManager because it
always starts wpa_supplicant with the wrong arguments.
Also, be sure your ifcfg-wlan0 is created properly.
Example below.
BOOTPROTO=none
DEVICE=wlan0
ESSID=Your_WIFI_Network_Name
BSSID=aa:bb:cc:dd:ee:ff # This is to substituted by the MAC address
of your acce
UUID=48a80359-5bb1-ccfe-d847-b4485bbdae59
CHANNEL=11 # Choose your favorite (least noisy) channel
IPADDR=Your_IP_Address_On_The_LAN such as 10.0.0.20
GATEWAY=The_Gateway(i.e.-Router_ip_adress) such as 10.0.0.20
NAME="TheCrappy-ATT-Router"
NETMASK=255.255.255.0
RTS=2346
FRAG=2346
IPV6INIT=no
MODE=Managed
RATE=auto
TYPE=Wireless
USERCTL=yes
NM_CONTROLLED=no
PREFIX=24
ONBOOT=no
Good Luck.
JD
More information about the users
mailing list