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

keep some /etc/network/interfaces lines #15

Open
haxwithaxe opened this issue Sep 2, 2013 · 4 comments
Open

keep some /etc/network/interfaces lines #15

haxwithaxe opened this issue Sep 2, 2013 · 4 comments

Comments

@haxwithaxe
Copy link
Contributor

some chipsets need help getting the right drivers and the lines like:

interface=wlan0 # The interface to listen on
driver=nl80211

may be required for the wireless to work.
other lines may need to be preserved but i don't know what they are at the moment

@virtadpt
Copy link
Member

Hmmmm... this seems like the sort of thing that shouldn't be necessary these days, what with udev being able to automatically load the necessary drivers. At first I thought maybe we broke something but I went poking around inside of my Raspbian .img files and it's the same way in there.

My off-the-cuff thought is that it should be possible to write a script that runs at boot-time, parses the output of lsusb -v to find wi-fi interfaces, looks up the device ID, and runs modprobe to load the correct driver. I think we're also going to have to default to installing every firmware package in the Raspbian package repository. Does anybody have a list of them handy so I can add them to the Puppet manifest?

@virtadpt
Copy link
Member

This looks like a good place to start: http://packages.debian.org/source/squeeze/firmware-nonfree

It's a meta-package, so by putting that in the manifest, we get all of them at once.

@virtadpt
Copy link
Member

Well, I'm on crack. I just logged into my node and you can't just apt-get install firmware-nonfree. Oh, well. It's not as if we can't list all of the firmware packages in the manifest ourselves.

Added all of the wireless chipset firmware packages to manifest in commit f74747a.

@virtadpt
Copy link
Member

Has anybody tried a b43 (Broadcom) wireless adapter with ByzPi? We've got three options (firmware-b43-installer, firmware-b43-lpphy-installer, firmware-b43legacy-installer) but I don't have one to test with so I can't do compatibility tests.

virtadpt added a commit that referenced this issue Jan 19, 2014
and added all of the firmware packages that I didn't have in the Puppet
manifest from the previous commit.  This references issue #15.

Signed-off-by: The Doctor <[email protected]>
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

2 participants