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 / Dns/ fqdn< Next Oldest | Next Newest >
bryandj23 Offline





Group: Members
Posts: 9
Joined: July 2005
Posted: Oct. 03 2005,23:19 QUOTE

How does one permanently change the hostname on a DSL box? (no pun intended).

This is my second installation of DSL, so now I have two machines name 'box' on the LAN.  One is being run as a Shoutcast server, so I'd like to change the hostname and dns domain name.  I think running 'hostname' changed it before - maybe I just didn't backup.  Just want to make sure I'm doing it right.

And, one more stumper - how can I get the network to stop using DHCP broadcast?   This I have changed using netcardconfig, and even after backup, restarting will go back to DHCP-assigned.

Any help would be greatly appreciated.  I'm still learning my way through Linux.
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Oct. 04 2005,03:14 QUOTE

I am not sure but I would look at /etc/hostname. Right now it only has 'box' in it, so that might be what you are looking for.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Oct. 04 2005,03:26 QUOTE

I'm not sure how your running your OS.. LiveCD , Frugal, or HDInstalled.

With liveCD, boot with the options nodhcp, and host=your_new_hostname
in your startup commands..

Same with Frugal/Grub/Lilo..
Add the nodhcp and host=whatever to your menu.lst ( grub) or append lines (lilo)

73
ke4nt
Back to top
Profile PM 
bryandj23 Offline





Group: Members
Posts: 9
Joined: July 2005
Posted: Oct. 04 2005,15:57 QUOTE

it's installed to hard drive.  I think I'm pretty much screwed.  Either that or I'm thinking I need to set everything up while it's running off the CD, THEN install to HD?

Other distros of Linux are looking better for this shoutcast server.
Back to top
Profile PM 
bryandj23 Offline





Group: Members
Posts: 9
Joined: July 2005
Posted: Oct. 04 2005,17:26 QUOTE

Ok..

It just floors me that I haven't been able to achieve the following:

1.  Set network card to ip 10.x.x.x
2.  Set hostname to 'scanner.mydomain.com'
3.  Start sc_serv in the background
4.  Start sc_trans_linux in the background.

Don't get me wrong, I love DSL.  It's worked great for me as a workstation system.  Having a setup that's completely automated for my needs as a server, however isn't working out.  I just want to be able to turn the box on, and have it start streaming.
Back to top
Profile PM 
6 replies since Oct. 03 2005,23:19 < 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 / Dns/ fqdn

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