rexec: getting host name

rexec: getting host name

Post by Jim Egerto » Tue, 06 Aug 1996 04:00:00



Hi,

        I'm using AIX with a PC desktop where the PC IP
address is allocated dynamically.  I'd like to start an xterm
through rexec from the PC, but can't figure out how to set
DISPLAY to point back at the PC.  I've seen how "who am i"
can be used from a telnet session to get the PC's IP address,
but this comes up empty if invoked from a script via rexec.  
I've gone through /etc/utmp and can't find an entry for the
rexec'ed process.  Any ideas how I can get the PC's IP
address from a process invoked via rexec?

please copy me on any replies as my news server has a
relatively short memory.

thanks,
jim

 
 
 

1. Can't ping the host name or host IP address from host.

Hello there,
I have the unusual problem of not being able to ping the machines host name
or host IP address from the host.
I've checkout the network settings and I can't seem to find any problems.  I
am able to ping & telnet to the machine
from the network.  Seems quite strange.

Any help would be really appreciated.

thanks,

Owen.

Here is output from ifconfig


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          BROADCAST LOOPBACK  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth0      Link encap:Ethernet  HWaddr 00:60:08:83:28:08
          inet addr:10.0.0.100  Bcast:10.0.0.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41411 errors:0 dropped:0 overruns:0 frame:0
          TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Interrupt:3 Base address:0x300



PING penguin (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote penguin 64 chars, ret=-1

--- penguin ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss


PING 10.0.0.100 (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 10.0.0.100 64 chars, ret=-1

--- 10.0.0.100 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

2. Recommended Patchset error

3. /etc/hosts (or NIS host map): official-host-name vs nicknames

4. ppp and chat

5. Host name, primary name, domain name...?

6. Unix sockets(Urget!).

7. HELP getting host names

8. Need Linux supplier in Chicago

9. Help! getting host name is impossible!

10. Help: getting error "httpd: cannot determine local host name"

11. HELP getting host names

12. getting entire host name or ip address