If you're running samba server on your Slackware box on a windows network / domain, and you don't want it showing up on the windows computers network neighborhood browser, there's a couple of things you have to do. First, add the line:
disable netbios = yes to the global section of smb.conf. This didn't work for me so I also figured out the next step:
Second, edit the rc.samba script and remove the references to starting or restarting nmbd.
In this line: if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd -a -r /etc/samba/smb.conf ]; then
Remove the reference to nmbd (underlined above) so it looks like this:
if [ -x /usr/sbin/smbd -a -r /etc/samba/smb.conf ]; then
Then comment out with a # this part: #echo " /usr/sbin/nmbd -D" # /usr/sbin/nmbd -D
and add a comment # mark here (right before nmbd)
samba_stop() {
killall smbd # nmbd
underlined above, then restart samba or reboot. The first step may not be necessary if you make the changes to rc.samba but I did both and that took care of it.
I have a fileserver that I want to share out samba shares. However, i configured samba to have another netbios (SAN) and my windows box still sees whoopn-SAN which is the name I gave to my server when i installed it. Now I am using 9.10 and I know that i can create a share from the gnome gui in nautilus and that appears to be a windows like share. How can I turn OFF the windows like shares that ubuntu does out of the box and use ONLY samba? I ask because there appears to be a conflict of permissions b/w samba and this stuff.
I have an ACER Travelmate 32600-4542. The original OS was windows XP. I installed Linux Mint 10.0. I ran that a little while and for some reason it wasslow and would occasionally freeze for a few seconds at a time. I got sick of that andid a clean install of Slackware 13.1. The problem I am having now is the wireless won't come onI try to switch the power switch and it will not turn on. I am fairly new to Linux and don't even know where to start to find out why it isn't turning on. I didn't have any problems with it turning on with Mint.
I'm trying to turn on the system bell (pc speaker) in xterm. I have the bell working in console (text mode, not under X), and with X running, even firefox can use the pc speaker (it beeps, when I enter a search term which is not found). Only xterm doesn't seem to work.
Here is my xterm config, and the xset command I'm trying to use to turn the bell on: -------###-------- xterm*renderFont: true xterm*faceName: Terminus xterm*faceSize: 12
xterm*background: black xterm*foreground: white !xterm*highlightColor: red xterm*charClass: 46-47:48
xterm*visualBell: false -------###-------- xset b on xset bell 100 1000 1000 -------###--------
If I run xterm with the +vb option, it doesn't help either (I'm testing it with printf "a"). What am I missing? How can I make xterm use my pc speaker as bell?
I once had wicd running at KDE startup as I was just playing around with it. The problem is I now have turned off rc.wicd and don't want to use wicd any more. Every time I start KDE it still asks for the root password which I cancel and it then tells me it can't connect to wicd's dbus. This is getting really annoying as I have been trawling through my ~ looking for the setting that starts this up. I just want wicd turning off completely and this message to go away.
i currently use Slackware 13.1 64 bit. when i want to get back to console after use "startx" command, my monitor suddenly off and would not turn on until i restart my computer. so i could never get back to console when i've started x window.i use ATI HIS HD 5670.
I recently upgraded the hard drive on my Fujitsu N3530 notebook to WD Scorpio Blue 500 MB, and created a dual-boot configuration with WinXP, installing 32-bit Slackware 13.1 from DVD. Grub 0.97 bootloader is installed on superblock of root partition. Running KDE. Using the generic kernel with appropriate initrd for ext4 filesystem on root partition.
Everything runs fine so far, except the computer won't power off the computer. I've tried using the KDE shutdown, and shutting down from command line - same result. Also same result if I use the huge kernel or the generic kernel.
The last message I see is: Remounting root filesystem read-only. /dev/sda3 on / type ext4 (ro) Power down.
... and then the shutdown process stalls and I have to turn off the computer by pressing and holding the power button.
This is the first time I've installed any Linux OS on this notebook. I have Slackware 13.0 running fine on a Thinkpad T61 with no poweroff issue.
From reading various posts, this looks to be related to ACPI. I tried adding "acpi=force" to the kernel line in menu.lst, but it made no difference.
/var/log/messages shows "acpid exiting" and then "exiting on signal 15" as last entries during shutdown.s.
I am using Slackware 13.1 on my Asus K40IN, I also use dual boot by LILO with Windows XP. In Windows XP I can reboot or shutdown by select Start -> Turn off Computer, or just physically push the power button, then the machine will shutdown. In my Slackware 13.1, I can physically push the power button, the machine show that it is switching to run level 0, and then it will power off. However, I can not turn it off or restart my machine by the command (run "halt" or "reboot" as root), it show identical things like when I physically push button, but when it turn to status "Restarting machine" or "Turning off machine", my computer hang there, it does not power off machine or restart it. Is there any one experienced this situation? What should I do to fix it?
At the CLI, I want to know how to get a netbios name from an IP address. It seems that every solution that I have found is windows based, or requires me to install something beyond samba. is a simple "prog-x -somearg 192.168.1.100" or similar to get the netbios name - and that it doesn't require a reconfiguration of my server?
For instance, I would like this to be usable on a desktop system in an ad hoc without having to be run from root.
I have been beating my brains out the last few days trying to get my linux box to ping my Pc's via the netbios name. (ping pc_name) I have read post after post with no luck at all. What i do know is that my pc's can ping the linux box via netbios name with no problem. Samba works from the pc's but not the other way around. I have added wins to my host in the nsswitch.conf fileMy smb.conf file:Quote:
global] workgroup = OFFICE server string = Samba Server Version %v
I have these two ports open for some reason. netstat says they're attached to 'smbd', but when I look at packages installed and search for smbd the only thing that comes up is samba4 which is NOT installed.
I'm guessing some other package installed this as a dependency. Is there anyway to find out what it was and remove it?
I'm having some trouble addressing computers by name. I've just upgraded most my my box's to Lucid, and it was all working fine, but suddenly stopped - not quite sure why, or what I did, but I need it to come back! At first I thought it was my old router dying (which it was) but a new router hasn't helped.
I've now moved DHCP from the router to my server, and that's working fine, giving out static IPs from MAC addresses, and so forth, but I still can't address anything by name. My server is on 192.168.100.1 and called myth-server, if I
In recent days, (today is September 18, 2010) I've been surfing the web trying to learn how to access nodes in my soho lan by netbios names instead of having to connect through the ip number, because ip's change every time according to DHCP assignments. I do not know what has happened to the "new" command mount.cifs, but things seem to have become a bit more complicated with the new version. Security problems, they say, and surely that's the reason.
I show here an automated way of loging into servers by netbios name instead of having to resort to the use of IP numbers, hosts files, wins servers and all that jazz. This is especially useful if your soho lan have five or more network nodes, and you do not want to go finding out the ip numbers assigned to the machines you want to connect to (temporarily or permanently).
This output is piped to gawk to isolate the line containing <00>, and gawk outputs the first element (print $1) of that line, which happens to be the ip of the server ServerName. I tested the script in my soho network, which now has Linux, Windows XP and Windows 7 nodes, and it worked perfectly for both tipes of servers.I'm using GNU's gawk, but I'm pretty sure that awk would do the job just as well.
LAN CentOS 5.5 Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20) Workgroup: Cake No WINS server No Domain No AD
Goal
From CentOS 5.5, have
# ping AwesomePC
resolve to a ping on 192.168.1.20
Problem
# ping AwesomePC
resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers
ATTEMPTS
Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast
Does # ping even care about samba? How can I get this to work?
I've had my FC11 x86_64 installation up and running for 6 months. Until a week ago, I was able to mount windows shares through Nautilis using their netbios names. About a week ago, this all broke with no tinkering on my part. Now, I can mount the shares using the IP address, but not using the netbios name.
When I make he attempt either from scratch or by using a previously working bookmark, I get "cannot display location "smb:\..." When I browse the network using Nautilis I can see the workgroup, but when I try to open it, I get "unable to mount location. Failed to retrieve share list from server." When I use nmblookup with the netbios name, the correct ip adress is returned.
The problem seemed to correspond to a software update that occurred on 2009-11-21 that included updates to selinux-policy and selinux-policy-targeted. SE Linux has the System Default Enforcing Mode set to disabled. The system default policy type is set to targeted with no other options available.nsswitch.conf file appears to have been changed on the same date, but reverting back to the backup version of the file failed to solve the problem. Samba is up and running. My linux shares are accessible from my windows boxes. The firewall is open to smb and smbclient.
I am on a 172.16.x.x network with about 60 Windows XP home and Vista home clients in a peer-to-peer workgroup that uses DHCP to assign addresses. About half the traffic on my LAN is netbios broadcast. I do not want to do a WINS server because I do not want to have to manually change the registry on every machine. This is only for local name resolution and I do not have any web servers or e-mail servers. I do not have access to a Windows server to use as a DNS server. I am on Debian and using BIND but am open to other suggestions.
I have Ubuntu 9.04, and a HP laserjet 1018 printer.
I install the printer using:
And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)
well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.
I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?
Up until a couple days ago, samba server worked perfectly. I don't remember doing anything with it except adding another share or two. I can still run SWAT, even from remote computers, but I still have the problem of starting the samba server itself.
#./rc.samba start Starting Samba: /usr/sbin/smbd -D /usr/sbin/nmbd -D #./rc.samba restart smbd: no process killed
[Code]...
After issuing the "start" option, I go into SWAT and the status page says samba's not running.
How do I get samba shares to work in Dolphin without having to download the entire file before VLC loads it? I just want to watch a movie from my samba share, and it won't just stream the file.
I've tried installing Smb4k from slackbuild.org, but it doesn't seem to be working correctly either.
I'm running slack64-current.I setup samba to share a printer on my home network. I can print to the printer locally.The printer is visible on the network. However when I try to print anything on the printer via samba (or cups for that matter) from either the local machine or the remote machine, everything acts as if the job went through, but nothing happens. I'm sure I've seen this before on another slack machine that is currently unavailable, but I can't remember what the answer was, and I'm trying to be more precise with this setup so that I actually learn something.
smb.conf PHP Code: #======================= Global Settings=====================================
Dolphin will only open Samba shares if I open them by typing in smb://SERVER-IP. It also does not show up in the Network section of Explorer under Windows 7. How do I fix this? The only Samba share icon that shows up in Dolphin under Network --> Samba Shares is Workgroup. If I click it it changes smb://workgroup, but then it does nothing and shows no files. Here is my Samba server's smb.conf file.
needed was working either out of the box or with the addition of a few slackbuilds from Slackbuilds.orgOne or two problems which I will make separate posts for :Problem with the samba client - my home server has a large samba share on it that I need to access from teh laptop that is running 13.1. If I type smb:/ into the dolphin or konqueror address bar, I get to see the network and the servers. I even see the shared folder on the server. However, on trying to open this folder I get : Quote:The process for the smb://<my-server-name> protocol died suddenlyI know that the server is serving OK, because from the command line I can do a
Code: mount.cifs //<same-server-name>/<folder-name> /<somewhere-on-my-filesystem> command and I can browse the shared folder from that <somewhere-on-my-filesystem> either at the command line
I need some expert advice here regarding the samba problem after upgrading. All data migrated with the appropriate permission. I transferred the /etc/passwd, /etc/shadow and /etc/samba/* files to the new server.
Previous working version (Slackware v11 - 32bits - Old Hardware) - samba-3.0.25a-i486-1_slack11.0 - XP Pro users are able to login and authenticate (NT DOMAIN) - Login script and file sharing with permission are okay too
Upgraded to (Slackware 13.1 64bits - New hardware) - samba-3.5.2-x86_64-1 - if the PC did not logoff, the file sharing and permission works fine. - If they logoff, they will not able to re-logon. - If I detach the PC from domain and then rejoin domain, I will be able to login to the domain, So I guess the samba configuration is working
I read it has to do with Machine Trust Account or something. - Can I convert or make samba 3.5 recognize the Machine Trust Account on the new hardware? - How can I check if the if the entry is successfully registered as machine trust account? I checked and found the 'machinename$' (example) in all three places /etc/passwd, /etc/shadow and /etc/samba/private/passdb.tdb. I see no differences on the one PC that I unjoin and rejoin the domain versus those old domain name join to the old hardware.
I have installed Slackware on MANY boxes over the years and SaMBa has always resolved hostnames via UNC (\slacksharename) on a local net, but I am now at a loss after trying this at home. A UNC to the share via IP (\192.168.1.123sharename) does work fine, but this is the 1st Slackware distro I have ever had problems with resolving a broadcasted UNC. Subnet is 255.255.255.0 w/ both machines plugged into a switch and they are "linked" fine and other versions of Slack worked fine... This is for a one-trick pony, SaMBa share only, but she is not doing tricks! My other Slack box 13.1.0 resolves a Windows 7 \hostnameshare request UNC fine on the same net. smb.conf (This is not the share I am going to use, but if once this works I can get a /dev/md mounted and shared with minor changes):
Quote: [global] server string = Server2 map to guest = Bad User log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 [Code]....