Forum Home
Press F1
 
Thread ID: 46787 2004-07-05 11:49:00 Installing Software onto Xandros Ashley Matthews (550) Press F1
Post ID Timestamp Content User
250034 2004-07-05 11:49:00 Hey,

I'm a bit of a linux newbie, but went cold turkey from XP to Xandros last week (with an XP Ghost image mind you). Everything is working fine, except for my WLAN card. Now I've found the generic drivers for it, which are located at Prism Drivers (prism54.org), but my problem is I have no idea how to install them. Chill... or one of you other experienced linux people, could you please give me a breif guide on how to do this. It's harder as they are not in .deb or .rpm format, which I could handle.
Ashley Matthews (550)
250035 2004-07-05 15:32:00 I downloaded the prism54-12.tar.bz2 file and extracted it.
Change into the new directory prism54-12
Now, here's an excerpt from the README file:
If you are running the target kernel, then you should be
able to do :

make clean modules
(and as root or with sudo)
make install
depmod -a

If the make complains about missing files, then you may need
to specify the source directory :

make KDIR=/path/to/kernel/linux-2.x.x/ clean modules
# as root
make KDIR=/path/to/kernel/linux-2.x.x/ install
depmod -a

That's all I did when installing the submount drivers :-)

Hope this helps, lemme know if you run into troubles
Just make _sure_ that /usr/src/linux points to /usr/src/linux-2.6.X
(Where X is your current kernel)

Cheers


Chill.
Chilling_Silence (9)
250036 2004-07-05 23:36:00 > Hope this helps, lemme know if you run into troubles
> Just make _sure_ that /usr/src/linux points to
> /usr/src/linux-2.6.X
> (Where X is your current kernel)
>
> Cheers
>
>
> Chill.

So does this mean that I have to be using a 2.6 kernel?
When I try that here is my output

ASHLEY:/home/ashley/prism54-1.2# make clean modules
make -C ksrc/ clean
make[1]: Entering directory `/home/ashley/prism54-1.2/ksrc'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/home/ashley/prism54-1.2/ksrc'
make -C ksrc/ modules
make[1]: Entering directory `/home/ashley/prism54-1.2/ksrc'
make -C /lib/modules/2.4.24-x1/build SUBDIRS=/home/ashley/prism54-1.2/ksrc modules
make: *** /lib/modules/2.4.24-x1/build: No such file or directory. Stop.
make: Entering an unknown directory make: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/ashley/prism54-1.2/ksrc'
make: *** [modules-all] Error 2

I'm pretty stumped.. Might as well go back to windows where its easy :(
Ashley Matthews (550)
250037 2004-07-06 00:50:00 Nope, you dont have to be using a 2.6 kernel... Just grab the sources for the 2.4 kernel... :-)

I'll Google for some information shortly

You do have the compiler and dev-utils installed dont you??


Chill.
Chilling_Silence (9)
250038 2004-07-06 01:02:00 Geez I'm not sure if i've got them installed... Perhaps I should've used knoppix or something first, just to get the hang of it Ashley Matthews (550)
250039 2004-07-06 01:13:00 Knoppix will be a hell of a lot harder...

Use the Xandros Networks to install the C Compiler tools and utilities and what-not.

Otherwise.. If you're looking for a change, then I would advise Ark Linux. Has the developer tools on CD 4, and Im sure you'd love it if Xandros just doesnt tickle your noodle ;-)

Check the Xandros Networks for the devel-utils first, or if you have the Deluxe Edition it should be on CD 2.

Cheers


Chill.
Chilling_Silence (9)
250040 2004-07-06 02:52:00 You've got the development stuff to get those errors. :D gcc -v will confirm that.

uname -a will tell you what version your kernel is.

ls /usr/src will show some directories (such as linux-2.blibbedybob) as well as "RPMS", if you have the sources (and probably one like"linux-2.4").

You might need to go into the linux directory and do "make oldconfig" and "make dep" to get a version.h file made.

But the development package should have given you the "kernel headers" which should allow you to do non-tricky installations.
Graham L (2)
1