RPi 2 - several problems

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

RPi 2 - several problems

Postby gnurph69 » Sat Mar 14, 2015 10:25 pm

My ultimate goal is to install MythTV backend - but it's been a bear getting there. For the moment, let me focus on one issue at a time.

I have an EdiMax EW-7811Un wifi adapter. I have been unable to get it to connect to my access point (whose WPA2 password has a space in it, if that matters.)

In fact, my problem seems to be identical to the problem at
viewtopic.php?f=60&t=8419&p=45010&hilit=dkms#p45010

*but*

a) I can't install dkms-8192cu for some reason.
$this->bbcode_second_pass_code('', 'DKMS: add completed.
Error! echo
Your kernel headers for kernel 3.18.9-2-ARCH cannot be found at
/usr/lib/modules/3.18.9-2-ARCH/build or /usr/lib/modules/3.18.9-2-ARCH/source.
error: command failed to execute correctly
')
I tried to resolve this by
$this->bbcode_second_pass_code('', 'pacman -U http://os.archlinuxarm.org/armv7h/core/linux-raspberrypi-3.18.9-2-armv7h.pkg.tar.xz
sync
shutdown -r now
')
to no avail. I don't know if this is part of my problem or not, though - the wifi adapter can see the various networks in the area via iwlist wlan0 scan.

b) his solution was using network manager. So i installed network manager and started it
$this->bbcode_second_pass_code('', 'pacman -S networkmanager
systemctl start NetworkManager
nmcli d wifi list
nmcli -a d wifi connect diamond2
')
results in
Error: Connection activation failed: (5) IP configuration could not be reserved (no available address, timeout, etc.).
(which is bogus, because the same adapter works with Raspbian.)

Any suggestions? Thanks!
gnurph69
 
Posts: 2
Joined: Sat Mar 14, 2015 10:07 pm

Re: RPi 2 - several problems

Postby moonman » Sun Mar 15, 2015 12:00 am

Rpi kernel already has that driver built in. Disable power saving mode? modinfo 8192cu

And the message there is pretty obvious... install kernel headers
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: RPi 2 - several problems

Postby gnurph69 » Sun Mar 15, 2015 12:31 am

I've already tried to
* Installed the linux-headers, then sync, then reboot
* then tried to pacman -Sy dkms-8192cu
Same error. I should have mentioned that I tried that before. I believe that is "installing the kernel headers," right? I managed to google around and followed some instructions - appears to be the right thing.

Then I tried:
* "As root, create a file /etc/modprobe.d/8192cu.conf with the following contents:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0"
* on reboot
systool -v -m 8192cu now shows rtw_power_mgnt = "0", so power management is off.

* then tried to pacman -Syu (although it doesn't look like any of those packages should impact this)
* then tried to pacman -Sy dkms-8192cu
* same error.

Any other suggestions?
gnurph69
 
Posts: 2
Joined: Sat Mar 14, 2015 10:07 pm

Re: RPi 2 - several problems

Postby moonman » Sun Mar 15, 2015 12:52 am

The package is linux-raspberrypi-headers it might also fail because this module is already in the kernel

Have you tried wifi-menu instead of NetworkManager?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests