Skip to content
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

Enhancement Request: Wireless Subsystem Added to OS #9

Closed
johnelle opened this issue Feb 7, 2016 · 4 comments
Closed

Enhancement Request: Wireless Subsystem Added to OS #9

johnelle opened this issue Feb 7, 2016 · 4 comments

Comments

@johnelle
Copy link

johnelle commented Feb 7, 2016

Tried to get my system running on wireless and having no luck. Installed wireless-tools. Created config files. Still not able to get it working with two dongles. Usually very easy process.

Seems to be some things missing from the Raspian image (drivers?) that don't allow this.

@johnelle johnelle closed this as completed Feb 7, 2016
@mariolukas
Copy link
Owner

Solved? Let me know how... Maybe i can add the needed packages by default for other people with the same problem.

@johnelle
Copy link
Author

johnelle commented Feb 8, 2016

Not solved. I added wireless-tools but that just helped me with the
configuration. Not sure what else is missing. Clearly some drivers missing

On Sun, Feb 7, 2016 at 2:35 PM, Mario Lukas notifications@github.com
wrote:

Solved? Let me know how... Maybe i can add the needed packages by default
for other people with the same problem.


Reply to this email directly or view it on GitHub
#9 (comment)
.

John Ellenberger
Groton, MA

@mariolukas mariolukas reopened this Feb 11, 2016
@mariolukas
Copy link
Owner

I have tried some things, worked for me. First of all try to install

sudo apt-get install wpasupplicant

Then add the following content at the end of your /etc/network/interfaces

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default int dhcp

Restart your network with

sudo /etc/init.d/networking restart

Next open /etc/wpa_supplicant/wpa_supplicant.conf if it does not exists create the file and add the following content.

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
eapol_version=1

network={
ssid="YOUR_SSID"
psk=YOUR_SECRET
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

After you added these lines, you can try to get your wifi dongle up.

sudo ifup wlan0

If it does not work out of the box, a reboot did the job for me.

Optional: You can deactivate the wifi dongle sleep mode by adding a line to /etc/modprobe.d/8192cu.conf
This file didn't exist in my image, so i created it. Add the following lines to it and reboot the system or reload the kernel modules.

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

This is what worked for me with an EDIMAX dongle. If you can confirm that i will add some config templates to the next sd-card image.

Sorry i don't know how deep your debian/linux skills are. So i decided to writ all the stuff more detailed, maybe other users want to know all the details.

@johnelle
Copy link
Author

Unfortunately I have not been successful with this. Still missing
something.

I re-imaged the card and did updates (just picked up a new one today in
fact). Set-up the WPA-supplicant stuff. For the Edimax dongle I can get
it configured so I can list the access points but it won't connect to any
of them for some reason.

The WiPi dongle won't even configure (i.e. never shows up in ifconfig)

Oh well.

On Thu, Feb 11, 2016 at 2:57 AM, Mario Lukas notifications@github.com
wrote:

I have tried some things, worked for me. First of all try to install

sudo apt-get install wpasupplicant

Then add the following content at the end of your /etc/network/interfaces

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default int dhcp

Restart your network with

sudo /etc/init.d/networking restart

Next open /etc/wpa_supplicant/wpa_supplicant.conf if it does not exists
create the file and add the following content.

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
eapol_version=1

network={
ssid="YOUR_SSID"
psk=YOUR_SECRET
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

After you added these lines, you can try to get your wifi dongle up.

sudo ifup wlan0

If it does not work out of the box, a reboot did the job for me.

Optional: You can deactivate the wifi dongle sleep mode by adding a line
to /etc/modprobe.d/8192cu.conf
This file didn't exist in my image, so i created it. Add the following
lines to it and reboot the system or reload the kernel modules.

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

This is what worked for me with an EDIMAX dongle. If you can confirm that
i will add some config templates to the next sd-card image.

Sorry i don't know how deep your debian/linux skills are. So i decided to
writ all the stuff more detailed, maybe other users want to know all the
details.


Reply to this email directly or view it on GitHub
#9 (comment)
.

John Ellenberger
Groton, MA

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

2 participants