LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2007, 03:20 PM   #16
igolden
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0

Well guys, after trying to follow the steps carefully i find the following error:

[root@localhost]# cp /home/inigo/Desktop/r1000_v1.05 /usr/src
cp: omitting directory `/home/inigo/Desktop/r1000_v1.05'
[root@localhost]#

so lost now...
 
Old 03-28-2007, 03:25 PM   #17
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Try cp -R instead of simply cp
 
Old 03-29-2007, 03:41 PM   #18
igolden
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I cant believe it... I just got another problem, when trying to "make clean modules". This is what i get

make -C src/ clean
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/usr/src/r1000_v1.05/src modules
/usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
CC [M] /usr/src/r1000_v1.05/src/r1000_n.o
/bin/sh: gcc: command not found
make[3]: *** [/usr/src/r1000_v1.05/src/r1000_n.o] Error 127
make[2]: *** [_module_/usr/src/r1000_v1.05/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'
make: *** [modules] Error 2
[root@localhost r1000_v1.05]

this is harder than i though...

cheers
 
Old 03-29-2007, 04:17 PM   #19
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
From the looks of it, you didn't install gcc. Try this:

whereis gcc

If it doesn't return anything, you can be certain you didn't. I thought it was part of the default install but I guess it isn't - you probably should 've selected "software development" packages while installing. Oh well, you can still install it now. Unfortunately, the easiest way is from the internet...
I know that's crazy, I was facing the same problem with FC5 (no to mention the rest, which made it even worse...).

The second easiest option, just copying gcc from your dvd and installing manually, won't work either because of dependencies: gcc needs at least binutils, glibc and cpp and those probably aren't installed either. You could install all those manually but I don't recommend it: if any of those depends on yet other packages, you'll have to install those from the dvd first - and for all I know, those may again depend on something else.

Third and best option: set up your dvd as a software source:

Put '#' sign before first baseurl line in three files fedora-core.repo, fedora-extras.repo and fedora-updates.repo in folder /etc/yum.repos.d; you should do this from the command line by typing:
su -
root password
nano /etc/yum.repos.d/fedora-core.repo

Then do the same for the other two (skipping su - & root password this time unless you close the terminal at any time; also replace "fedora-core.repo with the appropriate file: extras or updates).

The result should look like this:

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=file:///media/disk


---- create a folder 'disk' in /media
Code:
mkdir /media/disk

---- insert Fedora Core DVD and mount it
Code:
mount /dev/hdc /media/disk

---- clean 'yum' cache.
Code:
yum clean all


click on Add/Remove Softwares and install packages from DVD. for installing from internet again, put '#' sign before disk's 'baseurl' line and remove '#' before original 'baseurl' line.
 
Old 03-31-2007, 08:02 PM   #20
igolden
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Oh my god... that sounded complicated. Since i just installed Fedora for the first time i just re-installed the whole package once more. Surprise, surprise, I got the following error error trying to install the driver. this is getting pretty complicated...

root@localhost r1000_v1.05]# make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build SUBDIRS=/usr/src/r1000_v1.05/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'
make: *** [modules] Error 2
[root@localhost r1000_v1.05]#

Any suggestion?
 
Old 03-31-2007, 08:30 PM   #21
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I will say it again and again. Kernel version 2.6.19 or higher already has the module that will work with Realtek 8111/8168. Use an old PCI NIC card and download the kernel update. Then you can use the onboard NIC. Stop messing around with old source code from Realtek. The source code only work with GCC version 3.3 and kernel version 2.6.9.

If you do not have any unused PCI slots, use an USB to Ethernet adapter like Linksys USB100TX.
 
Old 03-31-2007, 09:15 PM   #22
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Good point, Electro, but not entirely correct. I installed the driver on Fedora 6 wit a 2.6.18 kernel, not a single problem. Then again, I had plenty of practice because I must have intalled it at least four times on FC5.

Getting a NIC card is a good idea but not everyone has one lying around and if they did it might not help much. I had to use so many extra cards to install FC5 that I did not have single PCI slot left for a NIC card.

Now, from the looks of it, the problem is kernel-devel again. It looks as if this time igolden installed the xen kernel and did not install the xen version of kernel-devel but the regular one, providing any was intalled at all.

Btw, I hope you did install gcc this time round.

Last edited by jay73; 03-31-2007 at 09:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MB AsRock P4i65GV aperrin Linux - Hardware 2 03-07-2009 08:38 AM
ASRock K8NF4G motherboard, does it work? jonsd Linux - Hardware 4 05-24-2006 02:53 PM
AsRock k8combo z jmill_1 Linux - Hardware 2 08-10-2005 12:10 AM
Problem in using Geforce4 MX440 with Asrock motherboard frosty_kgp Linux - Hardware 0 01-15-2005 03:06 PM
DVI-D DVI-I DVI-A Dual Link Single Link WTF? Crito Linux - Hardware 0 06-05-2004 02:41 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration