Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 18th, 2002, 11:22 AM
kjedwards kjedwards is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 76 kjedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m
Reputation Power: 8
Win2k Linux Internet Sharing

Hi

Can anyone help?

I have 2 PC's -

PC1 is my main PC and is running Win2k, has a ADSL connection via modem and an Ethernet card.

PC2 is running RedHat Linux 7.2 and has an Ethernet card.

I have set up the IP address for PC1 as 10.0.0.3 and for PC2 as 10.0.0.2.

I can ping between the PC's no trouble.

I want to be able to do two things -

1. Set up Internet sharing ie use the Linux box to access the Internet through the connection on the Win2K box

2. Have the Linux box serve as a web server - ie be able to access it from the Win2k box via a browser - http://linux_box_IP/myfiles.html

I have option 2 working great.

The problem is with option 1.

This is what is happening -

If I set up the Network connection for the ADSL modem to 'share' using the LAN connection (set up for the Win2k/Linux LAN) It resets the IP of the LAN to 192.168.0.1.

If I then try to ping the Linux box - I get time out errors. I also cannot ping 192.168.0.1 from the Linux box.

I am totally stuck. Does anyone know how to set this up, or know a link where this is documented?

Thanks

Kevin

Reply With Quote
  #2  
Old August 19th, 2002, 03:13 AM
Fjodor Fjodor is offline
Slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Sweden
Posts: 76 Fjodor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Have you tried setting the Linux to 192.168.0.2?

/Fjodor

Reply With Quote
  #3  
Old August 19th, 2002, 04:20 AM
kjedwards kjedwards is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 76 kjedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m
Reputation Power: 8
Hi

Ok I have set up 'sharing' on the win2k box, so this has reset the IP address for 'mylan' connection to 192.168.0.1. Subnet Mask 255.255.255.0. (No default Gateway address)

I have set the network for the Linux box to:

IP 192.168.0.2
Subnet Mask 255.255.255.0
Gateway 192.168.0.1

After rebooting both machines I can now ping between them again. Great

OK so now how do I intiate Internet access from the Linux box? It uses Mozilla and there doesn't appear to be anywhere to tell it how to connect!

Any advice please

Thanks

Kevin

Reply With Quote
  #4  
Old August 19th, 2002, 10:55 AM
kjedwards kjedwards is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 76 kjedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m
Reputation Power: 8
Hi

I am really close here.

I have set up Mozilla to use HTTP Proxy 192.168.0.1 (The IP of my win2k box) It is connecting through to the box BUT I get a -

'The connection was refused error' in Mozilla

I have a firewall on the win2k machine but configured this to allow traffic from the Linux box - firewall logs show it is allowing traffic through ok, so there is something not quite right either with the win2k setup or maybe I am using the wrong info in Mozilla.

I hate to get this close and not finish. can anyone give me some pointers?

Thanks

Kevin

Reply With Quote
  #5  
Old August 19th, 2002, 12:52 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 42 m 50 sec
Reputation Power: 184
i doubt that windows 2000 installs a proxy when you start ics.

setting the box up as gateway should be sufficient. i think the problem is another: you probably didīt setup dns on the linux machine. i think you can give it the windows serverīs ip (if it has dns services running) or the ip of any dns-server on the īnet.

i read there is a "upnp" implementation for linux that supports remote control of the ics. but canīt remember where i read that
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #6  
Old August 19th, 2002, 02:35 PM
kjedwards kjedwards is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 76 kjedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m
Reputation Power: 8
Hi

Thank you for your reply.

The problem is if I just have Mozilla set to a direct internet connection I get a message -

'www.whatever.com could not be found'

Checking on the wink2 box, the connection isn't even going through, so its stopping at the Linux box somewhere.

I tried setting the Primary DNS for the Linux Box to the IP of the win2k box and that doesn't help. Maybe it needs further configuring but I'm stuck and out of ideas

Yours

Kevin

Reply With Quote
  #7  
Old August 20th, 2002, 01:52 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 42 m 50 sec
Reputation Power: 184
look up your providerīs dns server. double click on the network icon in your taskbar tray, itīs told on the "details" tab.
if you donīt have this icon, try to connect to your provider while you are already connected, it comes up then too.

enter this DNS Serverīs IP in your linux box. does it work?

if not, try to ping this IP from your linux box. do you get an answer?

Reply With Quote
  #8  
Old August 20th, 2002, 02:35 PM
kjedwards kjedwards is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 76 kjedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m
Reputation Power: 8
Hi

Problem solved!

By issuing ipconfig /all from the Win2k Command-Line the DNS's show up, so I set them in the Linux box and the thing connects great - a little slow but I think that is a Netscape/Mozilla thing.

Thanks

Kevin

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Win2k Linux Internet Sharing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT