I have a ubuntu server running which acts as a firewall/dhcp router for sharing internet to all computers on the network. On the network i have my stationary computer (win7) and my laptop (macbook).The server has 3 nics installed.ETH2 for internet. ETH1 (192.168.1.2) for windows pc. ETH0 for macbook (192.168.2.2).I can share files no problems over the network. Between windows <-> server, macbook <-> server, windows <-> macbook.The problem i'm experiencing is that i can't seem to find either hostnames between windows and macbook. They connect to each other fine with the right ip addresses, but they can't seem to connect when using computer names.
On both the macbook and windows pc i can see the server and connect to it without using the ip adress.What can i do to make them see each other with their computer names? Is there anything i can install on the server and configure in order for it to work automatically?In osx you have a tab in the finder that says "shared" which shows the computers on the network and only my server pops up.The same in windows, i can only see the server but not the macbook.As said, it works perfectly fine if i use \192.168.2.2 (or smb://192.168.1.2 on the macbook) but i'd rather be able to connect via the computer names.Would also love if they could resolve automatically so when a friend connects to the network i'll see his computer name right from the start, without any re-configuration.
I am using DNSMASQ on a Debian 5.0.6. server. I configured DNSMASQ as DHCP server, and want it to answer local DNS requests. However, I am unable to use hostnames, and am forced to use IP addresses when pinging, opening a ssh shell on a remote server, opening a remote desktop to a windows system etcedtera.
Because I use DHCP, I can not hard code the ip addresses in the hosts file. How do I configure DNSMASQ so that i can use hostnames for computers who get their IP addresses from DHCP.
I installed fedora core 10 on my pc & now i have been trying to install samba. I dont have a network so i mount and use my dvd for installation. I lack exotic package management tools like apt or yum yet the system-config-packages tool does not make sense either. so am stuck with the rpm -ivh [package] command.
The issue however is that this command returns querries about missing dependencies when I attempt to install. So is there a way (switch) i can add to tell the rpm command to automatically check and solve these dependecies using the Packages folder on my mounted dvd? - because i believe all these dependencies are on the dvd.
I cannot ping any hostnames on our LAN /etc/resolv.conf has both name servers configured correctly. I can ping the IP, but can't ping the hostname. I know it's something really simple, just can't put my finger on it.
Every time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.
I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.
When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?
I recently set up an Ubuntu server computer (10.04) with the hostname 'morbo', and with a static IP address. With all my other ubuntu systems i can ping and ssh using their host names, like:
[code]...
i can't reach it via 'morbo.local' nor can i reach my other ubuntu systems from morbo by their hostnames. I have seen a 'quick and dirty' solution which might help here : [URL]... , but i don't want to have to add every system to morbo's list and morbo to every systems list, and because it works without manual configuration on all my other systems, i don't see why it shouldn't be possible here. Currently everything connects to one d-link router - does this mean it is the DNS server?
(although I'm running Solaris, I've posted here as I expect Solaris/LINUX is irrelevant) - more of a general network Q.I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and want to be able to refer to it by hostname when using Oracle tools on my laptop.Each machine can ping each other ok by ip address and curiously the Solaris PC can ping MARK-LAPTOP (I'm not sure how it resolves that?) - importantly the laptop cannot ping MARKUNIX.Now I could add MARKUNIX to my laptops hosts file but that would mean changing the file each time I boot up as the ip address for MARKUNIX will keep changing (DHCP).
Is there a way to refer to MARKUNIX without having to keep changing ip addresses and use DHCP? As I understand it the 192.168 address is private and is not really the 'real' ip address and as such can be manipulated(fixed?) even whilst using DHCP?Am I right in thinking that a static ip from my broadband supplier is the ip of my connection (router) and I'll still have the same private network referencing issues?What I've covered above pretty much is the extent of my knowledge of networking so bear that in mind please.
I have a strange problem with wireless internet connection. We have 3 computers, 2 of them with Win 7 and 1 with Ubuntu 9.10 + Win XP.
Now if all three computers are connected to the internet through wireless router, the computer with Ubuntu 9.10 frequently fails to resolves hosts using various web browsers. I have to disconnect and reconnect to the router to get internet back but it only works for a maximum of 1 minute before it fails again. If the 2 computers with Win 7 logs out from wireless connection then the Ubuntu 9.10 machine works just fine for long periods.
If i boot with Win XP internet works perfect even when the other computers are connected but i really want to use Ubuntu 9.10. The wireless chip is an Atheros 9285.
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 just installed Fedora 15 and while I can ping websites from the CLI I cannot access sites via my browser, I have installed it on my laptop and it is not presently connected to a network, just a single device connecting wirelessly via a home broadband line to the internet,
What entries should be made in my hosts.conf file, I have entered
Do I need to make entries in the nsswitch.conf file, At the moment it reads,
I have also checked the permissions on these 3 files and all users and groups have read permissions.
I have debian lenny amd64 with two network cards. I have had one and when problem started to occur I tried installing second, but problem still appear.
Quote:
Quote:
I have tried dnsmasq to solve problem but I failed, and that is reason why 127.0.0.1 is there.
With first dns:
Quote:
Same is first time with dnsmasq, but then it gets cached.
My local network works perfectly, and I am writing this with remote desktop from some other computer.
EDIT: The problem is more basic than dnsmasq. On testing to see if the nameservers are reachableCode:root@ps1:~# ping 218.248.255.146connect: Network is unreachablePost title pre-pended with [DO NOT REPLY] dnsmasq on a recent Slackware 13.0 install is not resolving. Usually dnsmasq "just works". I have tried all the problem analysis techniques I know and am stumped.
First the symptoms: Code: root@ps1:~# vi /etc/dnsmasq.conf
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.
My ip address is not resolving to the domain name. I have checked etc/host reboot and all but it's not working. I can't seem to find where to post my issue then I found you and you are on line
So I've been reading around a bit, and have found a few fixes for this Resolving Hosts problem, but none of them have fixed mine yet. Basically what happens is all browsers fail to load pages, pinging local network works, but pinging default gateway doesn't. Cannot ping external websites and cannot reach update or upgrade servers for ubuntu. All networking works as normal on all other PCs in house, as well as the windows 7 boot I have on my ubuntu PC.
What I've tried:Disabled IPv6 completely by preventing the module from booting up Manually setting network settings instead of using the router's DHCP server Changing DNS servers from ISP to Google public DNS to OpenDNS Buying a new ethernet card And a few other things I can't remember off the top of my head, none of which worked. From memory, all this just started happening out of the blue. I recently changed from Windows to Ubuntu, and was enjoying the switch but all of a sudden I couldn't get on the internet on Ubuntu.
Now, I'm not sure why, but I decided to ping myself. Not my LAN ip, but our router's WAN ip. It worked, albeit took a little while to return a response the first packet, but each subsequent packet after that was a normal speed (~0.5ms). The strange thing about this was that I found that for a few seconds after pinging myself, I could access the internet. After a few seconds though, it returns to it's resolving hosts self again, which another self-ping would fix.
Consequently, in order to browse, I have an open terminal constantly pinging myself which appears to be working. Not ideal, and certainly not something I would like to keep doing for long, but it works for now. I really like Ubuntu, but if I can't get this net thing fixed, I can't finish moving over from Windows!
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...
I had configured Squid in RHEL 5 and facing an issue with pinging. Not able to ping any website,hostname is resolving to ip address but not able to ping
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?
I am working behind an ISA Server proxy in a windows network. I have an Ubuntu 10.04 without have it added to windows active directory domain.I have configured Ubuntu network proxy, and everything works fine ..but:I can't ping, host, nslookup & most important I can't wget (wget: unable to resolve host address) from the terminal. I have read lots of forums and I tried to resolve the issue but I failed.Also before I had in the same network Ubuntu 9.04 (in another pc) and wget was working fine.
I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.
I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.
I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.
Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.
Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.
I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).
We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.
Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's
After installing FC11 on my Mac Mini intel terminals, I noticed the network config GUI is completely broke, So I continued with a hand configuration.
Everything seems ok eth0 is up , it has the correct IP, DNS and default gateway, but browser quieries take forever to load.
E.g. if I type Google in the browser it takes about 20seconds before it loads the page.
To add insult to injury, I have a 16Mbit/s Down 2.5Mbit/s uplink. the other 10 or so rackservers on the network responds fast, so it is nothing to do with the network or connection. They all run FC7-9.
The problem is squarely with FC11 and must be some bug not reading or resolving DNS correctly. Anyone have an idea how I can figure this out with FC-11.
It seems to be the worst FC distro.
I generally was happy with all FC6-9, but 11 really sucks (the ppc version wont even install on my ppc terminals)
That the Mighty Mouse Wireless, worlks out of the box is very nice though, but that is all.
I recently assembled a new computer with both Windows 7 boot and Ubuntu 11.04 boot.For some reason, I can not resolve domain names at all on in Ubuntu while Windows 7 works just fine. I'm wondering if I have improperly configured my network settings. I am trying to configure this machine to have a static IP on my network of 192.168.1.3..The machine definitely has its network card installed properly and in Ubuntu I can access numeric ip addresses anywhere via browser or ssh.When I type in "google.com" in a browser I get an instant 'server not found' error page.
Anything that is described in my hosts file seems to work just fine. I can ping my router which has a LAN IP of 192.168.1.1 just fine with no packet loss.Also, I am unable to access this machine via ssh from any other machine on the network.
What is the general feeling for the case of hostnames in Linux/UNIX, is it preferable to have them in lower-case or upper-case? I have always preferred them as lower-case but I am interested to see if there are any arguments for or against this practice.