LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2001, 07:28 PM   #1
Uberfish
LQ Newbie
 
Registered: Aug 2001
Distribution: rh 7.1
Posts: 4

Rep: Reputation: 0
using windows machine as gateway


I'm trying to get my rh7.1 box to use a windows 98 box as a gateway machine so that it can access the internet - internet sharing works when I'm using the windows on the same machine (it's dual boot), but I can't get it to work with the same settings when using linux - could anyone suggest some things for me to try? (I'm using sygate home network btw)

Thanks.
 
Old 08-10-2001, 09:14 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You need to do this

ifconfig eth0 192.168.0.2 netmask 255.255.255.0


and

route add default gw 192.168.0.1


add your nameservers to /etc/resolv.conf like this

nameserver 11.111.11.111


substitute the correct numbers and you should be ok.



 
Old 08-11-2001, 06:59 AM   #3
Uberfish
LQ Newbie
 
Registered: Aug 2001
Distribution: rh 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
eek

Hi,
Thanks for your help - however I've done what you suggested, and back in the world of GNOME when I try to use the netscape browser, I get "connect: looking up host <whatever>" and nothing beyond that - if I leave it for long enough netscape just hangs, and I have to kill it!

Any more suggestions?
 
Old 08-11-2001, 07:52 AM   #4
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
You need to configure netscape to connect to this. Looks at the proxies section under the preferences. It should be pretty self explanatory.

I had this same issue not too long ago. You can also try out the tsocks program at freshmeat.net. Somepeople have reported success, although I couldn't get it to work properly.

Check out these links.
http://www.linuxquestions.org/questi...ighlight=proxy

http://www.linuxquestions.org/questi...ighlight=proxy
 
Old 08-11-2001, 10:29 AM   #5
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
I think it would be a better idea to use your linux box as your gateway. Linux is more secure than win 98.
 
Old 08-11-2001, 03:16 PM   #6
Uberfish
LQ Newbie
 
Registered: Aug 2001
Distribution: rh 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
yeah, but

I really would m8, however the linux/windows dual boot machine is in my room, and the windows PC is in the room with the phoneline in - it's a family PC...
 
Old 08-11-2001, 11:19 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
i don't think its netscape, unless your windows machine is a proxy server or you use one on your isp and its required, if you have a connection, netscape should work. what happens when you try to ping out to a IP address? that should determine if your connected or not, or try a IP address of a website within Netscape to see if it connects that way.
but it seems to me that your still not connected if netscape still hangs and does not load anything.
 
Old 08-11-2001, 11:38 PM   #8
doodah
Member
 
Registered: Apr 2001
Location: Columbus,OH
Distribution: slackware
Posts: 122

Rep: Reputation: 15
i think this should work...











if you dont have a proxy server setup on your win box, goto www.analogx.com and get their free proxy installed... start the proxy, and then use winipcfg in windows to get your ip address, then goto netscapes proxy settings in the prefrences and add the windows box's ip as the proxy address...











HTH











_peace
 
Old 08-12-2001, 08:38 AM   #9
Uberfish
LQ Newbie
 
Registered: Aug 2001
Distribution: rh 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
i don't think its netscape, unless your windows machine is a proxy server or you use one on your isp and its required, if you have a connection, netscape should work. what happens when you try to ping out to a IP address? that should determine if your connected or not, or try a IP address of a website within Netscape to see if it connects that way.
but it seems to me that your still not connected if netscape still hangs and does not load anything.
Yeah, you're right - when I try and ping any IP address I get no response - even the machine I'm trying to connect to on my local network...
 
  


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
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 12:59 PM
How to have more than one gateway on same machine deepalalla Linux - Networking 1 12-24-2004 10:54 AM
Setting up a gateway on Debian machine colabus Linux - Networking 0 05-22-2004 11:16 AM
how do i use my linux machine to be a gateway for a windows machine? Sanjuro Linux - Networking 2 02-09-2002 05:29 AM
Setting up a Linux gateway machine inbar Linux - Networking 15 08-01-2001 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06: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
Open Source Consulting | Domain Registration