LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-02-2005, 05:04 PM   #1
lingeek
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Debain
Posts: 29

Rep: Reputation: 15
problem sharing internet...


hi,
I am trying to setup my Fedora Core -4 PC as the server which is connected directly to the internet using a USB cable modem and I get the IP for it using DHCP. This PC has another DLINK ethernet card that I wanted it to use for networking

I have another PC running Debian which I wanted to share the internet with the one with FC4 and used NAT to do the job.

I've got a script after googling that does the job of IP forwarding and other things. After running the script and after connecting the other computer(Debian) to FC4, I can ping the FC4 from Debian and viceversa. But the problem is that I cannot connect to internet from Debian but can connect to internet using only IP addresses.

I've tried to resolve this issue by making the '/etc/resolv.conf' files in two computers identical but no use. I can connect perfectly fine from FC4 with the same set of nameservers. I tried other ways but I 've given up. I am sure that this problem is related to DNS but not sure exactly what's going wrong.

The static ip address of Debian PC is: 192.168.15.6 with gateway 192.168.15.1.

Can anyone please suggest what's going wrong.
 
Old 09-02-2005, 06:42 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
The static ip address of Debian PC is: 192.168.15.6 with gateway 192.168.15.1.
So the DLINK ethernet card's address is 192.168.15.1
try for the debian box;
/etc/resolv.conf
nameserver 192.168.15.1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
internet sharing problem linus johann Linux - Networking 2 09-16-2005 11:53 AM
Problem sharing internet.... lingeek Linux - Networking 5 09-03-2005 12:26 AM
Internet sharing problem Pirahna Linux - Networking 2 12-06-2004 10:56 AM
Sharing internet problem johnlittlepeap Linux - Networking 1 10-24-2004 12:32 AM
Internet sharing problem matux Linux - Networking 6 07-14-2004 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration