LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to change permissions? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-change-permissions-594695/)

ENDI1111 10-26-2007 01:22 AM

How to change permissions?
 
I need a little bit of help on changing permissions so that I can access files, download and use files, etc. An examle is I am trying to see if I can use ndiswrapper on Debian Etch. The bcmw15 file that I need to use in my download folder has a little lock icon over its icon. So I am needing to change the execute permission so that I can get ndiswrapper to install it. Also here is an output from drying such:
Quote:

home11:/home/endi1111# ndiswrapper -i /home/endi1111/Desktop/Downloads/bcmw15.inf
installing bcmw15 ...
couldn't open /home/endi1111/Desktop/Downloads/bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper-1.9 line 167.

KrazyKanuk 10-26-2007 01:37 AM

I have never used Debian but going from this "couldn't open /home/endi1111/Desktop/Downloads/bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper-1.9 line 167" it is not a permission problem it is a case that it can't find the file that is defines on line 167 of ndiswrapper-1.9. But if you think it is the permissions you can change it to execue by chmod +x filename

ENDI1111 10-26-2007 10:48 PM

Can anyone tell me why I am getting this message? I am so FREAKING FRUSTRATED WITH THIS DAMN ISSUE OF NOT BEING ABLE TO GET THIS WIRELESS ISSUE TO WORK. All the way down to following the directions to a freakin "T."................................................................................................ ................................
Quote:

home11:/home/endi1111# ndiswrapper -i /home/endi1111/Desktop/Downloads/bcmw15.inf
driver bcmw15 is already installed
home11:/home/endi1111# ndiswrapper -l
installed drivers:
bcmw15 invalid driver!
I have blacklisted bcm43xx
Did the apt-get for the ndiswrapper
the -i command
and now the -l command gives me this crap........................................................

KrazyKanuk 10-26-2007 10:55 PM

It has been like 2 years since I configured ndiswrapper but what you could try is "cd /home/endi1111/Desktop/Downloads" and then try "ndiswrapper -i bcmw15" (without the file extension). If you do a lsmod is ndiswrapper listed?

ENDI1111 10-26-2007 11:13 PM

It still shows the bcm43xx...I have added it to black list:
Quote:

bcm43xx 429056 0
Is it going to take a reboot?
It does not show ndiswrapper at all...yet:
Quote:

home11:/home/endi1111/Desktop/Downloads# ndiswrapper -i bcmw15
driver bcmw15 is already installed
OK I just modprobed ndiswrapper and it shows:
Quote:

ndiswrapper 216232 0
Will a reboot put bcm43xx off the lsmod?

KrazyKanuk 10-26-2007 11:36 PM

to remove bcm43xx from showing when you do a lsmod do "rmmod bcm43xx" I have no idea if you still online or not but I will be up till like 5am EST add your instant messenger id to your profile and we get this working for you before I head off to bed.

ENDI1111 10-27-2007 12:11 AM

Quote:

Originally Posted by KrazyKanuk (Post 2938364)
to remove bcm43xx from showing when you do a lsmod do "rmmod bcm43xx" I have no idea if you still online or not but I will be up till like 5am EST add your instant messenger id to your profile and we get this working for you before I head off to bed.

OK...we'll give this a shot!!!
I rmmod bcm43xx...it is gone from lsmod
I actually don't have instant messenger!!!

KrazyKanuk 10-27-2007 12:28 AM

I open to suggestions on how to communicate to get it working. If you do a lsmod is the bcmw15 listed?

ENDI1111 10-27-2007 12:40 AM

The bcmw15 is not listed...only the ndiswrapper is listed...........
Is there a directory that the bcmw15.inf & sys files are supposed to be located?
Ndiswrapper is loaded in /usr/src/modules.
The only thing that I am iffy on is the /etc/network/interfaces file. I have seen a couple of different ways of having that set up. eth2 states that there is no such device. The same thing goes for wlan0. eth0 is the my firewire.....I have blacklisted the eth1394 file. In my interfaces I have it as stated in this how-to I have right here that I printed from the Debian user forums:
Quote:

#wifi
auto wlan0
iface wlan0 inet dhcp
Here is a couple more ifup outputs:
Quote:

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
home11:/home/endi1111# ifup eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
home11:/home/endi1111# ifup eth2
Ignoring unknown interface eth2=eth2.
home11:/home/endi1111#

KrazyKanuk 10-27-2007 01:27 AM

OK like I said at the beginning I don't know Debian so I will list what I did some 2 years ago to get mine up, convert it to Debian and you should be ready to go (I went searching and found it in a notebook I use to keep). I statically set the IP ADDRESS so we can see if you can ping that address once it is set up.
Code:

modprobe ndiswrapper
depmod -a
ndiswraper -i /<path to driver>/bcmw15.inf
ifconfig wlan0 up
ifconfig wlan0 <IP ADDRESS>
iwconfig wlan0 essid <your access point essid>

ping <IP ADDRESS from above>


ENDI1111 10-27-2007 10:50 PM

I have a dhcp connection. DSL connection to the internet.


All times are GMT -5. The time now is 06:44 AM.