Jump to content

Probles adding SSID


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

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.

Link to comment
Share on other sites

  • 2 months later...
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

post-16300-1259172819_thumb.jpg

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...