Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-05-2001, 03:36 PM
|
#1
|
LQ Newbie
Registered: Sep 2001
Posts: 10
Rep:
|
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.
|
|
|
10-05-2001, 05:51 PM
|
#2
|
Member
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42
Rep:
|
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
|
|
|
10-06-2001, 03:58 AM
|
#3
|
LQ Newbie
Registered: Sep 2001
Posts: 10
Original Poster
Rep:
|
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?
|
|
|
10-06-2001, 06:27 AM
|
#4
|
Member
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|