User Tools

Site Tools


wifi

If you want to send us your comments, please do so. Thanks
More on comments


Wifi

Wireless fidility
Wirelss LAN

Definitions

essid: The name of the WiFi network

General

Useful commands

CommandDescriptionRemark
iwShow / manipulate wireless devices and their configuration
ifconfigConfigure a network interface
iwconfigConfigure a wireless network interfaceWireless Tools for Linux
iwlistGet more detailed wireless information from a wireless interfaceWireless Tools for Linux
iwspyAllow to get per node link qualityWireless Tools for Linux
iwprivAllow to manipulate the Wireless Extensions specific to a driver (private)Wireless Tools for Linux
ifrenameAllow to name interfaces based on various static criteriaWireless Tools for Linux
rfkillTool for enabling and disabling wireless devicesTo show the device status do as root: rfkill list. (Un)blocking a device (turning its hardware on or off) goes with rfkill (un)block <devicename> devicename can also be the number in the list generated with rfkill list
wicdWired and Wireless Network Connection Manager - metapackageDoes not need to be installed to get WiFi working
wicd-cliCommand-line interface to wicd
wicd-cursesCurses-based wicd(8) controller
wicd-deamonWired and wiresless networkmanager - deamon
wicd-gtkWired and wiresless networkmanager - GTK+ client
wpa_supplicantWi-Fi Protected Access client and IEEE 802.1X supplicantInstall: wpasupplicant
wpa_cliA text-based frontend command line interface program for interacting with wpa_supplicant
wpa_actionwpa_cli action script
wpa_passphraseGenerate a WPA PSK from an ASCII passphrase for a SSID
wpaguiGraphical interface for wpasupplicant
wifi-radarUtility for managing WiFi profiles
usb_modeswitchswitch mode of “multi-state” USB devices like WiFi dongles. Switch of the storage mode which is not needed on Linux and prohibits proper installation

Log files

  • /var/log/wicd/wicd.log

wicd additional files

In the logfile there can be a warning ( WARNING: No path found for ) that the following files are not found

NameDescriptionRemark
dhcpcdDHCP client for automatically configuring of IP4 networking
pumpBOOTP and DHCP client for automatic IP configuration
udhcpcProvides the busybox DHCP client implementation
ethtoolDisplay or change Ethernet device settings
kdesu Not found in Debian 7 repository
ktsuss Not found in Debian 7 repository
resolvconf Not found in Debian 7 repository

At this point we do not know how to solve those warnings What is installed:

  • ics-dhcp-client This probably resolves the need for installing dhcpcd, pump and udhcpc

Connection issues

When connecting to a WiFi network the user is asked for the WiFi key which is already filled in in the popup window. What to do

  • Check if the key what it should be
  • If the WiFi key is Ok
    • Click OK
    • Check for other issues
  • If changing the WiFi key in the popup window does not solve it
    • Change the WiFi key via the Networkmanager icon in the system tray:
      1. Right click on the Networkmanager icon
      2. Click on Edit Connections …
      3. The Network Connections windows opens
      4. Click on the tab Wireless
      5. Click on the connection you want to check
      6. Click on the Edit button on the right side of the window
      7. Click on the tab Wireless security
      8. Click on Show password
      9. Check the password and if necessary correct it
      10. Click Save
      11. Click close in the Network Connections window
      12. Now the network should connect if the WiFi key is OK and there are no other issues

Become root

  • Check if rfkill is installed with dpkg -s rfkill | head -n 5
  • Check with rfkill event if wifi is on with both hardware and software. It should look like 1380742859.162484: idx 0 type 1 op 0 soft 0 hard 0 .
  • If not try
    • lshw | less and search for wlan0. Check if it is disabled
    • Or lshw -class network
    • rfkill list all
    • lsmod | sort | less
    • cat /sys/class/rfkill/rfkill0/hard
    • cat /sys/class/rfkill/rfkill0/soft
    • echo 0 > /sys/class/rfkill/rfkill0/soft
    • cat /sys/class/rfkill/rfkill0/soft
    • cat /sys/class/rfkill/rfkill0/power/runtime_status
    • cat /sys/class/rfkill/rfkill0/power/runtime_enabled
    • rfkill unblock wifi
    • rfkill unblock all
    • rfkill list all
    • Check /var/lib/NetworkManager/NetworkManager.state. Make changes if applicable and if so run service network-manager restart
  • Closing wicd in the tray and running wicd-cli in a terminal shows what is happening
  • Check /etc/wicd/wireless-settings.conf for misconfigurations, double and obsolete entrys. Make changes if applicable
    • Check if the right authentication type is chosen like WPA 1/2 (Passphrase). Sometimes this can change without user interaction is our impression. Check the Passphrase if applicable
  • Run wicd-cli --wireless --scan --list-networks | grep [the essid of your router]
  • Run wicd-cli --wireless --network=[the number of your router in the first column of the output of the previous grep command] --connect
  • Running wpa_supplicant can solve the issue. Check with wpa_cli -i wlan0 status
  • They can maybe solved by configuring /etc/wpa_supplicant/wpa_supplicant.conf and executing in a terminal wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
  • Run
    • wicd-curses and try to connect. If it fails run the iw commands. If they fail try wicd-curses again
    • iw --debug dev wlan0
    • iw --debug dev wlan0 station dump
    • iw --debug dev wlan0 connect "SSID"

wicd-cli commands

CommandExplanation
man wicd-cliShow the man page
wicd-cli --wireless --scan|Just scans, no output
wicd-cli --wireless --list | lessList the output from the scan command</nowiki>
wicd-cli --wireless --connect 1|Connect to network number 1 in the list
wicd-cli --wireless --network-details wlan0|Show the details of the current connection
wicd-cli --wireless --disconnect|Disconnect the current wireless connecition

Useful links

Broadcom bcm43xx

Procedure

Open a terminal and become root

cd /home/user/Downloads

Download the b43 driver version of wl 6.30.163.46, version of Firmware 784.2 software

wget http://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46.tar.bz2
tar -xf broadcom-wl-6.30.163.46.tar.bz2

Download the b43-fwcutter-018 software

wget http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2
tar -xf b43-fwcutter-018.tar.bz2
cd b43-fwcutter-018
make
make install
cp b43-fwcutter /home/user/Downloads
cd /home/user/Downloads
b43-fwcutter -w /lib/firmware broadcom-wl-6.30.163.46.wl_apsta.o

Now the WiFi network connection should work. If necessary use the hardware switch to switch on Wifi. If the hardware switch is on can be checked with

rfkill event

or

rfkill list

Old

Download the b43 firmware

wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar -xf broadcom-wl-4.80.53.0.tar.bz2
cd /home/user/Downloads/broadcom-wl-4.80.53.0/kmod/

Issues

Does not connect

  • Check in the router if there is a list with connected and have connected devices. Cleanup the list and try again
  • When using the 5.0 GHz band this can be due to the KNMI wheather RADAR. This makes the router swtich off for a minute. Solution: Switch to a channel below 116

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2022 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
wifi.txt · Last modified: 22-10-2021 15:21 by wim