Solved

network windows - linux won't work

Posted on 2002-05-31
10
193 Views
Last Modified: 2010-04-11
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?
0
Comment
Question by:Bacardi_As
10 Comments
 

Author Comment

by:Bacardi_As
ID: 7047352
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.
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 75 total points
ID: 7047394
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.
    IP PROTOCOL 47 (GRE)

 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 !
0
 

Author Comment

by:Bacardi_As
ID: 7048459
How do I get into my netbios to open these ports?
0
 
LVL 6

Assisted Solution

by:st_steve
st_steve earned 75 total points
ID: 7048502
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:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP

Add a new DWORD value

Value Name: EnablePlainTextPassword
Data: 0x01

0
 

Author Comment

by:Bacardi_As
ID: 7048544
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.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 6

Expert Comment

by:st_steve
ID: 7048554
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.

http://www.tldp.org/HOWTO/SMB-HOWTO.html

0
 

Author Comment

by:Bacardi_As
ID: 7058926
I've found out that samba is allready installed on my Linux, but I haven't got a clue what to do with it.
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7058934
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

0
 
LVL 6

Expert Comment

by:st_steve
ID: 7058939
Did you also follow the "Samba HowTO" link I posted earlier? That link will describe a lot of things about Samba. Have a read.
0
 

Expert Comment

by:CleanupPing
ID: 9155632
Bacardi_As:
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
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now