PDA

View Full Version : need some help with internet sharing...


AdamBath
29th November 2008, 08:11 PM
my machine is as follows:

AMD Opteron 170
DFI Lanparty UT Ultra-D
2gb mem
running Fedora Core 10 i386
my 2 ethernet controllers are:
nVidia Corp. CK804
Marvell 88E8001 Gigabit

the nVidia one is plugged into my router. the Marvell one is the one that we plug a laptop in to share internet through when the wi-fi is acting screwy(router is in another part of the house, i plug in through a very long ethernet cable)... when in vista, all works well, the laptop can share internet via ICS... not the case in fedora, where i can't figure out just how to set it up... i've got dhcpd running, the marvell card picks up an ip address of 192.168.100.1(just picked 100 as an arbitrary number), and the laptop picks 192.168.100.2... i can ping my router(192.168.1.1) and i can ping my nvidia ethernet(192.168.1.3) from the laptop, i can also even ping verizon's dns servers(68.238.96.12 and 68.238.64.12), but i can't resolve any host names, and i can't ping the ip address for google, or any other website i've tried... so i'm not sure if the problem is in fedora or the router... i'm thinking its in fedora, because it works fine via ICS in vista.

heres my dhcpd.conf

ddns-update-style none;
ddns-updates off;
deny client-updates;
one-lease-per-client false;
allow bootp;
option T150 code 150 = string;
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see 'man 5 dhcpd.conf'
#

subnet 192.168.100.0 netmask 255.255.255.0 {
interface eth0;
range 192.168.100.1 192.168.100.220;
option subnet-mask 255.255.255.0;
default-lease-time 86400;
max-lease-time 86400;
}

i also used this site's walkthrough to try and set it up, and it got me as far as i've gotten, being able to ping verizon's dns servers...

http://lindesk.com/2007/04/internet-connection-sharing-using-iptables/


anyone have any ideas? i signed up here just for this issue, been using fedora off and on since 8, and i'm loving 9 and 10 now, i use fedora probably 95% of the time, and i need to be able to give my girlfriend an alternative to wifi on her laptop while i'm in linux...

AdamBath
29th November 2008, 08:38 PM
ah i got it with firestarter... awesome