SPWF04S DHCP Server problem with static ip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-07 2:14 AM
Dear all,
I try to connectSPWF04S toa WPA2 network of my company and I have problem with static IP. The IT guys make a reservation for the module with a specific ip address based onSPWF04S MAC address. When I try to connect the server give to the module a different IP address every time because the MAC address that the module send to the server is very strange as you can see in the picture (the last column is the mac address):
How I can fix this issue?
Usualy, the AT commands that I send is:
at+s.wifi=0
at+s.ssidtxt=networkname
at+s.scfg=wifi_wpa_psk_text,networkpassword
at+s.scfg=wifi_priv_mode,2
at+s.scfg=wifi_mode,1
at&w
at+s.wifi=1�?�?�?�?�?�?�?
Thanks
Marco
#spwf04s #dhcp #static-ip- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-08 9:18 AM
STMicroelectronics MAC addresses starts with 00:80:E1
What's the output of 'at+s.sts=wifi_own_macaddr' command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-08 10:21 AM
The reply is: AT-S.Var:wifi_own_macaddr=00:80:E1:BD:DC:52
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-08 10:25 AM
I assume MAC is correct.
Try to use Wireshark, and capture the DHCP handshake. Better if in Open Mode (no WPA, so frames are not encrypted)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-09 6:47 AM
Hi Gerardo,
the IT guys of my company sniff the network and they told me that the ST module introduce itself with the correct mac address but wrote in
hexadecimal
format, indeed the mac address of the module is00:80:e1:bd:dc:57 (is another device that I have spare) and the module send 302d38302d65312d62642d64632d3537 that is the hexadecimal format of ''0-80-e1-bd-dc-57''.
Any ideas?
Thanks
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-10 10:57 AM
Can you please attach a Wireshark log for DHCP handshake?
