Re: New on cable. Bash prompt name changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 12.04.2006 schrieb ron um 18:31:

> My  /etc/sysconfig/network-scripts/ifcfg-eth0 :
> 
> # nVidia Corporation CK804 Ethernet Controller
> DEVICE=eth0
> BOOTPROTO=bootp
> HWADDR=00:11:D8:CF:C4:8C
> ONBOOT=yes
> DHCP_HOSTNAME=localhost.localdomain
> USERCTL=yes
> IPV6INIT=no
> PEERDNS=yes
> TYPE=Ethernet
> 
> After rebooting  my shell domain name is:
> 
> [ron@c-67-191-14-212 ~]$
> 
> After using the System Configure Network  Gui:
> 
> [ron@localhost ~]$
> 
> But after reboot it reverts back to:
> 
> [ron@c-67-191-14-212 ~]$
> 
> It's in here somewhere:
> 
> [ron@c-67-191-14-212 ~]$ locate  dhclient
> 
> /etc/dhclient-eth0.conf
> /etc/resolv.conf.predhclient
> /sbin/dhclient
> /sbin/dhclient-script
> /usr/share/doc/dhclient-3.0.3
> /usr/share/doc/dhclient-3.0.3/dhclient.conf.sample
> /usr/share/man/man5/dhclient.conf.5.gz
> /usr/share/man/man5/dhclient.leases.5.gz
> /usr/share/man/man8/dhclient-script.8.gz
> /usr/share/man/man8/dhclient.8.gz
> /var/lib/dhclient
> /var/lib/dhclient/dhclient-eth0.leases
> /var/run/dhclient-eth0.pid
> 
> [ron@c-67-191-14-212 ~]$
> 
> Concerning a hardware router. Do you have any suggestions (wired and
> wireless ) for a novice with one personal computer that has expansion
> capabilities as I learn? I keep the SElinux Firewall on with Strict
> Enforcing.
> 
> -ron-

Use a hostname which is not localhost or localhost.localdomain. Else (in
your case actually) the DHCP client network scripts in these cases
rewrite the hostname dynamically. Use something like "core5.lan" or
similar.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 19:00:48 up 29 days, 19:48, load average: 0.09, 0.04, 0.05 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux