DebianThis forum is for the discussion of Debian Linux.
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 have a p2, 333, with linux, and two other pc's with windows, I have a total of 4 nic cards, I want to install two nic cards in the Linux, and network the other two pc's through the linux to the internet.
However, I can only have one of the nic cards in the linux at a time, They all three work when there by them selfves in the p2. when I put the second card in the linux, neither one works. ( at this time I only have one cord.), but moving the cord to the other card does not allow me to connect to it. So if I have my 100mbs card installed and working, then shut down, and install the second card (plug it in), the first card stops working.. if I switch the cable, the second card still does not work, If I remove the card that was working and reboot the second card starts working???
Is there a link on setting up both cards to work at the same time,
All three cards are different cards.
Also see my other post about getting a belkin wireless usb to connect to the internet with linux.
Not sure what you want to do but you might have a look at clarkconnect.com....turns your old box into a gateway.
Cheers
I want to do whats best. I mean I have two old P2's and one 3 year old laptop, (not that great), I have one wireless usb adapter, laptop has windows, and linux is on the faster of the old p2's.
I cant get the belkin usb to work with just linux??
In the end I would like to set the linux up like a host or something and use the other two pc's to connect through it.
Using linux as a firewall or something I really dont know any ideas?
No matter what i decide to do it will be for educational reasons only.. as surfing the internet is all anyone ever does around here with the other two pc's.
Hi
u should use ip address,dns and getway provided by ur isp in one nic card n do't use getway n dns in other nic card which u want to use local for other machines.It may help u.
I have a similar setup with 3 ethernet adapters (2 LAN, 1 Internet) and 1 wireless adapter. So my server/desktop is acting as a gateway for upto 2 wired clients and god knows how many wireless clients .
There is no easy way to do this, but what you need do is:
Setup a static IP addresses on your Linux gateway's both network adapters
Setup static IP addresses on all client computers and set them to use the IP of the Linux gateway as default gateway
Setup Linux to do IP masquerading so that it forwards anything it gets from the LAN NICs to the Internet. You can 't do this with firestarter because it only allows one internal and one external network adapter. You could use fwbuilder to create a suitable iptables script, but it needs some (not much) knowledge of packet filtering. You could also buy a ethernet hub, connect it to the gateway and then use firestarter to configure the IP Masquerading. That way you'd have only one internal and one external interface and firestarter would be an ok choise.
Check out my page (Wireless AP howto): you might find it (somewhat) useful:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.