View Full Version : Can I share internet connecion ?
Asel
2005-04-01, 10:33 AM CST
Hi ,
Can I share internet connecion ? Between my 1st PC with MS-WINXP and 2nd PC with Linuc FC 3 ?
where my 1st PC with MS-WINXP is connected to internet and linux will use it (internet connection) using sharing ?
Is that posible ? :rolleyes:
jim
2005-04-01, 10:42 AM CST
Get a router and you can share the connection
Can't share the connection that way
bitrain
2005-04-01, 10:43 AM CST
Yes, it is possible, I've done it when I still had core 1, you have to say to win xp that you want to share internet connection with others, it's on the advanced tab with you're internet connection, then you have to configure fedora, but I can't remember exactly how I did it, (we had a phone connection then but I don't know how youre setup is)
jim
2005-04-01, 10:48 AM CST
Make your life easy With a router you get:
1. protection (built in firewall)
2. ability to have more that 2 pc's connected
3. dedicated ip addresses to each PC
4. did i say built in firewall?
cost $30 - $90 depending on what you get
If you decide later down the road that you want a notebook, (wireless) you can connect that too!
linksys BEFW11S4 <---great router for the price around $40 on sale
dickinsd
2005-04-01, 12:48 PM CST
A Router is def the way to go.
But for your info, if you have a spare network card lying around, Or if you have a spare network connection on the Windows PC. (e.g. PC has 2 network port or or using a USB connection from the Windows Pc to your Internet connection)
Then this is a simple method of sharing your connection:
Firstly install the second card and get it installed and working on the Windows machine, then go to Network Connections and right click on the 'new' network device and click Properties then choose TCP/IP and click Properties choose to set the IP address manually to something like 192.168.0.2
Then go to the Fedora Machine and set its IP manually >
click Applications
click System Settings
click Network
click on the network device and then click Edit you need to choose to set an [u]IP address manually[/i] (the easiest for this method) give it an ip address of something like 192.168.0.3, subnet of 255.255.255.0, Gateway address of 192.168.0.2 and Save the changes.
You will probably be told you need to restart the network service, click OK, you normally need to do nothing else!
Then back on the Windows XP box ::
Goto Network Connections
right click on the 1st connection, the one that is used for connecting to the internet and choose Share or Share this connection
Windows XP should do everything else for you.
Then back to your fedora box, you might as well open a terminal and test that the connection is working first by pinging the Windows machine:
ping 192.168.0.2
If thats working check to see you can communicate with the outside world:
ping www.google.com
If that comes back as ok, close the terminal and open a browser, you should be connected with no problems.
If either stage fails, first restart the Windows XP machine and then restart the FC machine and try the pings again, that should be it.
This method requires your Windows XP machine to be running and connected to the internet everytime you want to use the internet from your FC box - if you get a router you will be able to use the machines independantly.
Dave
Asel
2005-04-01, 05:17 PM CST
Thank you every body who trying to help me,
Firstly install the second card and get it installed and working on the Windows machine, then go to Network Connections and right click on the 'new' network device and click Properties then choose TCP/IP and click Properties choose to set the IP address manually to something like 192.168.0.2
Then go to the Fedora Machine and set its IP manually >
click Applications
click System Settings
click Network
click on the network device and then click Edit you need to choose to set an [u]IP address manually[/i] (the easiest for this method) give it an ip address of something like 192.168.0.3, subnet of 255.255.255.0, Gateway address of 192.168.0.2 and Save the changes.
You will probably be told you need to restart the network service, click OK, you normally need to do nothing else!
Then back on the Windows XP box ::
Goto Network Connections
right click on the 1st connection, the one that is used for connecting to the internet and choose Share or Share this connection
Windows XP should do everything else for you.
Then back to your fedora box, you might as well open a terminal and test that the connection is working first by pinging the Windows machine:
Code:
ping 192.168.0.2
If thats working check to see you can communicate with the outside world:
Code:
ping www.google.com
If that comes back as ok, close the terminal and open a browser, you should be connected with no problems.
If either stage fails, first restart the Windows XP machine and then restart the FC machine and try the pings again, that should be it.
Are you mean lan (local Area Network) ?
if you get a router you will be able to use the machines independantly.
I didn't understood This Line ! ? :confused:
dickinsd
2005-04-03, 10:02 PM CDT
Yes you will have a form of client/server LAN if you connect to machines together as I described.
When I said that if you get a router you will be able to use the machines independantly; this is what I mean:
If you share an internet connection from one pc to another (others) The other machine(s) can only connect to the internet if the first machine is working/connected.
Getting a router would mean that no machines need to be connected to the internet for the others to use the internet.
If one machine has a problem, it will not effect the other machines connected to the router.
(of course if the router has a problem, then all machines have a problem - luck of the draw)
Sorry I am really tired have been sat here for 4 hours waiting for my hosting company to fix my server - so a little too tired - that lot might not make sense??
Dave
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.