Hello everyone,
I'm really really new to unix/linux and I installed FreeBSD by following threse 2 tutorials on youtube:
http://www.youtube.com/watch?v=2St2OApkR1o
http://www.youtube.com/watch?v=fjPyXMcvUCE&feature=related
I have added the following lines in the rc.conf file:
Since I added this in the file, I am unable to use the command pkg_add. I tried
I am able to ping all the pc on my network as well as google.com but when installing ports and packages I get this frustrating error.
I have also read other tutorial where they typed defaultrouter instead of default_router. I also read to modify the resolv.conf and hosts file but I am getting nowhere.
Here is some data:
If I comment out all the setting that I added in the rc.conf file and do
Could somebody out help me please
Thank you all in advance
Frederic
I'm really really new to unix/linux and I installed FreeBSD by following threse 2 tutorials on youtube:
http://www.youtube.com/watch?v=2St2OApkR1o
http://www.youtube.com/watch?v=fjPyXMcvUCE&feature=related
I have added the following lines in the rc.conf file:
Code:
ifconfig_de0="inet 192.168.1.178 netmask 255.255.255.0"
default_router="192.168.1.1"
sshd_enable="YES"
hostname="bsdfilesrv"
Since I added this in the file, I am unable to use the command pkg_add. I tried
pkg_add -r sudo and got a message saying
Code:
error: unable to get [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2release/Latest/sudo.tbz:[/url] No address record
pkg_add: unable to fetch [url]ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2release/Latest/sudo.tbz:[/url] by URL
I am able to ping all the pc on my network as well as google.com but when installing ports and packages I get this frustrating error.
I have also read other tutorial where they typed defaultrouter instead of default_router. I also read to modify the resolv.conf and hosts file but I am getting nowhere.
Here is some data:
Code:
#cat /etc/resolv.conf
nameserver 192.168.1.1
#cat /etc/hosts
::1 localhost localhost.mydomain
127.0.0.1 localhost localhost.mydomain
dhclient em0 then, I can use pkg_add again.Could somebody out help me please
Thank you all in advance
Frederic