Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: None prompt
PostPosted: Sun Feb 15, 2004 9:38 am 
Offline
Junior Member

Joined: Fri Sep 19, 2003 5:37 am
Posts: 22
Location: Luxembourg
I just created a Debian image. Boots fine. However, it just says this on the prompt, which looks strange:

(none):/#

Is this normal?

Also, my Debian system is very "basic" now. What steps should I take to install applications etc?

Thanks


Top
   
 Post subject:
PostPosted: Sun Feb 15, 2004 10:40 am 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
You are missing a hostname.

You can do

echo "whatever" > /etc/hostname
hostname -F /etc/hostname

(if you ever reboot, the hostname is automatically set for you)

Enjoy.

Bill Clinton


Top
   
 Post subject:
PostPosted: Sun Feb 15, 2004 10:43 am 
Offline
Junior Member

Joined: Fri Sep 19, 2003 5:37 am
Posts: 22
Location: Luxembourg
This works, until I reboot. How can I have it set at reboot?


Top
   
 Post subject:
PostPosted: Sun Feb 15, 2004 12:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
it should work automatically at boot.

The command:

echo "hostname" > /etc/hostname

stores the hostname into the correct file. Which in turn is set at boot time by /etc/init.d/hostname

I get the odd feeling that your /etc/init.d/hostname script is not automatically be run at boot time. I have no idea how debian's brain-dead/non-conformant init scripts work, but the following should do it:

ln -s /etc/init.d/hostname.sh /etc/rcS.d/S40hostname.sh

that should make things work at boot time

Blii Clinton


Top
   
 Post subject:
PostPosted: Tue Feb 24, 2004 10:39 am 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Bill Clinton wrote:
I have no idea how debian's brain-dead/non-conformant init scripts work


Huh? They work just like any other SysV init system. One can argue that it's not the most intuitive system in the world, but it's hardly "non-comformant".

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group