There is no file with that name. i am sorry for attaching such a big screen shot. How do i edit these screen shots. In windows i used the snipping tool. Regards, Arnav Kalra 104, Sector 14 Karnal - 132001 Mobile - +91 9896961018 Home - +91 184 4030104 On Wed, May 2, 2012 at 10:43 PM, Corey Quinn <[log in to unmask]> wrote: > > On May 2, 2012, at 9:59 AM, Arnav Kalra wrote: > > > Thanks. I tried editing the file and saved it but when i open the > terminal it shows the user as arnav@dhcppc0 even though i have set the > hostname as lappy. > > Ah, that one. > > Throw dhcp_hostname=your.hostname.here into > /etc/sysconfig/network-scripts/ifcfg-eth0 or equivalent for your system. > > -- Corey