that did it! thanks On Sun, Mar 27, 2011 at 11:00 PM, Noel <noeld...@gmail.com> wrote: > On 3/27/2011 9:18 PM, Tim Dunphy wrote: >> >> hey guys, >> >> I setup a FreeBSD 8.2 box to server as an LDAP server. I forgot that >> I had a TLS cert with a different hostname than the one I selected. So >> I edited /etc/rc.conf to change the name there >> >> defaultrouter="192.168.1.1" >> hostname="LBSD2.summitnjhome.com" ##< -- used to be >> LBSD1.summitnjhome.com >> ifconfig_bge0="inet 192.168.1.44 netmask 255.255.255.0" >> nfs_client_enable="YES" >> sshd_enable="YES" >> named_enable="YES" >> slapd_enable="YES" >> >> >> And then edited /etc/hosts >> >> ::1 localhost localhost.summitnjhome.com >> 127.0.0.1 localhost localhost.summitnjhome.com >> 192.168.1.44 LBSD2.summitnjhome.com LBSD2 ##<-- used to be >> LBSD1.summitnjhome.com >> 192.168.1.44 LBSD2.summitnjhome.com. ##<<-- Same >> >> then i restarted the network >> >> LBSD2# /etc/rc.d/netif restart >> Stopping Network: lo0 bge0 plip0. >> lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 >> options=3<RXCSUM,TXCSUM> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> nd6 options=3<PERFORMNUD,ACCEPT_RTADV> >> bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 >> >> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE> >> ether 00:14:22:38:9e:eb >> media: Ethernet autoselect (1000baseT<full-duplex>) >> status: active >> plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 >> Starting Network: lo0 bge0. >> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 >> options=3<RXCSUM,TXCSUM> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> nd6 options=3<PERFORMNUD,ACCEPT_RTADV> >> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu >> 1500 >> >> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE> >> ether 00:14:22:38:9e:eb >> inet 192.168.1.44 netmask 0xffffff00 broadcast 192.168.1.255 >> media: Ethernet autoselect (none) >> status: no carrier >> >> >> However when I issue the hostname -f command it does not reflect the >> change. It doesn't even show the fqdn >> >> LBSD2# hostname -f >> LBSD2 >> >> What am I doing wrong, here? >> >> >> thanks > > Try typing the command: > > # hostname LBSD2.summitnjhome.com > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" >
-- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"