| hello, if you want to use that old pc as a router, you don't need to do a full install of slackware, just install the things you need
sharing your internet connection is quite simple, you just have to type these 2 lines
echo "1" > /proc/sys/net/ipv4/ip_forward
this activates ip forwarding
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
this line shares the internet connection to all that ip class ( 192.168.0.0/24 ), and the interface that you receive internet from is eth0, while eth1 will be the nic that you will setup the gateway for your network 192.168.0.1 for example
on your desktop assign an ip from that class, let's say 192.168.0.2
if you use linux, don't forget to add the new route, after you previosly deleted the old route
route dell defaul gw
route add default gw 192.168.0.1
for dns servers, just use the ones you use on your router
cheers |