Networking :: Hostname / Dns/ fqdn
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.
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.
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
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.
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.
Next Page...
original here.