It is DHCP, yes.Unknown host seems to indicate a problem with your DNS settings. Is this DHCP or static? If it's static did you set /etc/resolv.conf correctly?
ifconfig <interface>
. If you have an IP address then check if the default gateway is set correctly by looking at netstat -rn
. If all those look good then check if you received the correct DNS information by looking at /etc/resolv.conf.RanDid you get an IP address? Check withifconfig <interface>
. If you have an IP address then check if the default gateway is set correctly by looking atnetstat -rn
. If all those look good then check if you received the correct DNS information by looking at /etc/resolv.conf.
From the routing table, look at the gateway for the 0.0.0.0 network, that's your default gateway. Make sure you can ping(8) that IP address. If that works, ping(8) the IP addresses you found in /etc/resolv.conf
ifconfig ue0
and I don't an assigned IP address.. Is it because I use USB tethered internet..? In /etc/resolv.conf there's only a local IP address (127.0.0.1), though.Yes, that sounds likely. It's possible the USB connection hasn't been initialized yet when the boot process tries to set an IP on the interface.Ranifconfig ue0
and I don't an assigned IP address.. Is it because I use USB tethered internet..?
You probably enabled unbound(8), that's fine.In /etc/resolv.conf there's only a local IP address (127.0.0.1), though.
Just to make sure, have you configured the ue0 interface? To persist reboots:Ranifconfig ue0
and I don't an assigned IP address.. Is it because I use USB tethered internet..?
ifconfig_ue0="SYNCDHCP"
What's the difference between "DHCP" and "SYNCDHCP"? I never understood when to use it.Have you configured the ue0 interface? To persist reboots:
/etc/rc.conf
Code:ifconfig_ue0="SYNCDHCP"
Thank you, I also had to runJust to make sure, have you configured the ue0 interface? To persist reboots:
/etc/rc.conf
Code:ifconfig_ue0="SYNCDHCP"
dhclient ue0
. Now internet is working What do you do if you have an em0 and a ue0?A better way to "restart" the DHCP is to useservice dhclient restart ue0
. Assuming you haveifconfig_ue0
in your /etc/rc.conf.