element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum BBB - BeagleBone Black WiFi Settings
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 58 subscribers
  • Views 785 views
  • Users 0 members are here
  • wifi
  • beaglebone_black
  • beagleboneblack
  • bbb
  • texas_instruments
  • ti
  • linux
Related

BBB - BeagleBone Black WiFi Settings

shabaz
shabaz over 11 years ago

I thought it may be a good idea to record working WiFi configs - stored here so we can all edit and refine in a single location, rather than have dispersed (and sometimes incorrect or incomplete) information everywhere.

I've kicked it off with UWN100/UWN200 on the current Debian image. I'm no expert with this (usually use wired connections on my Linux boxes) so they may not be currently "optimum" but worked for me. Hopefully those more knowledgeable can refine these over time.

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 11 years ago in reply to johnbeetem +1
    John Beetem wrote: I think you just proved my point. Probably It's my feeling that the distro should make it all transparent and easy, at least for the common cases. That it's fairly simple to do…
  • Former Member
    Former Member over 11 years ago in reply to shabaz +1
    I suppose there may be people out there still using WEP, so you should probably add a section to the supplicant config something like this network={ ssid="you have been compromised already" key_mgmt=none…
  • Former Member
    Former Member over 11 years ago

    I'm often amazed at how many people seem to have problems with WiFi on Linux on SBCs.

     

    Certainly maybe 4 or 5 years ago wifi could be a pain but these days the problems should largely be a thing of the past.  That does tend to mean that the blame mostly falls on the distros.

     

    Your config looks ok to me, the only fly in the ointment being that with a different network card it may not be ra0, but could be wlan0, ath0, or even just eth1... and that's before you get to the distro installing some odd naming rules into udev and making it even worse.

    Other than that, and presence of the appropriate firmware if required, it should just work with any wifi adapter.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 11 years ago in reply to Former Member

    selsinork wrote:

     

    I'm often amazed at how many people seem to have problems with WiFi on Linux on SBCs.

    Personally, I'm amazed that normal people can get networking to work at all.  I used to write datacom software (mostly at the device/link layer rather than the network/application layer) and the are so many things that can go wrong, it seems like pure luck when people are able to get all the settings right.

    Your config looks ok to me, the only fly in the ointment being that with a different network card it may not be ra0, but could be wlan0, ath0, or even just eth1... and that's before you get to the distro installing some odd naming rules into udev and making it even worse.

    I think you just proved my point. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to johnbeetem

    John Beetem wrote:

     

    I think you just proved my point.

    Probably image   It's my feeling that the distro should make it all transparent and easy, at least for the common cases.  That it's fairly simple to do, but they still don't is the puzzling part.

    You're right that there's so much to go wrong, but the common case is likely to be one wired network port and one wifi on either an SBC or Laptop. Typically only one wired for a desktop. These cases are trivial to get right out of the box.

    Something acting as a router or using vlans is typically complex enough that the default networking setup in the distro can't cope anyway, so trying to do so and forcing that complexity onto the common case is highly counter productive.

     

    Still, It's probably also true that some people will still manage to break things no matter how easy it's been made image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 11 years ago in reply to Former Member

    Hi Selsinork,

    Excellent, thanks for checking the configs. I was worried tweaks/config changes beyond the interface name may be needed, but good to know that it should be ok for many WiFi adapters,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to shabaz

    I suppose there may be people out there still using WEP, so you should probably add a section to the supplicant config something like this

     

    network={

         ssid="you have been compromised already"

         key_mgmt=none

         auth_alg=OPEN

         wep_key0=0123456789abcdef0123456789

         wep_key1=0123456789abcdef0123456789

         wep_key2=0123456789abcdef0123456789

         wep_key3=0123456789abcdef0123456789

    }

     

    while adding a big red disclaimer pointing out that using WEP is a very silly idea.

     

    There's also some other settings that can change depending on exactly how the AP is configured, but in general the defaults for most APs have all the WPA2 algorithms enabled, so usually not a big problem.

    Anyone who has a desktop installed should probably just use wpa_gui, assuming it's available, to configure their connection.

     

    The people who have some interesting non-default configuration on their AP will likely already know that and have sufficient knowledge to sort it out themselves. So much better to focus on the common case that'll get the people with little experience of wifi on linux up and running quickly and easily

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 11 years ago in reply to Former Member

    selsinork wrote:

         ssid="you have been compromised already"

     

    ...

    while adding a big red disclaimer pointing out that using WEP is a very silly idea.

     

    Haha yes I think that's important to mention.

    Excellent, thanks for the all off the suggestions. I've taken them and reworded the page to have general instructions, followed by any Wifi-adapter-specific instructions (e.g. driver issues) where needed.

    • 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