mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

MiniBian and wifi (HOWTO & preconfigured image)

Wed Apr 29, 2015 5:14 pm

I've been using MiniBian for a while since its "raspbian without the bloat" and fits on a 512mb card:

https://minibianpi.wordpress.com/features/

but that was with ethernet, then came across some trouble getting wifi to work... so I thought I'd write up the steps below:

MiniBian is so minimal it doesn't have wifi drivers built in... so install some wifi drivers:

Code: Select all

apt-get install firmware-ralink
apt-get install firmware-realtek
Test things are working by doing a scan for networks

Code: Select all

apt-get install wireless-tools
iwlist wlan0 scan
Now we'll set it up to auto connect:

Code: Select all

apt-get install wpasupplicant 

edit /etc/network/interfaces:

Code: Select all

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

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

edit /etc/wpa_supplicant/wpa_supplicant.conf:

Code: Select all

network={
        key_mgmt=NONE
        priority=-999
        }
The above sets it to connect to any open wifi.

I made an image with this pre-setup for those in the Model A "no ethernet to configure wifi" catch22 situation:

https://sourceforge.net/projects/minibianwifi/
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Chillman90
Posts: 4
Joined: Sat Sep 07, 2013 8:35 am

Re: MiniBian and wifi (HOWTO & preconfigured image)

Thu May 07, 2015 8:37 am

Thank you!
Will try that at home!
Was looking for exactly this to have an airprint solution on a 2GB microSD card.

tobios
Posts: 7
Joined: Sun Nov 24, 2013 11:48 am

Re: MiniBian and wifi (HOWTO & preconfigured image)

Thu Jul 16, 2015 7:31 pm

Thanks, it's useful !
But could you include the Atheros drivers in the next build ?
I have this adapter : https://wikidevi.com/wiki/TP-LINK_TL-WN722N but he is not supported.
Thank's.

Cheers.

User avatar
deltalimablahblah²
Posts: 33
Joined: Sat Dec 22, 2012 5:33 pm

No iwlist after install

Sat Nov 14, 2015 12:30 pm

Hi,

I'm using minibian for MPD since a few weeks. I bought a RTL wifi adapter yesterday. I installed all tools above mentioned. But there's no iwlist or similar after installation!? What's wrong?

Thank you in advance for help...

diederik
Posts: 393
Joined: Wed Mar 26, 2014 11:17 pm

Re: No iwlist after install

Sat Nov 14, 2015 8:24 pm

deltalimablahblah² wrote:I installed all tools above mentioned. But there's no iwlist or similar after installation!? What's wrong?
iwlist is located at /sbin/iwlist, so you either need to start it with the full path or run it as root or with sudo.

Return to “Raspberry Pi OS”