Problems Connecting Laptop To Modem

Gary Aitken freebsd at dreamchaser.org
Fri Jun 15 16:49:45 UTC 2018


On 06/14/18 22:08, B J wrote:
> <snip>
> 
>>> hostname="VA6BMJ"
>>> ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0"
>>
>> if you have this line, you have to have a line like this:
>>
>> defaultrouter="192.168.0.xxx"
>>
>> where the address has to be the address of the router this machine is
>> connected to.
>>
>> A hostname entry would be nice too but I think it will not affect this
>> problem.
> 
> <snip>
> 
> That didn't change anything after I added the line to rc.conf.

You can't just add the default router line without a bit of knowledge
about what the IP address of the default router actually is.  Do you
know what the 192.168.0.* address for the router is?  I suggested
192.168.0.1 because that is often the default, but not necessarily so.

> That might be worth considering, but I don't have to do it with my
> other FreeBSD machines.

Can you post the result of "netstat -rn" from one of those other
machines?

Gary


More information about the freebsd-questions mailing list