Find the answer to your Linux question:
Results 1 to 5 of 5
how do i share internet connection between my two pc's in my home network? pc1 uses suse 9.1 and pc2 uses slack 9.1 if that makes any sence thanks in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169

    internet connection sharing


    how do i share internet connection between my two pc's in my home network?
    pc1 uses suse 9.1 and pc2 uses slack 9.1 if that makes any sence
    thanks in advance..
    Linux For Ever!

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    assuming that your using a router, just plug both in, most of the default configs will work, if you arent using a router, then you need to configure one to share its connection ( I would recommend the slack, but its up to you) My personal method would be to install proxy software on one of them (squid is a common one) then just configure any others that you may add to the network to connect through the same proxie. (also is great for serverfarm stye systems. You have 3 old machines have the proxy decide who has the lightest load and just route the request to that on. Then rsync all the webfolders everynight)
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  3. #3
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    ok i will download squid..has it got a gui configuration?
    Linux For Ever!

  4. #4
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    i have problems installing squid...i get some error messages.i abort!
    Linux For Ever!

  5. #5
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    i read somewhere that configuring iptables like this :
    Code:
    ipchains -A FORWARD -i MASQ 
    or
    iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
    then do the following :
    Code:
    modprobe ip_conntrack_ftp
    echo 1> /proc/sys/net/ipv4/ip_forward
    that maybe helpful to me or others here!i'll try it when i get home...
    Linux For Ever!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •