LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-23-2007, 09:49 PM   #31
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30

[root@localhost ~]# ifconfig eth0 up
eth0: unknown interface: No such device
 
Old 01-23-2007, 09:59 PM   #32
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
I have had the best luck with the Livna repo for getting nividia cards going.
Using the nvidia sites download causes you more problems in Fedora as it overwrites your xorg.conf and then you are chasing your tail trying to get it sorted.

Code:
# yum install kmod-nvidia
.
 
Old 01-23-2007, 10:00 PM   #33
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
OK, if there's nothing in dmesg, let's look at udev.

Code:
grep eth /etc/udev/rules.d/*
 
Old 01-23-2007, 10:01 PM   #34
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
should i post the ifconfig again after running that?
 
Old 01-23-2007, 10:09 PM   #35
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Nah, what I'm trying to figure out is what happened to the card. Maybe udev has two devices with the same name. That's happened to me once. The "grep" command just searches for a file that has what's being grepped for. We're just trying to figure out what udev has discovered for the ethernet ("eth") devices.

Added:
"lsmod" does have r8169 listed now, right? A quick way to check is "lsmod |grep r8169"

Last edited by Quakeboy02; 01-23-2007 at 10:11 PM.
 
Old 01-23-2007, 10:17 PM   #36
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
[root@localhost ~]# lsmod |grep r8169
r8169 35273 0
[root@localhost ~]#
 
Old 01-23-2007, 10:26 PM   #37
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Did you ever run "dmesg |grep eth"? I've found some other threads on this device but they at least report the thing to dmesg when the module is loaded.
 
Old 01-23-2007, 10:42 PM   #38
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Good grief, I've just read that you have to smash this driver with a large hammer after you load it. From the README file for the Realtek driver and I assume this applies to the r8169:
Quote:
<Force Link Status>

1. Force the link status when insert the driver.
If the user is in the path ~/r1000, the link status can be forced to one of the 5 modes as following command.

#insmod ./src/r1000.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION

,where
SPEED_MODE = 1000 for 1000Mbps
= 100 for 100Mbps
= 10 for 10Mbps
DUPLEX_MODE = 0 for half-duplex
= 1 for full-duplex
NWAY_OPTION = 0 for auto-negotiation off
= 1 for auto-negotiation on
For example:
#insmod ./src/r1000.ko speed=100 duplex=0 autoneg=0
will force PHY to operate in 100Mpbs Half-duplex.

2. Force the link status by using ethtool.
a. Insert the driver first.
b. Make sure that ethtool exists in /sbin.
c. Force the link status as the following command.

#ethtool -s eth? speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION

,where
SPEED_MODE = 1000 for 1000Mbps
= 100 for 100Mbps
= 10 for 10Mbps
DUPLEX_MODE = half for half-duplex
= full for full-duplex
NWAY_OPTION = off for auto-negotiation off
= on for auto-negotiation on
So, it might just easiest for you to install the "ethtool" program and run the following command as root:

Code:
ethtool -s eth0 speed 100 duplex full autoneg on
But I'd still like to see the output from "dmesg |grep eth". That SHOULD tell us where Fedora thinks the card is.
 
  


Reply



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
run mail from terminal kg4ysy Linux - Software 7 04-04-2006 11:07 AM
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 09:49 PM
How do I run a browser in a terminal? Ultwe Linux - Newbie 5 06-30-2005 04:55 PM
How to run a program on another terminal SharpyWarpy Linux - General 2 02-10-2005 02:09 PM
I'm using Mandrake 9.1 and I'm a newbie, how do I install and run programs; Terminal? sirquixote Mandriva 5 10-20-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration