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