"Permission denied"

AmigaOne X1000 platform specific issues related to Linux only.

"Permission denied"

Postby kilaueabart » Mon Oct 31, 2016 3:57 am

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?
User avatar
kilaueabart
 
Posts: 416
Joined: Mon Mar 05, 2012 3:36 am

Re: "Permission denied"

Postby xeno74 » Mon Oct 31, 2016 2:59 pm

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3009
Joined: Fri Mar 23, 2012 8:58 am

Re: "Permission denied"

Postby kilaueabart » Tue Nov 01, 2016 4:43 am

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.
Last edited by kilaueabart on Tue Nov 01, 2016 9:47 am, edited 1 time in total.
User avatar
kilaueabart
 
Posts: 416
Joined: Mon Mar 05, 2012 3:36 am

Re: "Permission denied"

Postby xeno74 » Tue Nov 01, 2016 9:41 am

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.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3009
Joined: Fri Mar 23, 2012 8:58 am

Re: "Permission denied"

Postby kilaueabart » Tue Nov 01, 2016 9:54 am

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.
User avatar
kilaueabart
 
Posts: 416
Joined: Mon Mar 05, 2012 3:36 am

Re: "Permission denied"

Postby xeno74 » Tue Nov 01, 2016 4:03 pm

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?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3009
Joined: Fri Mar 23, 2012 8:58 am

Re: "Permission denied"

Postby kilaueabart » Wed Nov 02, 2016 3:23 am

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.
User avatar
kilaueabart
 
Posts: 416
Joined: Mon Mar 05, 2012 3:36 am


Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 4 guests