LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to Untar into usr/src... (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-untar-into-usr-src-171327/)

supes 04-17-2004 12:13 PM

Need to Untar into usr/src...
 
Hello all.

I just installed Mandrake 10 on a partition on my Dell laptop. Everything works nicely, except for my wireless card. (It's a Linksys WPC11v4 on Mandrake 10 w/ Kernel 2.6.3-4...).

Anyway, there are a ton of different pages with very detailed instructions on how to get wireless cards working, so I've been trying them, but none have worked yet.

The one I'm trying now asks me to untar a package of pcmcia drivers into usr/src, but when i try to do so i don't have access. i know how to log in as root in the terminal, but from there don't know what to do. the downloaded .tar file is in my Documents folder right now.

(God, this is only step 1 in the installation...)

thanks,

supes

Komakino 04-17-2004 12:18 PM

I have the atmelwlan drivers for my wireless card (a linksys WUSB11 (I think just the USB version of what you have)) but the drivers support pcmcia too. Why not give them a try? They follow the more usual 'make config', 'make install' way of doing things.
http://atmelwlandriver.sourceforge.net

If you want to carry on with the way you're doing it then you have two options:
1. Move the tar file into /usr/src
- cd into /usr/src and run 'tar xvf filename.tar'
- that will untar the tarball
2. cd into /usr/src, but don't move the file
- run 'tar xvf /path/to/filename.tar' (replacing that with the path to your tarball)

supes 04-17-2004 12:28 PM

thanks. tried to untar the file in usr/src (using your 2nd method) but i got this:

Code:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

so i'm going to go ahead and try the driver you suggested...

supes 04-17-2004 12:41 PM

no that didn't work... i'm just a linux idiot. i have no idea what's going on

|2ainman 04-17-2004 12:48 PM

Quote:

Originally posted by supes
thanks. tried to untar the file in usr/src (using your 2nd method) but i got this:

Code:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

so i'm going to go ahead and try the driver you suggested...

Its probably not a tar
Make sure that its just a tar and not a tar.gz or tar.bz2. For those you need to run that separate utility to change it just into a tar.
If its gzipped (*.gz)

u can do tar -xzvf package.tar.gz
If its bz2 just
bunzip2 package.tar.bz2
then tar it normally
tar xvf package.tar
Hope that helps

supes 04-17-2004 04:01 PM

oh, ok i'll try that. thanks.


All times are GMT -5. The time now is 09:51 AM.