Page 16 of 66 FirstFirst ... 6141516171826 ... LastLast
Results 151 to 160 of 654

Thread: HOWTO: ipw2200 + wpa

  1. #151
    Join Date
    Jun 2005
    Location
    Luleå sweden
    Beans
    163
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: ipw2200 + wpa

    I forgot to write what computer im sitting on, its a Fujitsu siemens p7010...

    ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.4
    ipw2200: Copyright(c) 2003-2004 Intel Corporation
    ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
    ipw2200: Radio Frequency Kill Switch is On:
    ipw2200: failed to send SYSTEM_CONFIG command
    ipw2200: ipw_send_system_config failed

    iwconfig eth1
    eth1 radio off

    Does some of this means that the network card is not powerd on?...
    how do i do to get it to power on?

  2. #152
    Join Date
    Jun 2005
    Beans
    2

    Re: HOWTO: ipw2200 + wpa

    I am using DELL INSPIRON 600 M , CENTRINO . with 2200BG Intel/Pro wireless
    I saw some commands some body told before here.
    I tried thsoe on my mewly installed UBUNTU.

    first i run the command iwconfig
    i got the o/p like below,

    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 unassociated ESSID:"APT 212"
    Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
    Bit Rate=0 kb/s Tx-Power=20 dBm
    RTS thrff Fragment thrff
    Encryption keyff
    Power Managementff
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:3 Missed beacon:0

    sit0 no wireless extensions.

    I didn't find any "IEEE" thing here.

    Next i run the second command .It dispalyed all wireless networks around my place.
    this is my wireless connection.


    Cell 03 - Address: 00:90:4C:7E:00:64
    ESSID:"APT 212"
    Protocol:IEEE 802.11bg
    Mode:Master
    Channel:11
    Encryption keyn
    Bit Rate:54 Mb/s
    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
    Extra: RSSI: -37 dBm
    Extra: Last beacon: 37ms ago

    Her I can see that "IEE" thing .

    i also run the third one u said iwconfig eth1 essid "APT 212".

    it went good until now.

    But for the next command iwconfig eth1 key XXXXXXXX
    i gave my password here. Actually its in WPA i think so.
    The commands u send works for both WPA and WPE or only for WPE?

    i also run that last command " dhclient eth1"
    I got the following messages.
    I didn't see any IP here but saying that "unknown hardware address".

    Internet Systems Consortium DHCP Client V3.0.1
    Copyright 2004 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP

    sit0: unknown hardware address type 776
    sit0: unknown hardware address type 776
    Listening on LPF/eth1/00:0e:35:74:fa:ad
    Sending on LPF/eth1/00:0e:35:74:fa:ad
    Sending on Socket/fallback
    DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20

    I don't what is the problem...
    If u can please help me in this.....
    Last edited by sbukka; June 11th, 2005 at 10:06 AM.

  3. #153
    Join Date
    Jun 2005
    Beans
    1

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by luca_linux
    Hi!
    I've seen there are many requests about how to get ipw2200 and wpa working. So, as I've managed to get them to work, I've decided to write a howto.

    We have to compile and install the latest ipw2200 1.0.4 driver from http://ipw2200.sourceforge.net and we also have to install the firmware, as the ipw2200 0.19 included in the standard installation of Hoary doesn't support wpa.
    Here are the steps:
    First of all, download the firmware from here.
    Then install it:
    Code:
    sudo tar xvzf ipw2200-fw-2.3.tgz
    sudo cp ipw-2.3-*.fw /usr/lib/hotplug/firmware/
    Now download the latest driver from here.
    Then untar it and change your current directory into the driver's one:
    Code:
    sudo tar xvzf ipw2200-1.0.4.tgz
    cd ipw2200-1.0.4
    Now run the remove-old.sh script that comes with the driver package in order to make sure that any old module is deleted:
    Code:
    sudo sh remove-old
    Since there's currently a bug in their location (in fact ipw2200 installs its modules in the first directory, while Ubuntu loads them from the second directory), you have two way to get around it:
    1) Edit this line of the Makefile,
    from
    Code:
     KMISC := /lib/modules/$(KVER)/drivers/net/wireless/
    to
    Code:
     KMISC := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
    Then install it:
    Code:
    make
    sudo make install
    2) Or just copy all the modules (ieee80211*.ko) it installs from /lib/modules/$(KVER)/drivers/net/wireless/ to /lib/modules/$(KVER)/kernel/drivers/net/wireless/ieee80211 and /lib/modules/$(KVER)/drivers/net/wireless/ipw2200.ko to /lib/modules/$(KVER)/kernel/drivers/net/wireless/ipw2200/.

    Now we have to download and install the wpa_supplicant package:
    Code:
    sudo apt-get install wpasupplicant
    Then you have to create a wpa_supplicant.conf in /etc, so:
    Code:
    sudo gedit /etc/wpa_supplicant.conf
    And paste the following lines in the text editor:
    Code:
    network={
           ssid="your_network_name"
           proto=WPA
           scan_ssid=1
           key_mgmt=WPA-PSK
           psk="your_secret_key"
    }
    Anyway there are further configuration examples in /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz.

    Then reboot to make sure that the new modules are loaded successfully and type:
    Code:
    dmesg | grep ipw
    to see if there are errors.
    Then type the following command to configurate wpa_supplicant:
    Code:
    sudo wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd
    Note: "eth1" is your wireless device.

    Now we have to create a small script (first provided by fulco and edited by me) in order to get wpa starting automatically at boot:
    Code:
    sudo gedit /etc/init.d/wifi_wpa.sh
    Here's the script:
    Code:
    #! /bin/sh
    # wifi: wpa_supplicant init
    echo " * [Wifi]: Enabling WPA supplicant..."
    if [ -x /usr/sbin/wpa_supplicant ]; then
        /usr/sbin/wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w
    fi
    
    exit 0
    Change the script's permissions to allow it to be executed:
    Code:
    sudo chmod +x /etc/init.d/wifi_wpa.sh
    And create a symlink to define the relative service:
    Code:
    sudo ln -s /etc/init.d/wifi_wpa.sh /etc/rcS.d/S40netwifiwpa
    Ok, that's all!
    I hope this howto will be helpful.
    I need some help if i try to get running wpa i become sutch errors....what can i do ??


    domdom@domlap:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 unassociated ESSIDff/any
    Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
    Bit Rate=0 kb/s Tx-Power=20 dBm
    RTS thrff Fragment thrff
    Power Managementff
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    sit0 no wireless extensions.

    domdom@domlap:~$ iwlist eth1 scan
    eth1 Scan completed :
    Cell 01 - Address: 00:30:F13:B1:66
    ESSID:"<hidden>"
    Protocol:IEEE 802.11bg
    Mode:Master
    Channel:11
    Encryption keyn
    Bit Rate:54 Mb/s
    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
    Quality=98/100 Signal level=-26 dBm
    Extra:wpa_ie=dd180050f20101000050f20201000050f2020 1000050f2020000
    Extra: Last beacon: 10ms ago

    domdom@domlap:~$ sudo wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd
    Password:
    Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    Line: 1 - start of a new network block
    ssid - hexdump_ascii(len=7):
    44 6f 6d 48 6f 6d 65 DomHome
    proto: 0x1
    scan_ssid=1 (0x1)
    key_mgmt: 0x2
    PSK (ASCII passphrase) - hexdump_ascii(len=14): [REMOVED]
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    Priority group 0
    id=0 ssid='DomHome'
    Daemonize..
    domdom@domlap:~$ sudo wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd
    Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    Line: 1 - start of a new network block
    ssid - hexdump_ascii(len=7):
    44 6f 6d 48 6f 6d 65 DomHome
    proto: 0x1
    scan_ssid=1 (0x1)
    key_mgmt: 0x2
    PSK (ASCII passphrase) - hexdump_ascii(len=14): [REMOVED]
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    Priority group 0
    id=0 ssid='DomHome'
    Initializing interface (2) 'eth1'
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    wpa_driver_ipw_init is called
    Own MAC address: 00:0e:35:4d:6c:a9
    wpa_driver_ipw_set_wpa: enabled=1
    wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_ipw_set_countermeasures: enabled=0
    wpa_driver_ipw_set_drop_unencrypted: enabled=1
    Setting scan request: 0 sec 100000 usec
    Wireless event: cmd=0x8b06 len=8
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=7):
    44 6f 6d 48 6f 6d 65 DomHome
    ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
    Failed to initiate AP scan.
    Setting scan request: 10 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Scan timeout - try to get results
    Received 278 bytes of scan results (1 BSSes)
    Scan results: 1
    Selecting BSS from priority group 0
    0: 00:30:f1:d3:b1:66 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0
    skip - SSID mismatch
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Starting AP scan (broadcast SSID)
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Scan timeout - try to get results
    Received 278 bytes of scan results (1 BSSes)
    Scan results: 1
    Selecting BSS from priority group 0
    0: 00:30:f1:d3:b1:66 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0
    skip - SSID mismatch
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=7):
    44 6f 6d 48 6f 6d 65 DomHome
    ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
    Failed to initiate AP scan.
    Setting scan request: 10 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Scan timeout - try to get results
    Received 278 bytes of scan results (1 BSSes)
    Scan results: 1
    Selecting BSS from priority group 0
    0: 00:30:f1:d3:b1:66 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0
    skip - SSID mismatch
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Starting AP scan (broadcast SSID)
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Scan timeout - try to get results
    Received 278 bytes of scan results (1 BSSes)
    Scan results: 1
    Selecting BSS from priority group 0
    0: 00:30:f1:d3:b1:66 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0
    skip - SSID mismatch
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=7):
    44 6f 6d 48 6f 6d 65 DomHome
    ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
    Failed to initiate AP scan.
    Setting scan request: 10 sec 0 usec
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
    Scan timeout - try to get results
    Received 278 bytes of scan results (1 BSSes)
    Scan results: 1
    Selecting BSS from priority group 0
    0: 00:30:f1:d3:b1:66 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0
    skip - SSID mismatch
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    Signal 2 received - terminating
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    wpa_driver_ipw_set_wpa: enabled=0
    wpa_driver_ipw_set_drop_unencrypted: enabled=0
    wpa_driver_ipw_set_countermeasures: enabled=0
    --------------------------------------------------------------------------------
    i followed the howto....but it doesn't work...

    i got a toshiba Satelite M30x-102 with bg2200(ipw2200)... i downloaded the latest drivers and firmware .... and also the latest linux kernel headers....

    i don't know what else to do?

    could some one help me ?

    thanks a lot...
    Lyc

  4. #154
    Join Date
    May 2005
    Beans
    12

    Re: HOWTO: ipw2200 + wpa for newbies

    Quote Originally Posted by luca_linux
    If you've never recompiled the kernel before, yours has already included that option by default, so don't worry about. Anyway, try to update the driver.
    I believe that I finally got somewhere. The real problem is that some PCI devices in my machine do not work properly. As I totally disabled "hotplug" script under init.d, all the .rc scripts under /etc/hotplug are not executed in the boot time. This somehow makes the wireless controller unhappy. Now, I just disabled the pci.rc. Even though the the wireless controller is one of the PCI device, iwconfig shows that the wireless controller is ready to work.

    Lesson: if you want to use Linux, never buy a computer with the latest hardware.

  5. #155
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa for newbies

    Quote Originally Posted by hshen
    I believe that I finally got somewhere. The real problem is that some PCI devices in my machine do not work properly. As I totally disabled "hotplug" script under init.d, all the .rc scripts under /etc/hotplug are not executed in the boot time. This somehow makes the wireless controller unhappy. Now, I just disabled the pci.rc. Even though the the wireless controller is one of the PCI device, iwconfig shows that the wireless controller is ready to work.

    Lesson: if you want to use Linux, never buy a computer with the latest hardware.
    Why disabling hotplug? It's so useful...

  6. #156
    Join Date
    Mar 2005
    Location
    Connecticut, USA
    Beans
    79
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: ipw2200 + wpa

    I need a lot of help!

    I don't know a lot about Linux, I have completely destroyed my Dell Inspiron 9300 wireless drivers.

    I get the following error when getting to the point of typing "make"

    /bin/sh: cc: command not found
    make -C /lib/modules/2.6.10-5-386/build SUBDIRS=/home/jah/ipw2200-1.0.4 MODVERDIR=/home/jah/ipw2200-1.0.4 modules
    /usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 12: gcc: command not found
    make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
    CC [M] /home/jah/ipw2200-1.0.4/ipw2200.o
    /bin/sh: gcc: command not found
    make[2]: *** [/home/jah/ipw2200-1.0.4/ipw2200.o] Error 127
    make[1]: *** [_module_/home/jah/ipw2200-1.0.4] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
    make: *** [modules] Error 2

    Can anyone help me out?
    Registered Linux User: #381666
    Ubuntu User: #5392

  7. #157
    Join Date
    Mar 2005
    Location
    Connecticut, USA
    Beans
    79
    Distro
    Ubuntu 6.10 Edgy

    Smile Re: HOWTO: ipw2200 + wpa

    I got it to WORK!!!!

    I must have missed the post that mentioned installing "build-essential" Once I installed that everything worked great.

    Can anyone explain why "build-essential" is needed?
    Registered Linux User: #381666
    Ubuntu User: #5392

  8. #158
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa

    Because you have to compile the driver from sources.

  9. #159
    Join Date
    Mar 2005
    Location
    Connecticut, USA
    Beans
    79
    Distro
    Ubuntu 6.10 Edgy

    Talking Re: HOWTO: ipw2200 + wpa

    Updating the driver did work. I know little about Linux so it was a painful process. I lost wireless capability for two days while I tried to figure out what went wrong with installing ipw2200 1.0.4 as described in http://www.ubuntuforums.org/showthread.php?t=26623

    I finally got it working after I did the following:
    1.Followed the instruction from http://nickselby.com/articles/technology/?a=1807 for adding kernel headers
    2.Manually deleted the directories that were not deleted by the remove-old script.
    3.Installed "build-essential"
    Registered Linux User: #381666
    Ubuntu User: #5392

  10. #160
    Join Date
    Jun 2005
    Beans
    3

    Re: HOWTO: ipw2200 + wpa

    Now it works, it took a long, long time, but now i have go it!
    maybe you should add this to the HOWTO
    my wireless connetion was working perfect all the time!
    but i could not connect to the internet, my wlan got a dynimic IP, but my eth0 a static IP.
    your /etc/network/interfaces should look like this:
    Code:
    ...
    # This is a list of hotpluggable network interfaces.
    # They will be activated automatically by the hotplug subsystem.
    mapping hotplug
    	script grep
    	map eth1
    
    # The primary network interface
    iface eth0 inet static
    address 192.168.0.13
    netmask 255.255.255.0
    gateway 192.168.0.1
    
    auto eth0
    
    # laptop built in mini-pci wireless interface:
    
    iface eth1 inet dhcp
    wireless-essid MySSID
    
    auto eth1
    there was a problem with the gateway over eth1, the solution:
    Code:
    sudo ifconfig eth0 down
    sudo ifconfig eth1 up
    sudo route add default gw 192.168.0.1
    you have to turn off eth0, eth1 is on, of course.
    then have to set a default gateway, this sould be the IP of your AP!!
    Last edited by motion_blur; June 19th, 2005 at 09:10 PM.

Page 16 of 66 FirstFirst ... 6141516171826 ... 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
  •