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 10-22-2003, 11:35 AM   #1
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Rep: Reputation: 0
Question Can't connect to Linux pc from W98 pc


Hi,
the last week I've been trying to get my Linux-w98 network connected. Today I'd finally been able to see the files on my W98 pc from the Linux pc. I was very excited, but the other way round still isn't working. I'm able to ping the W98 pc, but that's it.
I'm using smbclient and SuSE 8.1.
Does anyone have some tips or something?

Ow yeah, I'm a complete newbie, who wants to use Linux badly.
 
Old 10-22-2003, 12:25 PM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
smbclient is a tool for accessing SMB shares on other machines. In order to permit other machines to access shares on your linux box, you will have to be running the samba daemon 'smbd' on your linux box.

It may well already be running:
Code:
$jcspray@router$ ps -A | grep smbd
24607 ?        00:00:00 smbd
If not, you can enable it using yast (System->Runlevel editor).

You'll need to configure samba by editing /etc/samba/smb.conf. Come back with your problems.
 
Old 10-22-2003, 02:09 PM   #3
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Hi Faecal,
the samba daemon is already runnig, and I've edited the configfile of samba.This is my configfile:

-------------------------------------------------------
[global]
workgroup = FEYENOORD
hosts allow = iprange/mask where iprange is the range where the linux as well as the w98 box is situated
security = user
log file = /var/log/samba/log.%m
interfaces = eth1

[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No

[chantal]
path = /home/nils
read only = No
browseable = Yes

Does this help u, so u can help me?
 
Old 10-22-2003, 02:28 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
- Run the following command on the Linux box to test your smb configuration:

testparm

- If that checks out, verify your shares, workgroup name, etc. with this:

smbclient -L localhost
or:
smbclient -L hostname of Linux box

and:
smbclient -L hostname of Windows box

- On the Win box, use the "net" command to verify things from that end. Here's a short description of the command:

http://support.microsoft.com/default.aspx?kbid=141229
 
Old 10-22-2003, 02:38 PM   #5
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Hi DMR,
I did all your tips, but the w98 box didn't find my linux box.
 
Old 10-22-2003, 02:43 PM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Do you have firewall? Probably it blocks the connection possibility.
 
Old 10-22-2003, 02:45 PM   #7
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
I've got the firewall of SuSE. Do u know how to configurate the firewall? I've got 2 NIC's, eth1 is for the LAN andeth0 for the internet.
 
Old 10-22-2003, 03:23 PM   #8
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Firstly you should get any of windows program for port scanning and scan your samba host to see if the ports 137,138 & 139 are seen from Win box as opened. Since you are not familiar with firewall configuration it saves your time if it is not a problem with firewall settings.
 
Old 10-22-2003, 03:49 PM   #9
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Do u know how big such a program is, because the Linux box is connected directly with the internet. The win box isn't. So if I download the program, I can't get it on my win box.
 
Old 10-22-2003, 04:10 PM   #10
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
I've used SuperScan. Exe file is 96kB. You can use floppy for transportation
 
Old 10-26-2003, 06:20 AM   #11
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Hi Dorian33,
sorry for this late reply, but I hadn't had the time to check the ports. Now I've tried it and port 139 is open. I've turned my firewall off, but I still can't see the linux box in the win box.
Pinging the Linux box is actually working. I can use the IP-adress as well as the hostname.
Do u have any ideas?
Greetings
 
Old 10-26-2003, 06:33 AM   #12
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
I understand you can't see the samba server in Win box Network Neighborhood. Well it is not important now.
Try to map samba server from the Win box using the path \\<server name>\<shared resource> (for instance \\MYSERVER\C and post the Win message you getting if it fails.
Map can be done (I can be wrong since I don't not remember) via My Computer-> Map Drive ...
Try also Start-> Find Computer ->..... using above full path.
 
Old 10-26-2003, 02:16 PM   #13
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
If I try to map \\linux\home\nils I get the error message "Cannot find computer or share". (Something like this, because I don't use an English Win version).
 
Old 10-26-2003, 05:16 PM   #14
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
You've made mistake: '\\linux\home\nils' is a share seen by linux OS not samba.
The samba share is declared in '[ ]' bracket in smb.conf file and (probably) points to '\home\nils'
BTW: the '\\linux' name is probably also incorrect since the server name is declared in smb.conf file - section [globa] key 'netbios name'.
Read samba manual, please...
 
Old 10-28-2003, 10:39 AM   #15
Hoolie
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Finally the network is working. I simply used SWAT and it worked. My next concern will be to share internetconnection from my linux box. I'll go and take a look at it. Dorian33, thanks a lot!!
 
  


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
using ubunto with MDK and W98. d1l2w3 Ubuntu 0 05-19-2005 08:58 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Linux access from W98 in dual boot. deucedlt Linux - Newbie 1 11-08-2004 07:24 PM
Newbie install MD 9.1 - W98 Remote Mandriva 2 09-29-2003 01:58 PM
can't boot linux after installation on dual w98 threadx Linux - Software 1 10-08-2001 10:44 AM

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

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