well first i
got to say i'm still learning linux and i'm starting to =
really enjoy it but the problem is that my sister's pc is connected to = mine to acces the internet and so when i want to try linux out it has to = be when she aint online ... so i wanted to share my internet connection = ... and i entered the following script to rc.local ... i made this file = called rc.firewall which contains the following: #!/bin/sh # DHCP Internet and Connection Sharing Script # Coded by Mayhem (C)2000 #DHCP <insert either PUMP or DHCP 2.0 code here as above> # Net Sharing echo '1' > /proc/sys/net/ipv4/ip_forward /sbin/ipchains -A input -j ACCEPT -i eth1 -s 0/0 67 -d 0/0 68 -p udp /sbin/ipchains -P forward DENY /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ the problem probably is that my sister's pc has the following ip = 192.168.0.2 which has been entered manualy and het ethernet card is = looking for a server with ip 192.168.0.1 (she's running win98) and all = was entered manualy through w2k! so when i made those changes to linux with rc.local it always says it = failed the connection ... please can someone help me? i really want this to work so i can start = using linux for 24/24??? thanx in advance ...=20 cu yttrium P.S. if this is a kinda 'stupid' question i'm really sorry ;-) |