On Thu, 2007-02-01 at 19:16 +0000, Beartooth wrote:
On Thu, 01 Feb 2007 09:17:11 -0800, Rick Stevens wrote:
On Thu, 2007-02-01 at 16:58 +0000, Beartooth wrote:
[...]
So verify that the "e100" driver is loaded via "/sbin/lsmod".
All right, making assurance doubly sure, I logged in using "su - root" *and* did cd before /sbin/lsmod.
I see columns labelled Module, Size, and Used by. "e100" is not mentioned in any of them -- and without a Net connection, I have no way to download anything. Can I get it off the CDs, as I must have been doing before?
It should have been installed by default. Verify that you have the following file on the system:
/lib/modules/`uname -r`/kernel/drivers/net/e100.ko
(yes, those are graves or "backticks"--the other character on the "~" key).
I think I must have retyped that correctly, because bash turned the uname part into "2.6.19-1.2895.fc6" and left the rest. But I also think I do not have it, because bash then added ":No such file or directory"
Hmmm. Let me try:
[root@prophead ~]# ls /lib/modules/`uname -r`/kernel/drivers/net/e100.ko /lib/modules/2.6.18-1.2869.fc6/kernel/drivers/net/e100.ko
If you do have the file, then (as root via the "su -") try this command:
modprobe e100
to force the driver to load.
I tried that anyway, and sure enough (I think) it responded with a line saying "-bash: modeprobe: command not found"
You must be root ("su -") and it's "modprobe" (only one "e"). If you're not root, then "/sbin/modprobe e100".
I did the install, as usual, in custom mode -- and tried to leave out games, chat, and anything else I thought surely I'd never use (but took lots of development stuff, because I do run betas like Pan and Dillo). This has been my usual practice for years -- only, this time, I must have mis-guessed something inessential that I should have taken.
Or this may be the same machine on which recently I got so snarled up in yum dependency hell that I finally commanded "yum remove elfutils" -- and didn't read the list of other things it would remove carefully enough. (I don't think it is. I think I just gave up, wiped that install with DBAN, and installed again.)
Anybody know a straightforward way to get it from the CDs?
It's part of the kernel RPM. If you've installed the kernel, you've got it.
So, here's what to do:
1. Run "su -" and become root 2. Run "ls /lib/modules/`uname -r`/kernel/drivers/net/e100.ko" and verify you have the file. 3. Delete the "/etc/sysconfig/hwconf" file and run kudzu to rediscover your hardware:
rm /etc/sysconfig/hwconf kudzu
4. Run "modprobe e100" to load the driver 5. Run "ifconfig" and verify you have device eth0. 6. Try to configure eth0 using the command line:
ifconfig eth0 192.168.0.254 netmask 255.255.255.0
7. Try "ifconfig" again. You should see something like:
[root@prophead ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0F:FE:02:16:38 inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe02:1638/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33007499 errors:0 dropped:0 overruns:0 frame:0 TX packets:15837216 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2322911622 (2.1 GiB) TX bytes:616269113 (587.7 MiB) Interrupt:193
The "HWaddr", "inet6 addr:", "Interrupt" and traffic info (RX/TX bytes) will differ from what I show above, but you get the idea.
8. If you see that stuff, great! Edit the /etc/modprobe.conf file and add a line that reads:
alias eth0 e100
9. Run your normal configuration. Delete all existing configs and put in the new stuff you want.
That should handle it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The gene pool could use a little chlorine. - ----------------------------------------------------------------------