Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

wireless connection #1149

Closed
hardcoar opened this issue Aug 12, 2016 · 26 comments
Closed

wireless connection #1149

hardcoar opened this issue Aug 12, 2016 · 26 comments

Comments

@hardcoar
Copy link

hardcoar commented Aug 12, 2016

RancherOS Version: (ros os version) 0.5.0

Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.) ?baremetal

hi. is it possible to connect to wifi?
i know i need to provide wpa-ssid and wpa-psk to connect.

in ubuntu i just need to edit network interfaces

auto wlan0
iface wlan0 inet static
address <192.168.*.*>
gateway 192.168.1.1
netmask 255.255.255.0
wpa-ssid <WIFI ID>
wpa-psk <WIFI PASSWORD>
dns-nameservers 8.8.8.8 191.168.1.1

how do i do this in rancher os?

@joshwget
Copy link
Contributor

The default RancherOS kernel doesn't contain any wireless drivers. There should be a system service for installing these in the next release.

RancherOS networking configuration might also need a few fields added to properly support wireless. This part could be done manually until these fields are added.

@hardcoar
Copy link
Author

yes that would be really helpful.

@joshwget joshwget added this to the v0.7.0 milestone Sep 1, 2016
@deniseschannon deniseschannon modified the milestones: v0.7.0, v0.8.0 Sep 27, 2016
@saphoooo
Copy link

saphoooo commented Oct 3, 2016

Once again, what a pity! hypriot do a great job on raspberry pi, but push swarm ahead (ok many of them work at docker); it might be nice to have rancheros on pi with k8s instead! but for that, I would like to have a private net and a public net, so I need the wifi card. I hope this time it will be integrated in 0.8 and not postponed to 0.9 or 0.10.

@ibuildthecloud
Copy link
Contributor

We're trying. Honestly it's quite hard to support a raspberry pi when it's not your primary objective. We are getting there.

@ibuildthecloud
Copy link
Contributor

I do highly recommend hypriot, they do an excellent job at this.

@saphoooo
Copy link

saphoooo commented Oct 4, 2016

Hi Darren,
I really understand your point of view, especially as I'm also running rancheros in production; but precisely it's because I'm in production that I would like to POC features on a home mini-DC. And as I told you, I well know hypriot, and I'm agree with you, but I don't run hypriot on production :)

@ibuildthecloud
Copy link
Contributor

So wireless is still coming. We decided we needed to release 0.7 earlier than expected. That is the only reason why this is assigned to v0.8.0. So the timeframe didn't change, just the release number.

@saphoooo
Copy link

saphoooo commented Oct 4, 2016

awesome, I look forward to it!

@pwFoo
Copy link

pwFoo commented Nov 6, 2016

Wireless is working with kernel-extras enabled. Added a wpagui container to manage it successfully.
Buit waiting for 0.8 because of compose v2 syntax support.

@SvenDowideit SvenDowideit modified the milestones: v0.9.0, v0.8.0 Dec 16, 2016
@fribes
Copy link

fribes commented Jan 4, 2017

Concerning wireless to come, will networking configuration allow Access Point mode ?

@SvenDowideit
Copy link
Contributor

@fribes that probably depends on what contributions are made to implement it.

@SvenDowideit SvenDowideit modified the milestones: v0.10.0, v0.9.0 Mar 13, 2017
@wikar
Copy link

wikar commented Mar 26, 2017

Really looking forward to wireless capabilities for the RPi3 + Rancher OS. Thanks for all your great work this far, very appreciated!

@jupl
Copy link

jupl commented Jun 2, 2017

Given that OS is at v1 already, is there any documentation on how to get this set up, or is it still not ready? I have a Pi and want to set up Wifi.

@SvenDowideit
Copy link
Contributor

my release's focus for v1.1.0 is making VMware support solid - we're still working on server side usage, so RPI and desktop are things that are mostly in the "if you want it, please help make it happen" phase.

That said, today I'm working on getting the docker engines up to date on ARM and ARM64, and was looking into the auto_resize problem, and an ARM64 img for RPI3 - but I don't have that much time to devote to non-server use.

@kevinelliott
Copy link

What's the status on this?

@fudekun
Copy link

fudekun commented Nov 8, 2017

@niusmallnan niusmallnan modified the milestones: v1.3.0, unscheduled Feb 13, 2018
@karneaud
Copy link

has this been implemented? I've installed 1.3.0 and ifconfig dos not list wlan0....what is the status of this?

@mortenlj
Copy link

RPI and desktop are things that are mostly in the "if you want it, please help make it happen" phase.

Is there anywhere we can see what is missing, and what the plan is, in case we want to help make it happen?

@Magicloud
Copy link

I just checked Pi 3, the modules of brcmfmac and brcmutil are already there. The only thing missing is brcmfmac43430-sdio.bin, the firmware.
And wpa_supplicant is in, os_base, I think. Now my WiFi works.

@mattmccarty
Copy link

mattmccarty commented Sep 3, 2018

@Magicloud I added the brcmfmac firmware to /lib/firmware/brcm. Is there anything else that needs to be done?

@Magicloud
Copy link

Magicloud commented Sep 3, 2018

@mattmccarty Then modprobe brcmfmac, wlan0 should appear.

@mattmccarty
Copy link

mattmccarty commented Sep 4, 2018

So @Magicloud 's answer almost worked for me on my RPI3b. I had to do one more thing - add "brcmfmac43430-sdio.txt"

Here are the steps I followed:

  1. Visit the brcm page in the RPI-Distro repository
  2. Download brcmfmac43430-sdio.bin and brcmfmac43430-sdio.bin
  3. Create the /lib/firmware/brcm directory on the rootfs partition of your sdcard
  4. Copy both of the files you downloaded to the new directory
  5. Start the RPI
  6. run modprobe -r brcmfmac
  7. run modprobe brcmfmac
  8. run iwconfig and check for wlan0

Thanks @Magicloud! You saved me a bunch of time.

@Magicloud
Copy link

@mattmccarty Ah, that text file, I forgot had it before. Thanks for the summary.

@TheAifam5
Copy link

any update on this ? Soon 2019

@TheAifam5
Copy link

TheAifam5 commented Dec 7, 2018

Ah that thing with 'brcmfmac43430-sdio' does not work. I'm using the 1.5.0-rc with RPi3B+.
Something with 'Direct firmware load for brcmfmac43455-stdio.bin failed with error -2'
'unhandled level 2 translation unit (11)'

'brcmf_sdio_htclk: HT Avail timeout 1000000... clkctl 0x50'

The good question is why 'brcmfmac43455-stdio.bin' and not 43430...

EDIT:
Installing this fixes all problems and don't need to run anything (you dont need rmmod, modprobe etc.. things)
brcmfmac43455-sdio.txt
brcmfmac43455-sdio.bin
brcmfmac43455-sdio.clm_blob

@niusmallnan
Copy link
Contributor

We supported intel wireless adapter on x86. #2370

Creating another issue, we will officially support wireless adapter on RPi3B+. #2604

Close this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests