LinuxQuestions.org
Review your favorite Linux distribution.
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 06-24-2003, 11:44 AM   #1
mournblade
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Win XP client on LAN can't find Linux server


I'm a complete newbie with regard to Linux, and am trying to learn how to set up a rudimentary Linux web server.

I installed Linux 9 on my laptop, which went great. By running Mozilla and typing in 127.0.0.1, I can successfully see a sample web page I created. The laptop is connected to a Win XP desktop. The desktop has two NICs, one connected to DSL and one connected through a hub to the laptop.

The linux laptop has an address of 192.168.0.2 on my network, the desktop has an address of 192.168.0.1. I can ping 192.168.0.2 from the Win XP client. But when I type 192.168.0.2 into the URL line of IE on the Win XP client, I get a "Cannot Find Server" message.

I'd like to be able to see the web pages on my Linux server through my Win XP client. Does anyone have any ideas on how I can do this, or what the problem could be?

I checked the error and access logs on the Linux server/laptop. Neither, strangely, showed any trace of an attempt to connect from the client, as far as I could tell.

Thank you for your help!
 
Old 06-24-2003, 11:52 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
did you try http://192.168.0.2/ ?
 
Old 06-24-2003, 12:08 PM   #3
mournblade
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
More details of problem

Yes, in the IE URL line I've tried:

http://192.168.0.2
http://192.168.0.2:80

Neither seem to work.

By the way, I should add that my Win XP desktop has two NICs -- one is connected to a Linksys Router, and the other is connected to the Linux server laptop. I run Winroute Pro on the Win XP desktop, which allows me to share an Internet connection with the Linux server laptop (and that works fine, I can browse the Web with Mozilla.)

I've also changed the ServerName in the httpd.conf file to 192.168.0.2, but that didn't improve anything either.

Please help!
 
Old 06-24-2003, 12:14 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
I had a brain fart, do you have a firewall running on the laptop like and iptables script?
 
Old 06-24-2003, 01:48 PM   #5
mournblade
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
There are no firewalls running on the laptop that I am aware of -- does Linux have one up by default when it is installed? And what is the iptables script? I am unaware of what that is.
 
Old 06-24-2003, 01:54 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You said that you have Linux 9. Do you mean Red Hat 9 or Slackware 9?
 
Old 06-24-2003, 02:02 PM   #7
crokett
Member
 
Registered: Feb 2003
Distribution: Fedora 13
Posts: 92

Rep: Reputation: 15
iptables is a firewall. the iptables script is the script you create to create a ruleset and tell the firewall what traffic to filter. a quick check to see if you have a firewall running is to type 'iptables -L' at the command line to list any rules that might be loaded. you can also run 'iptables -F' to flush the ruleset and open the filters up to all traffic. during the RedHat install, did you get a prompt about whether you wanted to install a firewall? I haven't used RH9, but earlier versions ask this and the default is yes.


an excellent site:
Firewall site
 
Old 06-24-2003, 02:37 PM   #8
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
that firewall site thing sucks, iptables is not an option the list. And on top of the that, the site was modified last in 2001.
 
Old 06-24-2003, 02:42 PM   #9
mournblade
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Even if I run an iptables -F to open up the filters, I still can't have the Linux server's web pages appear in the Win XP client.

iptables -L does, however, seem to reveal some kind of firewall at work -- it's hard for me to say since I can't understand the list. However, if it runs through the rules sequentially, then among the first few lines -- all of which are ACCEPTs -- is a line saying "ACCEPT ALL anywhere anywere." Perhaps this would break down the firewall?

Sorry for the confusion, too. I am using Red Hat Linux 9.

Thank you again. Please bring on the advice! I could really use it.
 
Old 06-24-2003, 08:01 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
If you get a long list from your iptables -L, then you have a firewall running. I have not used Red Hat since ver 7.3. But they had a control center type app. In it there is a service icon that will let you start|stop|restart iptables. That is the easy way to stop and start it. Once you find it and stop it, see if you can connect.
 
Old 06-26-2003, 03:54 PM   #11
edal11
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Let's say mournblade wants to type in http://mournblade_server/ instead of typing 192.168.0.2

What would I have to do to configure linux to do that?
(Assume same config, same ip's, .... just as mournblade)

Thanks!!

 
  


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
internet sharing, linux client, win server... huzzzo Linux - Networking 3 08-21-2005 02:30 PM
Lan authontication-(win client, linux server) sixth_sense Linux - Networking 6 03-26-2004 07:42 AM
mixed lan (client win + linux) qustion teo Linux - Networking 3 10-31-2003 09:00 AM
Linux SAMBA Server - Win 2000 Client anja Linux - Networking 6 04-07-2003 07:30 PM
CVS client Linux and server on Win 2000 ina Linux - Software 2 02-07-2003 10:27 AM

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

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