Jump to content
Sign in to follow this  
RootJunky

Multiple WIFI connections

Recommended Posts

Can you edit the config.txt file to be able to connect to multiple wifi SSID's? I would like to be able to connect to a local wifi network and and mobile hotspot, not at the same time but to whichever one is in range. 

Share this post


Link to post
Share on other sites

It's not supported by default but since it's wpa_supplicant at its base this could be achieved with a script. Firmware v1.3 exposes a wifi connect function which could be used in payloads. 

Share this post


Link to post
Share on other sites

yes i made this actually. I left password the same and just changed the SSID works pretty good. Great look forward to the new firmware v1.3 

# Title:         ssid changer 1
# Description:   Change the ssid stored in the config file
# Author:        Rootjunky
# Version:       1.0
# Category:      Key Croc
#
#
MATCH changewifi
QUACK LOCK
QUACK ENTER
QUACK STRING $(grep -rl "WIFI_SSID" /root/udisk/config.txt | xargs sed -i 's/WIFI_SSID 2WIRE111/WIFI_SSID KeyCroc/g')
QUACK STRING "wifi ssid changed to KeyCroc"
QUACK ENTER
QUACK UNLOCK

Share this post


Link to post
Share on other sites

Howto configure keycroc as an access point with its own ssid and password? Then connect to it via ssh. Is this not the better solution compared to the default configuration in config.txt?

Share this post


Link to post
Share on other sites

Yes that is a good idea any plains for this in the future?

where or how can we start with building a payload i would be up for that

Share this post


Link to post
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.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...