LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-24-2008, 12:35 PM   #1
Maz2007
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
Cross platform networking


I have a home network with three machines on it: a PC running Windows XP, one running Windows Vista and one running Ubuntu (I think "G").
The XP machine and the Ubuntu machine can see everybody on the network, but the Vista machine is making trouble (of course).
The Vista sees and talks to the XP, but denies all knowledge of the Ubuntu.
When I ping the Ubuntu I get all four packets through, and when I typed the IP address in Explorer I got the following message:


windows Network Diagnostics

windows confirmed that “1O.O.O.2’ is currently online, but is not responding to connection attempts at this time.
This usually means that a firewall is running somewhere between the two computers and is blocking “File and printer sharing (sMBY’. Windows has confirmed that windows Firewall on this computer is correctly configured to allow this connection. However, a remote firewall might be blocking your connection.
If you have access to this firewall then configure the firewall to allow connections through TCP port *CENSORED*. If you don't have access, contact your network administrator or Internet service provider.


Now, to the best of my knowledge there IS no firewall on the Ubuntu machine (whose internal IP address btw is 10.0.0.2).
Any suggestions? Could this mean the firewall on the router?
 
Old 09-24-2008, 02:44 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
"connect" is such a vague word... I expect their version of connect means cifs (windows network share), so if you're not running samba on that ubuntu box then there's nothing to connect to. what do you expect to happen if it "connects"?

me being me, i'd run tcpdump or wireshark on ubuntu and see what traffic actually hits the box.
 
Old 09-24-2008, 03:04 PM   #3
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 85
How are the machines connected to each other?

If they are connected to a central device (wireless router? or wired switch integrated into a router?) and XP can see Ubuntu, then the problem is only likely to be a firewall if it has been configured to allow some connections and not others. This is doubly so if Vista is able to ping Ubuntu. Such messages from IE are just suggesting the most obvious explanation for connection problems.

What service(s) does XP access on Ubuntu (or vice versa)? Samba / Windows file sharing? Web server? Are these set up correctly on the Vista machine? If it is a web server that is running on Ubuntu, is Vista perhaps trying to access it via https:// (port 443) while XP is trying plain http:// (port 80)? Is the Vista machine trying on a non-standard port?

One thing that would be worth trying is to connect to the relevant port using telnet from the command line (telnet "ip-address" "port number"). You won't usually be able to do anything via telnet, but if you get a response rather than telnet just hanging, it will tell you that there is an active service on that port.

If, as seems likely, this turns out to be a Vista problem, you may get a better response from The Elder Geek

Hope this helps,
Rob
 
Old 09-24-2008, 03:27 PM   #4
Maz2007
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
How are the machines connected to each other?

If they are connected to a central device (wireless router? or wired switch integrated into a router?) and XP can see Ubuntu, then the problem is only likely to be a firewall if it has been configured to allow some connections and not others. This is doubly so if Vista is able to ping Ubuntu. Such messages from IE are just suggesting the most obvious explanation for connection problems.
The machines are connected via a router. The xp and Ubuntu are attached via cable and the Vista wireless (if that matters. The Vista can access shared files on the XP, and the XP can access shared files on the Ubuntu).
Like I said, there is no active firewall on the Ubuntu. Both Windows machines are running ZoneAlarm, and it is configured properly on both machines. The router has whatever firewall these things come with.

Quote:
What service(s) does XP access on Ubuntu (or vice versa)? Samba / Windows file sharing? Web server? Are these set up correctly on the Vista machine? If it is a web server that is running on Ubuntu, is Vista perhaps trying to access it via https:// (port 443) while XP is trying plain http:// (port 80)? Is the Vista machine trying on a non-standard port?
The Vista wants to access shared files on the Ubuntu using Samaba Windows/Linux sharing. We know that it works, because of the XP machine. Do I need to configure the |Vista machine somehow? If I recall correctly, all configuration with that went on on the Ubuntu.

Quote:
One thing that would be worth trying is to connect to the relevant port using telnet from the command line (telnet "ip-address" "port number"). You won't usually be able to do anything via telnet, but if you get a response rather than telnet just hanging, it will tell you that there is an active service on that port.
I don't quite follow you here...

Quote:
If, as seems likely, this turns out to be a Vista problem, you may get a better response from The Elder Geek

Hope this helps,
Rob
Thanks, I'll try that.
 
Old 09-24-2008, 04:02 PM   #5
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 85
Quote:
Originally Posted by Maz2007 View Post
The Vista wants to access shared files on the Ubuntu using Samaba Windows/Linux sharing. We know that it works, because of the XP machine. Do I need to configure the |Vista machine somehow? If I recall correctly, all configuration with that went on on the Ubuntu.
Vista would need some client software installed and running to connect to the network share. Not much of a clue about Vista (only used it once) but in XP, if you look in "Local Area Connection Properties" (Control Panel > Network Connections) you should see an entry for this. It may be installed and enabled by default in Vista, like in XP, but it may not be.
Quote:
I don't quite follow you here...
Telnet allows a more basic test of network connectivity than (for example) a browser. It can tell you (often) whether the problem is with the software on that machine, or with either the network or server. For example:
Code:
/home/user> telnet 66.249.93.104 80
Trying 66.249.93.104...
Connected to 66.249.93.104.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Connection: close
Content-Length: 662

<HTML><HEAD>
<much more snipped out...>
Here, I first try to connect to an active web server on port 80 (it's actually Google). There are error messages displayed, but I get a response. In this case, if I couldn't access the page using my browser, I'd start checking the browser configs.
Code:
/home/user> telnet 10.15.3.75 80
Trying 10.15.3.75...
telnet: Unable to connect to remote host: Connection timed out
In the second case, I try to contact a non-existent web server, and it just times out. Here, I would be looking at the network, or the server.

You could try a similar thing on the Windows networking ports.
 
  


Reply

Tags
firewall, linux, network, windows


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
cross platform macros dmail Programming 4 12-20-2005 09:16 PM
cross platform c++ nyomon Programming 6 07-03-2005 03:24 PM
Cross-Platform LibAO Ross Clement Programming 0 03-05-2005 05:19 AM
A cross-platform networking library? elluva Programming 4 02-15-2005 04:35 PM
Cross Platform biggiefatts Linux - Software 4 06-04-2002 03:00 PM


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