LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-13-2004, 12:25 PM   #1
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Rep: Reputation: 15
Changing name from localhost


Is it necessary to change the name of localhost? If so why and how do I do it - Mandrake 9.2.

Thanks
 
Old 01-13-2004, 01:47 PM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
It's not necessary but you can in /etc/sysconfig/network and there's a file in /etc/sysconfig/network-scripts i believe.
 
Old 01-13-2004, 01:50 PM   #3
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
You can do it from the network card setup. Be warned that you might have to go in and edit /etc/resolv.conf too. If you have dhcp set up, you can use the name assigned by your dhcp server too (I think that is an option on the net card setup).

If don't care, you do not need to change it. It is just the default name of your computer.
 
Old 01-13-2004, 02:24 PM   #4
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Thanks.

While I'm at it. I'm setting up a samba server for my windows xp machines. The server is seeing the different machines but I am not able to access. This would be my first network setup (windows or linux). If you could offer some advice that would be great. So far..

Samba running
Lisa daemon running
I can see the xp computers but all prompting for a password when accessing.
I want to use the server as a test bed and file sharing - windows machines
The samba server is in a novell environment - all xp machines are logging into a novell server. I don't know if this is an issue???

Any input would be helpful
 
Old 01-13-2004, 03:51 PM   #5
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Oh one other this I'm trying to get swat to work. Did a /sbin/services swat restart to see if the service was started but the swat service cannot be found. How can I get swat to activate and is there another webadmin out there?
 
Old 01-13-2004, 09:54 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,705

Rep: Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378
Is swat installed? And is it configured to run as a service?

smaba uses the computer hostname as the network name of the computer. localhost is not a legal network name since every TCP configured computer has the localhost name assigned to the TCP/IP (127.0.0.1) loopback interface. You can add an entry to the smb.conf file
netbios name=<Any_name>

Be sure to restart samba for changes to take effect

You can change the hostname of the computer by editing the
/etc/sysconfig/network file and change the entry for hostname.
 
Old 01-14-2004, 07:36 AM   #7
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
It doesn't seem like swat is installed. Is it a part of samba? I running samba 2.27 - Mandrake 9.1 and samba 2.28 Mandrake 9.2 on the other machine (my laptop for test dummie purposes). Is swat a part of the install discs that come with the OS?

Thanks
 
Old 01-14-2004, 01:26 PM   #8
shea1roh
Member
 
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Rep: Reputation: 17
Quote:
Originally posted by jbraum
Is swat a part of the install discs that come with the OS?
It is available on the install discs, but is a seperate option so must be checked. In other words, it does not install by default with Samba.
 
Old 01-14-2004, 01:51 PM   #9
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Thanks, I'll see if I can install off the disc.
 
Old 01-17-2004, 02:04 AM   #10
Jamesnslater
LQ Newbie
 
Registered: Jan 2004
Location: Loving, TX
Distribution: Mandrake 10.0, Slackware 9.1
Posts: 10

Rep: Reputation: 0
I had a similar problem

I found a file called list under /etc/netprofile
it lists all the files used for networking
mine looks like this
/etc/hosts
/etc/isdn/isdn1B.conf
/etc/isdn/isdn2B.conf
/etc/ppp/ioptions1B
/etc/ppp/ioptions2B
/etc/ppp/peers/adsl
/etc/ppp/peers/adsl
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-*[0-9]
/etc/sysconfig/network-scripts/net_cnx_down
/etc/sysconfig/network-scripts/net_cnx_pg_up
/etc/sysconfig/network-scripts/net_cnx_up
/etc/sysconfig/network-scripts/net_down
/etc/sysconfig/network-scripts/net_iop1B
/etc/sysconfig/network-scripts/net_iop2B
/etc/sysconfig/network-scripts/net_isdn1B
/etc/sysconfig/network-scripts/net_isdn2B
/etc/sysconfig/network-scripts/net_prog
/etc/sysconfig/network-scripts/net_resolv
/etc/sysconfig/network-scripts/net_speedtouch
/etc/sysconfig/network-scripts/net_up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Changing from localhost? purelithium Mandriva 3 11-08-2005 08:52 PM
Changing localhost name aje Linux - General 1 11-11-2004 11:23 PM
changing Localhost.localdomain Brother Michael Linux - Newbie 6 08-18-2003 10:01 PM
Changing localhost@localdomain??? TMMO Linux - Networking 2 08-11-2003 12:52 AM
changing localhost endfx Linux - Software 6 05-15-2003 06:27 PM

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

All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration