LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Opening tar.bz2 and tar.gz (https://www.linuxquestions.org/questions/linux-newbie-8/opening-tar-bz2-and-tar-gz-640880/)

Nylex 05-10-2008 01:24 AM

Odd :/. Is there anything in the file when you open it?

chango77745 05-10-2008 10:50 AM

No there is not

Nylex 05-10-2008 11:22 AM

I'm assuming that it shouldn't be empty by default, so perhaps something has gone wrong. Can you actually verify that the file is in the directory? Post the output of "ls /etc/modprobe.d".

chango77745 05-10-2008 12:11 PM

I typed the command in and I got the files. They are in there, including blacklist

When I type in ls /etc/modprobe.d/blacklist
I get "ls /etc/modprobe.d/blacklist" and that is all...so I am assuming it should be there...

Nylex 05-10-2008 12:35 PM

I don't actually understand what's happening here. Are you sure you're getting "no such file or directory" errors? If the file doesn't exist, nano should still be creating it. Can you cd to /etc/modprobe.d and try again? Maybe try a different editor? What are the permissions and file size of the file? "ls -l blacklist" will tell you (from within /etc/modprobe.d, obviously).

chango77745 05-10-2008 12:37 PM

I got the blacklist to work...I replace the drivers for bcm43xx with ndiswrapper, but I am not successful... I don't know what else to do

Nylex 05-10-2008 12:39 PM

OK, what exactly is the problem now? What does "ndiswrapper -l" say?

chango77745 05-10-2008 12:58 PM

ok, I think I made a break through...it says I need bcm43xx-fwcutter

So I downloaded it, then I extracted the tarball to the desktop....and now I am not sure what to do with the files I extracted.

Nylex 05-10-2008 01:01 PM

Are you using bcm43xx or NDISwrapper? If you're using NDISwrapper, you don't need bcm43xx-fwcutter. Have a look at this.

chango77745 05-10-2008 01:05 PM

I tried NDISwrapper, but it didn't work....then I read somewhere that bcm43xx-fwcutter will work for my computer. So I got it, extracted the contents to my desktop, but I am not sure what to do with them.

Nylex 05-10-2008 01:13 PM

See the link in my post. Ubuntu has a package for bcm43xx-fwcutter, so you should probably use that instead of building from source.

chango77745 05-10-2008 01:34 PM

ok, I think we are getting somewhere. I need to do "sudo apt-get install bcm43xx-fwcutter" then after that I can install the firmware into ubuntu, however when I type "sudo apt-get install bcm43xx-fwcutter" it says "E: Couldn't find package bcm43xx"

Nylex 05-10-2008 01:49 PM

I believe this is because you don't have the universe repository enabled. There's a how-to for enabling it here, though you may be able to find other documentation as well.

chango77745 05-10-2008 02:36 PM

I got to a confusing part "wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -"

I am not sure what to do here....I do not have interet on that computer so I cannot get that on a different computer then save it as mediubuntu-key.gpg and then put it on a cd or something like I have been doing with all the other tarballs and stuff

but I do not know what "-O-" means and I do not know what "|" means...

Nylex 05-10-2008 02:43 PM

From the wget man page:

Code:

-O file
      --output-document=file
          The documents will not be written to the appropriate files, but all
          will be concatenated together and written to file.  If - is used as
          file, documents will be printed to standard output, disabling link
          conversion.  (Use ./- to print to a file literally named -.)

          Use of -O is not intended to mean simply "use the name file instead
          of the one in the URL;" rather, it is analogous to shell redirect-
          ion: wget -O file http://foo is intended to work like wget -O -
          http://foo > file; file will be truncated immediately, and all
          downloaded content will be written there.

          Note that a combination with -k is only permitted when downloading
          a single document, and combination with any of -r, -p, or -N is not
          allowed.

| is a "pipe". Basically, pipes like this are used to pass output from one command (on the left) to another (the one on the right).

Obviously, if you can't download on your Ubuntu machine, then if you can get the file using another machine, then you'll have to change the commands - you won't need to use wget, as that's used to download the file. You'll probably have to specify the filename when running "apt-key", rather than "-". Look at the man page for apt-key and see what it says.


All times are GMT -5. The time now is 06:59 PM.