[newbie] hostname change

2005-03-21 Thread Carlton Matthew
How do I change the PC host name ?
Carlton


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] hostname change

2005-03-21 Thread Mikkel L. Ellertson
riccardo wrote:
On Monday 21 March 2005 09:41 pm, Carlton Matthew wrote:
How do I change the PC host name ?

 ~ by editing the file:/etc/HOSTNAME
best rgds


Nope.
Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Hostname/Lan/SMB Problems

2004-12-13 Thread Charles R. Buchanan
Thanks Adolfo.  I will give that a shot, once the LAN problem is solved.
Looks like I'll have to do things the windows way and just wipe the
drive and re-install everything.  


On Sun, 12 Dec 2004 20:51:22 -0400, Adolfo Bello [EMAIL PROTECTED] had this 
to say:


AB Regarding the printer problem, I lost days trying to connect to a XP
AB shared printer from MDK 10, something I had had no problem with 9.1. The
AB problem was that CUPS changed the way it handles URLs. The new way is:
AB smb://WORGROUP/username:[EMAIL PROTECTED]/SHARE
AB or
AB smb://WORGROUP/[EMAIL PROTECTED]/SHARE
AB 
AB So I fired drakprinter, picked Enter printer url and life was good
AB again.
AB 
AB Adolfo



---
avast! Antivirus: Outbound message is sqeaky clean.
Virus Database (VPS): 0450-1, 12/09/2004
Tested on: 12/13/2004 4:54:29 AM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Hostname/Lan/SMB Problems

2004-12-12 Thread Charles R. Buchanan
I have finally gotten through almost 600 msgs since joining and have
found some hints on solving the hostname (renaming) problem.  However I
have a more pressing/puzzling problem.  first of all, the machine is a
Celeron 466mhz, 128MB ram and a 40gb HD. (found it in the alley a couple
of weeks ago, works like a charm g)  Anyway, I finally got the Linux
box I needed. :-)  Anyway, I installed mdk 10.0. Somehow I managed to
get it connected to the internet and did the upgrade thing and
everything was honky dory. However, I couldn't get it to connect to my
W2K server machine. The hostname for the mdk box defaulted to mdkgroup.
I called myself changing it in the snb.conf file but that didn't work. 
So it was getting late and since I don't have too much time to play
during the week, I put it off until the weekend.  Well, here it is the
weekend (ok, it's near the end of the weekend) and low and behold, I can
no longer connect to the internet. I can no longer connect to the router,
it (machine) says the lan is not connected and  yadda, yadda, ya! 
sigh

I think once I can get the lan connection problem corrected, then I can
work on the hostname problem, then I can probably get the smb problem
taken care of too!  Had a hell of a time trying to install the printer
on it last week as well. :-(  But that's another topic for another time!
ARGH!!!  The printer is installed on the server machine as well and the
linux box is the only computer on the network that is being the PIA
right now!   

Many TIA!  
 



---
avast! Antivirus: Outbound message is sqeaky clean.
Virus Database (VPS): 0450-1, 12/09/2004
Tested on: 12/12/2004 4:29:33 PM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Hostname/Lan/SMB Problems

2004-12-12 Thread Adolfo Bello
On Sun, 2004-12-12 at 16:29 -0800, Charles R. Buchanan wrote:
 I have finally gotten through almost 600 msgs since joining and have
 found some hints on solving the hostname (renaming) problem.  However I
 have a more pressing/puzzling problem.  first of all, the machine is a
 Celeron 466mhz, 128MB ram and a 40gb HD. (found it in the alley a couple
 of weeks ago, works like a charm g)  Anyway, I finally got the Linux
 box I needed. :-)  Anyway, I installed mdk 10.0. Somehow I managed to
 get it connected to the internet and did the upgrade thing and
 everything was honky dory. However, I couldn't get it to connect to my
 W2K server machine. The hostname for the mdk box defaulted to mdkgroup.
 I called myself changing it in the snb.conf file but that didn't work. 
 So it was getting late and since I don't have too much time to play
 during the week, I put it off until the weekend.  Well, here it is the
 weekend (ok, it's near the end of the weekend) and low and behold, I can
 no longer connect to the internet. I can no longer connect to the router,
 it (machine) says the lan is not connected and  yadda, yadda, ya! 
 sigh
 
 I think once I can get the lan connection problem corrected, then I can
 work on the hostname problem, then I can probably get the smb problem
 taken care of too!  Had a hell of a time trying to install the printer
 on it last week as well. :-(  But that's another topic for another time!
 ARGH!!!  The printer is installed on the server machine as well and the
 linux box is the only computer on the network that is being the PIA
 right now!   
 
 Many TIA!  

Regarding the printer problem, I lost days trying to connect to a XP
shared printer from MDK 10, something I had had no problem with 9.1. The
problem was that CUPS changed the way it handles URLs. The new way is:
smb://WORGROUP/username:[EMAIL PROTECTED]/SHARE
or
smb://WORGROUP/[EMAIL PROTECTED]/SHARE

So I fired drakprinter, picked Enter printer url and life was good
again.

Adolfo



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Hostname

2004-06-27 Thread Piero
Where are the hostname and domainname stored in Mandrake (9.2)? I tried to 
edit file /etc/hosts butnothing changed, even after rebooting .
Thanks.

-- 
Piero


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Hostname

2004-06-27 Thread Paul
Op Sun, 27 Jun 2004 14:38:33 +0200 schreef Piero:

Where are the hostname and domainname stored in Mandrake (9.2)? I tried
to edit file /etc/hosts butnothing changed, even after rebooting .
Thanks.

Try /etc/sysconfig/network.

Paul
-- 
Permit me to issue and control the money of a nation,
and I care not who makes its laws.
- Amschel Mayer Rothschild, banker

http://www.nlpagan.net/linux.htm
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] hostname and firewall ruels

2003-12-29 Thread Xue-Feng Yang
How to change the hostname from a strange string like
x1-6-00-50-something_like_that to a readable name?

Where is default firewall rule file related in
mandrake 9.2?

Thanks

Xue-Feng  

__ 
Post your free ad now! http://personals.yahoo.ca

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hostname and firewall ruels

2003-12-29 Thread Xue-Feng Yang
I found the location of the firewall related
configurations files. They are all in /etc/shorewall/
in case someone want to know.

I am still looking for the solution for my first
question.

 --- Xue-Feng Yang [EMAIL PROTECTED] wrote:  How
to change the hostname from a strange string
 like
 x1-6-00-50-something_like_that to a readable name?
 
 Where is default firewall rule file related in
 mandrake 9.2?
 
 Thanks
 
 Xue-Feng  
 

__
 
 Post your free ad now! http://personals.yahoo.ca
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
  

__ 
Post your free ad now! http://personals.yahoo.ca

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hostname and firewall ruels

2003-12-29 Thread Aron Smith
On Mon, 2003-12-29 at 20:38, Xue-Feng Yang wrote:
 I found the location of the firewall related
 configurations files. They are all in /etc/shorewall/
 in case someone want to know.
 
 I am still looking for the solution for my first
 question.
 
  --- Xue-Feng Yang [EMAIL PROTECTED] wrote:  How
 to change the hostname from a strange string
  like
  x1-6-00-50-something_like_that to a readable name?
  
  Where is default firewall rule file related in
  mandrake 9.2?
just try (no guarantee) 
K--Configuration--INTERNET-- 
here you start the wizard if you have a static IP address you can set
your host name to something like foobox.com 
it worked for me
  
  Thanks
  
  Xue-Feng  
  
 
 __
  
  Post your free ad now! http://personals.yahoo.ca
  
   Want to buy your Pack or Services from
 MandrakeSoft?
  
  Go to http://www.mandrakestore.com
   
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hostname and firewall ruels

2003-12-29 Thread Xue-Feng Yang
Thank you, Aron. I don't have static IP. However, I
just found a solution for my problem.

I have this problem since I don't have static IP. So I
have to use DHCP. The DHCP will overwrite the
hostname. The solution to this, in case someone needs
this, is using Mandrake Control Center, the network
wizard in expert mode. 

 --- Aron Smith [EMAIL PROTECTED] wrote:  On
Mon, 2003-12-29 at 20:38, Xue-Feng Yang wrote:
  I found the location of the firewall related
  configurations files. They are all in
 /etc/shorewall/
  in case someone want to know.
  
  I am still looking for the solution for my first
  question.
  
   --- Xue-Feng Yang [EMAIL PROTECTED] wrote: 
 How
  to change the hostname from a strange string
   like
   x1-6-00-50-something_like_that to a readable
 name?
   
   Where is default firewall rule file related in
   mandrake 9.2?
 just try (no guarantee) 
 K--Configuration--INTERNET-- 
 here you start the wizard if you have a static IP
 address you can set
 your host name to something like foobox.com 
 it worked for me
   
   Thanks
   
   Xue-Feng  
   
  
 

__
   
   Post your free ad now! http://personals.yahoo.ca
   
Want to buy your Pack or Services from
  MandrakeSoft?
   
   Go to http://www.mandrakestore.com

  
 

__
 
  Post your free ad now! http://personals.yahoo.ca
  
  
 

__
  
  Want to buy your Pack or Services from
 MandrakeSoft? 
  Go to http://www.mandrakestore.com
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
  

__ 
Post your free ad now! http://personals.yahoo.ca

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-11-01 Thread Dan Gordon
On Fri, 31 Oct 2003 17:33:41 -0500
Jerry Barton [EMAIL PROTECTED] wrote:
 
 I ran the network setup wizard in expert mode and unchecked set host
 name from DHCP address (or something worded like that don't remember
 exactly) and it doesn't do it anymore.  try that.
 
 
Perfect you are exactly right, this fixed the same problem for me on 9.1

Regards,
Dan Gordon

-- 
Sat Nov  1 02:55:44 EST 2003
 02:55:44 up 5 min,  2 users,  load average: 0.95, 0.46, 0.22
You two ought to be more careful--your love could drag on for years and
years.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-10-31 Thread HaywireMac
On Fri, 31 Oct 2003 11:28:47 +
Poogle [EMAIL PROTECTED] uttered:

 Perhaps I didn't make myself clear, instead of the login screen saying
 
 Welcome to localhost as normal and a terminal prompt showing 
 [EMAIL PROTECTED] $ it shows as Welcome to public1-derb2-...
 and [EMAIL PROTECTED] which are coming from my ISP.
 All I want is for  the normal localhost to be displayed at boot and
 in terminals.

Well, I see in there you've got:

 DEVICE=eth0
 BOOTPROTO=dhcp
 NETMASK=255.255.255.0
 ONBOOT=yes
 MII_NOT_SUPPORTED=yes
 NEEDHOSTNAME=no

could it be that your ISP's DHCP server is setting your hostname?! I've
never heard of that before, but they might be running some kind of
WINS/Netbios proto that is changing your hostname.

I don't know enough about that network-scripts setup to advise what to
change, except maybe try putting yes for NEEDHOSTNAME, but I would
seriously recommend putting something between your ISP and your wkstn,
like a router firewall that would negotiate the connection for you.

How are you connecting, is it a DSL/PPPoE connection?

-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
The truth of a thing is the feel of it, not the think of it.
-- Stanley Kubrick

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-10-31 Thread Poogle
On Friday 31 Oct 2003 H:45 pm, HaywireMac wrote:
 On Fri, 31 Oct 2003 11:28:47 +

 Poogle [EMAIL PROTECTED] uttered:
  Perhaps I didn't make myself clear, instead of the login screen saying
 
  Welcome to localhost as normal and a terminal prompt showing
  [EMAIL PROTECTED] $ it shows as Welcome to public1-derb2-...
  and [EMAIL PROTECTED] which are coming from my ISP.
  All I want is for  the normal localhost to be displayed at boot and
  in terminals.

 Well, I see in there you've got:
  DEVICE=eth0
  BOOTPROTO=dhcp
  NETMASK=255.255.255.0
  ONBOOT=yes
  MII_NOT_SUPPORTED=yes
  NEEDHOSTNAME=no

 could it be that your ISP's DHCP server is setting your hostname?! I've
 never heard of that before, but they might be running some kind of
 WINS/Netbios proto that is changing your hostname.

 I don't know enough about that network-scripts setup to advise what to
 change, except maybe try putting yes for NEEDHOSTNAME, but I would
 seriously recommend putting something between your ISP and your wkstn,
 like a router firewall that would negotiate the connection for you.

 How are you connecting, is it a DSL/PPPoE connection?

NIC - Cable company's set top box, it works O.K in 9.1 so I must have setup 
something differently in 9.2, damned if I can see it though.
-- 
http://www.poogle.co.uk

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-10-31 Thread HaywireMac
On Fri, 31 Oct 2003 14:26:47 +
Poogle [EMAIL PROTECTED] uttered:

 NIC - Cable company's set top box, it works O.K in 9.1 so I must have
 setup something differently in 9.2, damned if I can see it though.

There seems to be a pattern I'm seeing here with 9.2...

One person had some probs with their prompt similar to yours, but that
was solved by editing the ~/.bashrc:

http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

Then there's the problem with output from df being abnormally verbose,
not just outputting partition/usage, but hostname/partition/useage.

I wonder if something was changed in 9.2 to do with either the global
/etc/bashrc config or network settings...

Anyone have any thoughts on this?
-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
Facts are the enemy of truth.
-- Don Quixote

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2 (SOLVED)

2003-10-31 Thread Poogle
On Friday 31 Oct 2003 H:36 pm, HaywireMac wrote:
 On Fri, 31 Oct 2003 14:26:47 +

 Poogle [EMAIL PROTECTED] uttered:
  NIC - Cable company's set top box, it works O.K in 9.1 so I must have
  setup something differently in 9.2, damned if I can see it though.

 There seems to be a pattern I'm seeing here with 9.2...

 One person had some probs with their prompt similar to yours, but that
 was solved by editing the ~/.bashrc:

 http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

 Then there's the problem with output from df being abnormally verbose,
 not just outputting partition/usage, but hostname/partition/useage.

 I wonder if something was changed in 9.2 to do with either the global
 /etc/bashrc config or network settings...

 Anyone have any thoughts on this?

Using DrakConnect from MCC, I noticed an option in expert mode that said 
enable network hotplugging having no idea what it did, I checked it and 
with all dhcp name options set to localhost in drakconnect it works.
Now lets see if it survives a few reboots.

-- 
http://www.poogle.co.uk


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-10-31 Thread Paul Kaplan
I was the intiator of the previous thread a few days ago.  I discovered that 
9.2 didn't install a .bashrc file into the /home/[user] directory on my box.  
Sounds like it didn't on yours either.
Just copy it over from the /root directory and (as root) change the user's 
copy's ownership.  From there you can edit it as described.  If you leave it 
unedited, the bash prompt wil be [EMAIL PROTECTED] directory]$
Paul

On Friday 31 October 2003 09:36 am, HaywireMac wrote:
 On Fri, 31 Oct 2003 14:26:47 +

 Poogle [EMAIL PROTECTED] uttered:
  NIC - Cable company's set top box, it works O.K in 9.1 so I must have
  setup something differently in 9.2, damned if I can see it though.

 There seems to be a pattern I'm seeing here with 9.2...

 One person had some probs with their prompt similar to yours, but that
 was solved by editing the ~/.bashrc:

 http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

 Then there's the problem with output from df being abnormally verbose,
 not just outputting partition/usage, but hostname/partition/useage.

 I wonder if something was changed in 9.2 to do with either the global
 /etc/bashrc config or network settings...

 Anyone have any thoughts on this?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname in 9.2

2003-10-31 Thread Jerry Barton
On Fri, 31 Oct 2003 10:02:07 -

 I can't make my hostname stick at localhost, my IP is dynamic.
 I've edited various files (see below) and thought I'd solved it but
 then I 
 rebooted and it changed back to public1-derb2-3- 
 The edited files :-

I ran the network setup wizard in expert mode and unchecked set host
name from DHCP address (or something worded like that don't remember
exactly) and it doesn't do it anymore.  try that.

Jerry.

-- 
_||_  Registered linux user #300600 
 (o_  Registered linux machine # 185855  
 //\at   
 V_/_ http://counter.li.org  

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Hostname in 9.2

2003-10-30 Thread poogle
I can't make my hostname stick at localhost, my IP is dynamic.
I've edited various files (see below) and thought I'd solved it but then I 
rebooted and it changed back to public1-derb2-3- 
The edited files :-

/etc/sysconfig/ network

HOSTNAME=localhost
NETWORKING=yes

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=no

and etc/hosts

127.0.0.1   localhost


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-26 Thread Stephen Kuhn
On Tue, 2003-08-26 at 03:21, Lanman wrote:
 Hey Guys! Sorry I wasn't paying attention,...Did you two say
 something significant? I was busy doing one of those canuck things!

What- eating a jelly donut?

-- 
Tue Aug 26 08:05:00 EST 2003
 08:05:00 up 21:51,  1 user,  load average: 2.14, 1.25, 0.89
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.1+  RH 9  
  Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

Take your work seriously but never take yourself seriously; and do not
take what happens either to yourself or your work seriously.
-- Booth Tarkington

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-26 Thread Stephen Kuhn
On Tue, 2003-08-26 at 02:05, Frankie wrote:

 Well what can I say, we Aussies don't have a lot going for us.. and we read
 kinda slow, so maybe that helped me catch the discrepancy.. :-)
 
 rgds
 
 Franki

I have to state that I don't think Aussies are slow - just observant -
and they take their time doing it right the first time because they
don't want to be bothered having to do it again...

-- 
Tue Aug 26 07:50:00 EST 2003
 07:50:00 up 21:36,  1 user,  load average: 0.15, 0.53, 0.76
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.1+  RH 9  
  Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

We really don't have any enemies.  It's just that some of our best
friends are trying to kill us.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-26 Thread Frankie


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Kuhn
Sent: Tuesday, 26 August 2003 5:53 AM
To: Mandrake Newbie
Subject: RE: [newbie] Hostname


On Tue, 2003-08-26 at 02:05, Frankie wrote:

 Well what can I say, we Aussies don't have a lot going for us.. 
and we read
 kinda slow, so maybe that helped me catch the discrepancy.. :-)
 
 rgds
 
 Franki

I have to state that I don't think Aussies are slow - just observant -
and they take their time doing it right the first time because they
don't want to be bothered having to do it again...

-- 
FRANKI:

I don't think we are slow either, I was just being modest. :-)

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-26 Thread Stephen Kuhn
On Tue, 2003-08-26 at 21:02, Frankie wrote:

 I don't think we are slow either, I was just being modest. :-)

This is the MANDRAKE list - no use in being modest here, mate.

-- 
Tue Aug 26 23:15:01 EST 2003
 23:15:01 up 1 day, 13:01,  1 user,  load average: 0.92, 0.89, 0.88
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.1+  RH 9  
  Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

No antique is as rare, old, or valuable as it seems-unless your neighbor owns it. 
-- Murphy's First Law of Antiques

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname

2003-08-25 Thread Dick Gevers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Sun, 24 Aug 2003 16:47:26 -0400, Lee Wiggers
[EMAIL PROTECTED] wrote about [newbie] Hostname:

How do I change the hostname, with or without webmin.

I believe it is in /etc/sysconfig/network.

But you can also do it via MCC  Network  Internet  DrakConnect.

HTH
Regards,
=Dick Gevers=
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Encryption is an envelope - the contents are private.

iD4DBQE/SX4FwC/zk+cxEdMRArVUAJjQxsoJJ92yJS5zaSE/prfgWHfoAJ414zCo
xSZrDzQfy2PKe/DzdATi6w==
=P5WV
-END PGP SIGNATURE-

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-25 Thread Frankie
open a terminal window, su - to become root..

then type:

hostname my.new.hostname

Then edit the file /etc/sysconfig/network

edit the line:

HOSTNAME ..
to reflect the new hostname.

Then edit /etc/hosts file to make sure that it resolves your new hostname
properly.

Done... easy huh?

No doubt you could have done that with webmin or netconf or MCC, but why
bother when its that easy?


rgds

Franki
htmlfixit.com




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lee Wiggers
Sent: Monday, 25 August 2003 4:47 AM
To: [EMAIL PROTECTED]
Subject: [newbie] Hostname



First, I did rtfm.

I couldn't ftfa.

How do I change the hostname, with or without webmin.

It's the little things that get you.

All 8 boxes on my lan are properly named except for my pride and joy.

She is listed as .

Lee




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-25 Thread Stephen Kuhn
On Mon, 2003-08-25 at 16:17, Frankie wrote:
 open a terminal window, su - to become root..
 
 then type:
 
 hostname my.new.hostname
 
 Then edit the file /etc/sysconfig/network
 
 edit the line:
 
 HOSTNAME ..
 to reflect the new hostname.
 
 Then edit /etc/hosts file to make sure that it resolves your new hostname
 properly.
 
 Done... easy huh?
 
 No doubt you could have done that with webmin or netconf or MCC, but why
 bother when its that easy?
 
 
 rgds
 
 Franki
 htmlfixit.com

Just cut out a step there - edit the /etc/sysconfig/network, put in your
new hostname, then type: service network restart

Pppft! ;)

-- 
Mon Aug 25 17:45:01 EST 2003
 17:45:01 up  7:31,  1 user,  load average: 0.83, 0.79, 0.74
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.1+  RH 9  
  Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

I am not convinced that they can write solid stable software. Proprietary software is 
already hobbled by it's secretive cathedral nature, but Microsoft seems to have a 
corner on incompetent programming as well.

  -- Chris DiBona from the introduction. (Open Sources, 1999 O'Reilly and Associates)

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-25 Thread Stephen Kuhn
On Mon, 2003-08-25 at 21:08, Frankie wrote:
 Stephen you putz.. you cut out a step and then added one..
 
 how is that better??   :-)
 
 my way does not entail restarting the network interfaces.
 
 Alternatives are always good however.. :-)
 
 rgds
 
 Franki

I can't believe you're the ONLY ONE who picked that up, mate. You must
be sober tonight. (g)

I was BAITING for someone...but obviously didn't work...ah
well...sometimes ppl's perception ain't all there...

(Can you believe that that slipped by all the yanks, poms and canucks?)

-- 
Mon Aug 25 25:00:00 EST 2005
 22:00:00 up 11:46,  1 user,  load average: 1.30, 0.99, 0.82
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.9+  RH 19  
  Mandrake Linux Kernel 3.6.51-61mdk Croaker for i986
-
 * This message was composed on a 110% Microsoft free computer *

Biology is the only science in which multiplication means the same thing
as division.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Hostname

2003-08-25 Thread HaywireMac
On 25 Aug 2003 17:48:48 +1000
Stephen Kuhn [EMAIL PROTECTED] uttered:

 Pppft! ;)

Shite, mate, open a window before you do that!
-- 
HaywireMac
Registered Linux user #282046
Homepage: nodex.sytes.net
++
There are no accidents whatsoever in the universe.
-- Baba Ram Dass

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-25 Thread Frankie
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Kuhn
Sent: Monday, 25 August 2003 8:07 PM
To: Mandrake Newbie
Subject: RE: [newbie] Hostname


On Mon, 2003-08-25 at 21:08, Frankie wrote:
 Stephen you putz.. you cut out a step and then added one..

 how is that better??   :-)

 my way does not entail restarting the network interfaces.

 Alternatives are always good however.. :-)

 rgds

 Franki

I can't believe you're the ONLY ONE who picked that up, mate. You must
be sober tonight. (g)

I was BAITING for someone...but obviously didn't work...ah
well...sometimes ppl's perception ain't all there...

(Can you believe that that slipped by all the yanks, poms and canucks?)


FRANKI:

Well what can I say, we Aussies don't have a lot going for us.. and we read
kinda slow, so maybe that helped me catch the discrepancy.. :-)

rgds

Franki


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] Hostname

2003-08-25 Thread Lanman
Hey Guys! Sorry I wasn't paying attention,...Did you two say
something significant? I was busy doing one of those canuck things!

LOL!

Lanman

*** REPLY SEPARATOR  ***

On 8/26/2003 at 12:05 AM Frankie wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Kuhn
Sent: Monday, 25 August 2003 8:07 PM
To: Mandrake Newbie
Subject: RE: [newbie] Hostname


On Mon, 2003-08-25 at 21:08, Frankie wrote:
 Stephen you putz.. you cut out a step and then added one..

 how is that better??   :-)

 my way does not entail restarting the network interfaces.

 Alternatives are always good however.. :-)

 rgds

 Franki

I can't believe you're the ONLY ONE who picked that up, mate. You
must
be sober tonight. (g)

I was BAITING for someone...but obviously didn't work...ah
well...sometimes ppl's perception ain't all there...

(Can you believe that that slipped by all the yanks, poms and
canucks?)


FRANKI:

Well what can I say, we Aussies don't have a lot going for us.. and
we read
kinda slow, so maybe that helped me catch the discrepancy.. :-)

rgds

Franki



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Hostname

2003-08-24 Thread Lee Wiggers

First, I did rtfm.

I couldn't ftfa.

How do I change the hostname, with or without webmin.

It's the little things that get you.

All 8 boxes on my lan are properly named except for my pride and joy.

She is listed as .

Lee

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] hostname

2001-12-09 Thread Stojs

When running the server wizard from wizdrake I get stuck on hostname.
The text sais if you will only have intranet any valid name is ok, like
company.net. I tried using that name but it was not correct. Do I have
to pick a host name from somewhere else on the system? Or does my
internet connection make the wizard assume that I am trying to configure
an internet server?

What makes a hostname valid?

Do I have to use a domain name as well?

Thanks,
Stojs





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-12-09 Thread Derek Jennings


According to the manual the host name has to be input in the format like this

rtfm.mandrakesoft.com

(I'm not being insulting it really does say that.)

Derek



On Sunday 09 December 2001 09:22, you wrote:
 When running the server wizard from wizdrake I get stuck on hostname.
 The text sais if you will only have intranet any valid name is ok, like
 company.net. I tried using that name but it was not correct. Do I have
 to pick a host name from somewhere else on the system? Or does my
 internet connection make the wizard assume that I am trying to configure
 an internet server?

 What makes a hostname valid?

 Do I have to use a domain name as well?

 Thanks,
 Stojs



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-12-09 Thread Dave Sherman

On Sun, 2001-12-09 at 03:22, Stojs wrote:
 When running the server wizard from wizdrake I get stuck on hostname.
 The text sais if you will only have intranet any valid name is ok, like
 company.net. I tried using that name but it was not correct. Do I have
 to pick a host name from somewhere else on the system? Or does my
 internet connection make the wizard assume that I am trying to configure
 an internet server?
 
 What makes a hostname valid?
 
 Do I have to use a domain name as well?
 
 Thanks,
 Stojs

The hostname for a computer is a single word, like 'mycomputer' or
'frankenlinux'. The fully qualified domain name for a computer is a
combination of the hostname and domain name (separated by a dot), like
'mycomputer.somedomain.org'.

If you do not have a domain within your network (you're not running DNS
for that network), then you can make up a domain like 'domain.com'. You
must also have a hostname, and that hostname should be unique on the
network. Thus, you can't (or shouldn't) have two computers called
'twins'. You could call them 'twin1' and 'twin2'. You get the idea.

If I remember correctly, the wizard wants the fully qualified domain
name. I could be wrong, but you should be able to figure out which one
the wizard wants, and give it the correct answer.

Dave
-- 
Just a few of the perfect excuses for having some strawberry shortcake.
Pick one.

 (1)It's less calories than two pieces of strawberry shortcake.
 (2)It's cheaper than going to France.
 (3)It neutralizes the brownies I had yesterday.
 (4)Life is short.
 (5)It's somebody's birthday.  I don't want them to celebrate alone.
 (6)It matches my eyes.
 (7)Whoever said, Let them eat cake. must have been talking to me.
 (8)To punish myself for eating dessert yesterday.
 (9)Compensation for all the time I spend in the shower not eating.
(10)Strawberry shortcake is evil.  I must help rid the world of it.
(11)I'm getting weak from eating all that healthy stuff.
(12)It's the second anniversary of the night I ate plain broccoli.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-21 Thread sarah white

edit that... change it to whatever you want... leave that IP though... its
your loopback... but you prolly knew that:) instead of all the locahoast
stuff.. edit it to be what you want:)

- Original Message -
From: NDPTAL85 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 19, 2001 7:51 PM
Subject: Re: [newbie] hostname


 There's nothing in hosts that says anything about a hostname. This is
 the only thing in my hosts file:

 127.0.0.1   localhost.localdomain localhost





 On Monday, November 19, 2001, at 02:48 PM, Mark D'voo wrote:

  /etc/hosts (must be root)
 
  On Tuesday 20 November 2001 07:44 am, you wrote:
  Which file in /etc do I have to edit to change my hostname on Mandrake
  8.1?
 
 
  Thanks.









 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-21 Thread sarah white

i know you can do it by command line... my b/f did it the other day... i
can get back to you on it in abou tan hour. 2.54am mountain time here.
- Original Message -
From: NDPTAL85 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 19, 2001 8:06 PM
Subject: Re: [newbie] hostname


 Nope I'm just trying to edit it manually. In FreeBSD there is rc.conf
 and on OS X there's hostname but on Mandrake I can't seem to find the
 right file.


 On Monday, November 19, 2001, at 08:55 PM, Anuerin G. Diaz wrote:

  hi,
 
  i dont know specifically but you can change it using linuxconf. are you
  trying
  to change your hostname through a script/application?
 
  ciao!
 
  NDPTAL85 wrote:
 
  Which file in /etc do I have to edit to change my hostname on Mandrake
  8.1?
 
  Thanks.
 
 
  --
 
  Programming, an artform that fights back.
 
  =
  Anuerin G. Diaz
  Design Engineer
  Millennium Software, Incorporated
  25/F Equitable-PCI Tower
  ADB Avenue cor. Poveda St.
  Ortigas Center, Pasig City
 
  Tel# 638-3070 loc. 72
  Fax# 638-3079
  =
 
 
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com









 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] hostname

2001-11-20 Thread Franki

well, one of the files you will have to change is /etc/sysconfig/network

the hostname is defined there.. and define it in hosts and assign its IP
there...

Think that would do it...

There may be more then that, thats just off the top of my head...

rgds

Frank
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of skidley
Sent: Tuesday, 20 November 2001 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] hostname


On Mon, 19 Nov 2001, NDPTAL85 wrote:

 There's nothing in hosts that says anything about a hostname. This is
 the only thing in my hosts file:

 127.0.0.1   localhost.localdomain localhost

Sure there is it says your hostname is localhost.localdomain. But I don't
believe that is where you set your hostname as I recall. I remember
changing my hostname and having to change the hostname in /etc/hosts so
that X would work correctly.  Just use the command hostname as root
 --
Linux User #195191






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hostname

2001-11-19 Thread NDPTAL85

Which file in /etc do I have to edit to change my hostname on Mandrake 
8.1?


Thanks.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread Mark D'voo

/etc/hosts (must be root)

On Tuesday 20 November 2001 07:44 am, you wrote:
 Which file in /etc do I have to edit to change my hostname on Mandrake
 8.1?


 Thanks.

-- 
  1:48am  up  3:13,  3 users,  load average: 0.26, 0.49, 0.88



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread Anuerin G. Diaz

hi,

i dont know specifically but you can change it using linuxconf. are you trying
to change your hostname through a script/application?

ciao!

NDPTAL85 wrote:

 Which file in /etc do I have to edit to change my hostname on Mandrake
 8.1?

 Thanks.


--

Programming, an artform that fights back.

=
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
25/F Equitable-PCI Tower
ADB Avenue cor. Poveda St.
Ortigas Center, Pasig City

Tel# 638-3070 loc. 72
Fax# 638-3079
=





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread NDPTAL85

There's nothing in hosts that says anything about a hostname. This is 
the only thing in my hosts file:

127.0.0.1   localhost.localdomain localhost





On Monday, November 19, 2001, at 02:48 PM, Mark D'voo wrote:

 /etc/hosts (must be root)

 On Tuesday 20 November 2001 07:44 am, you wrote:
 Which file in /etc do I have to edit to change my hostname on Mandrake
 8.1?


 Thanks.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread NDPTAL85

Nope I'm just trying to edit it manually. In FreeBSD there is rc.conf 
and on OS X there's hostname but on Mandrake I can't seem to find the 
right file.


On Monday, November 19, 2001, at 08:55 PM, Anuerin G. Diaz wrote:

 hi,

 i dont know specifically but you can change it using linuxconf. are you 
 trying
 to change your hostname through a script/application?

 ciao!

 NDPTAL85 wrote:

 Which file in /etc do I have to edit to change my hostname on Mandrake
 8.1?

 Thanks.


 --

 Programming, an artform that fights back.

 =
 Anuerin G. Diaz
 Design Engineer
 Millennium Software, Incorporated
 25/F Equitable-PCI Tower
 ADB Avenue cor. Poveda St.
 Ortigas Center, Pasig City

 Tel# 638-3070 loc. 72
 Fax# 638-3079
 =



 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread skidley

On Mon, 19 Nov 2001, NDPTAL85 wrote:

 Which file in /etc do I have to edit to change my hostname on Mandrake
 8.1?


 Thanks.



You can change it using the command hostname whatever and it will change
it for you.
-- 
Linux User #195191




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname

2001-11-19 Thread skidley

On Mon, 19 Nov 2001, NDPTAL85 wrote:

 There's nothing in hosts that says anything about a hostname. This is
 the only thing in my hosts file:

 127.0.0.1   localhost.localdomain localhost

Sure there is it says your hostname is localhost.localdomain. But I don't
believe that is where you set your hostname as I recall. I remember
changing my hostname and having to change the hostname in /etc/hosts so
that X would work correctly.  Just use the command hostname as root
 --
Linux User #195191




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname: bash-2.05

2001-09-10 Thread antoine rivoire

u'r right jay.
what might be helpful is if someone could mail me a fairly standard 
/etc/bashrc , bashprofile and /home/.bashrc, to see what it looks like and 
does.



On Sunday 09 September 2001 11:55, you wrote:
 The later version of bash does not mess up your bashrc, but it won't
 restore your lost one either, if I understand you correctly.

 Jay

 On Friday 07 September 2001 11:17, I was honored with this communique:
  right, some more interesting facts i have just discovered:
  i have lost the pretty colors in my terminal.
  it doesn't appear to live in /etc, now i dont know if that's bad or not,
  but there is where it lives:
  bash-2.05$ locate bashrc
  /etc/skel/.bashrc
  /home/antoine/.bashrc
  bash-2.05$ cd /
  bash-2.05$ locate bash-2.05
  /var/cache/grpmi/bash-2.05-6mdk.i586.rpm
  /usr/share/doc/bash-2.05
  /usr/share/doc/bash-2.05/README
  /usr/share/doc/bash-2.05/CHANGES
 
  would trying to upgrade it with a later bash-2.05 from mandrake cooker
  possibly solve my probleme?(i suppose i could try, and i will unless
  somebody tells me it's a bad idea)
 
  On Thursday 06 September 2001 20:09, you wrote:
   Well, when I loaded bash-2.05, I didn't have any hostname issues as
   such, but it did rename /etc/bashrc to /etc/bashrc.rpmnew - which
   caused a bit of confusion as my custom prompt was located there. All I
   had to do was change the name of the file back and all was well.
  
   Hope this helps.
   Jay
  
   On Friday 07 September 2001 12:38, I was honored with this communique:
On Thursday 06 September 2001 13:38, you wrote:
 Does the user that you were loged in have permissons on his
 assigned home directory?
 The same happened to my a couple of days before, and I see in
 LunxConf that the home directory of the user I was logging in was
 created by the root and the user ddidn't have permissons . . .

 Maybe it's just a coincidence
   
the user does have permissions to his home directerory, and
furthermore the same thing occurs when logged in as root. when
changing directory, that bash-2.05$
doesn't change to bash -2.05/directory$ or anything, i am baffled
   
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of antoine
 rivoire Sent: Thursday, September 06, 2001 7:31 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] hostname: bash-2.05


 hi
 i think i might have seen somebody emailing about that prob before,
 but i cant find it in the archive:
 in term windows, my hostname has been replaced by
 bash-2.05$
 anybody?
   

Content-Type: text/plain; charset=iso-8859-1; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description:

  
   
   Content-Type: text/plain; charset=iso-8859-1; name=message.footer
   Content-Transfer-Encoding: 8bit
   Content-Description:
   
 
  
  Content-Type: text/plain; charset=iso-8859-1; name=message.footer
  Content-Transfer-Encoding: 8bit
  Content-Description:
  

 
 Content-Type: text/plain; charset=iso-8859-1; name=message.footer
 Content-Transfer-Encoding: 8bit
 Content-Description:
 


Content-Type: text/plain; charset=iso-8859-1; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description: 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname: bash-2.05

2001-09-10 Thread Tim Holmes

I can't find the original email sent on this topic, but it says that the
hostname was replaced with the bash-2.05$.  Are you simply referring to
the prompt?  Or is the hostname actually saying it's bash-2.05$?

As for the request for a standard /etc/skel/.bashrc and
/etc/skel/.bash_profile, here's what I have.  I have edited mine a bit
since I do have a few users that log on remotely to this machine.

==
[root@r2d2 skel]# less .bashrc

# .bashrc

# Source global definitions
if [ -r /etc/bashrc ]; then
. /etc/bashrc
fi
[root@r2d2 skel]# less .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

PATH=$PATH:$HOME/bin
USERNAME=`id -nu`
USERID=`id -nu`

export PATH USERNAME USERID BASH_ENV=$HOME/.bashrc
==

On some of my machines I actually have a simple /etc/skel/.aliases and I
add a line in /etc/skel/.bash_profile that reads:

souce $HOME/.aliases

I'm pretty sure I just misunderstood what you were talking about with
the bash-2.05$ for a hostname, but if that's the case, edit
/etc/sysconfig/network to have all your correct information.

Hope that comes in handy.
tdh

-- 
T. Holmes
-
UNIXTECHS.org
[EMAIL PROTECTED]
-
Real Men Use Vi!

Uptime: 
  
  9:59am  up  1:45,  4 users,  load average: 0.00, 0.00, 0.00
  
| 
| 
| 
| On Thursday 06 September 2001 13:38, you wrote:
|  Does the user that you were loged in have permissons on his assigned home
|  directory?
|  The same happened to my a couple of days before, and I see in LunxConf that
|  the home directory of the user I was logging in was created by the root and
|  the user ddidn't have permissons . . .
| 
|  Maybe it's just a coincidence
| the user does have permissions to his home directerory, and furthermore the 
| same thing occurs when logged in as root. when changing directory, that 
| bash-2.05$ 
| doesn't change to bash -2.05/directory$ or anything, i am baffled
| 
| 
| 
|  -Original Message-
|  From: [EMAIL PROTECTED]
|  [mailto:[EMAIL PROTECTED]]On Behalf Of antoine rivoire
|  Sent: Thursday, September 06, 2001 7:31 PM
|  To: [EMAIL PROTECTED]
|  Subject: [newbie] hostname: bash-2.05
| 
| 
|  hi
|  i think i might have seen somebody emailing about that prob before, but i
|  cant find it in the archive:
|  in term windows, my hostname has been replaced by
|  bash-2.05$
|  anybody?
| 
| 
| Content-Type: text/plain; charset=iso-8859-1; name=message.footer
| Content-Transfer-Encoding: 8bit
| Content-Description: 
| 
| 

| Want to buy your Pack or Services from MandrakeSoft? 
| Go to http://www.mandrakestore.com

  -- 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname: bash-2.05

2001-09-09 Thread Jay DeKing

The later version of bash does not mess up your bashrc, but it won't restore 
your lost one either, if I understand you correctly.

Jay

On Friday 07 September 2001 11:17, I was honored with this communique:
 right, some more interesting facts i have just discovered:
 i have lost the pretty colors in my terminal.
 it doesn't appear to live in /etc, now i dont know if that's bad or not,
 but there is where it lives:
 bash-2.05$ locate bashrc
 /etc/skel/.bashrc
 /home/antoine/.bashrc
 bash-2.05$ cd /
 bash-2.05$ locate bash-2.05
 /var/cache/grpmi/bash-2.05-6mdk.i586.rpm
 /usr/share/doc/bash-2.05
 /usr/share/doc/bash-2.05/README
 /usr/share/doc/bash-2.05/CHANGES

 would trying to upgrade it with a later bash-2.05 from mandrake cooker
 possibly solve my probleme?(i suppose i could try, and i will unless
 somebody tells me it's a bad idea)

 On Thursday 06 September 2001 20:09, you wrote:
  Well, when I loaded bash-2.05, I didn't have any hostname issues as such,
  but it did rename /etc/bashrc to /etc/bashrc.rpmnew - which caused a bit
  of confusion as my custom prompt was located there. All I had to do was
  change the name of the file back and all was well.
 
  Hope this helps.
  Jay
 
  On Friday 07 September 2001 12:38, I was honored with this communique:
   On Thursday 06 September 2001 13:38, you wrote:
Does the user that you were loged in have permissons on his assigned
home directory?
The same happened to my a couple of days before, and I see in
LunxConf that the home directory of the user I was logging in was
created by the root and the user ddidn't have permissons . . .
   
Maybe it's just a coincidence
  
   the user does have permissions to his home directerory, and furthermore
   the same thing occurs when logged in as root. when changing directory,
   that bash-2.05$
   doesn't change to bash -2.05/directory$ or anything, i am baffled
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of antoine rivoire
Sent: Thursday, September 06, 2001 7:31 PM
To: [EMAIL PROTECTED]
Subject: [newbie] hostname: bash-2.05
   
   
hi
i think i might have seen somebody emailing about that prob before,
but i cant find it in the archive:
in term windows, my hostname has been replaced by
bash-2.05$
anybody?
  
   
   Content-Type: text/plain; charset=iso-8859-1; name=message.footer
   Content-Transfer-Encoding: 8bit
   Content-Description:
   
 
  
  Content-Type: text/plain; charset=iso-8859-1; name=message.footer
  Content-Transfer-Encoding: 8bit
  Content-Description:
  

 
 Content-Type: text/plain; charset=iso-8859-1; name=message.footer
 Content-Transfer-Encoding: 8bit
 Content-Description:
 


Content-Type: text/plain; charset=iso-8859-1; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description: 


-- 
I have misplaced my pants. - Homer J. Simpson



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hostname: bash-2.05

2001-09-06 Thread antoine rivoire

hi
i think i might have seen somebody emailing about that prob before, but i 
cant find it in the archive:
in term windows, my hostname has been replaced by 
bash-2.05$
anybody?



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] hostname: bash-2.05

2001-09-06 Thread Lionel Pitaru

Does the user that you were loged in have permissons on his assigned home
directory?
The same happened to my a couple of days before, and I see in LunxConf that
the home directory of the user I was logging in was created by the root and
the user ddidn't have permissons . . .

Maybe it's just a coincidence


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of antoine rivoire
Sent: Thursday, September 06, 2001 7:31 PM
To: [EMAIL PROTECTED]
Subject: [newbie] hostname: bash-2.05


hi
i think i might have seen somebody emailing about that prob before, but i
cant find it in the archive:
in term windows, my hostname has been replaced by
bash-2.05$
anybody?





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname: bash-2.05

2001-09-06 Thread antoine rivoire




On Thursday 06 September 2001 13:38, you wrote:
 Does the user that you were loged in have permissons on his assigned home
 directory?
 The same happened to my a couple of days before, and I see in LunxConf that
 the home directory of the user I was logging in was created by the root and
 the user ddidn't have permissons . . .

 Maybe it's just a coincidence
the user does have permissions to his home directerory, and furthermore the 
same thing occurs when logged in as root. when changing directory, that 
bash-2.05$ 
doesn't change to bash -2.05/directory$ or anything, i am baffled



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of antoine rivoire
 Sent: Thursday, September 06, 2001 7:31 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] hostname: bash-2.05


 hi
 i think i might have seen somebody emailing about that prob before, but i
 cant find it in the archive:
 in term windows, my hostname has been replaced by
 bash-2.05$
 anybody?


Content-Type: text/plain; charset=iso-8859-1; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description: 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hostname changed, some processes don't know yet

2001-04-14 Thread Jeff Malka

Sorry to intrude, but I am struggling with the same problem even though I am
on a standalone PC.

 or if you want to add a different name not in DNS,

 127.0.0.1 localhost.localdomain localhost
 127.0.0.1 whateveryouwant.net whateveryouwant

I fell in this conversation late:

Do you mean you can have "both"
127.0.0.1 localhost.localdomain localhost   AND also
127.0.0.1 whateveryouwant.net whateveryouwant ?

How is that possible and how do you do that?  Where do you tell Mandrake 7.2
that your PC has 2 names?

 127.0.0.1 whateveryouwant.net whateveryouwant

Can it be just 127.0.0.1 whateveryouwant   or do you need 2 names here?


Also what do you mean by "loopback"?

.

Jeff Malka [EMAIL PROTECTED]
Registered Linux user  183185

- Original Message -
From: Michael D. Viron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 11:21 PM
Subject: Re: [newbie] hostname changed, some processes don't know yet


 Jay,

 Regardless of what other names you might have for your machine, you must
 still have localhost.localdomain.

 For example, we have a machine called wsdo, which has, in addition to the
 IP / hostname in DNS, the localhost / 127.0.0.1 loopback.

 Your host file should therefore look like:

 127.0.0.1   localhost.localdomain   localhost
 xxx.xxx.xxx.xxx actualdns.whatever.com  actualdns

 or if you want to add a different name not in DNS,

 127.0.0.1 localhost.localdomain localhost
 127.0.0.1 whateveryouwant.net whateveryouwant

 This must occur because many processes, including ping and telnet
reference
 localhost as the loopback interface (meaning that it points to the same
 machine you are on).

 (such as ftp localhost, telnet localhost, etc)

 If you have additional questions, don't hesitate to let me know,

 Michael Viron
 Chief Systems and Administration Consultant
 Web Spinners, University of West Florida
 http://www.webspinners.uwf.org/



 At 04:16 PM 04/13/2001 -0400, you wrote:
 I changed my system's hostname (finding "localhost" far too impersonal).
 I changed it using the "hostname" command and also manually in
 /etc/hosts, and in a "host" of other files as their related processes
 notified me that they were still looking for "localhost".
 
 However, ping and telnet keep sending me messages via the cron daemon
 which still refer to localhost - ping just mentions the name, telnet
 reports an error because it can't find localhost.
 
 Neither of these messages bother me too much, except that I get an awful
 lot of mail from those two processes. How are ping and telnet getting
 the name localhost? When I type "hostname" in a terminal, my correct
 host.domain name string is returned.
 
 Thanks!
 Jay DeKing
 --
 
 There is a fine line between 'hobby' and 'mental illness'.
 







Re: [newbie] hostname changed, some processes don't know yet

2001-04-14 Thread Michael D. Viron

At 02:02 PM 04/14/2001 -0400, you wrote:
Sorry to intrude, but I am struggling with the same problem even though I am
on a standalone PC.

 or if you want to add a different name not in DNS,

 127.0.0.1 localhost.localdomain localhost
 127.0.0.1 whateveryouwant.net whateveryouwant

I fell in this conversation late:

Do you mean you can have "both"
127.0.0.1 localhost.localdomain localhost   AND also
127.0.0.1 whateveryouwant.net whateveryouwant ?
Yes, you can have both.  Typically this is something that you would not do,
especially on a corporate / university lan, where you would be better
advised to add a network card and get an IP / DNS combination from the IT
group.

How is that possible and how do you do that?  
edit /etc/hosts -- you can have multiple names pointing to the same IP (we
have something like 10).
Where do you tell Mandrake 7.2
that your PC has 2 names?

See above.
 127.0.0.1 whateveryouwant.net whateveryouwant

Can it be just 127.0.0.1 whateveryouwant   or do you need 2 names here?

You actually need both of the names.  This setup will also depend on
whether or not this is a computer connected to a larger network (corporate
or university).  If it is an internet accessible computer, then you cannot
use the internet top-level domains (such as .edu, .net, .com, etc).


Also what do you mean by "loopback"?

Loopback (without going into too much detail) basically points to the same
unix machine that you are on.

For example, if I'm on wsdo, and type ssh localhost, it'll connect to wsdo
through the machine's internal loopback interface.  This is also explained
in much greater detail in the ethernet howto available from
http://www.linuxdoc.org .

Michael

--
Michael Viron
Chief Systems and Administration Consultant
Web Spinners, University of West Florida
http://www.webspinners.uwf.org/

.

Jeff Malka [EMAIL PROTECTED]
Registered Linux user  183185

- Original Message -
From: Michael D. Viron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 11:21 PM
Subject: Re: [newbie] hostname changed, some processes don't know yet


 Jay,

 Regardless of what other names you might have for your machine, you must
 still have localhost.localdomain.

 For example, we have a machine called wsdo, which has, in addition to the
 IP / hostname in DNS, the localhost / 127.0.0.1 loopback.

 Your host file should therefore look like:

 127.0.0.1   localhost.localdomain   localhost
 xxx.xxx.xxx.xxx actualdns.whatever.com  actualdns

 or if you want to add a different name not in DNS,

 127.0.0.1 localhost.localdomain localhost
 127.0.0.1 whateveryouwant.net whateveryouwant

 This must occur because many processes, including ping and telnet
reference
 localhost as the loopback interface (meaning that it points to the same
 machine you are on).

 (such as ftp localhost, telnet localhost, etc)

 If you have additional questions, don't hesitate to let me know,

 Michael Viron
 Chief Systems and Administration Consultant
 Web Spinners, University of West Florida
 http://www.webspinners.uwf.org/



 At 04:16 PM 04/13/2001 -0400, you wrote:
 I changed my system's hostname (finding "localhost" far too impersonal).
 I changed it using the "hostname" command and also manually in
 /etc/hosts, and in a "host" of other files as their related processes
 notified me that they were still looking for "localhost".
 
 However, ping and telnet keep sending me messages via the cron daemon
 which still refer to localhost - ping just mentions the name, telnet
 reports an error because it can't find localhost.
 
 Neither of these messages bother me too much, except that I get an awful
 lot of mail from those two processes. How are ping and telnet getting
 the name localhost? When I type "hostname" in a terminal, my correct
 host.domain name string is returned.
 
 Thanks!
 Jay DeKing
 --
 
 There is a fine line between 'hobby' and 'mental illness'.
 







Re: [newbie] Hostname problems...

2001-01-15 Thread Tom Brinkman

On Monday 15 January 2001 08:24 am, Ronald J. Hall wrote:

 You and Paul both had it right. After changing my hostname with
 DrakConf - linuxconf, I still needed to update /etc/hosts... Seems
 fine now. ;-)

   Maybe I've been doin it wrong for a long time, but I always just 
edit  /etc/sysconfig/network   Makes the change system wide and I've 
never had any problems doin it this way.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] Hostname problems...

2001-01-15 Thread Ronald J. Hall

Tom Brinkman wrote:
 
 On Monday 15 January 2001 08:24 am, Ronald J. Hall wrote:
 
  You and Paul both had it right. After changing my hostname with
  DrakConf - linuxconf, I still needed to update /etc/hosts... Seems
  fine now. ;-)
 
Maybe I've been doin it wrong for a long time, but I always just
 edit  /etc/sysconfig/network   Makes the change system wide and I've
 never had any problems doin it this way.
 --
 Tom Brinkman   [EMAIL PROTECTED] Galveston Bay

Hi Tom. Well, the DrakConf - linuxconf route did that change. However, it did
not change /etc/hosts, and until I changed it, I got errors when I started X
(KDE) and from a few programs (such as Glitter - the newsreader). Dunno why.

PS Note that the X server errors were non-fatal, everything seemed to go on and
work as it would normally. In Glitters case however, it refused to work. ;-(

-- 
 
 /\
 DarkLord
 \/




Re: [newbie] Hostname problems...

2001-01-14 Thread Carl Lafferty

-
-Its probably trying to lookup hostname "darkforce" from the network and
-can't find it? 
-
-Same thing happens to me when I change mine. 
-
-For example the Floyd County Library here in Prestonsburg uses netins.net
-as the hostname. It can look that up on the network. 
-
No I don't.  I use starfury.netins.net as my hostname for linux as well
as my windows boot on that machine (got the 30gig installed friday)
netins.net simply is the email service I have used for the last 8 years
and since you know I hate change, I don't wanna switch.


tho you are probably correct in the actual diagnosis.  probably a hosts file
that needs to be updated but since I have never installed linux without
a network to put it on (even my home network) I have had no problems 
like this.




-- 
 Carl Lafferty | [EMAIL PROTECTED] | http://www.netins.net/showcase/carl
 -The-UQWK-guy-| [EMAIL PROTECTED]  | http://www.fclib.org
Need your daily fix of B5??  Check amazon.com or your local bookstore
for B5 in print.




Re: [newbie] Hostname problems...

2001-01-14 Thread Chris Hall

Yeah, I was just using that for an example. 

--
 From: Carl Lafferty [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] Hostname problems...
 Date: Sunday, January 14, 2001 2:00 PM
 
 -
 -Its probably trying to lookup hostname "darkforce" from the network and
 -can't find it? 
 -
 -Same thing happens to me when I change mine. 
 -
 -For example the Floyd County Library here in Prestonsburg uses
netins.net
 -as the hostname. It can look that up on the network. 
 -
 No I don't.  I use starfury.netins.net as my hostname for linux as well
 as my windows boot on that machine (got the 30gig installed friday)
 netins.net simply is the email service I have used for the last 8 years
 and since you know I hate change, I don't wanna switch.
 
 
 tho you are probably correct in the actual diagnosis.  probably a hosts
file
 that needs to be updated but since I have never installed linux without
 a network to put it on (even my home network) I have had no problems 
 like this.
 
 
 
 
 -- 
  Carl Lafferty | [EMAIL PROTECTED] | http://www.netins.net/showcase/carl
  -The-UQWK-guy-| [EMAIL PROTECTED]  | http://www.fclib.org
 Need your daily fix of B5??  Check amazon.com or your local bookstore
 for B5 in print.
 




Re: [newbie] Hostname problems...

2001-01-14 Thread rdsuster

Hi Carl

I hate to say I am a newbie, but we have all been there.

Have windows 98 and Linux Mandrake  7.1 Deluxe loaded independently on my
computer.  Don't have books on them but do have a need for a guru.

They were joined at the hip by my friend David.  Can't wipe one with out
killing the other. The windows programe is not running well at all. Get a blue
screen in a heart beat. Linux is great but I need to tweek it to make it more
user friendly.

Need help if you have the time.

Thank You  Art

Chris Hall wrote:

 Yeah, I was just using that for an example.

 --
  From: Carl Lafferty [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [newbie] Hostname problems...
  Date: Sunday, January 14, 2001 2:00 PM
 
  -
  -Its probably trying to lookup hostname "darkforce" from the network and
  -can't find it?
  -
  -Same thing happens to me when I change mine.
  -
  -For example the Floyd County Library here in Prestonsburg uses
 netins.net
  -as the hostname. It can look that up on the network.
  -
  No I don't.  I use starfury.netins.net as my hostname for linux as well
  as my windows boot on that machine (got the 30gig installed friday)
  netins.net simply is the email service I have used for the last 8 years
  and since you know I hate change, I don't wanna switch.
 
 
  tho you are probably correct in the actual diagnosis.  probably a hosts
 file
  that needs to be updated but since I have never installed linux without
  a network to put it on (even my home network) I have had no problems
  like this.
 
 
 
 
  --
   Carl Lafferty | [EMAIL PROTECTED] | http://www.netins.net/showcase/carl
   -The-UQWK-guy-| [EMAIL PROTECTED]  | http://www.fclib.org
  Need your daily fix of B5??  Check amazon.com or your local bookstore
  for B5 in print.
 





Re: [newbie] Hostname

2000-12-15 Thread Sridhar Dhanapalan

As root, load linuxconf. Go to Networking - Host name and IP network devices 
- Host name. You can change your host name here.

In versions of Mandrake before 7.2, you could set your host name in the file 
/etc/hostname. I have found that this file no longer works, and if you have 
it you can even delete it with no side effects.

On Fri, 15 Dec 2000 09:50, Geoff Thomas wrote:
 Where in the startup files is Hostname set? I'd like to permanantly
 change my hostname. Currently, the hostname is my  ISP IP address (???)
 GT

-- 
Sridhar Dhanapalan.
Your mouse has moved. Windows must be rebooted to acknowledge this change.




Re: [newbie] Hostname

2000-12-15 Thread Jim Crossley

Hi Geoff.

Geoff Thomas wrote:
 
 Where in the startup files is Hostname set? I'd like to permanantly
 change my hostname. Currently, the hostname is my  ISP IP address (???)
 GT

The hostname is set by the hostname command, /bin/hostname.  But usually
that's done by a startup script (/etc/rc.d/rc.sysinit) that reads the
contents of a configuration file (/etc/sysconfig/network) that contains
the name you want.  In that file, you should see a HOSTNAME variable. 
Set it to what you like.  Keep in mind, however, that if you're
connecting to your ISP via DHCP (as you likely would with a cable or DSL
line), you'll save yourself some grief by appending "localdomain" to
your hostname.  So if for example you wanted to name your box Merle, you
would put this line in /etc/sysconfig/network:

HOSTNAME=merle.localdomain

That should cause your login prompt to "welcome you to merle."

If you have a static IP address, then forget what I just said.  :-)

Other questions that begin "where in the startup files...?" can often be
answered by the following command:

# grep -i "text to search for" $(find /etc/rc.d -type f)

Here's the output for a "hostname" search:

# grep -i hostname $(find /etc/rc.d -type f)
/etc/rc.d/init.d/mysql:  pid_file=$datadir/`hostname`.pid
/etc/rc.d/rc:#   things, such as setting the hostname.
/etc/rc.d/rc.sysinit:HOSTNAME=`/bin/hostname`
/etc/rc.d/rc.sysinit:if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ];
then
/etc/rc.d/rc.sysinit:HOSTNAME=localhost
/etc/rc.d/rc.sysinit:# Set the hostname.
/etc/rc.d/rc.sysinit:action "Setting hostname ${HOSTNAME}: " hostname
${HOSTNAME}
/etc/rc.d/rc.sysinit:   hostname ${HOSTNAME}
/etc/rc.d/rc.sysinit:   # Reset the hostname.
/etc/rc.d/rc.sysinit:   action "Resetting hostname ${HOSTNAME}: "
hostname ${HOSTNAME}

If you take a closer look at rc.sysinit, you'll see that the file
/etc/sysconfig/network is "sourced" near the top.

-- Jim
http://www.lads.com/~jim




Re: [newbie] Hostname

2000-12-15 Thread Roger Sherman

What is the benefit of setting your hostname, as opposed to letting DHCP
set it when it logs in?


peace,

Rog

http://www.slammingrooves.com
Registered Linux user #190719

On Thu, 14 Dec 2000, Jim Crossley wrote:

 Hi Geoff.

 Geoff Thomas wrote:
 
  Where in the startup files is Hostname set? I'd like to permanantly
  change my hostname. Currently, the hostname is my  ISP IP address (???)
  GT

 The hostname is set by the hostname command, /bin/hostname.  But usually
 that's done by a startup script (/etc/rc.d/rc.sysinit) that reads the
 contents of a configuration file (/etc/sysconfig/network) that contains
 the name you want.  In that file, you should see a HOSTNAME variable.
 Set it to what you like.  Keep in mind, however, that if you're
 connecting to your ISP via DHCP (as you likely would with a cable or DSL
 line), you'll save yourself some grief by appending "localdomain" to
 your hostname.  So if for example you wanted to name your box Merle, you
 would put this line in /etc/sysconfig/network:

 HOSTNAME=merle.localdomain

 That should cause your login prompt to "welcome you to merle."

 If you have a static IP address, then forget what I just said.  :-)

 Other questions that begin "where in the startup files...?" can often be
 answered by the following command:

 # grep -i "text to search for" $(find /etc/rc.d -type f)

 Here's the output for a "hostname" search:

 # grep -i hostname $(find /etc/rc.d -type f)
 /etc/rc.d/init.d/mysql:  pid_file=$datadir/`hostname`.pid
 /etc/rc.d/rc:#   things, such as setting the hostname.
 /etc/rc.d/rc.sysinit:HOSTNAME=`/bin/hostname`
 /etc/rc.d/rc.sysinit:if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ];
 then
 /etc/rc.d/rc.sysinit:HOSTNAME=localhost
 /etc/rc.d/rc.sysinit:# Set the hostname.
 /etc/rc.d/rc.sysinit:action "Setting hostname ${HOSTNAME}: " hostname
 ${HOSTNAME}
 /etc/rc.d/rc.sysinit:   hostname ${HOSTNAME}
 /etc/rc.d/rc.sysinit:   # Reset the hostname.
 /etc/rc.d/rc.sysinit:   action "Resetting hostname ${HOSTNAME}: "
 hostname ${HOSTNAME}

 If you take a closer look at rc.sysinit, you'll see that the file
 /etc/sysconfig/network is "sourced" near the top.

 -- Jim
 http://www.lads.com/~jim








Re: [newbie] Hostname

2000-12-15 Thread Tom Brinkman

On Thursday 14 December 2000 05:36 pm, Jim Crossley wrote:
 So if for example you
 wanted to name your box Merle, you would put this line in
 /etc/sysconfig/network:

 HOSTNAME=merle.localdomain

   I like,

HOSTNAME=Tom.BigDaleEarnhardtFan
DOMAINNAME=BigDaleEarnhardtFan

I've been wonderin when this thread was gonna get around to edit'g 
(as root)  /etc/sysconfig/network  ;
   
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] Hostname

2000-12-15 Thread Geoff Thomas

Roger Sherman wrote:

 What is the benefit of setting your hostname, as opposed to letting DHCP
 set it when it logs in?

 peace,

 Rog

 http://www.slammingrooves.com
 Registered Linux user #190719

 On Thu, 14 Dec 2000, Jim Crossley wrote:

  Hi Geoff.
 
  Geoff Thomas wrote:
  
   Where in the startup files is Hostname set? I'd like to permanantly
   change my hostname. Currently, the hostname is my  ISP IP address (???)
   GT
 
  The hostname is set by the hostname command, /bin/hostname.  But usually
  that's done by a startup script (/etc/rc.d/rc.sysinit) that reads the
  contents of a configuration file (/etc/sysconfig/network) that contains
  the name you want.  In that file, you should see a HOSTNAME variable.
  Set it to what you like.  Keep in mind, however, that if you're
  connecting to your ISP via DHCP (as you likely would with a cable or DSL
  line), you'll save yourself some grief by appending "localdomain" to
  your hostname.  So if for example you wanted to name your box Merle, you
  would put this line in /etc/sysconfig/network:
 
  HOSTNAME=merle.localdomain
 
  That should cause your login prompt to "welcome you to merle."
 
  If you have a static IP address, then forget what I just said.  :-)
 
  Other questions that begin "where in the startup files...?" can often be
  answered by the following command:
 
  # grep -i "text to search for" $(find /etc/rc.d -type f)
 
  Here's the output for a "hostname" search:
 
  # grep -i hostname $(find /etc/rc.d -type f)
  /etc/rc.d/init.d/mysql:  pid_file=$datadir/`hostname`.pid
  /etc/rc.d/rc:#   things, such as setting the hostname.
  /etc/rc.d/rc.sysinit:HOSTNAME=`/bin/hostname`
  /etc/rc.d/rc.sysinit:if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ];
  then
  /etc/rc.d/rc.sysinit:HOSTNAME=localhost
  /etc/rc.d/rc.sysinit:# Set the hostname.
  /etc/rc.d/rc.sysinit:action "Setting hostname ${HOSTNAME}: " hostname
  ${HOSTNAME}
  /etc/rc.d/rc.sysinit:   hostname ${HOSTNAME}
  /etc/rc.d/rc.sysinit:   # Reset the hostname.
  /etc/rc.d/rc.sysinit:   action "Resetting hostname ${HOSTNAME}: "
  hostname ${HOSTNAME}
 
  If you take a closer look at rc.sysinit, you'll see that the file
  /etc/sysconfig/network is "sourced" near the top.
 
  -- Jim
  http://www.lads.com/~jim
 
 
 

Thanks. Incredibly helpful. I was using localhost.localdomain and in one of
the init scripts this is apparently no good. I changed it to
myname.localdomain and it worked. Thanks again.
GT






[newbie] Hostname

2000-12-14 Thread Geoff Thomas

Where in the startup files is Hostname set? I'd like to permanantly
change my hostname. Currently, the hostname is my  ISP IP address (???)
GT





Re: [newbie] Hostname

2000-12-14 Thread Al Baker

You can fire up linuxconf, or
I think hosts are defined in /etc/hosts


--- Geoff Thomas [EMAIL PROTECTED] wrote:
 Where in the startup files is Hostname set? I'd like
 to permanantly
 change my hostname. Currently, the hostname is my 
 ISP IP address (???)
 GT
 
 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




[newbie] hostname problems

2000-10-23 Thread Jeff Malka

I am running Mandrake 7.1 on a stand alone pc that I use to link up to the
internet via modem but is not networked to any other pc.

For costmetic reasons (the name appears in a variety of process and
memory monitors) I decided to change my hostname to jeff_PC.home rather than
hostname.localdomain.  After several attempts to do so using the command
"hostname", both as a user and as root I found the changes did not stick after
a re-login.  I then used DrakeConf/Linuxconf/Networking/Basic Host information
and this did change it in a fashion that stuck after relogging in.

Problem:

Now on bootup, when I get to the screen of "OKs", I get an error
message:
"Starting httpd: cannot locate local server name.   -  Failed"

And on shutdown:
"failure on shutting down http" and leaves my external modem in a strange
lights configuration.

What have I done wrong and how do I fix this.

Thanks.

-- 
Jeff Malka [EMAIL PROTECTED]
Registered Linux User 348854





[newbie] Hostname woes..

1999-07-15 Thread hevnsnt

Sorry I have been asking so many q's lately, but I finally took windows
off my puter. hehe..

Ok here is the deal, I am a dial up user, and no matter what I set my
hostname to (well for all I know) when I boot up the http demeon fails
because of hostname, and I would like to have a lame webserver while I am
online. (just for play, I know I can just use the ip, and I also know that
the hostname will not resolve just go with it)  Also, back in 5.3 I set my
hostname to blah.blah.com and in pine when I sent email it would say that.
Now in pine it says hostname must... and will not send.  Somebody help me
so I can play with more stuff and ask more questions.  =)

-Bill




Re: [newbie] Hostname woes..

1999-07-15 Thread SciFyKid

i THINK that your host name needs to be 
just 
"Localhost" no " of course