Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-06-2002, 10:00 PM
|
#1
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Rep:
|
The name of my PC
I seem to have the wrong name for my pc, i am trying to connect with NFS to my other pc and it doesn't work, i tried the IP, i tried the name and it doesn't work...
What is the name of my pc? i go to the shell and i see root@dhcppc2 is that the one? i tought so! but if i try the use the mount root@dhcppc2:/mnt/export /mnt/import it gives me that it is impossible to get the address for that name.
What am i doing wrong?
|
|
|
11-06-2002, 10:09 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Try leaving out the "root@" part.
|
|
|
11-06-2002, 10:13 PM
|
#3
|
Member
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306
Rep:
|
root@dhcppc2 = root is your username (you are logged in as root) dhpcppc2 is the name of your pc.
Btw: it is not a good idea to be logged in as root all the time if you have internet acces from that machine. Wth a silly misatke you can mess up the whole system, as user there is not a chance for that, and you are more secured when you surf the net.
|
|
|
11-06-2002, 10:16 PM
|
#4
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Original Poster
Rep:
|
Still impossible to get the address for that name.
|
|
|
11-06-2002, 10:57 PM
|
#5
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
do an "nslookup dhcppc2" from your other PC and see if if it can find it. if it cant then you need to do something to make dhcppc2 visible to the other.
1. edit /etc/hosts and add dhcppc2 + IP to this file.
2. if the dhcppc2 can be resolved by dns, then ensure your machines can see the dns server. (/etc/resolv.conf)
|
|
|
11-07-2002, 09:38 AM
|
#6
|
LQ Newbie
Registered: Nov 2002
Location: Florida
Distribution: Gentoo
Posts: 10
Rep:
|
How do you change the computer name? Mine reads:
root@localhost
|
|
|
11-07-2002, 09:47 AM
|
#7
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by Zwitterion
How do you change the computer name? Mine reads:
root@localhost
|
hostname name-you-want-as-your-host
man hostname for more options.
|
|
|
11-07-2002, 10:41 AM
|
#8
|
Member
Registered: Jul 2002
Posts: 109
Rep:
|
edit /etc/HOSTNAME ... or other location
|
|
|
11-07-2002, 11:27 AM
|
#9
|
Member
Registered: Oct 2002
Posts: 44
Rep:
|
Under Redhat:
vi /etc/sysconfig/network
...
HOSTNAME=whatyoulike
...
|
|
|
11-07-2002, 07:48 PM
|
#10
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
Quote:
Still impossible to get the address for that name.
|
What is the status on this? Were you able to get this working?
Post the solution if you have one, so that others can access the info.
--------------------
thanks,
Jeremiah
|
|
|
All times are GMT -5. The time now is 11:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|