> 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 > mobile: 0410-728-389 > illawarra and regional new south wales > ----------------------------------------------- > GNU/Linux/OpenSource Solutions and Alternatives > 100% Microsoft Free - Reboot is NOT an option. > Registered Linux User # 267497 > ----------------------------------------------- > Maslow's Maxim: If the only tool you have is a hammer, you treat > everything like a nail. > > >
Is there a way to restart the network without rebooting? Vegard
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
