LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2004, 10:04 AM   #1
piraya
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Using a shared internet connection from Win 2003 Server?


I am trying to set up a linux box on an IBM Thinkpad, using the SUSE 8.2 Pro edition.

I have a home network set up with a Windows 2003 Server box.

The Win box has a ISDN connection to the internet - I have set up connection sharing for this box, and it works fine for the other Windows boxes in my network. It also has DHCP and DNS, and I set up the Windows clients to use 192.168.0.1 as default gateway and DNS server. This works fine.

But when I try to get internet access from the Linux box, i cannot get it. I can ping the other Windows boxes in the network from the Linux box, but when I try to ping an internet address from it, i cannot (I tried both the name and the IP address of the external server, but no luck).

Evidently, the linux box is able to make requests to the DNS server, because when I try to ping the external server, it is able to find out that the IP address is 193.69.165.21.

I have followed the standard setup for SUSE without any modifications, and the network card has been correctly identified. I have tried setting up both DHCP and static address setups for the network card, and in both cases i can contact the main server and the other clients on the network, but no internet addresses.

Is there some additional settings i have to make to get the shared internet connection working? I hope someone are able to help me - I wouldn't like to be discouraged from starting with Linux just because of some silly configuration problem!

Last edited by piraya; 10-24-2004 at 01:36 PM.
 
Old 10-24-2004, 10:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
just looks like you've not set the gateway of the linux box to be the 2003 server IP.

if you run "route" you'll get something like this:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.168.0.99    0.0.0.0         UG    0      0        0 eth0
But presumably without anythign matching the last line. if so then use route again to add it
Code:
route add default gw 192.168.0.1
and i'm sure that yast can so this too...
 
Old 10-24-2004, 10:17 AM   #3
piraya
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
"route" not working

I try to run route from wshell, but get "route: command not found".

I have used YAST and set the default gateway to 192.168.0.1, but still the same problem.
 
Old 10-24-2004, 11:07 AM   #4
piraya
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
It works!

Hi Acid_Kewpie!

I fooled around a little, finally was able to use route, followed yours instructions, and now it works!

Thanx a lot for the help!

:-)
 
Old 10-24-2004, 12:08 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no problem. now if you wouldn't mind passing your billing address onto we can procede with payment for this successful support request.
 
  


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
KRDC Remoting into Win Server 2003 - no keyboard b18b Linux - Software 2 12-07-2005 06:31 PM
shared Internet access, same box, dual boot, win xp and rh9 provri Red Hat 2 06-21-2005 01:36 AM
SuSE 9.1 to Windows 2003 Server Internet Connection Cipherfx Linux - Newbie 2 01-12-2005 10:22 PM
How can I have Win 2003 Server + Linux andrein Linux - General 1 09-07-2004 02:51 AM
how can I mount NTFS partition(win 2003 server)? daynne Fedora 4 04-07-2004 03:18 PM


All times are GMT -5. The time now is 01:02 PM.

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