Re: [newbie] RE: DHCP

2003-09-26 Thread Stephen Kuhn
On Fri, 2003-09-26 at 15:52, Maureen L. Thomas wrote:
 
 It's not that I want to force a name but it just started happening and I 
 have been using this service since Feb.  It kinda through me when I saw 
 it.  I though someone had snuck in a back door or something even though 
 I have a firewall and tripwire, prelude etc.

In a situation with one of my clients, they have a DHCP connection
(similar to ADSL, but actually it's a 2.4ghz 802.11b wireless link) and
initially the system was doing that - changing the hostname - but I
wanted to keep it static. The PPPoE settings allowed for me to maintain
the proper hostname internally but use the DHCP assigned hostname
externally - which was fine by me, but I did NOT want the hostname
changed internally as I have applications and services that are tied to
the internal hostname. Just for giggles and grins I also forced a chmod
on the /etc/hostname file to make SURE it was going to stay straight...

Just FYI - as if anyone would care that I have anything to say anyways.

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
--
When man calls an animal vicious, he usually means that it will
attempt to defend itself when he tries to kill it.


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


Re: [newbie] RE: DHCP

2003-09-26 Thread Maureen L. Thomas
Stephen Kuhn wrote:

On Fri, 2003-09-26 at 15:52, Maureen L. Thomas wrote:
 

It's not that I want to force a name but it just started happening and I 
have been using this service since Feb.  It kinda through me when I saw 
it.  I though someone had snuck in a back door or something even though 
I have a firewall and tripwire, prelude etc.
   

In a situation with one of my clients, they have a DHCP connection
(similar to ADSL, but actually it's a 2.4ghz 802.11b wireless link) and
initially the system was doing that - changing the hostname - but I
wanted to keep it static. The PPPoE settings allowed for me to maintain
the proper hostname internally but use the DHCP assigned hostname
externally - which was fine by me, but I did NOT want the hostname
changed internally as I have applications and services that are tied to
the internal hostname. Just for giggles and grins I also forced a chmod
on the /etc/hostname file to make SURE it was going to stay straight...
Just FYI - as if anyone would care that I have anything to say anyways.

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
 * This message was composed on a 100% Microsoft free computer *
 We expressly refuse to utilise Microsoft DRM encoded documents
--
When man calls an animal vicious, he usually means that it will
attempt to defend itself when he tries to kill it.
 



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

Thanks for the info, It did help.


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


Re: [newbie] RE: DHCP

2003-09-25 Thread Raffaele Belardi
Could it not be that the DHCP server of your DSL provider is assigning 
you a name (and an IP address) when you connect? I know that when I 
communicated the IP address of my machine to the network administrator 
for DNS and DHCP I also had to tell them the host name I wanted for my 
machine.

I don't know of books or HOWTO (have you tried www.tldp.org?), but you 
can try
$ man dhclient.conf
$ man dhclient

Also, you can read the current DHCP info typing
# cat dhclient-eth0.leases
Can I ask why do you want to force a particular hostname during the DSL 
connection?

raffaele

[EMAIL PROTECTED] wrote:
Can anyone point me to a comprehensive article, book, etc. for Linux and 
DHCP.  It seems that my computer, when conected to my DSL changes the 
host name on my computer.  When I disconnect it returns to normal.  Any 
ideas  on how I can change it so that it doesn't do it ?  TIA, Maureen



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


Re: [newbie] RE: DHCP

2003-09-25 Thread Derek Jennings
On Thursday 25 Sep 2003 11:21 am, Maureen L. Thomas wrote:
 Can anyone point me to a comprehensive article, book, etc. for Linux and
 DHCP.  It seems that my computer, when conected to my DSL changes the
 host name on my computer.  When I disconnect it returns to normal.  Any
 ideas  on how I can change it so that it doesn't do it ?  TIA, Maureen


No need for a book to answer that question.

All you have to do is go through the wizard in MandrakControlCentreNetworking
Select Expert mode and then uncheck the box to get host name from dhcp.

Note after exiting the Wizard with 'Finish' Exit the drakconnect GUI with 
'Cancel' or else your changes will be lost. (Bug 1881 is **still** not fixed 
:-(  )

Alternatively you can edit the config file directly.
Edit /etc/sysconfig/network-scripts/ifcfg-eth0  and delete the line
saying NEEDHOSTNAME


derek


-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


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


Re: [newbie] RE: DHCP

2003-09-25 Thread Maureen L. Thomas
Raffaele Belardi wrote:

Could it not be that the DHCP server of your DSL provider is assigning 
you a name (and an IP address) when you connect? I know that when I 
communicated the IP address of my machine to the network administrator 
for DNS and DHCP I also had to tell them the host name I wanted for my 
machine.

I don't know of books or HOWTO (have you tried www.tldp.org?), but you 
can try
$ man dhclient.conf
$ man dhclient

Also, you can read the current DHCP info typing
# cat dhclient-eth0.leases
Can I ask why do you want to force a particular hostname during the 
DSL connection?

raffaele

[EMAIL PROTECTED] wrote:

Can anyone point me to a comprehensive article, book, etc. for Linux 
and DHCP.  It seems that my computer, when conected to my DSL changes 
the host name on my computer.  When I disconnect it returns to 
normal.  Any ideas  on how I can change it so that it doesn't do it 
?  TIA, Maureen





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

It's not that I want to force a name but it just started happening and I 
have been using this service since Feb.  It kinda through me when I saw 
it.  I though someone had snuck in a back door or something even though 
I have a firewall and tripwire, prelude etc.


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