Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: hostname< Next Oldest | Next Newest >
bjh Offline





Group: Members
Posts: 16
Joined: Mar. 2006
Posted: April 11 2006,18:43 QUOTE

doobit-
I did not do a frugal install to hd and I am using grub...
I previously tried the host=xxxx option on the boot line, with no results...

also, I tried changing the hostname in /etc/init.d/knoppix-autoconfig, which works (kinda), but then I can't sudo su to become root...it gives me an error message like "cannot lookup host via gethostbyname( )" (or something along those lines)...had to drop to runlevel 2 to fix it.

finally, tried changing hostname in /etc/hostname and /etc/hosts, but to no effect...
Back to top
Profile PM 
jezek Offline





Group: Members
Posts: 5
Joined: Nov. 2006
Posted: Nov. 18 2006,11:25 QUOTE

Quote (bjh @ April 11 2006,14:43)
doobit-
I did not do a frugal install to hd and I am using grub...
I previously tried the host=xxxx option on the boot line, with no results...

also, I tried changing the hostname in /etc/init.d/knoppix-autoconfig, which works (kinda), but then I can't sudo su to become root...it gives me an error message like "cannot lookup host via gethostbyname( )" (or something along those lines)...had to drop to runlevel 2 to fix it.

finally, tried changing hostname in /etc/hostname and /etc/hosts, but to no effect...

Hi I have the same problem I did a HD install and I'm using grub boot manager. I want to have other hostname becouse I can't use BOX. How can I do this?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 18 2006,16:22 QUOTE

For a traditional hard install you not only need to change:
/etc/hostname
/etc/hosts

But then as root run
hostname --file /etc/hostname
Back to top
Profile PM WEB 
The_Prophet_Jonah Offline





Group: Members
Posts: 19
Joined: Nov. 2006
Posted: Nov. 18 2006,18:19 QUOTE

Also, depending on your hardware, editing out some of those "no" options like (for me) nodma, noscsi and noacpi might give you a bit more functionality. And editing off "frugal" at the end.

Since I do all kinds of strange and bizarre, while and at the same time weird in an odd yet vaguely disturbing sort of way... hardware configurations, tweaks and add ons, anything less than full functionality would be almost a toy.

To get a good idea, when you are installing hit f2 and look at the list.
Back to top
Profile PM 
The_Prophet_Jonah Offline





Group: Members
Posts: 19
Joined: Nov. 2006
Posted: Nov. 18 2006,18:22 QUOTE

and there are some sample boot lines in /grub/menu.lst that are commented out. Find a good one, edit it and uncomment it.
Back to top
Profile PM 
9 replies since April 06 2006,19:17 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: hostname

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code