Cant download drivers! HELP PLEASE!

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Cant download drivers! HELP PLEASE!

Postby francobeemo on Sat Apr 14, 2012 11:04 pm

Hi everyone, I'm a new mint 12 ( new to linux) user and I have a terrible problem, my wireless connection is really really slow.
I found out the problem is caused by a bad driver and the solution is to change it: viewtopic.php?f=42&t=80757&start=0

The problem is i cant download it since my internet is so slow! and when I download the drivers from my windowsxp computer, the files wont work!
they all get errors, I cant unzip bz2 files either and I installed file-roller too.. well I hope anyone can help.

Thanks. I would really apreaciate some help.
pd: sorry for the bad english.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Linux Mint is funded by ads and donations.
 

Re: Cant download drivers! HELP PLEASE!

Postby xenopeek on Sun Apr 15, 2012 3:21 am

During installation, or when having problems with wifi, I usually just connect my laptop with an ethernet cable directly to the broadband modem. Until problem is resolved. Do you have the option for that?

As for downloading the file on Windows, and it not working on Linux, that shouldn't happen. Perhaps the files on the server are no good; it is a flaky website, and I've been unable to download the files at all.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10484
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cant download drivers! HELP PLEASE!

Postby ddalley on Sun Apr 15, 2012 4:24 am

If it is that bad, go to a public library or ask a friend to download it for you, and copy the archive to a USB mem-stick or mem-card.

If you need to install the dev's header files, for compiling, then you will need to download / install them, too.
ddalley
Level 4
Level 4
 
Posts: 251
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Cant download drivers! HELP PLEASE!

Postby francobeemo on Sun Apr 15, 2012 10:27 am

Thank you guys, well the main issue is that i've downloaded the files from different sites and they dont work and also, tried connecting to the internet via cable but nothing happens, is there something I need to do besides plugin in the internet cable to the laptop? ( should't it recognize the connection by itself?)
It is a fresh mint 12 installation, and about the files not working the problem is I cant unzip the tar.bz2 files, the error prompted is something about the file not being a bz2 file or tar file.

Should I download anything?( downloaded file-roller) I'm not familiar with "packages" or ..dev repositories or that kind of stuff though I know where the basic stuff is ( the thing where to enter commands, software download etc.. really basic stuff)

Well i'm really desperate, I spent about 6 hours on the net reading and came to no solution...I gladly accept any suggestions
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Problems with bz2 and tgz!

Postby francobeemo on Sun Apr 15, 2012 11:45 am

Hi everyone, I need to extract a driver but the problem is I get and error when openin the files with archive manager.
the files end in the following extensions: tgz and tar.bz2

the error:
"an error ocurred while loading the archive.
comand linde output
gzip: stdin: not in gzip format
tar: child returned status 1
tar: error is not recoverable: exting now"


the same thing happens with both files, except one is tgz and the other bz2. Both files are working I guess, there's other people using them with no problems.
Is there something I need to download? Im using a fresh mint 12 lxde intall and have problems with very slow internet speed due to the driver, so maybe not every package was installed correctly.

Thank you very much.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Problems with bz2 and tgz!

Postby lmarmisa on Sun Apr 15, 2012 11:48 am

francobeemo wrote:Hi everyone, I need to extract a driver but the problem is I get and error when openin the files with archive manager.
the files end in the following extensions: tgz and tar.bz2

the error:
"an error ocurred while loading the archive.
comand linde output
gzip: stdin: not in gzip format
tar: child returned status 1
tar: error is not recoverable: exting now"


the same thing happens with both files, except one is tgz and the other bz2. Both files are working I guess, there's other people using them with no problems.
Is there something I need to download? Im using a fresh mint 12 lxde intall and have problems with very slow internet speed due to the driver, so maybe not every package was installed correctly.

Thank you very much.


Are you typing some command or are you using a graphical interface?.
User avatar
lmarmisa
Level 2
Level 2
 
Posts: 90
Joined: Wed Feb 15, 2012 5:22 am
Location: Madrid - Spain

Re: Problems with bz2 and tgz!

Postby francobeemo on Sun Apr 15, 2012 11:55 am

I'm right clicking the files then selecting archive manager
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Problems with bz2 and tgz!

Postby lmarmisa on Sun Apr 15, 2012 12:03 pm

francobeemo wrote:I'm right clicking the files then selecting archive manager


You could try to use the command tar.

Please, open a terminal, go to the directory where you have downloaded the files (probably cd Downloads) and type these commands:

Code: Select all
cd Downloads

tar xvf file1.tgz

bizp2 -d file2.tar.bz2
tar xvf file2.tar
User avatar
lmarmisa
Level 2
Level 2
 
Posts: 90
Joined: Wed Feb 15, 2012 5:22 am
Location: Madrid - Spain

Re: Problems with bz2 and tgz!

Postby francobeemo on Sun Apr 15, 2012 12:16 pm

Well I entered both commands and it gives the same error than before!
about the file not being in gzip or bzip2 format, but the thing is there's other people using them..
maybe if someone could check the files? i know its alittle bit too much to ask but if anyone can i'd really appreciate it

http://www.realtek.com.tw/Downloads/dow ... wn=false#2
the file i downloaded is the last one: Linux driver for kernel 2.4.x (Support x86 and x64) from site 6 hk1

thank you so much for your time and help by the way, I'm really cracking my head iopen with this.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Problems with bz2 and tgz!

Postby xenopeek on Sun Apr 15, 2012 12:20 pm

As I shared on your other post, I'm unable to get the website to let me download the file. Suggest you check the downloaded file, what it is. Open a terminal at the location of the file and run:
Code: Select all
file filename.tar.bz2

Where you replace filename.tar.bz2 with the name of your file. It should respond something like:
example.tar.bz2: bzip2 compressed data, block size = 900k
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10484
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cant download drivers! HELP PLEASE!

Postby xenopeek on Sun Apr 15, 2012 12:21 pm

Topics merged by moderator

This all starts to sound very spooky. You don't need to install anything to extract a .tar.bz2 file. And if you aren't able to just open it by double-clicking it, the file is corrupt. The problem is not your Linux installation, and Windows doesn't do that to your files. How are you getting the file from Windows to Linux?

As for plugging in the ethernet cable, you don't need to do anything if it was plugged in before you booted the computer. You may have to select to use it from the network icon if you connect it while already logged in.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10484
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cant download drivers! HELP PLEASE!

Postby lmarmisa on Sun Apr 15, 2012 12:26 pm

I have downloaded a file named r8168-8.029.tar.bz2 and it is not corrupt.

The md5sum of this file is 5DC15A976950250B7B543876CC3350A8.
User avatar
lmarmisa
Level 2
Level 2
 
Posts: 90
Joined: Wed Feb 15, 2012 5:22 am
Location: Madrid - Spain

Re: Cant download drivers! HELP PLEASE!

Postby francobeemo on Sun Apr 15, 2012 12:34 pm

Thank you Imarmisa and Vincent, well the info on the file check is the following:

r8168-8.029.00.tar.bz2: x86 boot sector, code offset 0x85, OEM-ID "MS25.0" , sectors/cluster 32, reserved sectors 4344, Media descriptor 0xf8, heads 255, sectors 7884800 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1924, reserved3 0x1800000, reserved 0x1, serial number 0x968b57d8, unlabeled.

I cant click the wired network thing, its grayed out really faint ( does that make sense? i cant "select it") and says wired network disconnected.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Cant download drivers! HELP PLEASE!

Postby xenopeek on Sun Apr 15, 2012 12:41 pm

Coming back to the question, how did you copy the file from Windows to Linux? The file info basically says that file is a hard disk or similar storage device. I.e., it is as corrupt as can be.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10484
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cant download drivers! HELP PLEASE!

Postby francobeemo on Sun Apr 15, 2012 12:43 pm

Right sorry, about the transfer I used a normal pendrive.

I think the driver situation is messing up ethernet cable connection, I booted with the cable plugged in and also resetted the router and it didnt recognize it either so i'm guessing it's the driver issue.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Cant download drivers! HELP PLEASE!

Postby francobeemo on Sun Apr 15, 2012 1:07 pm

ok I used another usb device and now the files can be extracted, the problem is i get an error saying i do not have permission to extract the files to that location and the computer freezes.

Thanks vincent! i never thought it could be the pendrive.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Cant download drivers! HELP PLEASE!

Postby AlbertP on Sun Apr 15, 2012 2:43 pm

You know that r8168 is a wired network driver and not wireless? You probably have another wifi card which you can see with inxi -N in terminal.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5834
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Cant download drivers! HELP PLEASE!

Postby francobeemo on Sun Apr 15, 2012 3:57 pm

Thanks albert, didn't know that. I downloaded mint 2 days ago and since then i've only learned few things.
this is the result from the comand you gave me:
card-1 realtek rtl8111/8168B pci express gigabit ethernet controller
card-2 intel pro/wireless 5100 agn (shiloh) network connection driver -> so this is the one i should ...change? i'm not even sure now

My question now, why is my internet so damm slow? I cant even load the forums! i can barely load google.. I know this is mints issue because my windows computer works fine. Do any of you know what's wrong?
should I make another thread regarding the internet speed?

I know there's plenty of tutorials but right now there's so much stuff i need to know to solve this, its a little bit overwhelming. I'm not even sure what i am looking for and i'm getting dizzy of so much reading.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Cant download drivers! HELP PLEASE!

Postby ddalley on Thu Apr 19, 2012 12:19 am

Your Internet response is so slow because the incorrect driver was sent out in your Linux distro. You have the RealTek rtl8111/8168 chip, but chances are that your Linux is using the /8169 driver. This causes your slow throughput.

You are trying to get the correct driver, unarc it, then you will have to compile it, but for you to do that you have to make sure that you have two dev files for your kernel (I believe they are linux-source and linux-source-3.0.0) installed properly or else compiling will fail, too. So, read the instructions carefully and make sure that these files install correctly before you attempt to compile the driver. (I thought mine had installed properly, but they did not and no error was displayed. The compiling failed because of this.)
ddalley
Level 4
Level 4
 
Posts: 251
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Cant download drivers! HELP PLEASE!

Postby ddalley on Thu Apr 19, 2012 2:54 pm

If you do an lsmod, then you will see what driver is loaded now.

For me, it is now:

$ lsmod
Module Size Used by
...
r8168 215626 0

This is the last line in my return; yours may be elsewhere.
ddalley
Level 4
Level 4
 
Posts: 251
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Linux Mint is funded by ads and donations.
 
Next

Return to Wireless

Who is online

Users browsing this forum: No registered users and 3 guests