cazze Posted August 2, 2009 Share Posted August 2, 2009 EDIT: sorry for the title but i think i can't edit it anymore. But no Probles but problems :) Hi, As a noob to openwrt and jasager i installed latest jasager firmware on my fon. Here is a snip of: iwpriv ath0 markdfs (003A) : set 1 int & get 0 get_markdfs (003A) : set 0 & get 1 int setiebuf (8BEA) : set 1032 byte & get 0 getiebuf (8BE9) : set 0 & get 1032 byte setfilter (8BEC) : set 4 byte & get 0 clrkarmalist (0068) : set 1 int & get 0 addkarmassid (8C00) : set 32 char & get 0 karma_bw (0066) : set 1 int & get 0 get_karma_bw (0066) : set 0 & get 1 int karma (0065) : set 1 int & get 0 get_karma (0065) : set 0 & get 1 int maxrate (004B) : set 1 int & get 0 get_maxrate (004B) : set 0 & get 1 int minrate (004C) : set 1 int & get 0 get_minrate (004C) : set 0 & get 1 int setscanlist (8BFF) : set 255 char & get 0 wdssep (0052) : set 1 int & get 0 get_wdssep (0052) : set 0 & get 1 int maxassoc (0053) : set 1 int & get 0 get_maxassoc (0053) : set 0 & get 1 int probereq (0054) : set 1 int & get 0 get_probereq (0054) : set 0 & get 1 int dumpregs (003E) : set 1 int & get 0 readreg (8BEB) : set 1 int & get 1 int writereg (8BF3) : set 2 int & get 0 You see that the madwifi driver is patched for karma. When i try to addkarmassid, i get the following: root@OpenWrt:~# iwpriv ath0 addkarmassid 'trut' Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument root@OpenWrt:~# iwpriv ath0 addkarmassid "trut" Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument root@OpenWrt:~# iwpriv ath0 addkarmassid trut Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument Any idea? Cazze Quote Link to comment Share on other sites More sharing options...
digininja Posted August 2, 2009 Share Posted August 2, 2009 Thats odd, it should work fine, you are right, it does look like the drivers are patched ok. Can you use iwpriv to set any other commands? Quote Link to comment Share on other sites More sharing options...
cazze Posted August 2, 2009 Author Share Posted August 2, 2009 Yes it is possible :( root@OpenWrt:~# iwpriv ath0 get_karma ath0 get_karma:1 root@OpenWrt:~# iwpriv ath0 karma_bw 1 root@OpenWrt:~# iwpriv ath0 karma_bw 0 root@OpenWrt:~# iwpriv ath0 karma 0 root@OpenWrt:~# iwpriv ath0 karma 1 root@OpenWrt:~# iwpriv ath0 karma 0 root@OpenWrt:~# iwpriv ath0 get_karma ath0 get_karma:0 Quote Link to comment Share on other sites More sharing options...
cazze Posted August 3, 2009 Author Share Posted August 3, 2009 i tried the pirhana firmware but it gives me the same result. Is there something else i can test or do to troubleshoot this? Quote Link to comment Share on other sites More sharing options...
digininja Posted August 4, 2009 Share Posted August 4, 2009 So this is failing for you under two different firmwares but works for everyone else under both. I've got absolutely no idea. There are no restrictions when you can issue that command, it should work in all card modes so that shouldn't affect anything. If the other commands are there and working then the drivers seem to be patched OK. If you are up for trying another firmware, try my Jasager firmware and see if it works with that. Quote Link to comment Share on other sites More sharing options...
cazze Posted August 4, 2009 Author Share Posted August 4, 2009 Hi digininja, that was the one i started with :(. I will try from 8.09 with your packages but i think it will be the same. To be sure i will try. Also you say that for everybody it works, but they do it maybe with the web interface and the interface always say ssid added or something like that. Do you check on errors of the command? I don't get an error when doing it with the interface, but as i can't check if it is really inserted or not, i'm not sure it worked. But the only thing the interface does is calling this command or am i wrong? I will test if jasager responds to the ssid i put in in the interface, that way i will be sure. cazze Quote Link to comment Share on other sites More sharing options...
digininja Posted August 4, 2009 Share Posted August 4, 2009 I suppose what I mean is that no one has complained. I'll dig out my Fon with Jasager installed on it when I get chance and see if that works. Quote Link to comment Share on other sites More sharing options...
cazze Posted August 28, 2009 Author Share Posted August 28, 2009 Hi digininja, If you come back from honeymoon (concratz by the way with your wedding) can you check if you have the same problem? Cazze Quote Link to comment Share on other sites More sharing options...
digininja Posted September 6, 2009 Share Posted September 6, 2009 Will try to check it this evening Quote Link to comment Share on other sites More sharing options...
digininja Posted September 6, 2009 Share Posted September 6, 2009 Just checked and can confirm that it is a bug and doesn't work for me either. Bummer! Unfortunately you can't use the old madwifi package to fix this as it relies on a different kernel version. I'll dust off my compiler and rebuild the package and the firmware. Quote Link to comment Share on other sites More sharing options...
cazze Posted September 6, 2009 Author Share Posted September 6, 2009 Thx for checking out. I thought my fon had a hardware problem! If you compile again, could you do it for the latest madwifi drivers of the latest openwrt version, as they are upgraded to a newer version. (Also kmod-gpio)? thx Quote Link to comment Share on other sites More sharing options...
digininja Posted September 7, 2009 Share Posted September 7, 2009 I'll probably go for 8.09_1 or whatever they call the latest stable release. The kmod-gpio was a package I found so don't know if I have the source but I'll have a look Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted November 25, 2009 Share Posted November 25, 2009 I'll probably go for 8.09_1 or whatever they call the latest stable release. The kmod-gpio was a package I found so don't know if I have the source but I'll have a look Hi, I can confirm the problem with my Jasager 1.0 Firmware freshly flashed Fon+ 2201. Funny thing, if I set Karma to Blacklisting, I see some "funny" ssids... Are you working on the problem? Greetings, Xeno Quote Link to comment Share on other sites More sharing options...
digininja Posted November 29, 2009 Share Posted November 29, 2009 That is nothing to do with Jasager and it took me ages to find out what it really was. When XP is trying to find a network to connect to it goes through its list a few times then gives up and shuts down, but it doesn't really shut down it continues to probe for an ESSID with the name taken from a random bit of memory. Jasager will accept probes for anything so accepts it and adds it to its list. That was fun debugging when I did it. Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted November 29, 2009 Share Posted November 29, 2009 That is nothing to do with Jasager and it took me ages to find out what it really was. When XP is trying to find a network to connect to it goes through its list a few times then gives up and shuts down, but it doesn't really shut down it continues to probe for an ESSID with the name taken from a random bit of memory. Jasager will accept probes for anything so accepts it and adds it to its list. That was fun debugging when I did it. Hm Wow O.o Ok!!! But the problem is, as I'm using also an Fon 2201, I got these problems as well: root@OpenWrt:~# iwpriv ath0 addkarmassid 'trut' Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument root@OpenWrt:~# iwpriv ath0 addkarmassid "trut" Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument root@OpenWrt:~# iwpriv ath0 addkarmassid trut Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument ( I copied that log from the first post, but the error it gives me is the same... ) Any solution for that? Greetings and Thanks, Xeno Quote Link to comment Share on other sites More sharing options...
digininja Posted November 29, 2009 Share Posted November 29, 2009 Ye, the iwpriv command for adding ssid is broken, there is another open thread discussing it. I've spent some long nights trying to fix it but not got anywhere. The problem is the debug cycle, build on pc, transfer and install file, reboot fon then test. Repeat for each change. It takes forever. Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted November 30, 2009 Share Posted November 30, 2009 Ye, the iwpriv command for adding ssid is broken, there is another open thread discussing it. I've spent some long nights trying to fix it but not got anywhere. The problem is the debug cycle, build on pc, transfer and install file, reboot fon then test. Repeat for each change. It takes forever. Uh sounds really nasty. I hope you'll crack the problem-nut soon! (by the way thats only an fon+ problem i think?) Wish you the best of luck and thanks for taking your time! Greetings, Xeno Quote Link to comment Share on other sites More sharing options...
cazze Posted November 30, 2009 Author Share Posted November 30, 2009 (by the way thats only an fon+ problem i think?) Nope, same problem on fon cazze Quote Link to comment Share on other sites More sharing options...
digininja Posted December 1, 2009 Share Posted December 1, 2009 Its a bug in my code so will affect everyone unfortunately. Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted December 19, 2009 Share Posted December 19, 2009 any update on this so far? ^^ Quote Link to comment Share on other sites More sharing options...
BennyHill Posted June 7, 2011 Share Posted June 7, 2011 Hi, Been looking round for a solution to this problem myself. Is there any solution available? I get the following on the Fon: root@OpenWrt:~# iwpriv ath0 addkarmassid 12345 Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument root@OpenWrt:~# cd /bin/ root@OpenWrt:/bin# ./karma_cli -a 12345 Adding the SSID 12345 to the list Interface doesn't accept private ioctl... addkarmassid (8C00): Invalid argument Thanks in advance B Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted June 7, 2011 Share Posted June 7, 2011 Sadly not, never found anything useful. Quote Link to comment Share on other sites More sharing options...
digininja Posted June 7, 2011 Share Posted June 7, 2011 Unfortunately it is a bug that I couldn't track down so adding an SSID will always fail. The code looks right but debugging involved cross compile, transfer file, install, reboot, test and repeat so after a few days I lost patience and gave up. Quote Link to comment Share on other sites More sharing options...
bobbyb1980 Posted September 18, 2011 Share Posted September 18, 2011 Having the exact same problem... any updates on why Karma doesn't want to listen? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.