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.
I have to change any properties i windows system to get the shared file in linux system??? B'coz here, in the lan around 300 systems are connected. Samba server is running well.
when i type command "findsmb" on my linux system the output is:
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
Please tell me solution. i can't change 300 systems setting for shared files..
First of all, please select a title that describes your question or problem. Something like "Unable to see windows shares" would be descriptive. "Please help" is a turn off, and you will get poor responses, if any.
Second, it would help a lot for you to provide much more information about your question. I understand you are on a lan with about 300 machines, some windows and some linux systems. There is a samba server that is running well.
You did not state if you are running the findsmb command from the server, or from another linux machine. So it is not clear if you can not see windows shares form the server, or some other linux system. It also helps if you take the time to tell us the distro and version of the software you are running. It doesn't all ways fix anything, but it does save time and messages asking.
Now if you run findsmb from a linux system, and you do not give it a sub-net to search, it will search only the sub-net the linux system is on. Example, if your IP address is 192.168.0.2 only the 192.168.0.xxx machines are searched. If there are no smb shares there, then you won't list any systems. If there are know shares on 192.168.1.xxx sub-net, then a command of 'findsmb 192.168.1.0 shoudld search that sub-net and provide some output.
Your other question, as I understand it is, Do you have to change settings on windows shares to be seen in linux? The answer is no, assuming these machines are sharing on the network normally.
I'd never noticed the findsmb command, and -- on my FC6 system -- it doesn't appear to work:
Code:
$ findsmb
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
$ smbclient -L tss-1
Password:
Domain=[TSS-1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
E$ Disk Default share
K Disk
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
HPOffice Printer HP Printer 6200
C Disk
D Disk
O Disk
R Disk
L Disk
M Disk
N Disk
E Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
H Disk
I Disk
J Disk
Domain=[TSS-1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
I ran the findsmb command on my lan, it sees samba ( linux ) systems, but does not report any windows systems, even though I had an XP system running. Here is what I saw as root user.
Code:
findsmb
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-Debian]
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-Debian]
192.168.1.13 KNOPPIX +[ WORKGROUP ]
WARNING: The "printer admin" option is deprecated
Domain=[CLIFFSHOME] OS=[Unix] Server=[Samba 3.0.22]
Domain=[CLIFFSHOME] OS=[Unix] Server=[Samba 3.0.22]
192.168.1.22 PRESTO +[ CLIFFSHOME ]
Form my Mandriva 2006 system I can see one laptop booted on a Knoppix live CD and my Xubuntu system on another laptop. I can connect to the XP system, so I'm not at all sure why findsmb doesn't find it.
Thanks Dude for ur kind reply. pls stay with me till i am able to access shared files pls dude...........pls..............
My samba server is running and i am able to see samba server from another windows machine in NETWORK PLACES. Then how to recognize windows machines which are providing shared files? and how to access that machine?
Just a "heads up," chus 84: you never mentioned you distribution, but some distributions (e.g., my Fedora system) no longer use the smbfs, preferring the cifs type.
As to finding out which Windows systems on you network are offering shares, as I showed you, above, the smbclient command is able to do it for me.
Thanks to all who has responded to my problem. Now, i am able to access windows systems. But, the problem is that how to check the systems which are providing shares b'coz this LAN has 400 machines. Every time i am entering windows machine's ip address in address bar, that is the problem...i tried from konqueror it is showing an error message "Unable to find any workgroups in your local network. This might be caused by an enabled firewall." , i even tried by disabling firewall but no result and one more problem is that how to stream video and audio ...........I am using SuSE 10.2
Your last post is a little confusing. Let me see if I can help.
To avoid entering the IP address of the machine you want to connect to, you can create a /etc/hosts file. This is a plain text file with a list of ip addresses and machine hostnames. Here is a sample.
So if I want to connect to 192.168.1.23, I enter Snail in place of the IP address. If this file becomes too large and unmanageable, the network needs a DNS server. Of course that is up to whom ever manages the network.
In Konqueror, to find the workgroups, only enter smb:/ and press enter, don't specify any more. If there are workgroups to be found, and you have smbclient installed, you should get an icon for each workgroup. If you chick an icon, then the systems belonging to that workgroup should list.
If you get no results, SMB is considered a non routable protocol. That means routers do not forward the smb packets to other lan segments. Some routers can be configured to forward the protocol, but that is up to the networks admins.
You should start new threads for your audio and video issues.
Entering names is more or less like entering ip address, and i can't map all the system from 172.16.32.1 to 172.16.55.255. So, is there any other alternative in finding machines with shared files?
Once again thanks for ur reply. I hope soon i will receive solution from u.....thanks.......
Entering names is more or less like entering ip address, and i can't map all the system from 172.16.32.1 to 172.16.55.255. So, is there any other alternative in finding machines with shared files? like NETSCAN for windows.
Once again thanks for ur reply. I hope soon i will receive solution from u.....thanks.......
Sorry for duplicate messages net has disconnected.................
What happened when you entered smb:/ and pressed enter on Konqueror??? This is a way to do what you asked.
There are also a gui fronts end called 'LinNeighborhood' and 'Smb4K' You could install either or both and give them a try. If you are still not getting a response, I suspect there are router issues in the network.
Thanks, I have installed LinNeighborhood yesterday it self. when ever i click on scan entire network its getting closed.
Now about konqueror, when i opened smb shares folder initially it has shown an error message asUnable to find any workgroups in your local network. This might be caused by an enabled firewall., then after i have disabled firewall then i tried i got all the workgroups but i am not getting any machines belonging to those workgroups. I am not getting these workgroups every time when i open smbshares......
I just tried smb4k on my system, and got nothing until I edited the configuration to use smbclient to search for shares. I also specified a default Windows user id and password, since my local workgroup requires a a password for access, and our Windows user ids differ from the Linux ones, but I suspect that the prolem was the default search method.
Note: At this time my nmb service does not run correctly. That's because it's started during the boot process, and I'm on a laptop where the WPA connection is not activated before the boot starts smb. Since it doesn't impact my smb usage, I haven't yet bothered to correct it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.