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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Connect to webserver error
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 335 subscribers
  • Views 635 views
  • Users 0 members are here
  • ultra96v2
  • ultra96-v2
Related

Connect to webserver error

luciaom_02
luciaom_02 over 2 years ago

Hello, I’m using a ultra96-V2 board and I’m trying to set up the wifi connection, following the guide and I’m running into some problems.
I’m reading chapter 8, “Connect to Webserver”, but I can’t set up the network called Ultra96-V2_<MAC_ADDRESS>. When I run ./wifi.sh, I get an error with the configuration of the LAN:

root@ultra96v2-2020-1:~# ./wifi.sh
Stopping Connection Manager
ifdown: interface wlan0 not configured
Successfully initialized wpa_supplicant
[ 85.017404] power up request for already powered up source Wifi
[ 85.023330] Device already up. request source is Wifi
[ 85.028409] wilc_sdio mmc1:0001:1 wlan0: Failed to get mac address
[ 85.034600] wilc_sdio mmc1:0001:1: wilc_sdio_disable_interrupt
Could not set interface wlan0 flags (UP): Invalid argument
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface

When I run this file step by step, I get an error when I run ifdown and I get the following output:

ifdown: interface wlan0 not configured

I have tried using ip link set wlan0 down instead and that seems to work and doesn’t report any error. 

Then if I keep running the wifi.sh script, one command at a time, it raises an error when reaching ifup.
When I run either ifup wlan0 or ip link set wlan0 up, I get the following error:

[ 883.500230] power up request for already powered up source Wifi
[ 883.506161] Device already up. Request source is Wifi
[ 883.511239] wilc_sdio mmc1:0001:1 wlan0: Failed to get mac address
[ 883.517421] wilc_sdio mmc1:0001:1: wilc_sdio_disable_interrupt
RTNETLINK answers: Invalid argument


Perhaps, is the ploblem in the wifi/bluethoot module? Is there any step that I‘m skipping? Could there be a file incompatibility problem?

Has anyone had the same problem?

  • Sign in to reply
  • Cancel
  • bidrohini
    0 bidrohini over 2 years ago

    It seems like you are encountering issues with the WiFi setup on your Ultra96-V2 board. The error messages suggest that there might be a problem with the WiFi module or the configuration.

    Let's try to troubleshoot the issue step-by-step:

    Double-check if the WiFi/Bluetooth module is properly connected to the Ultra96-V2 board. Ensure that all connections are secure and there are no loose connections.

    The error messages include "power up request for already powered up source Wifi." This could indicate that the WiFi module is already powered up. However, the script is trying to power it up again, leading to an error. Ensure that there are no conflicts in the power control for the WiFi module.

    The error "Failed to get mac address" could indicate a problem with the driver for the WiFi module. Ensure that the appropriate driver is loaded for the WiFi module. You may need to check the kernel configuration and make sure the required driver is enabled.

    The script reports issues related to the MAC address. Verify that the MAC address is correctly assigned to the WiFi interface (wlan0). If the MAC address is not assigned, the interface may not work correctly. Check if the MAC address is properly configured in the network interface settings.

    The error "Could not set interface wlan0 flags (UP): Invalid argument" suggests a problem with setting up the network interface. Double-check the network interface configuration files to ensure they are correctly set up.


    Ensure that you are running the wifi.sh script with appropriate permissions and as a superuser (root) to avoid any permission-related issues.


    Make sure you are using the correct software versions and configurations. Check for any incompatibility between the Ultra96-V2 board, WiFi module, and the software you are using. Verify if there are any specific instructions or patches required for your specific setup.


    Ensure that all required dependencies, libraries, and packages are installed for the WiFi setup.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • luciaom_02
    0 luciaom_02 over 2 years ago in reply to bidrohini

    Thank you for your help.
    Unfortunately, we have followed all the steps you advised and are still running into exactly the same issue.
    We are going to try to get it changed for a new one.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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