Page 1 of 1

"Permission denied"

Posted: Mon Oct 31, 2016 2:57 am
by kilaueabart
Some time back I bought a USB thing that is supposed to make a computer wifi capable. I looked at it again yesterday and noticed that it supposedly includes Linux computers. So I copied the Linux folder ("RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911" by name) off the disc to my Desktop.

It's full of folders and a basic readme.txt which are all very discouraging, and I don't expect to be able to make the thing work on my X1000. But it does have an "install.sh" and I figured nothing to lose if I try it. So I "sudo su" and cd to that folder and go "./install.sh." "Permission denied."

What nerve! It's my computer, I bought the program etc., how can it refuse to do what I tell it?

Anyway, is there any way to get Permission?

Re: "Permission denied"

Posted: Mon Oct 31, 2016 1:59 pm
by xeno74
kilaueabart wrote:Some time back I bought a USB thing that is supposed to make a computer wifi capable. I looked at it again yesterday and noticed that it supposedly includes Linux computers. So I copied the Linux folder ("RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911" by name) off the disc to my Desktop.

It's full of folders and a basic readme.txt which are all very discouraging, and I don't expect to be able to make the thing work on my X1000. But it does have an "install.sh" and I figured nothing to lose if I try it. So I "sudo su" and cd to that folder and go "./install.sh." "Permission denied."

What nerve! It's my computer, I bought the program etc., how can it refuse to do what I tell it?

Anyway, is there any way to get Permission?
Hi Kilaueabart,

I have added some kernel modules for your USB wireless network adapter to the RC3 of kernel 4.9.

Driver for Realtek RTL8192CU/RTL8188CU 802.11n USB wireless network adapters

Download: vmlinux-4.9-rc3-AmigaONE_X1000.tar.gz

You need to copy the kernel modules directory 4.9.0-rc3_A-EON_AmigaONE_X1000_Nemo to /lib/modules.

Code: Select all

sudo cp -R 4.9.0-rc3_A-EON_AmigaONE_X1000_Nemo /lib/modules
Cheers,
Christian

Re: "Permission denied"

Posted: Tue Nov 01, 2016 3:43 am
by kilaueabart
Thanks. That mostly worked. At first I thought it didn't because I stupidly booted with 4.1 after putting 4.9 in the CF card. Now I find a list of wi-fi networks, including mine. But I don't seem to be able to connect with it. At first it repeatedly asked for something like a password when I clicked on its name. Now it has quit doing that. Network Connections agrees that it has never been used.

Re: "Permission denied"

Posted: Tue Nov 01, 2016 8:41 am
by xeno74
kilaueabart wrote:I'm running 4.9-rc3 with its kernel modules in /lib/modules. But how do I use the adapter? I assume with what you have added to the kernel I no longer need to try to run install.sh?
Have you seen your USB wireless network adapter in the NetworkManager? You don't need to run install.sh.

Re: "Permission denied"

Posted: Tue Nov 01, 2016 8:54 am
by kilaueabart
xeno74 wrote:
kilaueabart wrote:I'm running 4.9-rc3 with its kernel modules in /lib/modules. But how do I use the adapter? I assume with what you have added to the kernel I no longer need to try to run install.sh?
Have you seen your USB wireless network adapter in the NetworkManager? You don't need to run install.sh.
See my rewritten version of my last post, which I submitted apparently only seconds before you sent yours.

Re: "Permission denied"

Posted: Tue Nov 01, 2016 3:03 pm
by xeno74
kilaueabart wrote:Now it has quit doing that. Network Connections agrees that it has never been used.
You mean it isn't working, do you? Which Wi-Fi encryption algorithm do you use? WEP, WPA, or WPA2?

Re: "Permission denied"

Posted: Wed Nov 02, 2016 2:23 am
by kilaueabart
xeno74 wrote: Which Wi-Fi encryption algorithm do you use? WEP, WPA, or WPA2?
It should be WPA. The bottom of the modem/router gives a WPA key. The Edit window in Network Connections makes it "WPA & WPA2 Personal." Any chance that "Password" under that wants my WPA key instead of my wi-fi password? I'll go ahead and try it and edit this post if it works...

I have no trouble with wi-fi on my mobile or my tablets.