I have a special situation, which google coudn't resolve (too noob in networking).
I have an ancient 1999 computer (PIII,450mhz, 512RAM). I want to install Arch or Gentoo on it (yes, i am aware of how masochist is compiling with 450 mhz), that means i need internet. I just have a net card (eth0) on it.
I also have a newer laptop, which i plan to use as server. I don't have the modem on my room, so i am connected to internet via wireless, i also have a wired card,which i alredey use to do connect via ssh to the old computer.
I don't use Iptables, or windows. All the tutorials refer to setting iptables rules, or using winxp, which confuss me. I followed some tutorials skipping the iptables thing, and did:
Router:~# echo 1 > /proc/sys/net/ipv4/ip_forward (to activate fowarding)
Router:~# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE (activate NAT)
added this to /etc/dnsmasq.conf
Router:~# /etc/rc.d/dnsmasq restart
Router:~# ifconfig eth0 192.168.1.100 (this is the static ip of my wlan0 interface, connected to internet)
Then, with the client alredy wired, (there is not too much info on this part anywere, so i just imagine the precess)
Client:# ifconfig eth0 192.168.1.100
Client:# dhcpcd eth0
Then, it can ping with 100% packet loss, or give me the classic: "Ping: bad adress 'www.google.com'". No Internet anyway.
Thanks in advance