![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| who -r displays no output | maficdan | AIX | 0 | 04-21-2008 08:34 AM |
| Solaris - unknown hostname - how can I change hostname? | XNOR | UNIX for Dummies Questions & Answers | 1 | 03-29-2007 07:52 PM |
| Writing to a log file incorrectly | heprox | Shell Programming and Scripting | 5 | 11-19-2006 10:27 AM |
| Dual Displays HP-UX 10.20 | giftedone | HP-UX | 0 | 03-23-2006 12:36 AM |
| Dual Displays | Synbios | UNIX for Dummies Questions & Answers | 2 | 10-11-2005 02:46 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hiii,
in many of the linux machines i have tried this but the result is the same everywhere. if there are double letters in a hostname then that is displayed as single letter. e.g. if hostname is set to nepttune then login into the shell will display : NEPTUNE(admin)@/ [20] $ hostname nepttune NEPTUNE(admin)@/ [21] $ uname -n nepttune NEPTUNE(admin)@/ [22] $ even if i do ssh from some other then also it will not display correct hostname with double letters repeating but only single letter. any consequetive double letters are always displayed as single letter. but if u type the command "hostname" or "uname -n" then it will display the correct hostname. can anyone plz tell if there is any solution to this ? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hostname displayed incorrectly
hiii,
in many of the linux machines i have tried this but the result is the same everywhere. if there are double letters in a hostname then that is displayed as single letter. e.g. if hostname is set to nepttune then login into the shell will display : NEPTUNE(admin)@/ [20] $ hostname nepttune NEPTUNE(admin)@/ [21] $ uname -n nepttune NEPTUNE(admin)@/ [22] $ even if i do ssh from some other then also it will not display correct hostname with double letters repeating but only single letter. any consequetive double letters are always displayed as single letter. but if u type the command "hostname" or "uname -n" then it will display the correct hostname. can anyone plz tell if there is any solution to this ? |
|
#3
|
||||
|
||||
|
Your correct hostname is what is displayed on running 'hostname' or 'uname -n' commands. Are you using DNS for hostname resolution? If so, then it is probably a mistake on the DNS server.
|
|
#4
|
||||
|
||||
|
shamik, do not create multiple threads for a single subject. I have merged the threads.
|
|
#5
|
|||
|
|||
|
No,
we are not using any DNS for name resolution. I just dont understand how to solve this problem. |
|
#6
|
||||
|
||||
|
How do you connect to the server (via telnet/ssh)? Using the IP address directly?
|
|
#7
|
|||
|
|||
|
i connect to the server from my win xp machine through ip address directly using telnet.
|
|||
| Google The UNIX and Linux Forums |