• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

network windows - linux won't work

I have set up an network between an Mandrake Linux and an win98 computer through an draytech Vigor 2200E router.
I can login on the router from both comps, I can ping both computers from each other. But I cannot login in to the computer it self. And I really need to transfer files from the win98 one to the linux one.

What am I doing wrong?
2 Solutions
Bacardi_AsAuthor Commented:
O forgot something, dunno if it's important but when I try to login from Linux to win it says connection refused. And the other way around it just times out.
You need to open the Netbios ports etc , as they appeard to be blocked by default.

 You need to enable the following ports:

    PORT 135 (TCP or UDP) for the Remote Procedure Call (RPC) Service.
    PORT 137 (UDP) for the NetBIOS Name Service.
    PORT 138 (UDP) for NetBIOS datagram (Browsing).
    PORT 139 (TCP) for NetBIOS session (NET USE).
    ALL PORTS above 1024 for RPC Communication.

 See tip 0956 for using LMHOSTS for name resolution.

 NOTE: You would have multple IP_ADDRESS_OF_PDC PDCname #PRE #DOM:DomainName entries.

 If you use DNS and WINS, enable:

    PORT 53 (TCP and UDP) for DNS. DNS port
    PORT 42 (TCP and UDP) for WINS Replication. WINS port

 If you establish the trust through PPTP, enable:

    PORT (TCP) 1723 for PPTP.

 For SMS Remote Helpdesk, enable:

    PORT (TCP) 1761 for Verification of Rights (IPX 0x8138).
    PORT (TCP) 1762 for Remote Control (IPX 0x8238).
    PORT (TCP) 1761 for Remote Reboot (IPX 0x8138).
    PORT (TCP) 1763 for Remote Chat (IPX 0x845F).
    PORT (TCP) 1764 for File Transfer (IPX 0x4100).
    PORT (TCP) 1761 for Remote Execute (IPX 0x8138).

 Use NOTEPAD to read %SystemRoot%\System32\Drivers\Etc\Services for a more complete list.

I hope this helps !
Bacardi_AsAuthor Commented:
How do I get into my netbios to open these ports?
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

The easier way to "open" these ports is to use Samba File Sharing program that runs on Linux. Get it at http://www.samba.org/

You get "connection refused", possibly because the username and password doesn't exist on the Windows machine. Also, if they do exist, then Windows will be using encrypted passwords, and Linux may be using plain-text passwords. Herein lies the authentication problem.

Change the excrypted passwords in the following registry location:


Add a new DWORD value

Value Name: EnablePlainTextPassword
Data: 0x01

Bacardi_AsAuthor Commented:
I've allready heard about that samba thing, but I'm very new to linux so I don't know how to install that yet.
But I'll give it another try.
And I really need to transfer files from windows to linux, before I figure out Linux.
Samba is very easy to install, and there are step-by-step guides to installing Samba. You'd be glad you learnt Samba since there are many situations where files transfers from Linux and Windows are essential.


Bacardi_AsAuthor Commented:
I've found out that samba is allready installed on my Linux, but I haven't got a clue what to do with it.
the config file should be at /etc/smb.conf or sometimes /etc/samba/smb.conf

have a read thru the config and if you just want to get the Linux share up and running, you can just edit one of the pre-made shares and change to suit your needs.

you should also start the samba service, on RedHat compliant systems, issue:

/etc/rc.d/init.d/smb start

you can also configure it to start with the system using "chkconfig"

chkconfig --level 3 smb on

Did you also follow the "Samba HowTO" link I posted earlier? That link will describe a lot of things about Samba. Have a read.
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now