Page 1 of 11 123 ... LastLast
Results 1 to 10 of 108

Thread: Howto: Install WICD for wireless support w/ WPA1/2

  1. #1
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Howto: Install WICD for wireless support w/ WPA1/2

    WICD. A great alternative to Network Manager (not at all a bash to the Network Manager devs, but on some of our systems this works much better). This Howto was tested using Feisty but WICD also works w/ Gutsy, Edgy, and Dapper.

    Many users have been having problems with Network Manager or just prefer WICD. I find that it handles WPA much better and loads at boot up through init.d so there is no reason for the annoying keyring to ask you for your password at login.. you're already connected.

    Of course all the credit goes to the developer of WICD.

    Before continuing be sure that your wireless works (even if it hardly works). If not you need to follow threads on the forum to install the correct drivers to enable yourwireless nics.

    Disclaimer: I can't see what would go wrong but of course I take no responsibility.

    The script... @ the bottom of this post.
    wicd.py will backup new packages (or existing packages) of network-manager if you opt to, and then install WICD

    Download and move to it's directory:
    Code:
    cd /path/to/file
    Make it executable:
    Code:
    chmod +x wicd.py
    Run it:
    Code:
    sudo python wicd.py
    If you don't use sudo the script will not work.

    Enjoy See below to load tray icons..

    Or do it manually...
    Backup
    First check to see if you have the network-manager and network-manager-gnome packages archived just in case you want to switch back to Network Manager:
    Code:
    cd /var/cache/apt/archives
    
    ls | grep network-manager
    If you don't see the packages you can download them to this folder using the -d option:
    Code:
    sudo apt-get -d --reinstall install network-manager network-manager-gnome
    When you install WICD it uninstalls Network Manager.. same deal the other way around as well.

    To install WICD do the following: (for gutsy, edgy, or dapper replace feisty as needed)
    Code:
    echo 'deb http://apt.wicd.net feisty extras' | sudo tee -a /etc/apt/sources.list
    
    sudo apt-get update
    
    sudo apt-get install wicd

    Now just goto Applications > Internet > Wicd (or /opt/wicd/gui.py in terminal) to setup it up. If using WPA be sure to set the correct driver. Here are some choices (wext is the generic and works with my Broadcom.
    Code:
    hostap
    (default) Host AP driver (Intersil Prism2/2.5/3). (this can also be used with Linuxant DriverLoader). 
    
    hermes
    Agere Systems Inc. driver (Hermes-I/Hermes-II). 
    
    madwifi
    MADWIFI 802.11 support (Atheros, etc.). 
    
    atmel
    ATMEL AT76C5XXx (USB, PCMCIA). 
    
    wext
    Linux wireless extensions (generic). 
    
    ndiswrapper
    Linux ndiswrapper. 
    
    broadcom
    Broadcom wl.o driver. 
    
    ipw
    Intel ipw2100/2200 driver. 
    
    wired
    wpa_supplicant wired Ethernet driver 
    
    bsd
    BSD 802.11 support (Atheros, etc.). 
    
    ndis
    Windows NDIS driver.
    No need to load wicd manually at boot as init.d will load daemon.py (with root privledges, so you don't have to enter your password) at boot up.

    If you want the systray icon you'll need to add it to System > Preferences > Sessions...

    Code:
    Name: WICD Tray
    Command: /opt/wicd/tray.py
    In KDE run the following in terminal:
    Code:
    sudo ln /opt/wicd/tray.py ~/.kde/Autostart/tray.py
    Having issues with the tray icon? Is it just a white box? There are two courses of action:

    1. Dano has fixed this issue in his latest SVN release 1.3.3 > Here

    2. Or, follow the instructions here.


    Hopefully this worked for you. If not the network-manager packages should still be in you package archive. Do the following:
    Code:
    cd /var/cache/apt/archive
    Now identify network-manager and network-manager-gnome:
    Code:
    ls | grep network-manager
    Now re-install them:

    Where nm.deb = the network-manager.deb package.
    Code:
    sudo dpkg -i nm.deb
    Where nmg.deb = the network-manager.deb package.
    Code:
    sudo dpkg -i nmg.deb

    If problems arise please let me know

    Updates
    12/26/07: Updated the Repository location
    10/08/07: Cleaned up the network test
    09/20/07: Added a couple of tests to wicd.py
    09/18/07: Updated the python script. Cleaned it up...
    09/08/07: Cleaned up wicd.py
    09/07/07: Replaced wicd.sh with wicd.py.. no real reason.
    Attached Files Attached Files
    Last edited by walkerk; December 26th, 2007 at 04:13 PM.

  2. #2
    Join Date
    May 2007
    Location
    /earth/US/Illinois
    Beans
    1,705
    Distro
    Ubuntu

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    The script didnt work for me. It told me it didnt find Network Manager's archives. I am using Network Manager right now. The script ran fine, but WICD did not install. I am using Feisty if that helps.

    UPDATE:
    I used the manual install and everything went correctly. WICD works great and beats NetworkManager hands down.

    Awesome job on the scripts/tuts! They make it so much easier than taking the time to figure it out myself...Thanks again and don't stop making tutorials!
    Last edited by EXCiD3; August 23rd, 2007 at 06:52 PM.
    Dialup or no internet on your Ubuntu box? Have no fear, Keryx is here! Keryx Project
    My blog

  3. #3
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    Quote Originally Posted by EXCiD3 View Post
    The script didnt work for me. It told me it didnt find Network Manager's archives. I am using Network Manager right now. The script ran fine, but WICD did not install. I am using Feisty if that helps.

    UPDATE:
    I used the manual install and everything went correctly. WICD works great and beats NetworkManager hands down.

    Awesome job on the scripts/tuts! They make it so much easier than taking the time to figure it out myself...Thanks again and don't stop making tutorials!
    Thanks a lot man ..and I will continue

    Also, the script looks for network-manager packages that might be archived on your system (you might not have them) and opt for you to download them as a backup.. just incase someone decides they don't like WICD (or it doesn't work).

    I personally don't have the network manager packages but the script searches /var/cache/apt/archive for 'network-manager'... whats your output for the following?
    Code:
    ls /var/cache/apt/archive | grep network-manager
    Last edited by walkerk; August 23rd, 2007 at 08:37 PM.

  4. #4
    Join Date
    Jun 2007
    Beans
    692

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    Nice guide walker. One correction though, all versions of Ubuntu can use tray.py to launch the tray. It decides based on the version of pygtk running on the machine whether to use edgy.py or dapper.py. Right now tray-edgy.py and tray-dapper.py just symlink to tray.py, and are kept around for backwards compatibility. We'll probably phase them out eventually.

  5. #5
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    Quote Originally Posted by imdano View Post
    Nice guide walker. One correction though, all versions of Ubuntu can use tray.py to launch the tray. It decides based on the version of pygtk running on the machine whether to use edgy.py or dapper.py. Right now tray-edgy.py and tray-dapper.py just symlink to tray.py, and are kept around for backwards compatibility. We'll probably phase them out eventually.
    Thanks Just trying to spread the word.

    FIXED: I must have forgotten to remove that bit from the script..? I noticed that and removed tray-edgy, dapper from the manual instructions.. I'll correct the script when I get home from work.
    Last edited by walkerk; August 24th, 2007 at 07:57 PM.

  6. #6
    Join Date
    May 2006
    Location
    Location, Location!
    Beans
    1,571
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    I have been trying to let people know as well...this app really does beat the pants off of Network Manager.
    A computer allows you to make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.

  7. #7
    Join Date
    Apr 2007
    Location
    Kuala Lumpur, Malaysia
    Beans
    579
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    Does wicd support VPN connections?

    I am currently using network-manager and its built in support for pptp VPN connections to access corporate LAN resources from outside the office. Its an essential for me.

  8. #8
    Join Date
    Jun 2007
    Beans
    692

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    No, not yet. There's work being done on it though.

  9. #9
    Join Date
    Apr 2007
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    Nope not working here too btw Appreciate the efforts nice guide Make it work for every1

  10. #10
    Join Date
    Jun 2007
    Beans
    692

    Re: Howto: Install WICD for wireless support w/ WPA1/2

    What's not working?

Page 1 of 11 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •