Wifi instructions

11 views
Skip to first unread message

Julian Foad

unread,
Nov 22, 2016, 8:21:53 AM11/22/16
to UBOS Development
What's the state of UBOS's support for connecting to a WPA-secured wireless network?

I'm trying to install UBOS on a boot stick in a spare laptop. The laptop's Ethernet port is broken so can only connect by wireless. My home wifi network uses WPA encryption. UBOS networking.html says "UBOS can be run on many different hardware configurations. ... It may or may not have a WiFi antenna ... Unlike other network management tools, UBOS network configurations manage all necessary layers of the networking stack". But on installation, there is no obvious way to make the wireless interface connect to the access point, and no further UBOS instructions that I could find.

Using the Arch Linux instructions
  https://wiki.archlinux.org/index.php/Wireless_network_configuration
  https://wiki.archlinux.org/index.php/WPA_supplicant

I have come up with this, so far:
  • know or find the name of the wireless interface; call it <interface>
    (e.g. by looking at the output of "ip addr")
  • know or find the name (SSID) of the wireless network; call it MYSSID
  • generate a config file containing the authentication credentials:
    wpa_passphrase MYSSID | grep -v "#psk=" > /etc/wpa_supplicant/wpa_supplicant-<interface>.conf
    and type in the passphrase
  • start the supplicant, for future boots and right now:
    systemctl enable wpa_supplicant@<interface>
    systemctl start wpa_supplicant@
    <interface>
Is this something that we should document?

Is there meant to be a better way?

Johannes Ernst

unread,
Nov 22, 2016, 5:56:57 PM11/22/16
to ubos...@googlegroups.com
Did you come across this blog post?


Note this only works with some wifi chipsets. This is the biggest obstacle to “productize” IMHO. (If you have ideas … )

--
You received this message because you are subscribed to the Google Groups "UBOS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubos-dev+u...@googlegroups.com.
To post to this group, send email to ubos...@googlegroups.com.
Visit this group at https://groups.google.com/group/ubos-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ubos-dev/024874ec-a6fc-4da9-944c-9066de8a70f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julian Foad

unread,
Nov 30, 2016, 6:04:07 AM11/30/16
to ubos...@googlegroups.com
On 22/11/16, Johannes Ernst wrote:
> Did you come across this blog post?
>
> http://ubos.net/blog/2016/08/18/wifi.html

No, I hadn't found that. It's similar to what I did, and I have now
configured the "regulatory domain" on my system as you suggest there.

> Note this only works with some wifi chipsets. This is the biggest
> obstacle to “productize” IMHO. (If you have ideas … )

For a start, it might help others if you put a link to that post at the
top of the "networking" document.

- Julian

Julian Foad

unread,
Nov 30, 2016, 11:33:08 AM11/30/16
to UBOS Development
Julian Foad wrote:
> http://ubos.net/blog/2016/08/18/wifi.html
> [...] (If you have ideas … )

For a start, it might help others if you put a link to that post at the
top of the "networking" document.

Pull request to do so: https://github.com/uboslinux/ubos-docs/pull/51

- Julian
 

Johannes Ernst

unread,
Dec 1, 2016, 12:13:01 AM12/1/16
to ubos...@googlegroups.com

On Nov 30, 2016, at 8:33, Julian Foad <jul...@foad.me.uk> wrote:

Merged. Will be public next time I push the site out.

Thank you!


Johannes.


Reply all
Reply to author
Forward
0 new messages