All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: WPA and other features on latest -rc6 kernel!
PostPosted: Fri Aug 08, 2008 5:08 am 
JLime Puwha! User
JLime Puwha! User
User avatar

Joined: Thu Nov 22, 2007 10:06 pm
Posts: 129
Hey, I just wanted to tell everybody about wicked_rtfm's latest kernel, which now supports wpa (!), ipv6, tun, bluetooth, and has better touch screen support.

The kernel and modules are located at :http://devfiles.jlime.com/kernel/debug-me/2.6.19rc6-test.tar.bz2
(Be sure to write the modules over the old 2.6.19-rc6 dir in /lib/modules as this kernel has new modules.)

To get wpa to work you'll only need to install wpa-supplicant from the feed, and create a file called /etc/wpa_supplicant.conf,

It should look like this for a WPA-PSK access point:
Code:
network={

    ssid="your_ssid"

    scan_ssid=1

    key_mgmt=WPA-PSK

    psk="somepassphrase"
}


then you can just run wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf and enjoy wpa on jlime (change -i according to your wifi interface, it could be eth0 instead).
This has been tested by me using my Senao (Prism 2.5 based, hostap drivers) card, and works perfectly.

If you can't get it to work, make sure your card is in managed mode: iwconfig wlan0 mode managed (or eth0)

Ipv6 and tun work perfectly too, but I couldn't test bluetooth as I don't own a bluetooth card.


Last edited by HellDragon on Sat Aug 09, 2008 11:09 pm, edited 1 time in total.

Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Fri Aug 08, 2008 8:08 am 
JLime Guru User
JLime Guru User
User avatar

Joined: Thu Apr 10, 2008 11:01 am
Posts: 78
Location: Rome, Italy
HellDragon wrote:
I couldn't test bluetooth as I don't own a bluetooth card.


I did; the bluetooth stack seems to work, the card (Anycom w/Ericsson chipset) is recognized and "hcitool scan" works.
I can't estabilish a connection with bluetooth peripherals (I always get "Connection refused", no matter what), but I don't think it's the kernel.


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Fri Aug 08, 2008 8:12 am 
JLime Guru User
JLime Guru User
User avatar

Joined: Thu Apr 10, 2008 11:01 am
Posts: 78
Location: Rome, Italy
I have a kind request: would it be possible for you guys, to share the latest 2.6.19-rc6 kernel source tree, with kernel config and all? :)
I know, it's a very large upload, but it would help me immensely.
Trying to get to the same point by working on the vanilla 2.6.19-rc6 source tree is a lot of work and the patched/hacked tree is not available on the JLime git repository. :(


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Fri Aug 08, 2008 11:44 pm 
JLime Puwha! User
JLime Puwha! User
User avatar

Joined: Thu Nov 22, 2007 10:06 pm
Posts: 129
I'm going to ask wicked when I see him on IRC :)


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Sun Aug 10, 2008 1:01 pm 
JLime Average User
JLime Average User

Joined: Sun Jul 27, 2008 4:22 pm
Posts: 16
hey. thanks.

I just updated the kernel... but it is still not working properly.

ifconfig just shows lo (is that normal?)
and iwconfig shows a wifi0 AND a wlan0...

is this really your complete wpa_supplicant.conf? even for TKIP?

don't you need to put "-Dhostap" in the line when you start wpa_supplicant?

could you show me your /etc/network/interfaces? perhaps I have got an error there... (i edited it someway after reading some tutorials... perhaps that was all-wrong)

what does your wpa_supplicant say, after starting it? don't you have to run with the command "-b" to get it running in the background?



Anyway it is better then before in any case. I don't get all the errors anymore. I think it's just about fine-tuning now to get WPA up and running.


Thx a lot. :-)


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Sun Aug 10, 2008 2:10 pm 
JLime Puwha! User
JLime Puwha! User
User avatar

Joined: Thu Nov 22, 2007 10:06 pm
Posts: 129
wpa_supplicant usually says it connected to the AP and some other stuff.
If iwconfig shows both wlan0 and wifi0 use wlan0.
I didn't need to specify -Dhostap in wpa_supplicant args to get it to work, but you might try this if it still won't work.
My /etc/network/interfaces is the default jlime one :)

And about ifconfig, it should show wlan0/wifi0 like iwconfig.


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Sun Aug 10, 2008 3:09 pm 
JLime Average User
JLime Average User

Joined: Sun Jul 27, 2008 4:22 pm
Posts: 16
hey. thx for your answer.

EDIT:

I fixed my /etc/network/interfaces now, so ifconfig shows wifi0 and wlan0 oif the card is inserted.
with wpa_supllicant [...] -d -d I found the message in the middle of the log:
"wpa_driver_hostap_set_wpa: enabled=1"
"ioctl[prism2_ioctl_prism2_param]: operation not supported"
"Driver does not support WPA"
...
the second line is also thrown out, if I start wpa_supllicant without "-d -d" for more debug infos...
so the driver is the problem? should/can I update my hostap driver? or can I update my Firmware on the Linksys WPC11 v3?

you don't use the argument "-b" with wpa_supplicant?


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Sun Aug 10, 2008 8:44 pm 
JLime Puwha! User
JLime Puwha! User
User avatar

Joined: Thu Nov 22, 2007 10:06 pm
Posts: 129
can you show me lsmod with your card inserted ?


Top
Offline Profile  
 
 Post subject: Re: WPA and other features on latest -rc6 kernel!
PostPosted: Sun Aug 10, 2008 9:02 pm 
JLime Average User
JLime Average User

Joined: Sun Jul 27, 2008 4:22 pm
Posts: 16
sure. :-)

lsmod returned:

module/
Used by:

orinoco_cs /
0

orinoco /
1 orinoco_cs

hermes /
2 orinoco_cs, orinoco

hostap_cs /
3

hostap /
1 hostap_cs

ieee80211_crypt /
1 hostap

nls_is08859_2 /
1


I already posted the error... hm..



thx for your help :-)


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Mon Aug 11, 2008 2:11 pm 
    JLime Puwha! User
    JLime Puwha! User
    User avatar

    Joined: Thu Nov 22, 2007 10:06 pm
    Posts: 129
    Did you create the dir /etc/modprobe.d/ and a file called "blacklist" in it with
    Code:
    blacklist orinoco
    blacklist orinoco_cs
    blacklist hermes

    ?
    If not, try it, then reboot and it should maybe work


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Tue Aug 12, 2008 11:03 am 
    JLime Average User
    JLime Average User

    Joined: Sun Jul 27, 2008 4:22 pm
    Posts: 16
    hey.
    thanks for the hint. I tried it out, and he is not loading hermes and orinoco anymore if I insert the WLAN-card, but....

    still the same error :-(

    Code:
    wpa_driver_hostap_set_wpa: enabled=1
    ioctl[prism2_ioctl_prism2_param]: operation not supported
    Driver does not support WPA



    do you think I could like... update the driver or something like that? he is definetly using the right driver. he also did before, thanks to the improved kernel... but it's still not working... :-(


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Tue Aug 12, 2008 10:39 pm 
    JLime Puwha! User
    JLime Puwha! User
    User avatar

    Joined: Thu Nov 22, 2007 10:06 pm
    Posts: 129
    apparently it's using hostap. it works here, weird. you can't really upgrade it unless you recompile the whole kernel :(, and i think it's already using the latest. Are you sure your card is prism 2/2.5/3 ?


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Wed Aug 13, 2008 7:00 pm 
    JLime Average User
    JLime Average User

    Joined: Sun Jul 27, 2008 4:22 pm
    Posts: 16
    it's the linksys WPC11 v3.
    which one are you using? perhaps I should buy another one and it would work....


    thx a lot for your help. :-)


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Wed Aug 13, 2008 7:37 pm 
    JLime Puwha! User
    JLime Puwha! User
    User avatar

    Joined: Thu Nov 22, 2007 10:06 pm
    Posts: 129
    I have a senao, same chipset as your card, so I don't see why it won't work...


    Top
    Offline Profile  
     
     Post subject: Re: WPA and other features on latest -rc6 kernel!
    PostPosted: Thu Aug 14, 2008 12:07 am 
    JLime Average User
    JLime Average User

    Joined: Sun Jul 27, 2008 4:22 pm
    Posts: 16
    is there any tool for flashing this card? I could put it into my notebook with winXP or a Ubuntu-Live-CD to update the firmware...?

    I also read that "some cards work and some don't"... maybe I just got one that don't. :-/ but WEP works fine...

    But still I don't think that it is the card itself... It must have something to do with the driver... at least the error-message tells us so...
    replacing the hostap is not possible, because it's integrated into the kernel, right? :-( damn...
    but actually it SHOULD work because you use the same kernel and it works fine. ahrg. :-P that's tricky.... but I have a feeling that we will get it working. ;-)


    Top
    Offline Profile  
     
    Display posts from previous:  Sort by  
    Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

    All times are UTC


    Who is online

    Users browsing this forum: No registered users and 0 guests


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum

    Search for:
    Jump to:  
    cron