How do I install my Linksys LNE 100 TX under Linux RedHat 7? Linux people please help me.... so desperate here....

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Hi, does anybody know how to set up an internet connection between 2 computers? I am using Win 2K primarily and just get the Linux installed on my second machine. I am also using dial up modem to connect to the internet. I already success installing internet connection with Win 2K and Win 98 so I want to know how to set up Win 2K and Linux RedHat. I know I need to use the Samba server to make this happens but I just can't configure it. For a little bit info, I am using Linksys nics and crossover cable. So if someone out there can help me, I really appreciate that. Thanks

Darno

edit: I changed the title cause I was asking how to set an internet connection between Win 2k Pro and Linux RH 7 but I didn't notice that I had to install the network card first but I couldn't figure out how to do it.

A little bit info about my card is Linksys LNE 100 TX version 4.1.
I already download the latest driver from Linksys site and if you follow the thread, I list all the error messages that I've got so far. So any input from all the linux people would be really appreciated since I am really desperate with this card. Thanks

Darno
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
You don't need SAMBA for internet sharing. You need SAMBA if you
want to share files/disks and printers. If you already have
internet sharing working with Win98, then you should be able to
set up RH the same way. How did you get your Win98/win2K to work??
With some details about that, helping with linux will be much easier.
(Are you using Internet Connection Sharing (ICS), or 3rd party like
Wingate/Sygate/Winproxy?)
 

warlord

Golden Member
Oct 25, 1999
1,557
0
0
I just finished shairing a cable connection between a RH7 and 3 win98 boxes. it actually pretty easy, I spent quite a while screwing around with it, and most of my problems turned out to be stupid ones. and mgpaulus is correct in that you don't need SAMBA to share the internet.

I found linuxdocs.org to be very helpful, I spent most of my time looking at IP masqurade to figure out my setup.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
ok thanks guys, yes, I am using the win ICS. So what should I configure then? I will tell you my configuration right now. What I have on the Win 2K machine is setting up the ip address to 192.168.0.1 when I use the win 2K and win 98, then I set up the win 98 to 192.168.0.2 and the submask for both system is is 255.255.255.0 so if using Linux, what should I configure on the Netscape? Thanks

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Nothing in Netscape. You must configure the ethernet interface with the appropriate IP information.

Your gateway is 192.168.0.1, subnet mask is 255.255.255.0 and looks like you can assign 192.168.0.3 to the Linux box.

You should also add your name servers to the /etc/resolve.conf file.

That's about all you need to do. You can enter the info directly using ifconfig and route or you can use a tool like netconf in RedHat.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Ok, so hmm I have another question. I think this is a very stupid question but I'm gonna fire it anyway... when you said name server, what do you mean by that?? Is it the same as the workgroup in Win 2K? I am really newbie with linux so pardon my lousy question

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Nope. What I mean is DNS. You should have those entries in your configuration on the Win2K system. They are IP numbers to your Domain Name Servers.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Damaged: Nope, I have no DNS on my Win 2K setting. I leave it blank. I am using dial up modem so I don't have any DNS. So do I need to have DNS? Thanks

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Yes. You are still getting DNS IPs they are just being assigned to when you dial in. To see what they are, connect, then Start->Run->command, then enter, then type ipconfig /all and you should see the DNS IPs that are assigned to you.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Ok then. Thank you for that. I will try it after this. If I still can't get that to work, I will ask again. Oh yeah one more thing.. When I install Linux RH, I already have Linksys plugged in. So do I need to install the driver for it again? If I do, can someone lead me how to do it? Thanks one more time for the helps. I am really newbie with Linux RH.

Darno
 

Shuxclams

Diamond Member
Oct 10, 1999
9,286
15
81
I assume you mean a Linksys LNE100TX NIC card? That uses the tulip module (correct me if I am wrong.. :)) this is easy, after the install of RH, at a console or xterm, linux verion of DOS prompt, type &quot;lsmod&quot; (without the quotes)<enter>, you should see a &quot;tulip&quot; reference in the output, if not type &quot;insmod tulip&quot; (without the quotes)<enter>, then &quot;ifup eth0&quot;<enter>, if you don't have any errors at that point then you just installed &quot;drivers&quot; and activated it. Now to be sure type &quot;ifconfig -A&quot;<enter> and you should see &quot;UP BROADCAST RUNNING MULTICAST&quot;, in the output, if that is there then use either netcfg or linuxconf to add your IP address, subnet and DNS settings. :)





SHUX
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Hi, I still have a problem installing the Nic. Yes, the card is exactly like what Shuxclams says. The problem is I don't even see the tulip reference in the output when I type the lsmod. Even though I type insmod tulip, I get an error like this:
Using /lib/modules/2.2.16-22/net/tulip.o
/lib/modules/2.2.16-22/net/tulip.o: init_module: Device or resource busy
Hint:insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

that's the error message that I get after typing the insmod tulip.

I also ask my friend who knows a little bit about Linux, and the step that he tells me is:
mkdir netdrivers
cd netdrivers
tar xvfj /mnt/floopy/linux/netdrivers.tgj
make

and then after that:
cd /lib/modules/2.2.16-22/net
cp netdrivers.tulip.o
cp netdrivers/pciscan.o

insmod pci-scan
insmod tulip

emacs /etc/conf.modules

add line -> alias eth0 tulip
ifup eth0.

The problem that I have from using his way is after typing this line:
tar xvfj /mnt/floopy/linux/netdrivers.tgj is:
tar: invalid option --j.

So since I am really newbie with RH 7, can someone give me better explanation in details how to make this card to work properly on my system. Thanks and I am waiting for the answer

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
I don't think I've ever seen a .tgj file, however I have seen .tgz files and then the proper switches are tar -xvzf <filename>. If that doesn't work then do two commands: first gunzip <filename> then tar -xvf <filename>.

Also I don't think the driver is the problem. The problem is with your parameters. Just like the message said. Do you know what IRQ and I/0 settings are correct for eth device? I think the tulip driver allows you to set those parameters. You should start with the documention in /usr/src/linux/Documentation/networking. In there you'll see the tulip.txt file. Start with that, then try this websiteTulip Driver page
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Hi, I still can't get it to work. I just downloaded the latest driver from Linksys and follow all the steps but I am stuck on the step 6. I got up to step 5 with 1 error which error message is like this:
make: ***[pci-skeleton.o] Error 1

after that when I try to continue to step 6, it gives me an error like this:
pci-scan.o: pci-scan.o; No suck gile or directory. I ls the directory after that and I see there is pci-scan.c. Here is the step from the Linksys manual that I follow. So hopefully someone can teach me how to fix this one.



Step 1: Mount the Linksys driver diskette with the following command;

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

Change directories into the Linux directory on the diskette;

cd /mnt/floppy/Linux

Step 2: Create a temp directory called netdrivers in /root;

mkdir netdrivers

Step 3: Copy netdrivers.tgz on the floppy diskette to the new directory you have just created;

cp /mnt/floppy/netdrivers.tgz /root/netdrivers

Step 4: Decompress netdrivers.tgz to extract the source files;

tar xzvf netdrivers.tgz

The extracted files should now be located within the netdrivers directory

Step 5: Compile the modules;

make

You now have compiled the modules successfully

Step 6: Install the modules;

insmod pci-scan.o
insmod tulip.o

Step 7: Issue the depmod command;

depmod -a

Step 8: Initialize the eth0 adapter

ifup eth0

Step 9: Run ifconfig to make sure that the eth0 interface is loaded;

ifconfig

You should see the loopback adapter (lo), and the Ethernet adapter (eth0)

Step 10: To have the eth0 load everytime you boot into Linux you must copy tulip.o, and pci-scan.o into the following directories;

/lib/modules/2.2.14-3/net

/lib/modules/2.2.14-3BOOT/net

/lib/modules/2.2.14smp/net

If you are prompted to replace the current files, say YES

Step 11: You will have to add two lines of code to the following file;

/etc/rc.modules

Add the following;

pci-scan.o
tulip.o

To write the changes to the file type the following;

Shift+: wq (this is only true if they use vi, you not telling them to use vi).

Step 12: Edit etc/modules.conf (if needed).

vi etc/modules.conf

Add the following to the begining of the file;

alias eth0 tulip

To write the changes to the file type the following;

Shift+: w
 

Shuxclams

Diamond Member
Oct 10, 1999
9,286
15
81
[/b]&quot;The Device or resource is busy&quot; You can keep on adding and compiling and tweaking all you want but until you resolve the real issue than you are wasting your time. Try getting a new IRQ or I/O setting for the card. Put it in a new/different PCI slot for starters.








SHUX
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Ok, I will do it now and let you know again after this. Are you sure you use this card under RH 7? Cause my friend says this card won't work under RH 7. Thanks

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
I don't know about that exact card, but I do know the chipset: DEC 21x4x, or tulip, works very well under *NIX systems. However, Intel may have done some funky programming on the chip for all I know.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
I just switch the card, and it still gives me the same error. So anymore help for me please... wow this Linux RH 7 is making me confused all day long....

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Do you have a differenet NIC to try? Like I said Intel may have horqued up the chips parameters on you.
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Damaged: Hmm I am a little bit confused here. What does Intel have to do with this? Are you talking about the Intel processor that causes this to happen? Hmmm it's really confusing... but can you explain to me what you mean by that? I am so newbie with this so I hope you don't mind telling me and maybe give me another solution :). As fas as a new card to try, nope, I don't, I only have one on my Win 2K and one on Linux RH 7 and both of them are the same cards. Maybe what I will do is try to read the link that you gave me one more time and try to play around with the setting one more time. I'll try it later on cause I am so tired now.

But I am still open for any sugggestion. Thanks

Darno
 

Shuxclams

Diamond Member
Oct 10, 1999
9,286
15
81
Sting,
Try a 3c905B-TX, I have never ever ever had a single problem with any OS with them, or try another card alltogether.







SHUX
 

stingbandel

Diamond Member
Jan 23, 2000
3,270
0
0
Shux, is that another card that you are talking about? Hmmm, I don't know about that... do you think 3c905B-TX will work? I still curious and want to try this one to work so I'll try it again and post it again if it still doesn't work. But out of curiosity, is there any other way that you can think of that might get this card to work? I am so confused with this... thanks for the helps though..

Darno
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
What I mean is this: DEC (AKA tulip chipset, AKA DEC 21x4X chipset) is just a generic term for the chipset that drives the NIC. Not unlike AMD and Intel for CPUs. So, even though Intel buys the chip to drive the NIC it doesn't mean that they developed and/or manufactured it. Verstehen (understand)?

And, hence, means that they are also free to program it. IOW they are free to alter things like IRQ, I/O, and other settings on the basic chip. In short, the tulip driver *should* work, but may not because Intel programmed the chipset in and odd manner.