Skip to main content

:: host name lookup failure on freebsd ::

:: error
host name lookup failure freebsd

:: solution
[fbsd]# route add default 192.168.1.1
[fbsd]# ee /etc/rc.conf
# add this line:
defaultrouter="192.168.1.1"
* 192.168.1.1 = gateway ip

:: testing
[fbsd]# ping google.com
PING google.com (216.239.61.104) 56(84) bytes of data.
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=1 ttl=245 time=44.1 ms
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=2 ttl=245 time=33.7 ms
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=3 ttl=245 time=42.3 ms

:: link
+ google

Comments

Popular posts from this blog

:: solution for libtoolT error

:: what is please take a look at this. :: case /bin/rm: cannot remove `libtoolT': No such file or directory if you get some error message like that when you compiling some application from source you can do like this for resolve on it. :: solution this example for resolve on compiling mysql package. install libtool packages from repository and run liboolize command line on the package: linux:~/download/mysql-5.1.37 # yum install libtool linux:~/download/mysql-5.1.37 # libtoolize --force linux:~/download/mysql-5.1.37 # autoconf and/or linux:~/download/mysql-5.1.37 # autoreconf after that you can recompile and install your package from source. :: links + GoogleLinux

:: install postfix, cyrus, courier, mysql, postfixadmin, squirrelmail on opensuse

:: what is please take a look this. :: install dependency + installing berkeleyDB + installing MySQL + installing Apache + installing PHP :: remove sendmail [ root:~ ]# rpm -e sendmail --nodeps :: build cyrus-sasl [ root: ~ ]# wget ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.23.tar.gz [ root: ~ ]# tar -xzf cyrus-sasl-2.1.23.tar.gz [ root: ~ ]# groupadd mail [ root: ~ ]# useradd -u 96 -d /usr/cyrus -g mail cyrus [ root: ~ ]# passwd cyrus [ root: ~ ]# cd cyrus-sasl-2.1.23/ [ root: cyrus-sasl-2.1.23 ]# export CPPFLAGS="-I/usr/local/mysql/include/mysql" [ root: cyrus-sasl-2.1.23 ]# ./configure --enable-anon --enable-plain --enable-login --enable-sql --disable-krb4 --disable-otp --disable-cram --disable-digest --with-mysql=/usr/local/mysql --with-plugindir=/usr/lib/sasl2 --without-pam --without-saslauthd --without-pwcheck [ root: cyrus-sasl-2.1.23 ]# make && make install :: installing Postfix + download postfix [ root:~ ]# wget http://mirror.postfix.jp/...

:: installing berkeley db on linux

:: what is please take a look at this. :: download berkeley db [ linux:download ] # wget http://download.oracle.com/berkeley-db/db-4.8.24.tar.gz [ linux:download ] # tar -xzf db-4.8.24.tar.gz :: build/compiling berkeley db [ linux:download ] # cd db-4.8.24/build_unix/ [ linux:~/db-4.8.24/build_unix ] # ../dist/configure [ linux:~/db-4.8.24/build_unix ] # make && make install [ linux:~/db-4.8.24/build_unix ] # echo '/usr/local/BerkeleyDB.4.8/lib/' >> /etc/ld.so.conf [ linux:~/db-4.8.24/build_unix ] # ldconfig :: links + googlelinux