Software :: Need Command To Show Host Name / IP Address
Jun 16, 2010I need a command that can show me the HOST-NAME as well as ip-address in a single stress.
View 4 RepliesI need a command that can show me the HOST-NAME as well as ip-address in a single stress.
View 4 RepliesWhat is the command to show the host name of the ip address?Suppose, I've an ip address like 209.191.122.70, now I want to know its host name.What is the command for that?
View 7 Replies View RelatedHOW TO GET THE IP ADDRESS OF HOST IN LINUX WITH USING OF HOST AND NSLOOKUP COMMAND and after getting the ip address how to assign it in the variable
View 4 Replies View Relatedcommand to show the luns mapped to redhat enterprise server 6.1 host. And how do i known the WWNN for the FC HBA attach to the host.
View 6 Replies View RelatedI want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.
View 1 Replies View Relatedmy problem is when iam typing
a=host test.com
echo $a
output
test.com has address 17.108.43.86
now i want to print only address (17.108.43.86) and don't want to print this line [[URL] has address] how to do this
I am setting up a server, with a static IP address. I thought I did the setup correctly, including setting up the static IP address. When the system restarted, I saw a message flash about some other host already uses address 72.86.26.xxx
Then, once logged in, I got a system message: System is not receiving updates, check network connection.
I went to System: Network Configuration, and under Devices, I saw:
Inactive Device: eth0
I clicked on activate, and I received the same message: some other host already uses address 72.86.26.xxx
The file /etc/sysconfig/networking/devices/ifcfg-eth0 reads:
#realtek Semiconductor, Ltd. ...
DEVICE=eth0
BOOTPROTO=none
BROADCAST=72.86.26.255
[Code]....
I am using Fedora 7 in my server. Currently windows server 2003 (Active Directory integrated with DNS) is running. I want to switch my DNS to Linux. In my small organization there are only 20 users using static IP address and the IP are mostly permanent. so should deploy name server or I just populate eateries in /etc/hosts file ?
View 1 Replies View RelatedThis is a fun one (x used in place of real IP's and hostnames):
Code:
$ host 134.174.xxx.xx
xx.xx.174.134.in-addr.arpa domain name pointer xxx.xxx.xxx.com.
$ host xxx.xxx.xxx.com
[Code].....
a friend created an IP address for me.where do I find the Host in Linux in order to put the IP address.
View 2 Replies View Relatedif we wish to know who connect what time and from what host or ip address and logout and what he did, or what was activities.
View 9 Replies View Relatedi wanaa to config tlenet server and did the steps to enable it
but when i try to connect to server this error show :
telnet : connect to address 10.0.0.100 : No route to host
telnet : Unable to connect to remote host : No route to host
[URL]
If I have a dnsmasq server and it dished out a IP address that I don't want it to and it still gives it to my machine no matter how many times I restart windows and issue ipconfig /renew|release or enable/disable the adapter, how do I force it to give my windows machine an IP I want it to have?
The only way I've accomplished this in the past is by rebooting my slackware system.
Having a problem in my awstats, I'm a little lost to were to edit the config file to show all IP's and host so far its only showing up my IP and the PC's on my network and nothing else.
View 5 Replies View RelatedI am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?
View 3 Replies View RelatedAt 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.
can any one post the "Java Program to Display IP Address and Host Names in Wireless".
View 9 Replies View Relatedthis issue which has suddenly occurred on both my Desktop and my Laptop. When I try to configure an IP address to any interface I get the following error....
uadmin@Ubuntu:~$ ifconfig br0 addr 192.168.10.1/24
addr: Unknown host
ifconfig: `--help' gives usage information.
uadmin@Ubuntu:~$
I get this for ethernet interfaces as well. I do not understand what is different as I was able to configure the ip address only the day before yesterday on the laptop..? The Desktop has had this issue for about 3 weeks now.
br0 Link encap:Ethernet HWaddr 32:70:40:91:06:25
inet6 addr: fe80::3070:40ff:fe91:625/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code]....
We have Verizon as our ISP with a dynamic IP address. We published our website but the IP changes frequently. How can we set Network address translator(NAT) so our website can be published regardless of IP changes? We don't have domain name and have no intention for one.
View 2 Replies View RelatedI changed my ip address to a static one. Hope did it correctly. Now when I try to ssh or sftp I get this.The authenticity of host '192.168.1.28 (192.168.1.2' can't be established.RSA key fingerprint is 6b:31:28:58:ee:2b:77:36:08:64:a1:33:85:3c:f1:1f. Are you sure you want to continue connecting (yes/no)?
View 2 Replies View RelatedI am using Webmin to access a database. I finally acquired a static IP address. After entering it into the allowed host for the PostgreSQL server, I still can't access it through the SQL Manager for postgres in Windows. It doesn't seem to actually make the change. I am the new person managing this database. The old person use to be able to just add an IP address and it would connect. Is there something I am missing that I may need to install?
View 1 Replies View Relatedwhen tring to install (AssaultCube, UrbanTerror) i get this: unable to resolve host address `dls.urt.voxel.net'
View 2 Replies View RelatedI believe that I need to disable the host check, I'm checking a public FTP service and ping is disabled on that FTP host. This is resulting in Nagios reporting the host as down, but the service shows as OK.
Is there any way to disable the host check?
So I'll try to be brief and to the point here: I've got a couple of C / C++ apps that communicate with one another via shared memory. These worked completely fine until.. well, about twenty minutes ago when I finished making some network card changes and suddenly, I've got a weird problem going on. At one point, Parent app waits for Child app to set a boolean indicating it's finished initialization. This worked fine the last time I ran this app up (a few days ago). But right now, the shared flag never seems to get triggered (I've added a printf("Waiting..."); in Parent app until the flag is set). All the code leading up to it being set in Child app seem to be running smoothly, so I tried spitting out the addresses of the shared memory locations. The addresses mapped by Parent app and Child app are different; this seemed odd, so I went back and wrote a simple miniature app that just opened a shared structure on my own box, and I get the same thing - different addresses - but the miniature apps work just fine.
Is it normal for a shared memory space to be mapped to two different addresses across two processes?
If so, does anyone have any idea what might be the issue at hand with my Parent / Child app scenario? The Child creates the shared memory, the Parent has a wait before it opens it, and if it doesn't exist should fail (opening with PROT_READ | PROT_WRITE)... it doesn't fail so it's evidently there.
All of this worked until literally just a few hours ago and I made some changes to my network cards, and I can't even imagine how that could have changed whether or not shared memory mapping worked...
So the problem is that phpMyAdmin does not want to connect to host name (at remote server) but connects to that same server fine if it's ip address is used. Command line "mysql -h hostname ..." works fine and connects to host name. Mysqladmin also works.
it's giving error:
*****
Error
MySQL said:
#2005 - Unknown MySQL server host 'host.name' (2)
******
I've disabled SElinux and temporarily disabled Iptables but no luck.
Somehow I feel MySQL is not doing DNS lookup when used by Apache/PHP. So it just understands ip addresses.
I found that on MySQL startup you can disable DNS lookup. [URL]
Not sure if it's disabled and how to enable it at startup. Could not find anything at "System" -> "Administration" -> "Services".
Here is similar case with no solution [URL]
I have UcLinux embedded linux. Hostname is updated in that machine. when I try to capture with MAC scanner tool the host name is not showing only IP address and MAC address is showing.Some IP phones are connected in the same network by which the hostname is shown in MAC scanner tool.how to go ahead to achieve the host name in the MAC scanner tool.
View 4 Replies View RelatedI've been for a while trying to configure my apache to host 5 domains as virtualhosts in the same IP address, but seems that neither one makes it through... it always takes first one, because it is the default:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin xxxxxxx@xxxx.net
[code]....
As you can see I tried the ServerName with the http://, in quotes, without it...
Writing a program that finds the IP address of a host name. Sorry forgot to include the line numbers, but where the $$$ is where the syntax error is. The errors are syntax error before "{" token and syntax error before "if". I've looked throught the code for a couple hours and can't figure out what's causing it. The code is attached below.
#define WIN
#include <stdio.h>
#include <stdlib.h>
[code]....
This should be simple, but the machines we ssh into don't seem to have the regular commands.Are there any other simple ways I can use to get my IP?
View 7 Replies View RelatedI have a Linux IPTables firewall on Centos 5.3.It has one physical interface to the internet and 2 internal interfaces to a DMZ and TRUSTED zone respectively.There are 10 virtual interfaces linked to the physical public interface.Emails are being sent from my server in the DMZ out to the internet, but it is being shown as coming from the firewall IP address.It must show as coming from one of the virtual interfaces.
View 4 Replies View Related