[tulip] mandrake 7.1

Uday Kallianpur udk@swbell.net
Fri, 29 Dec 2000 16:14:37 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C071B2.70B98E20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am having trouble with the card. i followed these instructions.


Supported Operating Systems:

Linux kernel version 2.2.x

First mount the second floppy diskette that came with the network =
adapter.

Here is how it should be done:

Log in as root, admin, or superuser and type this at a terminal prompt:

mount -t msdos /dev/fd0 /mnt/floppy

This will mount the floppy diskette so that you can access it's files =
and
directories. Make sure the diskette is not write protected!

Change directories to the "Linux" directory on the diskette?

cd linux

You will need to copy the "tulip.c" file to the correct directory on the
hardrive.

cp tulip.c /usr/src/linux/net/inet

This will copy the tulip.c file to the directory inet, if you do not =
have
this directory you can make it by doing this.

mkdir inet

You should now have a directory named inet located in the net directory.

Compile the tulip.c file with the compile command:

gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall =
-Wstrict-prototype
s -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] &&
echo -DMODVERSIONS`

PAY ATTENTION TO EVERY LETTER AND CAPATILIZATION!!!

You should now have a file called tulip.o in the same inet directory, =
you
must copy the tulip.o file to the proper directory within Linux so it =
can be
loaded, and then activated.
cp tulip.o /lib/modules/kernel_version/net

You should now have the tulip.o file located in
/lib/modules/kernel_version/net (kernel_version is the current version =
of
the kernel i.e.: 2.2.5-15)

Issue the command to activate the modules within the net directory:
depmod -a

Then type the following command to probe the tulip.o.

modprobe tulip.o

Now you should be able to run netconf to setup the eth0 interface with =
the
local host name, ip address, subnet mask, and module type.

Host: linuxbox

IP Address: 192.168.1.1

Subnetmask: 255.255.255.0

Module type: tulip

Quit and accept and activate the changes

Type the following command at the command prompt:

ifconfig

You should see eth0 as one of the interfaces, this means the card is


When I did depmod -a i get

depmod: *** unresolved symbols in /lib/modules/2.2.15-4mdk/net/tulip.o

when i do a modprobe tulip.o i get can;t locate tulip module.

I am sure i compiled it okay i did not get any errors also I used the =
latest drivers from scyld.com. I do not know what else to do?? This is =
driving me crazy=20



------=_NextPart_000_000C_01C071B2.70B98E20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am having trouble with the card. i =
followed these=20
instructions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080><EM>Supported Operating Systems:<BR><BR>Linux =
kernel=20
version 2.2.x<BR><BR>First mount the second floppy diskette that came =
with the=20
network adapter.<BR><BR>Here is how it should be done:<BR><BR>Log in as =
root,=20
admin, or superuser and type this at a terminal prompt:<BR><BR>mount =
&#8211;t msdos=20
/dev/fd0 /mnt/floppy<BR><BR>This will mount the floppy diskette so that =
you can=20
access it&#8217;s files and<BR>directories. Make sure the diskette is =
not write=20
protected!<BR><BR>Change directories to the "Linux" directory on the=20
diskette?<BR><BR>cd linux<BR><BR>You will need to copy the "tulip.c" =
file to the=20
correct directory on the<BR>hardrive.<BR><BR>cp tulip.c=20
/usr/src/linux/net/inet<BR><BR>This will copy the tulip.c file to the =
directory=20
inet, if you do not have<BR>this directory you can make it by doing=20
this.<BR><BR>mkdir inet<BR><BR>You should now have a directory named =
inet=20
located in the net directory.<BR><BR>Compile the tulip.c file with the =
compile=20
command:<BR><BR>gcc &#8211;DMODULE &#8211;D__KERNEL__ =
-I/usr/src/linux/net/inet &#8211;Wall=20
&#8211;Wstrict-prototype<BR>s &#8211;O6 &#8211;c tulip.c `[ -f =
/usr/include/linux/modversions.h ]=20
&amp;&amp;<BR>echo &#8211;DMODVERSIONS`<BR><BR>PAY ATTENTION TO EVERY =
LETTER AND=20
CAPATILIZATION!!!<BR><BR>You should now have a file called tulip.o in =
the same=20
inet directory, you<BR>must copy the tulip.o file to the proper =
directory within=20
Linux so it can be<BR>loaded, and then activated.<BR>cp tulip.o=20
/lib/modules/kernel_version/net<BR><BR>You should now have the tulip.o =
file=20
located in<BR>/lib/modules/kernel_version/net (kernel_version is the =
current=20
version of<BR>the kernel i.e.: 2.2.5-15)<BR><BR>Issue the command to =
activate=20
the modules within the net directory:<BR>depmod &#8211;a<BR><BR>Then =
type the=20
following command to probe the tulip.o.<BR><BR>modprobe =
tulip.o<BR><BR>Now you=20
should be able to run netconf to setup the eth0 interface with =
the<BR>local host=20
name, ip address, subnet mask, and module type.<BR><BR>Host: =
linuxbox<BR><BR>IP=20
Address: 192.168.1.1<BR><BR>Subnetmask: 255.255.255.0<BR><BR>Module =
type:=20
tulip<BR><BR>Quit and accept and activate the changes<BR><BR>Type the =
following=20
command at the command prompt:<BR><BR>ifconfig<BR><BR>You should see =
eth0 as one=20
of the interfaces, this means the card is<BR></EM></FONT></DIV>
<DIV><FONT color=3D#000080></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I did depmod -a i get</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>depmod: *** unresolved symbols in=20
/lib/modules/2.2.15-4mdk/net/tulip.o</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>when i do a modprobe tulip.o i get =
can;t locate=20
tulip module.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am sure i&nbsp;compiled it okay i did =
not get any=20
errors also I used the latest drivers from scyld.com. I do not know what =
else to=20
do?? This is driving me crazy</FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000C_01C071B2.70B98E20--