Hello all! I've been introduced by Echylo to this forum, he says I won't be shouted at with RTFM's and such. Let's do hope so :)
Well, here's the problem:
I'm running Gentoo 2004.2 with kernel 2.6.3. (Ran 2.6.7 before but didn't really work out, so I went back to 2.6.3 since I know that one works superb.) I am trying to route my internet to a Windows 98 PC. This is my sisters, and she needs her internet. Internet works fine on my PC. And the routing worked before the format due to reasons you don't want to know. I have done exactly the same as I did last time, so I must've overlooked something. I have a connection between the 2 pc's. Since we can ping eachother. It's not a DNS problem. Since I cannot ping any website or IP with the other PC.
Well, here is what my "/etc/conf.d/net" contains:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.10.1 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth1="dhcp"
dhcpcd_eth1="-h co254461-a"
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
gateway="eth0/192.168.10.1"
Looks alright to me! :)
This is what my "/etc/conf.d/local.start" contains:
# /etc/conf.d/local.start:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/local.start,v 1.4 2002/11/18 19:39:22 azarah Exp $
# This is a good place to load any misc.
# programs on startup ( 1>&2 )
#enable ipforwarding echo "1" > /proc/sys/net/ipv4/ip_forward &&
#enable masquerading iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
Also looks good to me...
My LAN ethernet card is ETH0 and my internet ethernet card is ETH1.
I hope you guys can help me out, since I am sick of rebooting to WIndows just to get my sister some MSN loving... :P
Don't think me of a big-noob, I have expierence with Linux. At least. Enough for now. But on the other hand. I'm no Advanced hyper-tech nerd. (Too bad though.. ;) )
Greetings,
Hawai!