Page 1 of 1

MiniBian and wifi (HOWTO & preconfigured image)

Posted: Wed Apr 29, 2015 5:14 pm
by mikerr
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/

Re: MiniBian and wifi (HOWTO & preconfigured image)

Posted: Thu May 07, 2015 8:37 am
by Chillman90
Thank you!
Will try that at home!
Was looking for exactly this to have an airprint solution on a 2GB microSD card.

Re: MiniBian and wifi (HOWTO & preconfigured image)

Posted: Thu Jul 16, 2015 7:31 pm
by tobios
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.

No iwlist after install

Posted: Sat Nov 14, 2015 12:30 pm
by deltalimablahblah²
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...

Re: No iwlist after install

Posted: Sat Nov 14, 2015 8:24 pm
by diederik
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.