LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make problem and rtl8180 drivers (https://www.linuxquestions.org/questions/linux-newbie-8/make-problem-and-rtl8180-drivers-661922/)

wgato 08-11-2008 02:05 AM

make problem and rtl8180 drivers
 
I've been struggling to get my linksys wpc11 v4 wireless card working (without ndiswrapper).
I started with something like:

ifconfig wlan0 down
iwconfig wlan0 essid "XXX"
iwconfig wlan0 key XXXX

the last command gave me:

Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Operation not supported

After tons of googling, I get the impression that to get on a network with a password, I need to have different drivers. (yes?)

so I am currently following a combo of these 2 tutorials
http://ubuntuforums.org/archive/index.php/t-170813.html
http://sourceforge.net/cvs/?group_id=114161
in an effort to compile the drivers on my machine.

using cvs i download the files to another computer and copied to a usb drive and then moved them to the laptop i am working on. then

make

make: Warning: File 'Makefile' has modification time 8.8e+03 s in the future

make -C /lib/modules/2.6.21.5/build SUBDIRS=/root/rtl8180-sa2400-dev MODVERDIR=/root/rtl8180-sa2400-dev modules

make[1]: Entering directory '/usr/src/linux-2.6.21.5'

scripts/Makefile.build17: /root/rtl8180-2-sa2400-dev/Makefile: no such file or directory

make[2]: *** No rule to make target '/root/rtl8180-sa2400-dev/Makefile'. Stop.

make[1]: *** [_module_/root/rtl8180-sa2400-dev] Error 2

make[1]: Leaving directory '/usr/src/linux-2.6.21.5'

make: *** [2.6] Error 2

and when i ls the directory is now empty.
per another post in this form i used 'date' to confirm my laptops clock is correct.

i am in way over my head here. i'm a linux newbie and have been finding and following tutorials and googling error mesages but dont really understand what i'm doing. my line of reasoning could be wrong at any step of this and i would not know. can anyone help?

thank you!

GlennsPref 08-11-2008 02:25 AM

Hi,

Did you run configure before you ran make...

cd to the working directory

type ./configure and press enter.

if all goes well, you can type make and press enter

To install, type make install

see how you go, Glenn

MS3FGX 08-11-2008 02:27 AM

The time may be right on the laptop, but the times on the files are not. It is likely an issue caused by copying the files to the USB drive, which I am going to assume is formatted to FAT/FAT32. Is the machine you are getting the CVS files from Windows or Linux?

You can use the command "touch" to change the times for the files, check the manpage for the exact syntax. I am not sure that the access times are the only problem though, if you are using a FAT device to move the files over, you are losing a few other file traits (such as case sensitive names, and executable permissions) which can cause the build process to fail.

wgato 08-11-2008 03:15 PM

thanks for the suggestions!

after some more googling, i got the laptop connected to the net through the wired eth0.

i followed the cvs steps again and got the files directly to my computer. then tried configure and make.

# ./configure
-sh: ./configure: No such file or directory

# make
make -C /lib/modules/2.6.21.5/build SUBDIRS=/root/rtl8180-sa2400-dev MODVERDIR=/root/rtl8180-sa2400-dev modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
rm: cannot remove `/root/rtl8180-sa2400-dev/CVS': Is a directory
make[1]: *** [crmodverdir] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [2.6] Error 2

so it seems the time and other errors are fixed but now i've got these new ones i dont know what to do with.


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