
Howdy gang

!
Well, since we had some issues with wireless networking, I would like to post some informations, which could help new users and also the "older ones".
OK, when you have problems with your wifi, don't panic. I now it's stressing and frustrating, but posting with negative attitude, doesn't bring nothing. So, calm down, take a deep breath and have a cup of coffee

or tea. It will do you good.
Some of our favourite brands

:




Before posting, check the following and include it in your post:
What do you use? - Gnome
- KDE 4
- XFCE
- e17
- XFCE
- LXDE
- OpenBox
- Zen mini
- kernel version
To check kernel version, open Konsole, type:
uname -rAnother good info. is to specify your pc (brand, type & model). If you're using usb dongle or pcmcia card, let us know. It's also very important to state you're using encrypted wireless network. I suggest you try to make it work without encryption first. And yet another, many times over looked, but important thing:
Check, if your lapptop has a switch on/off for wireless!Now we need to know, if your wireless controller is recognized by the system and associated with your wireless network. Open Konsole, copy/paste the following:
-lspci
-lsusb (if you use USB wireless dongle)
-iwconfig
You can also check in PCLinuxOS Control Center (PCC), if your wireless card is recongnized+loaded modul. Press on pcc icon

or hit Alt+F2 and type pcc. Than click on
Hardware/Browse and configure hardware
Locate on the left side your wireless card. Click on it and you'll get needed informations:

As you can see in my case, my wifi card was recognized (PRO/Wireless 3945ABG [Golan] Network Connection) and loaded modul is iwl3945.
The most important informations, which usually show what is happening with your wireless issues are in
/etc. Open Konsole and copy/paste the following commands:
cat /etc/modprobe.conf
cat /etc/modprobe.preload
cat /etc/sysconfig/network-scripts/ifcfg-wlan0 <---this may vary(sometimes your wifi controller can be also recoginzed as eth1,ath0...)
cat /etc/modprobe.d/blacklistWhen you're posting back, please post each command separately. The easiest way to do it, is:
your Konsole output
your Konsole output
etc, etc....
Sometimes, reseting wireless connection is helpful. Konsole, go root, copy/paste:
service -f networkDon't forget to check you wireless router settings (MAC filtering, hidden EESID...). First, try to "Ping" your wireless router. The most common used IP address is 192.168.1.1 [check your wireless router setup manual]. To ping the wireless router, open Konsole and type:
ping <the IP address of your router>
In my case:
$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.02 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.01 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.01 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=1.01 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=1.17 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=1.14 ms
This acknowledges you, that you "see"/have established the connection with your wireless router.
If something went wrong, let's say that after some updates your wifi is not working as before or not at all, you can always help yourself with running Pclos Live CD. While running it, try to create wireless connection and check in PCC the above mentioned things. And remember, Live CD is for one time session only.
If you're using ndiswrapper, open Konsole, copy/paste:
ndiswrapper -lTo explore more about ndiswrapper, check out
PCLinuxOS Magazine.
To understand better:-
lspci-
iwconfig-
modprobe.conf-
ifconfigTo obtain additional information from Konsole use the following commands:
Manually set wireless interface speed:iwconfig wlan0 rate 1Mb/s fixed
[this may vary-check your wireless controller designation-ath0, wlan0, eth1...]
List wireless networks in range:iwlist scan
List network interfaces:ip link show
List addresses for interfaces:ip addr show
List routing table:ip route show
Lookup DNS ip address for name or vice versa:[example]
host pclinuxos.com
Lookup local ip address (equivalent to host `hostname`):hostname -i
List internet services on a system:netstat -tupl
List active connections to/from system:netstat -tup
Sometimes it's good to use
rfkill. Rfkill is a small tool to query the state of the rfkill switches, buttons and subsystem interfaces.
Open Synaptic and install rfkill.
Rfkill-how to:
Printing the current rfkill status:
rfkill list
or
rfkill list all
Listening to events:
rfkill event
Setting/clearing a soft block:
to get the rfkill index:
1.
rfkill list
than
2.
rfkill block <index>|<type>
to unblock
3
rfkill unblock <index>|<type>
Example$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yesFirst you must go
su and than:
rfkill event unblock 0
Reboot!It helps sometimes to unblock everything..Konsole, copy/paste:
rfkill unblock all
Reboot!To check, if your wireless connection got authenticated, associated and ready:
Open Konsole, copy/paste:
dmesg | tail -30
Example:
$ dmesg | tail -30
ADDRCONF(NETDEV_UP): eth0: link is not ready
iwlagn 0000:02:00.0: firmware: requesting iwlwifi-5000-2.ucode
iwlagn 0000:02:00.0: loaded firmware version 8.24.2.12
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
NET: Registered protocol family 17
usbcore: registered new interface driver snd-usb-audio
wlan0: direct probe to AP 00:18:f8:cd:08:55 (try 1)
wlan0: direct probe responded
wlan0: authenticate with AP 00:18:f8:cd:08:55 (try 1)
wlan0: authenticated
wlan0: associate with AP 00:18:f8:cd:08:55 (try 1)
wlan0: RX AssocResp from 00:18:f8:cd:08:55 (capab=0x401 status=0 aid=3)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
martian source 255.255.255.255 from 192.168.1.1, on dev wlan0
ll header: ff:ff:ff:ff:ff:ff:00:18:f8:cd:08:53:08:00
wlan0: no IPv6 routers present
When there're problems with your wifi connection, don't forget it's NOT every time Linux problem. Blame it on the lazy manufacturer! So check the Linux wireless database, before buying. It will save you time, money and nerves.
Since Linux works almost everywhere, check, if your wireless router supports Linux software, like:
-
DD-WRT-
TomatoBelieve me, it's stable and works like a charm.
If you managed to make your wifi working, please post back, as it can help some sad & frustrated Pclos user out there.