yabasoya Posted December 15, 2013 Share Posted December 15, 2013 I wanted to pre-program my pineapple with 3 profiles. I did a little recon and found 3 locations that are prime for me. I searched and found this thread.... https://forums.hak5.org/index.php?/topic/30797-dip-switches-to-choose-wifi-client/?hl=%2Bdip+%2Bswitch I setup my 'wireless' config for one location and saved it. Here it is: config wifi-device 'radio0' option type 'mac80211' option hwmode '11ng' option macaddr '00:13:37:00:00:00' 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 channel '1' option disabled '0' option country 'BO' option txpower '30' config wifi-iface option device 'radio0' option hidden '0' option mode 'ap' option network 'lan' option ssid 'attwifi' config wifi-device 'radio1' option type 'mac80211' option hwmode '11g' option macaddr '00:13:37:00:00:00' option disabled '0' option channel '1' option country 'BO' option txpower '30' config wifi-iface option device 'radio1' option hidden '0' option ssid 'freewifi' option network 'wan' option mode 'sta' My questions are: 1. I notice that my 'country' and 'txpower' have been saved in this config. Is this all I need or do I need to still preload: uci set wireless.@wifi-device[0].country=BO; uci set wireless.@wifi-device[0].txpower=30; uci set wireless.@wifi-device[1].country=BO; uci set wireless.@wifi-device[1].txpower=30; uci commit wireless; wifi 2. If I need to preload the stuff above, can I just add that to a script file or something? Instead of typing that out on ever dipswitch line? 3. I need to spoof my mac address to gain access to 'free wifi', can I simply change the 'option macaddr' field to my spoofed address? 4. Thank you. Quote Link to comment Share on other sites More sharing options...
yabasoya Posted December 16, 2013 Author Share Posted December 16, 2013 After some testing today, I figured out some of the answers.. 1. You do not need to preload, this file will configure your country and txpower 3. I can mac spoof with this. 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.