3) Thaw Frost Tower's Entrance
Details
- Location: North Pole
- Troll: Grimy McTrollkins
- Item required: Wifi Dongle
Troll's Objective Message
Yo, I'm Grimy McTrollkins. I'm a troll and I work for the big guy over there: Jack Frost. I’d rather not be bothered talking with you, but I’m kind of in a bind and need your help. Jack Frost is so obsessed with icy cold that he accidentally froze shut the door to Frost Tower! I wonder if you can help me get back in. I think we can melt the door open if we can just get access to the thermostat inside the building. That thermostat uses Wi-Fi. And I’ll bet you picked up a Wi-Fi adapter for your badge when you got to the North Pole. Click on your badge and go to the Items tab. There, you should see your Wi-Fi Dongle and a button to “Open Wi-Fi CLI.” That’ll give you command-line interface access to your badge’s wireless capabilities.
The terminal challenge for this objective is the "Grepping for Gold" terminal offered by Greasy GopherGuts. Solving this terminal challenge provides additional hints for this objective. To view the hints use the menu on the left.
To start this objective you need to stand next to the WIFI adapter that is mounted on the Frost Tower in North Pole.
Open the Wifi Dongle CLI from your Badge Item List when standing next to the WIFI adapter.
Scan for available Wifi Networks with the command: iwlist wlan0 scan
Connect to FROST-Nidus-Setup
wifi network by using the command: iwconfig wlan0 essid FROST-Nidus-Setup
After successfully connecting you will have access to Nidus Termostat Setup page.
You can view the api commands using the command curl http://nidus-setup:8080/apidoc
. You can view the cooler settings using the curl -XGET http://nidus-setup:8080/api/cooler
.
To defrost the door use the following command to set the temperature to 20 and humidity, wind, and wind chill to 0.
Answer
curl -XPOST -H 'Content-Type: application/json' --data-binary '{ "temperature": 20, "humidity": 0, "wind":0, "windchill": 0}' http://nidus-setup:8080/api/cooler