You are not logged in.

#1 2008-08-29 21:09:53

SkyValley
Member
Registered: 2008-04-09
Posts: 20

[solved] Internet Share

I've followed this http://wiki.archlinux.org/index.php/Internet_Share to try to get internet on a second computer, but still only the first computer has access. I know it's not a hardware fault since sharing internet works on windows. Any ideas what could be the problem?

Last edited by SkyValley (2008-08-30 18:23:35)

Offline

#2 2008-08-29 21:23:21

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: [solved] Internet Share

Which of the two methods are you attempting to use? Do you have a router (or switch)?

Offline

#3 2008-08-29 22:41:40

SkyValley
Member
Registered: 2008-04-09
Posts: 20

Re: [solved] Internet Share

I don't have a switch, so I'm trying to use the second method.

Offline

#4 2008-08-30 02:32:07

carandraug
Member
From: Galway, Ireland
Registered: 2008-05-17
Posts: 13

Re: [solved] Internet Share

I've used the second method a lot of times but only between Linux boxes. Which OS have you in each computer?

Can you ping PC1 from PC2 and vice-versa?
Can you ping the router that gives internet to PC1?
Can you ping google?
Check in /etc/rc.conf if you removed "!" from the entry gateway in the line ROUTES. It should be something like

gateway="default gw 192.168.0.1"
ROUTES=(gateway)

Also, can you get the output of "iptables -L -v -t nat" and "iptables -L -v" in the computer that has net?

Last edited by carandraug (2008-08-30 02:45:42)


Miss your loved ones?
You don't have to. RJX-21 laser scope.

Offline

#5 2008-08-30 14:05:24

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: [solved] Internet Share

See if this link helps at all:
http://tldp.org/HOWTO/html_single/Masqu … ple-HOWTO/

I followed this after wanting to set up my desktop to share a net connection with my laptop.

Also, we NEED MORE INFORMATION. Post your topology, what OS each computer is running, etc. We aren't mind readers, you know.

Offline

#6 2008-08-30 18:23:09

SkyValley
Member
Registered: 2008-04-09
Posts: 20

Re: [solved] Internet Share

I've sorted it out, turns out I wasn't configuring itables correctly. Thanks anyway everyone.

Offline

Board footer

Powered by FluxBB