Hi,
I'm having some problems setting up my connection properly on FreeBSD 8.3 Every thing I do leads to host lookup name failure when I ping. Have no idea why this is happening. I removed my connection from router. Then I ran sysinstall but it doesn't work
My /etc/hosts
/etc/resolv.conf
/etc/rc.conf
I can see the machine on the router interface.
When I try to ping 192.168.1.254 I get:
And http://www.google.com
All this started happening when I compiled a new kernel. The options in the FreeBSD Kernel Handbook weren't working. When I tried to [cmd=]#make buildkernel KERNCONF=MYKERNEL[/cmd] it says
I searched for a while on google and figured out an command that works
After that my connection starts going insane and I can't compile a new kernel again. When I [cmd=]#make install[/cmd] it says:
Someone can figure out what is going on?
I'm having some problems setting up my connection properly on FreeBSD 8.3 Every thing I do leads to host lookup name failure when I ping. Have no idea why this is happening. I removed my connection from router. Then I ran sysinstall but it doesn't work
My /etc/hosts
Code:
::1 localhost localhost.lan
127.0.0.1 localhost localhost.lan
192.168.1.73 webserver.lan webserver
192.168.1.73 webserver.lan.
/etc/resolv.conf
Code:
search lan
nameserver 192.168.1.254
nameserver 192.168.1.254
/etc/rc.conf
Code:
ifconfig_em0="DHCP"
hostname="webserver.lan"
I can see the machine on the router interface.
When I try to ping 192.168.1.254 I get:
Code:
ping: sendto: Permission denied
And http://www.google.com
Code:
ping: can't resolve [url]www.google.com[/url]. Host lookup name failure
All this started happening when I compiled a new kernel. The options in the FreeBSD Kernel Handbook weren't working. When I tried to [cmd=]#make buildkernel KERNCONF=MYKERNEL[/cmd] it says
Code:
Stop. Don't know how to build kernel.
I searched for a while on google and figured out an command that works
Code:
#cd /usr/src/sys/i386/conf
#cp GENERIC MYKERNEL
#config MYKERNEL
#cd ../compile/MYKERNEL
#make depend
#make install
After that my connection starts going insane and I can't compile a new kernel again. When I [cmd=]#make install[/cmd] it says:
Code:
You must build a kernel first.
Error code 1.
Someone can figure out what is going on?