General :: Unable To Connect Through Hostname?
Oct 7, 2010
I have configured one samba server. its working fine. the problem is whe we connect from windows machine , through ipaddress its connected. but i am not able to connect through hostname.
View 7 Replies
ADVERTISEMENT
Dec 7, 2009
When I try to connect different host by using ssh , its not working and throwing me an error "name or service not known" ssh usw3tvx@lalqau40ssh: lalqau40: Name or service not knownHowever I tried ssh with ip address, it works...
View 2 Replies
View Related
May 11, 2010
I'm trying to make an SSH script for my place of employment. This script, I want to go out to the server hostnames we have specified (in another file) and change a users account password. We use Kerberized telnet, so if telnet root hostname fails, I want it to use ssh username hostname and use the old password (specified). If both fail, I want it to ask the user what the port should be and input the port in the ssh command.
But I'm having a issue having it try telnet root hostname and if it fails then, try to ssh in, I have no clue how to have it proceed. Is it an if statement? Here's the telnet failed message: telnet: Unable to connect to remote host: Connection refused
View 7 Replies
View Related
Jan 3, 2010
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
View 7 Replies
View Related
Jan 21, 2010
the difference between $HOSTNAME and $(hostname)?
View 5 Replies
View Related
Jan 27, 2011
Here is what I am trying to do. I set up a Samba server on Ubuntu 10.10, which seems to be working (sort of).
I set it up using Webmin, which has always worked for me before.
I set up two shares, both of which are read/write and are allowing any hosts. And are set up using the default samba configuration that is provided by Webmin.
For privacy reasons I won't disclose the domains, but I will call them test.abc.com and xyz.com
I set up /media/mount as a share called [mount_a] and I also set up /media/mount_b as [mount_b]
The server's host name in my internal network is mount-box
I originally mapped it to a sub-domain of my domain abc.com via DNS, so that test.abc.com resolves to the IP address of my router; which has all the necesarry port forwarding set up.
In windows explorer in the remote location I tested it by using \test.abc.compoonani_a, this works fine and after a password prompt I can access my files. However, I do not want to use this domain name for this server, so I registered a new domain name and again via DNS mapped domain xyz.com to the IP address of my router.
Since setting up the new hostname, I cannot connect to it via Windows to access the samba share. It just won't work. When I try to connect the password prompt appears and I put in my credentials, when I submit it the window re-appears and it has appended the servername xyz.com before the username, so it reads \xyz.com<myusername>, but won't let me connect.
If I try again with the previous hostname test.abc.com, it works fine.
What am I doing wrong that it would let me connect with one hostname, and not another.
View 1 Replies
View Related
Jun 30, 2011
I couldn't connect my Micromax 300G modem in Debian Linux. From internet (in Windows Vista), I came across the information of USB_ModeSwitch and then I downloaded it. While going to install it, I came across the problem that TCL-interpreter is not available in Debian Linux. Then again I restarted my laptop in Windows Vista and connected my Micromax modem and from internet downloaded TCL8.5.10-src.tar.gz. But while going to install it, I came across the problem that " configure: error: no acceptable C compiler found in $PATH " . Also as presently, I am unable to connect my modem therefore I am unable to issue the code:" apt-get update ".
View 16 Replies
View Related
Oct 23, 2009
At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?
View 4 Replies
View Related
Apr 9, 2010
I've recently set up an Ubuntu server and from within the network I can do several things like: log in via SSH, transfer files via FTP, and remotely control Torrents from other computers. My end goal is to be able to access these services by using my dyndns hostname (example.dyndns.org)from an external network.
When I type my dyndns name in my web browser it opens up my router page. How would I set things up so that I can just type my dyndns hostname to point directly to my server, instead of the router page?
All computers are connected to a router which is connected to an ADSL modem, with automatically assigned I.P addresses.
View 3 Replies
View Related
Oct 31, 2010
Cannot connect to internet via Firefox or Midori on my Dell Inspiron 8200 laptop with a Netgear wireless card. However, I can update via yum, I can ping google from the CLI, I can ssh to my desktop, I can point a browser to find my router which /etc/resolv.conf points to, but can't get a browser to resolve hostname. I'm posting from a different machine (desktop), here is my /etc/resolv.conf:
[Code]....
View 14 Replies
View Related
Aug 1, 2010
i searched the internet on how to resolve IP to hostname in my internal network. However, i could not find any solution to it. Any gurus around have any knowledge on this? i have tried whois, dig and nslookup however it doesnt give me anything.
View 1 Replies
View Related
Apr 10, 2011
I've a little trouble: I reinstalled on my notebook OpenSUSE 11.3 yesterday and I'm unable to change the hostname. I modified it, but when I type on terminal
Code:
uname -a
it doesn't give the right answer but returns
Code:
host
I don't know where I wrong because I did this action many times with Opensuse 11.1 and 11.3 without any problem.
View 9 Replies
View Related
May 28, 2009
Yesterday, I had the problem where I would browse to linuxpc2 and it would send me to linuxpc5. Theses computers are on my AD domain (server2003), so I decided to set a dhcp reservation on the server and del /var/lib/dhcpcd/*.* This fixed 1 of the 3 linuxpcs that had mixed up or matching ip addresses. What is happening now, and I've never seen this happen before, maybe it's a server thing, I'm not a huge network guy, so here it goes... from the server I can brows with the explorer to linuxpc2 and all is well, it's IP is 192.168.0.150, but when I ping it, or do anything command line (ping linuxpc2) it pings the address 192.168.0.101 (it's old address). From a linux box browsing to smb://linuxpc2 shows me no shares, and ping goes to ...101 address. If I brows to smb://192.168.0.150, all is well and ping 192.168.0.150 is fine also. What could be causing this? only 2 of my 8 linuxpcs are doing this. all installed and configured within the same day using suse 11.1 and updated.
View 6 Replies
View Related
Feb 28, 2010
I have squid on my RHEL5 server and a no of windows clients ,on clients some sites opened without any error but some sites whilw opening says unable to resolve hostname ,why this kind of problem ?This may be DNS problem ,but it should happen for all address not some .
View 2 Replies
View Related
Oct 15, 2009
As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.
Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.
View 14 Replies
View Related
Aug 24, 2011
I went into Yast and disabled the SYSLOG service, ignoring the warning of which services would be affected, I went ahead anyway and stopped it. Sure enough, a handful of other services stopped as well.Now I have almost recovered the PC from this foolish mistake of mine, the only problem I seem to be stuck with is I am now unable to locate the computer on my LAN by hostname ... does anyone know which service I should restart please (if it helps, the computer can resolve DNS names such as Google.com OK)?
View 3 Replies
View Related
May 25, 2010
I just built out an Ubuntu Server 10.04.
My problem is setting the hostname. I cloned the machine, then normally on the clone, I would change the /etc/hostname and /etc/hosts file.
However, when I do this, upon restart, I get the message, "init hostname main process (some process number) terminated with status 1"Then, when the machine finally boots, the hostname is set to (none). Literally has braces like: user@(none):
I've tried: sudo hostname machine_name but it says can't resolve hostname (none).
I've Google'd around a lot but can't get it. It may have something to do with 10.04? I have been using 9.04, 9.10 with no problems.
eric@(none):~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
code....
View 9 Replies
View Related
Feb 11, 2011
I have a windows 7 desktop hardwired to my wireless router and a windows xp laptop connecting wirelessly on the same network. I am able to ping the windows 7 box by its ip address but unable to do so by its hostname. This is very inconvenient since I would like to set up a share by hostname (doesnt change) and not by ip (changes occasionally since its dhcp).
View 8 Replies
View Related
Nov 24, 2010
I did a new install of Fedora 14. This is my first time using Linux seriously and I am trying to figure it all out.
I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.
Here is /etc/hosts:
Quote:
I disabled the firewall, disabled SELinux, and still not able to ping it.
Here is the info from ifcfg-eth0 :
Quote:
Quote:
View 5 Replies
View Related
Jan 12, 2010
I used to configure hostname in the rc.inet1.conf, DHCP_HOSTNAME[0] option and the router was able to recognize the client name, but with Slackware 13 it seems that there is a configuration I'm missing.
View 2 Replies
View Related
Apr 30, 2010
I got my server set up with 10.04, and with everything installed: DHCP, SSH, Samba, VBox, etc.
DHCP, SSH work fine, but I am having problems where I cannot ping the hostname of the machine.
It worked for a few minutes after I got everything installed and now it's not letting me connect via hostname. I can connect fine if I use the IP address. I cannot ping the machine by hostname unless I add it's IP address to the hosts file.
View 7 Replies
View Related
Aug 6, 2010
I am updating all of the company systems from Novell SuSE Desktop 10 SP2 to 11. We have several links on the desktops of users that are URL's. In version 10, I just did a Create Launcher, Type was Link and I could type in a URL. The LINK type no longer exist. I checked on my system at my desk which is OpenSuSE 11 and it also does not have the link type. I have been searching on the Internet for creating Launchers and then looking for information on creating links and have not been able to find anything. Can anyone point me to a good howto or document on creating URL link launchers (we have a system that runs Apache and from the users PC they click the link to connect to the server). I tried just creating a bookmark in Firefox and then dragging the bookmark to desktop and customizing icon. But, I build the systems at our corporate offices, and when I build, the IP address on the system is the actual IP and since it is not at the final location it can not connect, and the bookmark creation on desktop fails with error 'Unable to resolve hostname'
View 1 Replies
View Related
Jul 29, 2010
I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.
Here's the not-so-quick-and-dirty description of the situation:
I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.
I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).
The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.
Every machine has an equivalent resolv.conf:
As an example, I will show the output of a handful of my development machines:
I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:
columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200
Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess
Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.
Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.
Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.
Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.
View 3 Replies
View Related
Apr 6, 2010
How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?
View 3 Replies
View Related
May 24, 2010
I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.
View 2 Replies
View Related
May 22, 2011
I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".
I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.
Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".
How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.
View 1 Replies
View Related
Dec 16, 2009
In my lan environment i've configured a server with rhel5 and a desktop with fc12.I was unable to ssh between rhel5 & fc12. when i'm trying to login through ssh i was getting following error
[code]...
View 3 Replies
View Related
Mar 21, 2010
I am unable to connect to the internet. I have Motorola Netopia DSL (NO router) and can't connect to the internet in ANY linux distro (openSUSE, fedora, slax, mandriva, simplymepis, mint, dreamlinux, ubuntu, ubuntu studio, artist linux). The only linux distro that works right away is backtrack linux 3. All other distro do not work including new back track linux 4 because in version 4 they switched to debian. My ISP is Bellsouth and they do not want to cooperate. I was told they do not support linux.
DSL shows internet and activity lights green but it does not connect.It seems to me problem is in eth0 because when I go to terminal and ifup eth0 it gives me can't assign requested address. I have dynamic DHCP and can't assign static address.I have 2 questions:
1.- How to connect to the internet?
2.- As I said above backtracklinux 3 works out of the box but doesn't have flash.How to install flash in backtrack linux 3 so I can play chess on Yahoo games and [URL]?
I run all linux distros from live CD/DVD from external DVD drive except fedora which is on C: drive.I did try to run already network devices, dsl configuration without any results If I can go to my modem thru browser address 192.168.1.254 I would be able to solve the problem but I always get message can't connect to server.
View 8 Replies
View Related
Jan 8, 2010
i am not able to connect to internet in red hat enterprise linux 5.2 but i have a connection in windows 7 and its working wid same settings..i have taken following steps:
1. neat-tui
2. entered the ip, subnet mask, gateway
3. vi /etc/resolv.conf
nameserver serveraddress
nameserver serveraddress
4. service network restart;chkconfig network on;shows every thing ok..
5. launch firefox shows the error message: address not found firefox can't find the server at [URL]
View 2 Replies
View Related
Mar 23, 2010
I have installed redhat linux on my laptop. Now I can not connected to the internet. I have wireless router at home. My other laptop works fine but not the linux one. do I need a wireless adapter for linux or?
View 1 Replies
View Related