Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.
MIT License
826 stars 69 forks source link

Unable to connect dash button to wifi #173

Closed SameerPujji closed 3 years ago

SameerPujji commented 3 years ago

Put an x into all the boxes [ ] relevant to your issue (like this: [x])

What is the purpose of your issue?

Guideline for bug reports

You can delete this section if your report is not a bug

Description

Sorry in advance, I am new to this.

I am trying to connect my new amazon dash buttons to my network after completing the hack device part (received green LED once the sound was played).

When I put y to the question "Is the blue light flashing?", 5 seconds later the blue light immediately stops flashing and then nothing happens. A few seconds after this, I get the error Timeout connecting to network.

If I am connected to any network (either my home network or the Amazon ConfigureMe network), I get the following error message:

Error for wireless request "Set ESSID" (8B1A) : Set failed on device wlan0; Operation already in progress.

So I have to disconnect from any network before running the configure command.

I have tried connecting to the button's wifi network, visiting http://192.168.0.1/?amzn_ssid=&amzn_pw= but again, as soon as I visit this web page the button immediately stops blinking and turns off

SameerPujji commented 3 years ago

It turns out even though the device is shutting off when trying to connect to wifi, the process is completing successfully. The CLI isn't working for me, but visiting the URL/IP address above seems to configure the device correctly.