element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum [Error] Device ip = Wi-fi not configure
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 12 replies
  • Subscribers 55 subscribers
  • Views 1719 views
  • Users 0 members are here
  • azurespherech
  • azure sphere
  • azuresphkt
Related

[Error] Device ip = Wi-fi not configure

surgat
surgat over 6 years ago

if i execute "azsphere device wifi show-status" in Azure sphere command.....

 

 

Configuration state : enabled

Connection state    : connected

Security state      : psk

Frequency           : 2422

Mode                : station

Key management      : WPA2-PSK

WPA State           : COMPLETED

IP Address          : 192.168.100.33

 

 

But in Azure sphere starter kit sync connect server

 

Result is, Device IP: Not configured

 

Not sense, waching "sk_chek.bat" seems right.

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 6 years ago +9
    Hi Andres, I had the same issue as you. The solution is mentioned on another thread. In a nutshell, a delay in the script will allow it to populate the device IP field. To do that, open the sk_check.bat…
  • juli15
    juli15 over 6 years ago +4
    Hi! First of all, you need to have in mind that when you run the "sk_chek.bat" it reboots the Sphere Kit. I've had a similar problem as even I've had everything properly configured when I tried to run…
  • netshadow
    netshadow over 6 years ago in reply to juli15 +4
    Thanks for the answer. I had the same problem, wi-fi appeared configured in command prompt, but the sdk application showed Device IP: wi-fi not configured. I added a TIMEOUT /T5 in the bat file. That didn…
  • juli15
    juli15 over 6 years ago

    Hi!

     

    First of all, you need to have in mind that when you run the "sk_chek.bat" it reboots the Sphere Kit. I've had a similar problem as even I've had everything properly configured when I tried to run the script it was trying to take the wifi configuration just at the end of the restart and the wifi configuration was not initialized yet. (As it needs more time)

     

    Try one thing, I suppose that you've had configured the wifi via azsphere device wifi add --ssid <yourSSID> --key <yourNetworkKey>, right? So, go to your "sk_check.bat", edit it and just below the lines which make the sphere to restart, insert this line mentioned before (obviously with your ssid and password of the wifi), and you will see that when you try to read the information again, maybe the first time it gives you an error, but if you let the script running it tries to do it again automatically and you will see that on the second time the console will turn the font to green and the wifi will be properly configured and everything will work! image

     

    Hope it helped!

     

    Julià

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago

    Hi Andres,

     

    I had the same issue as you.

    The solution is mentioned on another thread. In a nutshell, a delay in the script will allow it to populate the device IP field.

    To do that, open the sk_check.bat file in a text editor, and after line 25, insert a line with this text:

     

    TIMEOUT /T 5

     

    Now when you use the registration program, it will pause for a while, and the end result is that the field will be correctly populated.

     

    image

    • Cancel
    • Vote Up +9 Vote Down
    • Sign in to reply
    • Cancel
  • surgat
    surgat over 6 years ago in reply to shabaz

    Thanks for the answers!

    The timeout solution works fine.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • netshadow
    netshadow over 6 years ago in reply to juli15

    Thanks for the answer. I had the same problem, wi-fi appeared configured in command prompt, but the sdk application showed Device IP: wi-fi not configured.

    I added a TIMEOUT /T5 in the bat file. That didn't work, Device IP field became empty.

    I then added azsphere device wifi add --ssid --key line you mentioned.

    Now Device IP shows my IP  image

     

    After such a lengthy register process, I was about to loose it with this last error. I'm glad I went to bed, this little thing survived.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • sleepycrat
    sleepycrat over 6 years ago in reply to shabaz

    Thank you. This helped me.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shareef
    shareef over 6 years ago in reply to shabaz

    thx

    i used to wait for 30 seconds once i connect the board , but that script wait seems a better trick , will try it once i have the chance

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • mudz
    mudz over 5 years ago in reply to netshadow

    Adding TIMEOUT /T 5 didn't worked for me too, just add few more delay to it. IP Field appeared blank for me too.
    i did TIMEOUT /T 10 and Success.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • meera_hussien
    meera_hussien over 5 years ago in reply to shabaz

    The TIMEOUT /T 5 solution works for me.

     

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • alababaju
    alababaju over 5 years ago in reply to shabaz

    Thanks @shabaz mudz and netshadow ! I was having the same problem.

    I added a timeout for 10 seconds after line 25 of the sk_check.bat file like you guys suggested and it worked.

    Previously, before I used this solution, I had to restart a few times to get it to work. I have used the Azure Sphere with different WiFi access points and I noticed that it was easier with some. I'm guessing how quickly your WiFi configures depends on the access point it's connecting too?

    Anyway, thanks for the help guys and good luck with the contest if you're entering!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • adarsh_qclw
    adarsh_qclw over 5 years ago

    I got another Error which goes like this, after all of that is configured. Help me out please!

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube