Mervis minibian jessie wifi support

BlackSoll
Posts: 31
Joined: Sat Jul 04, 2015 9:07 am

Mervis minibian jessie wifi support

Postby BlackSoll » Mon Apr 11, 2016 8:33 am

I have tried all the following without any success :

apt-get update
apt-get install nano sudo
apt-get install firmware-realtek
apt-get install wpasupplicant

Tried to proceed with usual wifi configuration, editing my /etc/network/interfaces but no luck at all.

How can i add my wifi adapter to mervis minibian ?
tomas_hora
Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: Mervis minibian jessie wifi support

Postby tomas_hora » Mon Apr 11, 2016 2:47 pm

The system is set to read only in order save the SD card as much as possible.

Support for some wifi dongles is already built in, also the wpa supplicant - see /etc/wpa_supplicant.conf

But before you can modify the file, you need make the sd card writable by:

Code: Select all

mount -o remount,rw /

Then edit the conf file or install other things and make the fs readonly by:

Code: Select all

mount -o remount,ro /
BlackSoll
Posts: 31
Joined: Sat Jul 04, 2015 9:07 am

Re: Mervis minibian jessie wifi support

Postby BlackSoll » Tue Apr 12, 2016 12:13 pm

First i

Code: Select all

mount -o remount,rw /


Then i

Code: Select all

apt-get install nano
cause i like it.

My /etc/network/interfaces looks like this :

Code: Select all

#! /bin/sh false
auto lo
iface lo inet loopback

#
#  ifup/ifdown of eth0 is driven by netplug daemon.
#      by checking ethernet carrier (net card must by plugged into switch/other$
#
#  eth1 is prepared for Huawei 3g modem in cdc-ether mode
#  wlan0 is prepared for Wifi (usb)card
#
#############################################################
#auto eth0                      #not needed if allow-hotplug or netplug is acti$

allow-hotplug eth1 wlan0        # autostart on plugging !!!! MUST BE ONLY ONCE $

source /etc/network/if-eth0.conf

iface eth0 inet6 auto

iface eth1 inet dhcp

iface wlan0 inet dhcp
    pre-up wpa_cli -i wlan0 terminate 2>/dev/null || true
    pre-up /sbin/wpa_supplicant -B -q -c/etc/wpa_supplicant.conf -iwlan0
    post-down wpa_cli -i wlan0 terminate 2>/dev/null || true
    #wireless configuration is in /etc/wpa_supplicant.conf

allow-hotplug wlan0

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



Then i

Code: Select all

chown root /etc/wpa_supplicant/wpa_supplicant.conf

 /usr/bin/wpa_passphrase myssid mypass > /etc/wpa_supplicant/wpa_supplicant.conf


When i

Code: Select all

iwlist wlan0 scan
i found my wifi network then i

Code: Select all

mount -o remount,ro /
and reboot and again no connection.
tomas_hora
Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: Mervis minibian jessie wifi support

Postby tomas_hora » Wed Apr 20, 2016 12:26 pm

Hello,

then you also need to tell the system to connect to the network:

Code: Select all

wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf


You might also want to automatically reconnect to the network, this can be done using the provided script:

  1. Go to /etc/ifplugd/action.d/ and rename the ifupdown file to ifupdown.original
  2. Then do: cp /etc/wpa_supplicant/ifupdown.sh ./ifupdown

Return to “Mervis”

Who is online

Users browsing this forum: No registered users and 1 guest