splendid!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: bmike1@vei.net
Date:  
Subject: splendid!
Thanks, Jeff. I'll give it a shot! It'll be later as I am at school right=
now. Thanks again for your help.
:-)Mike(-:
----- Original Message -----
From: Jeffrey Pyne
Sent: 1/30/2004 12:14:33 PM
To:
Subject: RE: splendid!

On Friday, January 30, 2004 6:30 AM, Michael Havens wrote:
> On Thursday 29 January 2004 11:46 pm, jason pearl said:
> ~ On Thu, 2004-01-29 at 23:15, Michael Havens wrote:
> ~ > I just tried to compile the eternet driver and I don't
> know what it did.
> ~ > [1] If you think you want to help. Perhaps I should wait
> untill I get
> kernel ~ > 6.? then install the driver.
> ~ ok dude what type of card do you have and what module did u install.
> ~ have u done insmod or modprobe <modulename>????
>=20
> 00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (=

rev
05)
> bmike1@bmike1:/mnt/sda5/Downloads/ethernet.driver/e100-2.3.33/src$ make

install
> find /lib/modules/2.4.21-xfs -name e100.o -exec rm -f {} \; \
>>> true
> rm: cannot remove `/lib/modules/2.4.21-xfs/kernel/drivers/net/e100.o':

Permission denied
> find /lib/modules/2.4.21-xfs -name e100.o.gz -exec rm -f {} \; \
>>> true
> mkdir -p /lib/modules/2.4.21-xfs/kernel/drivers/net
> install -m 644 -o `id -u` e100.o
> /lib/modules/2.4.21-xfs/kernel/drivers/net
> install: cannot remove

`/lib/modules/2.4.21-xfs/kernel/drivers/net/e100.o': Permission denied
> make: *** [install] Error 1


Okay, that just means you need to do this as root. Which you already
figured out....

> bmike1@bmike1:/mnt/sda5/Downloads/ethernet.driver/e100-2.3.33/src$ sudo

make install
> find /lib/modules/2.4.21-xfs -name e100.o -exec rm -f {} \; \
>>> true
> find /lib/modules/2.4.21-xfs -name e100.o.gz -exec rm -f {} \; \
>>> true
> mkdir -p /lib/modules/2.4.21-xfs/kernel/drivers/net
> install -m 644 -o `id -u` e100.o

/lib/modules/2.4.21-xfs/kernel/drivers/net
> mkdir -p /usr/share/man/man7
> install -m 644 -o `id -u` e100.7.gz /usr/share/man/man7 /sbin/depmod -a=

||
true

Okay, there aren't any errors, so it looks like this worked.

> bmike1@bmike1:/mnt/sda5/Downloads/ethernet.driver/e100-2.3.33/src$ sudo

insmod e100
> Using /lib/modules/2.4.21-xfs/kernel/drivers/net/e100.o


Again, no errors, so it looks like the module loaded properly. When you =
run
'lsmod | grep e100', do you see it? Does it say "unused" next to it? Li=
ke
this:

e100                   58296   0  (unused)


If so, this probably isn't the right module for your hardware. If the
module is listed and it doesn't say "unused," it looks like you're in
business.

> bmike1@bmike1:/mnt/sda5/Downloads/ethernet.driver/e100-2.3.33/src$

ifconfig eth0 255.255.255.1
> SIOCSIFADDR: Permission denied
> SIOCSIFFLAGS: Permission denied


This is just telling you that you need to be root to configure the
interface. Which you already figured out....

> bmike1@bmike1:/mnt/sda5/Downloads/ethernet.driver/e100-2.3.33/src$ sudo

ifconfig eth0 255.255.255.1
> SIOCSIFADDR: Invalid argument


Okay, I think this is just complaining about the IP address that you trie=
d
to assign to this interface. I don't think 255.255.255.1 is a valid
address. If the module wasn't loaded or you loaded the wrong one, you wo=
uld
probably get a message like this instead:

SIOCSIFADDR: No such device
eth0: unknown interface: No such device

Try this command instead:

$ sudo ifconfig eth0 192.168.1.1=20
$ sudo ifconfig eth0 up

See if you get any errors. If not, run this:

$ ifconfig eth0

You should get output like this:

eth0      Link encap:Ethernet  HWaddr 00:01:DE:AD:BE:EF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:955624 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101261 errors:0 dropped:0 overruns:0 carrier:1553
          collisions:0 txqueuelen:100
          RX bytes:79929759 (76.2 Mb)  TX bytes:7955572 (7.5 Mb)
          Interrupt:10 Base address:0xdc00


If so, it looks like you're in business. Since you don't have any other
machines on your network, there's not a whole lot more you can do. But y=
ou
should be able to ping your own IP address:

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.1 : 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=3D1 ttl=3D64 time=3D0.231 ms
64 bytes from 192.168.1.1: icmp_seq=3D2 ttl=3D64 time=3D0.134 ms
64 bytes from 192.168.1.1: icmp_seq=3D3 ttl=3D64 time=3D0.139 ms
64 bytes from 192.168.1.1: icmp_seq=3D4 ttl=3D64 time=3D0.148 ms
64 bytes from 192.168.1.1: icmp_seq=3D5 ttl=3D64 time=3D0.143 ms
64 bytes from 192.168.1.1: icmp_seq=3D6 ttl=3D64 time=3D0.145 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% loss, time 4998ms
rtt min/avg/max/mdev =3D 0.134/0.156/0.231/0.036 ms

HTH. HAND.

~Jeff
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss







This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spa=
m or viruses.
Please report spam to . If you would like 98.9 % spam blo=
cked from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE =
with every account.=20


http://www.vei.net/