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 >
C0LDI30oT Offline





Group: Members
Posts: 2
Joined: Jan. 2006
Posted: Jan. 26 2006,03:53 QUOTE

How does one change the host name. I guess the default is 'box'?
Back to top
Profile PM 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: Jan. 26 2006,08:02 QUOTE

sudo echo "NewHostName" > /etc/hostname

--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: Jan. 26 2006,12:15 QUOTE

I think there's a boot code 'host='

So when you start DSL you would type (or have grub or lilo enter)

DSL host=myHostname

The Wiki Page has a nice writeup under DSL Booting.....Cheat Codes


--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
jbreher
Unregistered






Posted: Feb. 01 2006,21:23 QUOTE

Neither method seems to work for a Hard Drive install.

In my situation, I booted the CD with
dsl dma host=MyHostName noscsi nopcmcia nousb noagp noapm nomce noddc nofirewire nfs toram vga=normal

At this point, the machine identified itself as MyHostName, as I would hope. [1]

I then immediately did a:
rt-clk>Apps>Tools>Install to Hard Drive

upon reboot, it had forgotten all my boot options, so it was back to being box.

vi /boot/grub/menu.lst to add host=MyHostName (as well as the other options)

reboot with new boot line - hostname is still box (though it seems that it caught the other boot options - dma, nousb, etc)

rm -f /etc/hostname
echo "MyHostName" > /etc/hostname

reboot

machine still identifies itself as box [2]

[1] interestingly, nfs does not seem to be started by this - ps aux shows none of the required daemons (e.g. portmap) to be running.

[2] also tried
echo MyHostName > /etc/hostname
(no quotes) - didn't make any difference

also modified /etc/hosts, replacing box with MyHostName - didn't help

  • where do I get a *complete* listing of cheatcodes? The one listed by the wiki does not contain the nofirewire option, but it is quite evident that dsl actually acts upon it.

    [**] what is mce? what is ddc?
  • Back to top
    roberts Offline





    Group: Members
    Posts: 4983
    Joined: Oct. 2003
    Posted: Feb. 01 2006,22:46 QUOTE

    Try editing /etc/init.d/knoppix-autoconfig the line
    hostname=box
    Back to top
    Profile PM WEB 
    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