PDA

View Full Version : connecting to internet


algoguru
2007-01-29, 11:36 AM CST
Hi all,
i have problem connecting internet in FC6. I have a Dual boot pc having FC6 and Windows xp.My problem is that i have one onboard network card which i use to connect other linux pcs and windows xp pcs on our LAN .i also have another network card which i use to connect to modem to connect to internet in windows xp.In FC6 i can see that both network cards are detected as eth0 and eth1.But i can not access internet .Please anyone help me to get my internet connection working in FC6.Also i would like to share this connection with some of the pcs on our LAN having both kind of OS namely linux and windows.I will be thankful if someone can give stepwise details to solve these problems as i am complete newbie to linux..

thanks..

Roybert
2007-01-29, 11:47 AM CST
open terminal. type IFCONFIG. do you see any IP adresses? also, are eth0 or eth1 active?

jcp1970
2007-01-29, 12:28 PM CST
If both eth0 and eth1 are active (they should be active by default), you must identify which one is for your internet connection. If you want to share one internet connection through an ADSL modem with other computers, you should connect all of them to a HUB, with the ADSL modem connected to the "uplink" position or to first position in the HUB. Your computer is just one of the computers that use that ADSL modem. Each computer, under each system must be settled to connect to the internet separately.

Go to the main desktop menu and find the utility for the network. Select the "eth" for the internet connection, go in to propierties. Fix the ip address, netmask, Gateway, and DNS addresses for this LAN card (the same that you have for this card under windows). Save. Then, in the main menu of the Network window, click NEW, select a ADSL connection, answer the standard questions (a name for this connection, the eth to use, the username and password for your internet connection,...). OK. Save. Close every thing. Make restart. Done. Open Mozilla and be happy.

algoguru
2007-01-29, 12:29 PM CST
open terminal. type IFCONFIG. do you see any IP adresses? also, are eth0 or eth1 active?
i have configured eth0 and eth1 and set their ips and now i am able to connect to internet .
@Roybert
Thanks for reply..
i would like to know how i can now share this internet connection with other pcs on LAN .i want to share internet connection with only few of them having either linux or windows xp.

algoguru
2007-01-29, 12:45 PM CST
@jcp1970
thaks for reply...
actually my problem is our LAN consists of around 140 computers connected through switches and hubs(certainly uplinks are there).i want to share my internet connection with few people who are not connected with my switch due to inconvenience of joining large wires.so in windows what i used was a tool called ccproxy in which i just mentioned the ips of different users i wanted to share my internet connection with and it works fine.If there is something similar to that please let me know .

capnlinux
2007-01-29, 08:37 PM CST
You are going to have to use a third party product or set up iptables to do the connection forwarding and NAT translation. Just do a search here on "connection sharing" and you should find instructions for either way that you choose to go.

You will then need to either use iptables or a hosts.allow file to limit the connection sharing to only your friends and not just anyone on the network with you.