Jump to content

Location Specific Dip Switch


yabasoya

Recommended Posts

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.

Link to comment
Share on other sites

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...