Page 21 of 66 FirstFirst ... 11192021222331 ... LastLast
Results 201 to 210 of 654

Thread: HOWTO: ipw2200 + wpa

  1. #201
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by 67fbd400_Linux
    I Just loaded up my Latitude c600 with ubuntu. This forum rocks. I noticed many people having the same problem of connecting with WPA + DHCP. I believe I have found the answer.

    You need to edit your /etc/wpa_supplicant.conf and add ap_scan=2 this allow you to search for hidden ap's. Before I made this change I was not able to locate my ap.

    ap_scan=2
    network={
    ssid="APNAME"
    proto=WPA
    scan_ssid=1
    key_mgmt=WPA-PSK
    psk="Secret Key"
    group=TKIP
    pairwise=TKIP
    }

    I also had to change the networking start script to S41networking.

    sudo rm /etc/rcS.d/S40networking

    sudo ln -s /etc/init.d/networking /etc/rcS.d/S41networking

    I added wpasupplicant to the /etc/rcS.d/ directory to start at S40wpa_supplicant.

    sudo ln -s /etc/init.d/wpasupplicant /etc/rcS.d/S40wpa_supplicant

    The start script order change was because I noticed wpasupplicant was sTarting after networking.

    I am also using the default start script for wpasupplicant.

    I hope this helps some people get connect thise who can't get IP's this will help.

    Luca great job on the how to you might want to add some of this to it.
    Thanks for the suggesting, I'll add it to my HowTo.
    Anyway, as said in the wpa_supplicant documentation, "scan_ssid=1" allows the scanning with SSID-specific Probe Request frames (this can be used to find APs that do not accept broadcast SSID or use multiple SSIDs; this will add latency to scanning, so enable this only when needed).
    While "ap_scan=2" let wpa_supplicant performing the scan instead of the driver.
    So, I think there may be a bug in ipw2200 on some system configurations and only add the "ap_scan=2" option if you get troubles finding your AP.
    Last edited by luca_linux; July 28th, 2005 at 11:17 AM.

  2. #202
    Join Date
    Jul 2005
    Beans
    31

    Re: HOWTO: ipw2200 + wpa

    First of all, thanks Luca for this excellent HowTo it is very nice for a Newbee like me to have a detailed step by step HowTo like this.

    I have the exact same problem as MadJeff (post #198 ) and I am sure that I have run the "sudo sh remove-old" command in the ieee80211-1.0.3 directory.

    I have an IBM T42 if that is for any help.

    Thanks

  3. #203
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa

    What's the output of "sudo sh remove-old" command?

  4. #204
    Join Date
    Jul 2005
    Beans
    31

    Re: HOWTO: ipw2200 + wpa

    This is the output from the "sudo sh remove-old" command:

    Code:
    Checking in /lib/modules/2.6.10-5-686/ for ieee80211 components...
    
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211
    
    Above files found.  Remove? [y],n y
    But then when I run the "make" command I get this:

    Code:
    Checking in /lib/modules/2.6.10-5-686/build/ for ieee80211 components...
    
    /lib/modules/2.6.10-5-686/build/include/config/ieee80211
    
    Above files found.  Remove? [y],n y
    
     Old ieee80211 references found.  In order to build the ieee80211
     subsystem, prior versions must first be removed.  You can perform
     this task by running this makefile as root via:
    
            % sudo make check_old
    
     and answering Y to remove the file references.
    
     Aborting make.
    
    make: *** [check_old] Fejl 1
    Then when I run the "sudo make check_old" command I get the same error as above.

  5. #205
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa

    Have you press the "y" key and then Enter after "sudo sh remove-old", haven't you?

  6. #206
    Join Date
    Jul 2005
    Beans
    31

    Re: HOWTO: ipw2200 + wpa

    Yes.

    But I've forgot that the first time I ran the command I got this error, but I took a screenshot. Sorry if I should have brought this up before. Here it is:



    The text at the end of the two last lines says: No such file or directory.

    But I don't know if that have something to do with the problem.

  7. #207
    Join Date
    Apr 2005
    Beans
    514

    Re: HOWTO: ipw2200 + wpa

    Have installed the kernel headers?

  8. #208
    Join Date
    Jul 2005
    Beans
    31

    Re: HOWTO: ipw2200 + wpa

    Yes, linux-headers-2.6.10-5-686.

  9. #209
    Join Date
    May 2005
    Beans
    6

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by luca_linux
    What's the output of "sudo sh remove-old" command?
    Here's a complete run of the procedure up to the point where it fails:

    jbolden@snoopy50:~$ sudo tar xvzf ipw2200-fw-2.3.tgz
    Password:
    LICENSE
    ipw-2.3-boot.fw
    ipw-2.3-bss.fw
    ipw-2.3-bss_ucode.fw
    ipw-2.3-ibss.fw
    ipw-2.3-ibss_ucode.fw
    ipw-2.3-sniffer.fw
    ipw-2.3-sniffer_ucode.fw
    jbolden@snoopy50:~$ sudo cp ipw-2.3-*.fw /usr/lib/hotplug/firmware/
    jbolden@snoopy50:~$ sudo tar xvzf ieee80211-1.0.3.tgz
    ieee80211-1.0.3/
    ieee80211-1.0.3/net/
    ieee80211-1.0.3/net/ieee80211.h.orig
    ieee80211-1.0.3/net/ieee80211_crypt.h
    ieee80211-1.0.3/net/ieee80211.h
    ieee80211-1.0.3/Makefile
    ieee80211-1.0.3/LICENSE
    ieee80211-1.0.3/remove-old
    ieee80211-1.0.3/ieee80211_module.c
    ieee80211-1.0.3/ieee80211_crypt_ccmp.c
    ieee80211-1.0.3/ieee80211_geo.c
    ieee80211-1.0.3/idvals
    ieee80211-1.0.3/GIT_SHA1
    ieee80211-1.0.3/ieee80211_crypt_tkip.c
    ieee80211-1.0.3/ieee80211_rx.c
    ieee80211-1.0.3/ieee80211_tx.c
    ieee80211-1.0.3/ieee80211_wx.c
    ieee80211-1.0.3/INSTALL
    ieee80211-1.0.3/CHANGES
    ieee80211-1.0.3/ieee80211_crypt.c
    ieee80211-1.0.3/ieee80211_crypt_wep.c
    jbolden@snoopy50:~$ cd ieee80211-1.0.3
    jbolden@snoopy50:~/ieee80211-1.0.3$ sudo sh remove-old
    Checking in /lib/modules/2.6.10-5-686/ for ieee80211 components...

    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211/ieee80211_crypt.ko
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211/ieee80211.ko
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211/ieee80211_crypt_ccmp.ko
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211/ieee80211_crypt_tkip.ko
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211/ieee80211_crypt_wep.ko

    Above files found. Remove? [y],n y
    jbolden@snoopy50:~/ieee80211-1.0.3$ sudo sh remove-old
    Checking in /lib/modules/2.6.10-5-686/ for ieee80211 components...

    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211

    Above files found. Remove? [y],n y
    jbolden@snoopy50:~/ieee80211-1.0.3$ cd ..
    jbolden@snoopy50:~$ sudo tar xvzf ipw2200-1.0.6.tgz
    ipw2200-1.0.6/
    ipw2200-1.0.6/pci
    ipw2200-1.0.6/load
    ipw2200-1.0.6/Makefile
    ipw2200-1.0.6/ISSUES
    ipw2200-1.0.6/FILES
    ipw2200-1.0.6/restart
    ipw2200-1.0.6/LICENSE
    ipw2200-1.0.6/dvals
    ipw2200-1.0.6/remove-old
    ipw2200-1.0.6/config
    ipw2200-1.0.6/idvals
    ipw2200-1.0.6/GIT_SHA1
    ipw2200-1.0.6/status
    ipw2200-1.0.6/unload
    ipw2200-1.0.6/INSTALL
    ipw2200-1.0.6/CHANGES
    ipw2200-1.0.6/ipw2200.c
    ipw2200-1.0.6/ipw2200.h
    ipw2200-1.0.6/README.ipw2200
    jbolden@snoopy50:~$ cd ipw2200-1.0.6
    jbolden@snoopy50:~/ipw2200-1.0.6$ sudo sh remove-old
    /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ieee80211 /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ipw2100 /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ipw2100/ipw2100.ko /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ipw2200 /lib/modules/2.6.10-5-686/kernel/drivers/net/wireless/ipw2200/ipw2200.ko
    No modules unloaded.
    Above files found. Remove? [y],n y
    CONFIG_IEEE80211=m
    CONFIG_IEEE80211_CRYPT=m
    CONFIG_IEEE80211_WPA=m
    CONFIG_IEEE80211_CRYPT_CCMP=m
    CONFIG_IEEE80211_CRYPT_TKIP=m
    CONFIG_IPW2100=m
    CONFIG_IPW2100_PROMISC=y
    CONFIG_IPW2100_FS_AMILO_M7400=m
    CONFIG_IPW2200=m
    Above definitions found. Comment out? [y], n y
    jbolden@snoopy50:~/ipw2200-1.0.6$ cd ..
    jbolden@snoopy50:~$ cd ieee80211-1.0.3
    jbolden@snoopy50:~/ieee80211-1.0.3$ make
    Checking in /lib/modules/2.6.10-5-686/build/ for ieee80211 components...

    /lib/modules/2.6.10-5-686/build/include/config/ieee80211

    Above files found. Remove? [y],n y

    Old ieee80211 references found. In order to build the ieee80211
    subsystem, prior versions must first be removed. You can perform
    this task by running this makefile as root via:

    % sudo make check_old

    and answering Y to remove the file references.

    Aborting make.

    make: *** [check_old] Error 1
    jbolden@snoopy50:~/ieee80211-1.0.3$ sudo make check_old
    Checking in /lib/modules/2.6.10-5-686/build/ for ieee80211 components...

    /lib/modules/2.6.10-5-686/build/include/config/ieee80211

    Above files found. Remove? [y],n y

    Old ieee80211 references found. In order to build the ieee80211
    subsystem, prior versions must first be removed. You can perform
    this task by running this makefile as root via:

    % sudo make check_old

    and answering Y to remove the file references.

    Aborting make.

    make: *** [check_old] Error 1
    jbolden@snoopy50:~/ieee80211-1.0.3$
    As I stated before, I wiped and reinstalled just in case I had some extra bits floating around, so this is on a clean install, but I'm still getting the same issue.

  10. #210
    Join Date
    Jul 2005
    Beans
    2

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by luca_linux
    Thanks for the suggesting, I'll add it to my HowTo.
    Anyway, as said in the wpa_supplicant documentation, "scan_ssid=1" allows the scanning with SSID-specific Probe Request frames (this can be used to find APs that do not accept broadcast SSID or use multiple SSIDs; this will add latency to scanning, so enable this only when needed).
    While "ap_scan=2" let wpa_suppliant performing the scaninstead of the driver.
    So, I think there may be a bug in ipw2200 on some system configurations and only add the "ap_scan=2" option if you get troubles finding your AP.

    Luca you are correct about a bug in ipw2200. I tried it again without ap_scan=2 and could not find my ap. scan-ssid=1 does not correctly configure somthing. So I just commented it out and using the ap_scan. Working great I appreciate you not flaming me. It says I am a newbie but I have played with alot of distro's and I am a Linux SA for Sprint.

Page 21 of 66 FirstFirst ... 11192021222331 ... 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
  •