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 have also used external DNS servers just to eliminate there being a problem with 192.168.1.67 (which many other computers are using successfully).
When I attempt to ping Google just to see if it works I receive this:
Code:
If I issue a host command against google.com I receive this:
Code:
I had thought that host and the name lookup routine would use the same DNS server and it should fail on the host command as well as the ping, but evidently not.
I'm on 11.04 on VMware 4.1, trying to get name resolution working. I can ping by IP other systems including on the internet. The network manager Icon on top shows a wireless icon, but the 'Wired Network' is grayed out and below that says 'device not managed'. What can I do to fix this? The interfaces file has the auto lo, then below that iface eth0 inet static stuff... It doesn't work with or without the auto eth0 entries.
I have the nic set to DHCP and on my dhcp server gave it the mac address of the box to assign it an address, that is working.
I have been casually using Unix for about 20 years, but I've never really done anything beyond basic user things unless I had instructions/help.
I've set up an Ubuntu 10.04 system and it works great except for one thing. It doesn't resolve local names.
I can ping or access other systems by IP Address and I can resolve internet names with no problems, but it won't recognize any of the other systems on my home network.
The system is set up for dhcp and everything is defaulted from the installation. There is no DNS suffix or domain set up on my router.
At work we run DHCP. hostnames have the format: computername.city.mycompany.com
I have a laptop runing Fedora 13 and a desktop I use for backups, etc. My laptop is named copernicus. Desktop is named galileo. If ping either hostname from itself I get back the localhost IP address. If I ping the fully resolved hostname it tells me unknown host. The desktop is exporting an NFS share I use for backing up work data. I need the laptop to be able to resolve host names to mount the share since we use DHCP. The desktop is dual boot and if it is booted into windows my laptop can resolve the hostname properly. What do I need to do in Fedora to get it to register a hostname with the DNS and/or DHCP server? Should the domain and the search path below both say the same thing?
Here is resolv.conf on the laptop (I am at home). The desktop looks the same, except for a different nameserver. Both computers can resolve other hostnames, just not each other.
I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.
Here is what is weird: If I do a dig @8.8.8.8 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?
The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...
In my network my proxy / firewall (iptables + squid) works as dns forwarder. I needed to configure an url at my /etc/hosts in my linux boxes which are behind the firewall into the lan. I want my machine to look at its local /etc/hosts file before querying the dns to the firewall.
Despite I configured my /etc/host.conf this way:
My machine keeps resolving the name through the dns forwarder (firewall) and not from the /etc/hosts file first.
Is there any action needed after configuring /etc/host.conf? Any service to restart?
here are the steps that i have taken already to resolve and troubleshoot the issue. i can ping Google. i can browse the Internet i can browser the repo Index of / through my browser. i have insured that ipv6 is disabled through network configuration through yast.
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
I have some strange problem with dns resolving. I am working on computer and suddenly, out of nowhere dns resolving stops to work on my machine. Sometimes networking restart solves problem, sometimes not. It happens randomly two-three times in a week, and at random time. Network in virtual machine on same computer works perfectly even if dns resolving stops on host.
I have tried everything but I can't find what causes it. How can I troubleshoot to find out what causes problem? Ten minutes ago it happened again and I have solved problem with networking restart.
So I am trying to do a Ruby on Rails install on a Debian OS. It is proving most difficult. There isn't much help from Google since RubyGems is supposed to resolve dependencies for you, so you can just type "gem install rails" and it will install everything you need. But as it turns out, RubyGems doesn't want do. It keeps getting stuck on either the "rack" or "rake" dependencies saying it needs to either be installed or updated when it is there and has a new enough of a version. I even tried this as root and it didn't work.
I just installed a dual boot XP/Debian 5.0.4 setup on my Dell 5100 laptop. I now have constant problems with "resolving host" when using Debian. The connection when using a browser or downloading is noticeably slower than when using Windows or my Ubuntu install on my desktop. Also, whenever using the Debian install on my laptop, both it and my desktop, which both connect through the same Linksys router, constantly show "resolving host" (Chrome browser) until it just timeouts. Rebooting the DSL modem sometimes fixes it for a while (although it's still slow even then), but it eventually happens again. Turn off the laptop/switch to the XP OS on it, and the problems disappear on both the laptop and desktop. Is this a known problem for Debian 5.0.4?
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?
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'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 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 need to make an ISO9660 file from a directory, but some of the files have names that are logner than 37 characters. I could not find a way to get the long names preserved. I've tried various ways but in vain. "genisoimage -J -R -U -max-iso9660-names -o tst.iso cdroot" gets most close to the end, but not close enough!
I have three Debian systems running, along with several XP laptops, PS3 and two DirecTV systems. I use two of the three Debian systems as media servers, and the third is an older system mostly for playing around with. My home network is running fine with the following nuisance. The two newer Debian (Lenny) systems are <barney> and <mitzi>, the older is named <oscar>, running Debian Sarge 3.1. From either locally or remote login to <barney> and <mitzi> I can ssh into either of the other two systems, however when logged into <oscar> I cannot ssh by name to either of the other systems. e.g. ssh: mitzi: Temporary failure in name resolution..However, from <oscar> I can ping outside my network (e.g. ping www.google.com) with no problems.I can also ssh to the other systems via IP address, just not by name.
I've compared the /etc/ssh/ssh_config, /etc/resolv.conf, /etc/ssh/sshd_config and other files between the two systems and not seeing anything peculiar. arp, route, etc., don't show different behavior between the systems either.
I'm about to move a lot of folders from an older computer (sarge/etch) over to a newer with Lenny. But I get problems when I reach folders or files with names that contains nordic letters like øå. I'm using an external drive to move the folders. What is the easiest and best way to do this.
if i would know the terms i could search for it, so bare with my words: i got an old PC, and my ethernet-cables don't fit into its plug (port?). its a little smaller than the usual one. how is it called and what am i looking for (whats the name of the plugs which need to fit, whats the measure. all i could see is male/male and some voodoo stuff like RJ333 <-wrong.
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 installed RHEL 5 on my desktop a few days back. I want to enjoy movies in my new OS. Some one told me to install mplyer caz it plays any file. So I decided to install it. I issued the following command:
[Code]...
As you can see yum is not resolving the dependencies.