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: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: Host name?< Next Oldest | Next Newest >
Joe Breher
Unregistered






Posted: Feb. 03 2006,20:40 QUOTE

I'll try that. Perhaps not hard code it, but read it from the /etc/hostname file. Funny it doesn't do that already.

One other thing I'll try - in a debian netinstall, I tried to enter a hostname at the appropriate point in the install process. It puked on that name, telling me that only lower case alpha, numeric, and '-' characters are legal in a hostname. I hadn't heard this before. The name I had been trying to use contained upper case, and the '_' character. I haven't read the RFCs to see what is truly legal, but it's worth a shot....

Joe
Back to top
Your Fuzzy God Offline





Group: Members
Posts: 260
Joined: July 2005
Posted: Feb. 03 2006,21:49 QUOTE

WHOOPS WHOOPS!  DOUBLE DOUBLE POST POST!!

 |
V


--------------
Good Luck

-Fuzzy
www.mainframecomps.com
**Bienvienidos a la revolución**
Back to top
Profile PM WEB 
Your Fuzzy God Offline





Group: Members
Posts: 260
Joined: July 2005
Posted: Feb. 03 2006,21:52 QUOTE

1.  Open /opt/bootlocal.sh and add "hostname COMPUTERNAME" to the end of the file
2.  Open /etc/hostname and change "box" to "COMPUTERNAME"
3.  Open /etc/hosts and change "box" to "COMPUTER NAME"

For more info try here.


--------------
Good Luck

-Fuzzy
www.mainframecomps.com
**Bienvienidos a la revolución**
Back to top
Profile PM WEB 
starcannon Offline





Group: Members
Posts: 100
Joined: Oct. 2005
Posted: Feb. 23 2006,21:29 QUOTE

Quote (roberts @ Feb. 01 2006,17:46)
Try editing /etc/init.d/knoppix-autoconfig the line
hostname=box


Quote (yourfuzzygod @ Feb. 03 2006,16:52)

1.  Open /opt/bootlocal.sh and add "hostname COMPUTERNAME" to the end of the file
2.  Open /etc/hostname and change "box" to "COMPUTERNAME"
3.  Open /etc/hosts and change "box" to "COMPUTER NAME"


/etc/init.d/knoppix-autoconfig
/etc/hostname
/etc/hosts
are Read Only files on my Frugal install of DSL 2.2

I'd really like to be able to give all 3 of my dsl laptops unique identities on the network. Changing the Host name seems the best way. What is required to do this on a frugal install?

Thanks,
Rob


--------------
Damn Small Linux... Because size DOES matter...
Viva Le' Revolution!
Back to top
Profile PM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Feb. 23 2006,21:43 QUOTE

With Frugal you can put the cheat code host=whatever somewhere after frugal or toram in the grub menu.lst

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
11 replies since Jan. 26 2006,03:53 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Host name?

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