Page 1 of 1

Configure ESP Easy from the command line with httpie or similar

Posted: 09 Nov 2019, 08:46
by duelago
Hello gurus,

I kind of locked myself out from two Esp Easy devices in my summer house. The reason is that I didn't change the default "Client IP block level" setting in Esp Easy. I end up on a different subnet when I connect to my network via my VPN, and ESP Easy says my IP is blocked. I do however have access to a Raspberry PI via ssh on the correct network and I can use a http command line client to connect to ESP Easy that way.

The question is how I can submit a form with httpie and change the Client IP block level setting to "Allow All" so I can gain access to ESP Easy the normal way again.

Best regards,
/David

Re: Configure ESP Easy from the command line with httpie or similar

Posted: 09 Nov 2019, 10:18
by TD-er
Hmm I was sure I did add a command to switch it off, but I cannot find it.
What you could try to do is install a text-based browser on your Pi, like lynx or links. (two different packages, not me trying to remember the name ;) )

Edit:
Found the command: clearaccessblock
Not sure if it will be accepted from the network though (maybe serial only, which would make sense)

Re: Configure ESP Easy from the command line with httpie or similar

Posted: 09 Nov 2019, 10:51
by duelago
TD-er wrote: 09 Nov 2019, 10:18 Hmm I was sure I did add a command to switch it off, but I cannot find it.
What you could try to do is install a text-based browser on your Pi, like lynx or links. (two different packages, not me trying to remember the name ;) )

Edit:
Found the command: clearaccessblock
Not sure if it will be accepted from the network though (maybe serial only, which would make sense)
I forgot about links. Solved it. Thanks!