help for error after changing mode

YAN HE yanhe
Fri Aug 3 08:09:58 PDT 2007


Hi, Timur,

Actually I forgot to activate the interface. In my tests before, I ran "dhclient wlan0", so the interface was turned on by "dhclient". This time I do not want to use dhcp, but I forgot to run "ifconfig wlan0 up". So I met those strange problems. After I ran "ifconfig wlan0 up" told by Kelly, the problem was gone.

Thanks for you two.
YAN

  ----- Original Message ----- 
  From: Kelly Hogan 
  To: YAN HE 
  Cc: Timur Alperovich ; HostAP at shmoo.com 
  Sent: Friday, August 03, 2007 9:53 AM
  Subject: Re: help for error after changing mode


  This will reset the firmware, so all settings of power, etc will have to be reset.?  Also note that with 0.4.9 this command will hang the card and cause a kernel panic on 2.6.11 and above if issued too many times in succession.?  Usually not an issue, But a few thousand resets and it will do it.


  Good luck...


  On Aug 3, 2007, at 8:18 AM, YAN HE wrote:


    Hi, Timur,
    ? 
    I tried your method and it works.
    ? 
    Thanks,
    YAN
      ----- Original Message ----- 
      From: Timur Alperovich 
      To: HostAP at shmoo.com 
      Sent: Friday, August 03, 2007 8:17 AM
      Subject: Re: help for error after changing mode


      Yan,

      I've had a similar issue and I had to reset the card to get it to work properly. You can do that with "iwpriv wlan0 reset 1". Try that. I hope it helps.

      Timur

      On 8/3/07, YAN HE <yanhe at louisiana.edu> wrote: 
        Hello, Everybody,
        ? 
        I met a? strange problem in using hostap driver 0.4.9 for Prism cards.? After I inserted the card, the driver could recognize the card and showed the general information after I ran "iwconfig wlan0". However, after I ran "iwconfig wlan0 mode Managed", the essid became empty(""). After that, whatever essid I assigned by running "iwconfig wlan0 essid essidname", the essid was always empty. When I ran "iwlist wlan0 scan", I got the error message "wlan0? ? ? ?  Interface doesn't support scanning : Network is down". 
        ? 
        The version of linux kernel is 2.6.11. I tried both Netgear MA401 16-bit card and D-Link DWL650 16-bit card,? and got the same error. The detailed output is attached.
        ? 
        Thanks a lot.
        YAN
        ? 
        ? 

        _______________________________________________
        HostAP mailing list
        HostAP at shmoo.com
        http://lists.shmoo.com/mailman/listinfo/hostap








--------------------------------------------------------------------------



      _______________________________________________
      HostAP mailing list
      HostAP at shmoo.com
      http://lists.shmoo.com/mailman/listinfo/hostap

    _______________________________________________
    HostAP mailing list
    HostAP at shmoo.com
    http://lists.shmoo.com/mailman/listinfo/hostap

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20070803/7fcd90b8/attachment.htm 



More information about the Hostap mailing list