ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By martonmiklos
#10390
rith87 wrote:Sprite_tm, thanks a ton for esp-httpd! I managed to set it up and I can access the pages hosted on the esp8266 on my Windows 7 laptop and my IPhone 6. Unfortunately, I can't seem to access 192.168.4.1 on my Ubuntu 14.04 LTS.

Here's what I get when I do ifconfig:

Code: Select alllo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3038 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3038 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:558221 (558.2 KB)  TX bytes:558221 (558.2 KB)

wlan0     Link encap:Ethernet  HWaddr [laptop MAC address] 
          inet6 addr: fe80::9ef3:87ff:feb6:ad9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29386 errors:0 dropped:0 overruns:0 frame:1071417
          TX packets:22661 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11908748 (11.9 MB)  TX bytes:6502030 (6.5 MB)
          Interrupt:18


Any idea why there is an IPv6 address but not an IPv4 one? Has anyone else got it to work on an Ubuntu 14.04?

I had the same problem: run sudo dhclient wlan0 to force a new DHCP query and you will got a valid IPV4 address.
User avatar
By Werner
#10514 Hi experts,

I'am experimenting with the ESP8266 and flashed it with esp-httpd compiled on 32-bit debian linux using esp-open-sdk. Works great! Now I want to communicate with the ESP8266 via uart. In fact i want to connect it to a LIN-bus. Where in the esp-open-sdk, or somewhere else can I find the right files to make / adjust uart messages. When i use the grep command to search within files on the messages the uart emits I only find files which are binary. I hoped i could find some .c or .h files were uart function can be modified.

Anyone a idea?

kind regard, Werner