TransWikia.com

Error while Installing Driver

Ask Ubuntu Asked by Spectra on August 28, 2020

I downloaded Driver for Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller from their site : http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=7&PFid=7&Level=5&Conn=4&DownTypeID=3&GetDown=false#2

IT is saved in “Downloads” folder

Went through the “readme” which said

Unpack the tarball : # tar vjxf r8101-1.aaa.bb.tar.bz2

Change to the directory: # cd r8101-1.aaa.bb

When I ran the command

tar vjxf r8101-1.033.00.tar.bz2

It gave the following error :

tar (child): r8101-1.033.00.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I then tried to change the directory to “r8101-1.033.00” :

cd r8101-1.033.00

and it gave back :

 bash: cd: r8101-1.033.00: No such file or directory

What am I doing wrong ? how should I do it ?

2 Answers

Manually search for the 0010-r8101-1.033.00.tar.bz2 archive (LINUX driver for kernel up to 4.10) and drag this archive's icon from the file manager into the terminal to show the full path to it. The full path to 0010-r8101-1.033.00.tar.bz2 is everything in the path except for 0010-r8101-1.033.00.tar.bz2 itself which is the archive's correct name.

Change directories using cd to the full path that you previously noted and run this command:

tar vjxf 0010-r8101-1.033.00.tar.bz2 # the archive's correct name is 0010-r8101-1.033.00.tar.bz2

When you have changed directories using cd to the directory containing 0010-r8101-1.033.00.tar.bz2 you can check that you are in the correct directory by running ls. The results of ls should show that 0010-r8101-1.033.00.tar.bz2 is contained in the current working directory, so the command tar vjxf 0010-r8101-1.033.00.tar.bz2 will be successful since 0010-r8101-1.033.00.tar.bz2 is accessible from the current working directory.

When you extract the contents of 0010-r8101-1.033.00.tar.bz2 it extracts them to a directory named r8101-1.033.00 which contains instructions for the next steps in the readme file.

Correct answer by karel on August 28, 2020

From the file I downloaded, your file name is wrong.

After moving in to the directory that you downloaded to, it should be tar vjxf 0010-r8101-1.033.00.tar.bz2

Answered by Lewis Smith on August 28, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP