LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-07-2004, 10:32 PM   #1
Usalabs
Member
 
Registered: Jan 2004
Distribution: OpenSUSE 42.1 Server
Posts: 158

Rep: Reputation: 15
Why can't a win98 client browse the internet?


I can get the win98 client to access the shared files on the linux box with samba (only with the firewall disabled), but I can't get the win98 client to browse the internet.

I have the DHCP server running and by using WINIPCFG on the win98 machine, the DHCP server issues the correct IP address (otherwise I couldn't access the shared files on the linux box), but when I open the browser on the win98 machine, the page(s) can not be displayed.

Is there a SIMPLE, step by step instruction on how to get the win98 machine to browse the net?

I'm using RH9 with the Kde desktop. I can connect to the internet from the linux box using KPPP.

Is there any software that could this up for me?

Last edited by Usalabs; 02-07-2004 at 11:10 PM.
 
Old 02-08-2004, 01:12 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you give the win-box a proper name-server
and gateway address to look at?



Cheers,
Tink
 
Old 02-08-2004, 09:59 AM   #3
Usalabs
Member
 
Registered: Jan 2004
Distribution: OpenSUSE 42.1 Server
Posts: 158

Original Poster
Rep: Reputation: 15
All settings in the TCP/IP section of win98 are set to auto configure from the linux DHCP server.

The settings of the dhcpd.conf file is :-

ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0
{
option broadcast-address 192.168.0.255;
deny bootp;
default-lease-time 86400;
max-lease-time 604800;

option subnet-mask 255.255.255.0;
range 192.168.0.65 192.168.0.250;
option routers 192.168.0.1;
}

The settings for the RH9 network config are :-

unchecked obatin IP address from (pull down box) DHCP
checked static IP addresses
Manual IP address settings:-
IP address 192.168.0.1
Subnet Mask 255.255.255.0
no default gateway

Settings on win98 via WINIPCFG:-

hostname BEDROOM
Broadcast mixed
DHCP Server 192.168.0.1
Subnet mask 255.255.255.0
Default Gateway 192.168.0.1

When I click on 'release' to release the DHCP server, and clicked on 'renew' the linux box DHCP server issues the correct IP addresses.
 
Old 02-08-2004, 12:28 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you've not exaplined your network topology at all... are meant to assume that your linux box is teh gateway?? in which case you will need to check the ip masqaurading you've got setup. this is typically possible to auto configure as part of a firewall, which you should neevr just disable.
 
Old 02-08-2004, 02:01 PM   #5
Usalabs
Member
 
Registered: Jan 2004
Distribution: OpenSUSE 42.1 Server
Posts: 158

Original Poster
Rep: Reputation: 15
I tried the masquerading, with (logged in as root):

route -A POSTROUTING -t nat -s 192.168.0.0/24 -o eth0 -j MASQUERADE

all that happens is than an error '/host/eth0 not found' is displayed
 
Old 02-10-2004, 12:19 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It really sounds like you need to look into iptables scripts for a masquerading firewall.

There seem to be at least three problems...

First you seem to have a firewall on your internal network interface, which is normally not needed for most home users wanting to use linux as a router.

Second you will need to have the MASQERADE working and ip forwarding enabled to access the internet..

Third problem is DNS. Nameservers are required, and can be assigned via DHCP or manually.
 
  


Reply



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
Samba Netlogon from win98-client lars12 Linux - Networking 0 07-21-2004 07:41 AM
vmware with win98 client citrus Linux - Software 1 04-17-2004 02:49 PM
Slow internet access from win98 client trhrough Linux gateway Comicstrip Linux - Networking 13 03-31-2004 05:41 PM
Win98 not in browse.dat brucehohl Linux - Networking 2 04-05-2003 10:58 AM
Email Client for Linux and Win98 cornell Linux - General 12 07-18-2001 10:21 PM

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

All times are GMT -5. The time now is 07:18 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