Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've being trying to figure out a way to connect to the Internet through a Windows LAN but can't find any or maybe there's no way. I have a LAN internet connection that works fine on both Windows ME and 2000, but i would like to also add it to Linux. How can I set it up so that it Netscape will use the LAN?
When you say Windows LAN do you mean that you are using Internet Connection Sharing under windows? If so what version of Windows. If your using Windows2000 then I think you'll be able to get it working as AFAIK Win2K does proper NAT, however Win98 does some strange M$ stuff, that I think is some kind of bastardised proxy so I don't know how lucky you'll be if this is the case.
No, it's not with Internet Connection Sharing. I'm guessing it's like a gateway. I connect to the ISP throught LAN. I can connect to the network through Windows 2000 and ME and i can access the net fine. So I guess my main question would be how to connect Linux to a LAN and then how to use that connection for the internet.
Have you got your network card setup yet? Thats your first mission. Then you'll need to know the setup of the network, you'll need an IP address, subnet mask, find out what the IP address of your DNS is, and what your default gateway is. You'll probably also need to find out what Proxy if being used on the network and what the address of the proxy is...
If you haven't setup your network card yet find out what the model is, and post it back in this thread, along with the kernel version you're using and which distro you're on.
Well, I have Genius GF100TXR III Seriers Net card. I'm running Red Hat 6 (kernel 2.2.5-15). I also have a diskette that has a linux driver but I don't know how to install it. I have all the other info about DNS, IP, etc...
Right... you wouldn't happen to know what chip is on that card? I don't know the cards myself but if there is a 'driver' on a floppy then the card will almost definately be supported in the later kernels, so you shouldn't need that driver disk.
Setting up the network card will either involve just loading the correct module is its already present, or recompiling the kernel to include the correct code/create the correct module. Hopefully someone on the forum will know what module you need, if you find out what chip it is then its probably one of the generic drivers that you need to use. I'd advise you to update your kernel anyway as 2.2.5 is pretty old and you'll have much better hardware support if you move to 2.2.19. If you do need to rebuild the kernel anyway its a good time to do it.
Once the network card is seen by the kernel then thats the worst of the battle done. There wasn't any mention of it being detected when you installed was there??
Well, the chip is a Realtek 8139c and I checked in the card's web site and it says "Works under Linux as PCI NE2000 compatible networking card." What should I do with this information?
Try the following from the command line and see what it reports
Code:
modprobe ne2k-pci
and see what happens. If the module is present then it will load and should tell you something about the card. If modprobe says that it can't find the module then you'll need to rebuild your kernel.
Well, I tried it and it gave me the message "Resource or device busy" or something like that. I check on the modules and it does have the ne2k-pci. Should I do something else to it or should I connect it to the LAN. And how do I do that?
and see what happens. If the module is loaded and the card is alright then the above command will suceed. If it suceeds then the network card is ready to be configured already, you just need to find the tool in redhat to configure the network. I'm not a redhat user so can't be much help on this one, although there are lots of users on the forum that are on Redhat.
You can always try putting your network details in by hand, edit /etc/resolv.conf to list your name server. Then type
Code:
ifconfig eth0 down
ifconfig eth0 <yourIP> netmask <yourNetMask> network <yourNetwork>
Then see if you can ping another machine on the LAN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.