On Fri, 2004-12-03 at 08:34, Vegard Lundby Rekaa 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...
> Is there a way to restart the network without rebooting? > > Vegard Open a terminal and su to root. Then type: /sbin/service network restart That should - SHOULD do ya. -- 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 ----------------------------------------------- 'Detectoring is like gambling,' said Vimes, putting down the clove. 'The secret is to know the winner in advance.' (Jingo)
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________