On Thursday 02 December 2004 21:26, Stephen Kühn wrote: > On Fri, 2004-12-03 at 08:19, Vegard Lundby Rekaa wrote: > > My hostname on my PC at home is > > > > 062016248046.customer.alfanett.no > > > > wich is almost 40 characters long, and together with my username it tops > > 40 chars... > > Can I change this to somthing easier? It was set this way without me > > noticing when I installed mdk. > > > > Typing these commands gives: > > # hostname > > 062016248046.customer.alfanett.no > > # dnsdomainname > > customer.alfanett.no > > > > I have mdk 10.0, kernel 2.6.3-7mdk > > > > Best regards from vegard > > IIRC, you can change the line in your > /etc/sysconfig/network-scripts/ifcfg-eth0 > from PEERDNS=YES > to PEERDNS=NO > > ...and then simply change your hostname in /etc/hosts > to whatever you so desire and restart your network... > > -- > stephen kuhn Actually the statement he needs is NEEDHOSTNAME=no
derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________