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
 
LinkBack Search this Thread
Old 10-05-2001, 03:36 PM   #1
mmvaldez
LQ Newbie
 
Registered: Sep 2001
Posts: 10

Rep: Reputation: 0
Angry Internet access for Linux box in Win Network


I have a home network of 3 pc's which is working perfectly as a microsoft network with ics (internet connection sharing). We shall call the PC which has the direct connection to the internet as PC-A. The other two PCs being PC-B and PC-C. I have made PC-B dual boot with Linux. How now can I access the internet with PC-B running linux?
My settings are:

PC-A -
WindowsME,
address:192.168.0.1,
Computer Name:mserver
Workgroup: mworkgroup

PC-B -
Linux Redhat 7.1
address: 192.168.0.3

Thanks in advance for any help.
 
Old 10-05-2001, 05:51 PM   #2
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
you need to specify the gateway for the linux box.
this is done in /etc/sysconfig/network (or linuxconfig)

heres what it should look like:

NETWORKING=yes
HOSTNAME="myLinuxhost.mydomain"
GATEWAYDEV="eth0"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

hope this helps, im kinda just gettin to grips with it myself

Martin
 
Old 10-06-2001, 03:58 AM   #3
mmvaldez
LQ Newbie
 
Registered: Sep 2001
Posts: 10

Original Poster
Rep: Reputation: 0
Martin, thanks for the reply.

I think we can now get into a bit more detailed.


NETWORKING=yes
HOSTNAME="myLinuxhost.mydomain"
GATEWAYDEV="eth0"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

The HOSTNAME entry, won't that have to be my Windows PC-A machine? Do I need to update the HOSTS file in this PC to show this, if ever?

The GATEWAY entry, won't that have to be the IP address for my Windows PC-A machine?
 
Old 10-06-2001, 06:27 AM   #4
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
NETWORKING=yes
HOSTNAME="myLinuxhost.mydomain"
GATEWAYDEV="eth0"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

>> The HOSTNAME entry, won't that have to be my >> Windows PC-A machine?

NO, im pretty sure this should be set to the name of your linux host, although i stand to be corrected on this... (works for me though)


>> Do I need to update the HOSTS file in this PC to show this, if ever?

The entries needed in file hosts are the names, IP addresses and aliases of the PC's on your network
i.e
127.0.0.1 localhost
192.168.0.3 my.linux.box linbox
192.168.0.1 my.winme.box winbox

>> The GATEWAY entry, won't that have to be the IP address for my Windows PC-A machine?

YES, as i already stated ->> GATEWAY="192.168.0.1"

Once you get this set up, you still need to tell your browser (netscape?) how to access the net (this is what im having problems with) The only way i know how to do this at present is to use proxy software on M$ and then add the relevant IP and port numbers in the netscape prefs.

Using routing (im using Sygate) software or ICS, i dont know how this is achieved. I can access the net from the shell, but not from netscape.

If anyone knows what's happening, help would be much appreciated

hope this gets you further along the road anyhow

Martin
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shared Internet access, same box, dual boot, win xp and rh9 provri Red Hat 2 06-21-2005 12:36 AM
RH9 - Win Network with internet access config AlexJ Linux - Networking 1 07-13-2004 07:45 PM
Samba access WIN XP shares from linux box rmanocha Linux - Software 8 10-24-2003 08:28 AM
setting up a network between a linux and win box Jo_Nak Linux - Networking 0 08-26-2003 04:26 PM
How do I access files on Win box from Linux box zanew Linux - Networking 5 06-12-2002 11:58 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration