Sorry, i pasted the shot in gmail.
This is the output.

[arnav@dhcppc1 ~]$ hostname
dhcppc1
[arnav@dhcppc1 ~]$ su
Password:
[root@dhcppc1 arnav]# gedit /etc/sysconfig/network-scripts/icfg-eth0
No protocol specified

(gedit:3356): Gtk-WARNING **: cannot open display: :0.0
[root@dhcppc1 arnav]# cd /etc/sysconfig/network-scripts/
[root@dhcppc1 network-scripts]# ls
ifcfg-lo     ifdown-ppp     ifup-ippp    ifup-sit
ifdown       ifdown-routes  ifup-ipv6    ifup-tunnel
ifdown-bnep  ifdown-sit     ifup-isdn    ifup-wireless
ifdown-eth   ifdown-tunnel  ifup-plip    init.ipv6-global
ifdown-ippp  ifup           ifup-plusb   net.hotplug
ifdown-ipv6  ifup-aliases   ifup-post    network-functions
ifdown-isdn  ifup-bnep      ifup-ppp     network-functions-ipv6
ifdown-post  ifup-eth       ifup-routes



Regards,
Arnav Kalra
104, Sector 14
Karnal - 132001
Mobile - +91 9896961018
Home - +91 184 4030104



On Wed, May 2, 2012 at 10:53 PM, Arnav Kalra <[email protected]>wrote:

> 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 <[email protected]>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
>
>
>

Reply via email to