czgu
06-13-2001, 11:10 AM
I installed RH7.1 but don't know how to set computer name (like windows) in linux.
|
Click to See Complete Forum and Search --> : how to set computer name in linux? czgu 06-13-2001, 11:10 AM I installed RH7.1 but don't know how to set computer name (like windows) in linux. hambleto 06-13-2001, 11:32 AM Go to the /etc dir as su and type pico hosts in here you can enter your host name(s) to the right of your ip address (127.0.0.1) I hope this helps some. Ben trekker 06-13-2001, 11:48 AM You can set it thru a GUI like linuxconf ("linuxconf" at the command line) or the Network Configurator ("netcfg" at the command line. You need to have root privileges for both. KumaSan++ 06-13-2001, 11:51 AM You can also type localhost followed by whatever you want to name your computer. ex. localhost tsuki or localhost tsuki.kuma.net Hope that helps a bit. Unruly 06-13-2001, 11:52 AM tmnios just answered this for me in the lno room on irc edit both /etc/hostname and /etc/hosts changing the hostname to what you want in /etc/hostname and the loopback (to 127.0.0.1) to the same thing. czgu 06-13-2001, 12:49 PM Thanks for the helps. The reason I ask for this is that I setup samba and can see pc-2 (linux box) from pc-1 (win98). But I can't access pc-2. The error msg was like can't find computer name pc-2 .... . I have added 192.168.0.2 pc-2 in hosts. I think like win98 network I need set identification for linux box, which I haven't done yet. I'm going to try linuxconf justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |