Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
What is the 1st step to making this happen. I am using SAMBA with SWAT. Ethernet is configured correctly on both I assume as they are both sharing my cable modem. On my XP box when I choose networking and then view workgroup it only shows itsef and not the linux box~also it does that REALLY slowly. Please lemme know what I need to do if ya have some ideas. Thanx
i think the problem of being too slow is trivial as i too have experienced the modem problems in XP
however although both windos and linux may share the same cable modem u should check the ethernet configuration..it may be faulty or it may be still default.
bi
kimi
If you are talking about Network Neighborhood, then no Network Neighborhood uses Netbios protocol to communicate. Linux without Samba doesn't speak Netbios.
Samba has a second daemon (nmbd) that makes a linux box speak netbios. This has to be setup correctly in order to communicate this way.
If you want to ensure that the 2 boxes can see each other on the network, then use a command line utility like ping. This uses ICMP which both boxes speak fluently.
First open up console and type su. Then type smbd and nmbd. smbd is a SAMBA daemon and nmbd is a naming service daemon for SAMBA and its programs. You should be able to see both computers. If the Windows system isn't sharing anything or sharing protocol isn't installed. The Windows system will not show up in the list. If you haven't changed the smb.conf file, SAMBA will not show up in the list. I suggest you remove SWAT. SWAT can screw up the smb.conf file. Use a text editor program like vi, emacs, pico, etc and edit the file by hand. Its not that hard to add or make changes to that file. The smb.conf documenation on SAMBA site explains very throughly. In the smb.conf file you may need to change security=user to security=share for testing. Then you can change it back. You also need to add users to SAMBA for Windows users to access your linux system that are shared. If you have a router and wan blocked is enabled, you can have security=share all the time and you don't need to add any users to SAMBA.
kimi, use a router. If that doesn't work, replace the cables. Sometimes wires may been stretch so much they lose their propertise. This can slow down the network to a crawl. Also if you have apple computers on your network. Disconnect them and see if your network is better. Apple computers uses a different way of sensing traffic on the network than x86 systems. Use tcpdump and traceroute on your linux system and see what the results come up.
Thank you soo soooo much for your help. I think I am begining to understand it now. I uninstalled SWAT and I did a ping to see if it could see the other IP and all worked. You said something about windows not showing up in the "list"? What list is that? Is there a command in bash to see other computers on a wrokgroup? Also how do I run traceroute? Thanx again all!
One other small question. I do not really know many of the konsole commands very well. For instance how do I shut down smbd and nmbd? And how do I log in as root if it is set to automaticaly log me in as a user (It won't let me save my samba.conf file). Is there a website or a good book I can get to learn this stuff? Thanx again!
Also try learning vi. Its included in many LINUX than other editors. VI is used in older UNIX systems too.
I don't know how to close those daemons. You can run the kill command. For example, kill -9 PID#. For PID# is the PID# of the service being run. There is a way to search for smbd and nmbd, but I forgot it. Then run the command above and don't forget the pid# and -9. Read man pages on kill for more information.
After hitting my head on the desk, I think typing
ps ax | grep smbd
and
ps ax | grep nmbd
may give you the PID#.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.