Configure ESP Easy from the command line with httpie or similar

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
duelago
New user
Posts: 9
Joined: 13 Aug 2017, 10:41

Configure ESP Easy from the command line with httpie or similar

#1 Post by duelago » 09 Nov 2019, 08:46

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

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#2 Post by TD-er » 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)

duelago
New user
Posts: 9
Joined: 13 Aug 2017, 10:41

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

#3 Post by duelago » 09 Nov 2019, 10:51

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!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 22 guests