Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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.
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
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.
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).
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...
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.