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 ?
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: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 runningls
. The results ofls
should show that 0010-r8101-1.033.00.tar.bz2 is contained in the current working directory, so the commandtar 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.
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