Skip to content

Installation through wifi (RPi 3) #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ThomDietrich opened this issue Sep 14, 2016 · 13 comments
Closed

Installation through wifi (RPi 3) #427

ThomDietrich opened this issue Sep 14, 2016 · 13 comments

Comments

@ThomDietrich
Copy link

I am using the current state of branch v1.1.x and wanted to incorporate wifi based installation into my system. We followed the instructions given in the PR #397 but the file wpa_supplicant.conf seems to be ignored.

Is the described method working?
Did somebody test this with the RPi3 wifi module (BCM43438) yet?

Thanks for any help you can provide.

@BenjaminHae
Copy link
Contributor

It worked for me on the RPi0

@Mausy5043
Copy link
Contributor

Please check the location of the wpa_supplicant.conf. Can you post the result of an ls?

@VD17593
Copy link

VD17593 commented Sep 17, 2016

Did several tries on RPI3 without success.

First of all this question. Can the installation be executed only based on wifi, or does the configuration needs ethernet to configure the wifi?

Tried with wpa_supplicant.conf in /boot/config : no success.

Tried also following the procedure described in bring-your-own-files .
The file /etc/wpa_supplicant/wpa_supplicant.conf is correctly created now.

But the wifi is not working :
When I do a sudo ifconfig -a , the result I get is : eth0and lo , so the wifi module wlan0 is missing.

Let me know if you need more info (an ls of what do you need ?)

@diederikdehaas
Copy link
Member

diederikdehaas commented Sep 17, 2016

I haven't tried it yet, but my guess is that it's missing the RPi3's wireless firmware (for starters). I also don't know whether the drivers for that chipset are present.
I have only tried it with external wifi devices and then it can work, but there are some requirements.
I'm actually pretty sure it can't work with the RPi3's wireless in the current state as it's now configured to use the serial console and that is mutually exclusive with the wireless part of the RPi3.

This is one of the reasons I expect that we will need several alpha/beta releases of the v1.1.x branch before we can release v1.1.0.

@VD17593
Copy link

VD17593 commented Sep 18, 2016

Got it running !

These are the (minimal) steps needed to get wifi working on RPI3.
(remark : the configuration is made with ethernet connection)

First of all (as described above), the installation is done following the procedure Bring your own files to create the file /etc/wpa_supplicant/wpa_supplicant.conf.

So, before first boot, the following file is created on the SD card config/files/etc/wpa_supplicant/wpa_supplicant.conf (with adapted id and pswd) :

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="xxx"
psk="yyy"
key_mgmt=WPA-PSK
}

After whole configuration, did following steps.

The dpkg has to be fixed (don't know why) :

sudo dpkg --configure -a
sudo apt-get update

Install the firmware (steps inspired from minibian)

sudo apt-get -y install firmware-brcm80211 pi-bluetooth wpasupplicant

And update the interface :

sudo nano /etc/network/interfaces

Add the following text :

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Reboot (without ethernet connected).

With sudo ifconfig -a the wlan0 is visible now.
(remark : didn't check bluetooth)

For some reason, for the wifi to work, I had to reboot without the ethernet connected.
I'm sure an improvement could be found for this.

Also the content of the file wpa_supplicant.conf is the one working on my configuration. It should be tested if other configurations could work with this as well.

@ThomDietrich
Copy link
Author

ThomDietrich commented Oct 4, 2016

@diederikdehaas I'll have further testing with the RPi3 I received this weekend.

Regarding the alpha/beta statement: I am using the v1.1.x branch as the base of a preconfigured image provided for a bigger audience. Do you see a risk in that?

@VD17593
Copy link

VD17593 commented Oct 4, 2016

What kind of risk do you mean?

@Mausy5043
Copy link
Contributor

Please try this release.
See if it works for you.

@ghost
Copy link

ghost commented Jun 3, 2017

I'm using this branch for a while now. It works well on both RPi2 and RPi3 with an external USB WLAN stick (I'm using one by Edimax), but the internal WLAN on RPi3 does not work without additional packages (see #470).

@ThomDietrich
Copy link
Author

ThomDietrich commented Jun 3, 2017

Thanks for the heads up @Mausy5043 ! I'm currently occupied with other tasks but happy to see the progress. I'll test when the time is right. Please feel free to close the ticket if you are confident it's resolved. Thanks again

@Mausy5043
Copy link
Contributor

There is now also a beta2

@Mausy5043
Copy link
Contributor

And a beta3 (@ThomDietrich)

@Mausy5043
Copy link
Contributor

Closing this issue for now, assuming it is resolved. If you feel the closure is in error, please feel free to re-open and add new information.

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

No branches or pull requests

5 participants