LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-16-2004, 04:05 AM   #1
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
change computer name


hi

how do u change the name of the machine in mandrake (i'm running 10.1)
i skipped over the network setup by mistake on the install and can't find where to change it now

thanks

graham

Last edited by imagineaxion; 11-16-2004 at 04:35 AM.
 
Old 11-16-2004, 06:02 AM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
You could change this in the Mandrake Control Center, or you could open up a terminal and use the 'hostname' command to change it manually.
 
Old 11-16-2004, 02:47 PM   #3
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
hi

i tried that but it didn't seem to work
Code:
hostname psyserver
i also read the info for hostname and it said something about changing it in the /etc/hosts which i did
i then rebooted to make sure but nothing had changed.
at the command line it still displayed graham@psychedelic and when i typed 'hostname' it still came back with psychedelic

this above is on my server which i decided to change as well. the original prob was on my laptop where i didn't have one at all and came up with some random number (i thing it was the last section of its ip address) but anyway i used the hostname command with the name i wanted and after reboot it just displays localhost not the name i wanted.


i also can't for the life of me find where in control panel to change this

thanks

graham
 
Old 11-16-2004, 08:04 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The hostname is usually associated with the first ethernet device (eth0) on your system.

Go into the networking tabs and change it there under the MCC as required.
 
Old 11-17-2004, 12:36 AM   #5
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
ok thanks opjose i found it, changed it and it worked

now while we on this topic how do i change the workgroup or atleast domain name of the machine/network

thanks

graham
 
Old 11-17-2004, 01:31 AM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Workgroup and domain name are two totally separate things, usually.

Microsoft has redefined what they mean by "domain name" to be a bit more in line with INTERNET domain names, but Microsoft domain names refer to a local grouping of computers dominated or controlled by domain controllers.

Internet domain names differ from Microsoft's weird definition and attempt to usurp the term domain name...

A workgroup is a grouping of peer machines which usually use net bios mechanisms to communicate with each other....

Ok enough of the drivel by me...

Linux uses Samba to communicate to remote Windows machines. For Linux to be a member of a MS workgroup, your machine must be running Samba in server mode.

If your machine merely needs to provide access to Windows shares, Samba can run in a pseudo client mode. The latter can be controlled via the KDE control panel plugin (BTW: If it is not present update your KDE install via the repository and it will appear...)

The KDE pluging only controls remote windows machine browsing though, but it does request the "credentials" which you wish to provide to the remote machines.. which consist of username, password, and workgroup.

There are also Samba wizards for the MCC which will do the same thing but they are not installed by default. Again setting up the URPMI sources and performing an "urpmi wizards" will provide the missing modules.

You can also utilize Samba's own built in SWAT web interface, Webmin, or at worst directly edit the /etc/samba/smb.conf file to reflect what you need.

I prefer the latter as it gives me better control...

If you run Samba as a server, it can behave as a DOMAIN CONTROLLER for a Microsoft Winblows DOMAIN, which is very different than internet domains.

Now if when you speak of domains, you are referring to internet domains, this too is related to the eth0 device. Not only is the machine name defined around the first ethernet interface, but also usually is the default internet domain membership....

Remember though that with a machine directly connected to the internet, you really cannot just make this stuff up, as neither can you do this with IP's.
 
Old 11-17-2004, 07:33 AM   #7
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
thanks

i have smba setp already and i do want to set up a domain(i have a registerd .com) but i will start a new thread if necessary for that. i think i have a bit of reading to do before i go there.

thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change computer name l23x4 Linux - Networking 8 07-17-2005 10:47 AM
how to change the name of the computer greghua Linux - Software 2 05-24-2005 08:35 PM
how to change the computer name? leduytien Linux - Software 7 02-01-2005 08:03 AM
How do I change the computer name ?? jadermf Linux - Software 4 03-18-2004 05:35 PM
How to change computer name? tied2 *BSD 3 09-14-2003 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration