ScottHelme Posted October 26, 2013 Share Posted October 26, 2013 In the Karma config tab the SSID Black / White Listing section doesn't show what mode it's currently in. I had a dig in the code and it's trying to run this (/pineapple/components/system/karma/includes/content/config.php): Currently in <?=exec('hostapd_cli -p /var/run/hostapd-phy0 karma_get_black_white')?> mode. I changed it to remove the = as it didn't look right but that didn't help. Wild stab in the dark! Originally spotted by +KaiserBuns on IRC. Quote Link to comment Share on other sites More sharing options...
ScottHelme Posted October 26, 2013 Author Share Posted October 26, 2013 Tried to run it in the shell: root@Pineapple:~# hostapd_cli -p /var/run/hostapd-phy0 karma_get_black_white Failed to connect to hostapd - wpa_ctrl_open: No such file or directory Quote Link to comment Share on other sites More sharing options...
aibohphobia Posted October 27, 2013 Share Posted October 27, 2013 (edited) No problem here: root@Pineapple:/sd/work# hostapd_cli -p /var/run/hostapd-phy0 karma_get_black_white Selected interface 'wlan0' BLACK ... although I might have radio0 and radio1 switched after a factory reset. So, here's my /etc/config/wireless for you to compare: config wifi-device radio0 option type mac80211 option channel 11 option hwmode 11g option macaddr 00:13:37:c0:ff:ee option disabled '0' config wifi-iface option device radio0 option network wan option hidden '0' option mode sta option ssid "myfi" option key 'Betterhookmeuporelse' option encryption 'psk2+tkip' config wifi-device radio1 option type mac80211 option channel 'auto' option hwmode 11ng option macaddr 00:13:37:c0:0c:1e option htmode HT20 list ht_capab SHORT-GI-20 list ht_capab SHORT-GI-40 list ht_capab RX-STBC1 list ht_capab DSSS_CCK-40 option disabled '0' config wifi-iface option device radio1 option network lan option mode ap option ssid "freewifi" option encryption none In this scenario I'm using radio0 to hookup to the Internet, and radio1 is my luring hotspot. Edited October 27, 2013 by aibohphobia Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted October 27, 2013 Share Posted October 27, 2013 Well fuck me, this might be the solution. I have no idea WHY a factory reset will switch the two radios, but it seems to be doing that. I think I have an easy fix for this, brb.. *TO THE LAB* Quote Link to comment Share on other sites More sharing options...
ScottHelme Posted October 27, 2013 Author Share Posted October 27, 2013 Well fuck me, this might be the solution. I have no idea WHY a factory reset will switch the two radios, but it seems to be doing that. I think I have an easy fix for this, brb.. *TO THE LAB* *poke* Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted October 27, 2013 Share Posted October 27, 2013 *poke* We solved it. Update on it's way soon. Quote Link to comment Share on other sites More sharing options...
ScottHelme Posted October 27, 2013 Author Share Posted October 27, 2013 We solved it. Update on it's way soon. Wicked! Thanks :) Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted October 27, 2013 Share Posted October 27, 2013 Way better than the MK3 v1.0.0 factory reset bug that rm'd /etc/config/* before copying the backup from the same directory... Oh, wait... :-) #perspective #humble Quote Link to comment Share on other sites More sharing options...
jjd Posted October 28, 2013 Share Posted October 28, 2013 We solved it. Update on it's way soon. awesome! good stuff! you rock! 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.