From owner-freebsd-questions@freebsd.org Tue Jun 19 01:59:35 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA87F101246F for ; Tue, 19 Jun 2018 01:59:34 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-7.antispamcloud.com (out1-7.antispamcloud.com [185.201.16.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71679823C1 for ; Tue, 19 Jun 2018 01:59:34 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx65.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fV5vW-000BVn-4W; Tue, 19 Jun 2018 03:59:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kt4K+cEy1c3ylR3Z/S0tYrlw4GCNXxAAUJy7D1g+grU=; b=QoJeLIOE1oD8U+8vPTtU5wNRDy pM6TQuhZeBogM5n5icFRdS3Eohzx6e8S4AmfvIWLqhqFtmipa9D4lMuEYPZ/nBVTzQ4X3311LHBZk damRSRPjfLvZnqU1Uslt79iesr0Dxfr1eQ+HjgXrvK99EsoJTETLIc1m/nA9XFaVZHurozVvtk6IZ tHHhmiHwUEl7PdCqoK+ITIx56KpE/pZZ2xlI81T4JtFOcIVoClxu2QL0yQ9cOLDkKT+1iyDtzG+hB w9dDFuKZqDXeZzWv+KtDBNLbfLJVU4bxoSyIhBbkhAGPwcEOLqu2SlZJlPiYb5Xn7F4lHzD/YEjxB CqZxNoOA==; Received: from [182.1.110.123] (port=56930 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fV5uh-00027M-Ay; Tue, 19 Jun 2018 08:58:33 +0700 Date: Tue, 19 Jun 2018 09:58:28 +0800 From: Erich Dollansky To: B J Cc: freebsd@dreamchaser.org, Chris Gordon , freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180619095828.26271eea.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.24) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5tGLJ++fe51b3pS9S9OQpB9602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOyUbQzp6uNaWKWUQShrSWzkp/+NW3ufwC/tpagQvr4DkTl68IbJ4giNw+n8Mu4tpN6v9 MtgoGRV0OI+hHEU1W5OgG7+2hME5lteZJUuhOkbIaD5FNcdkvY1jdJPl0oIMOdwAsFLMoj0NEqWo IAqpAc4uG7EuOOgqT09aWNR+PLZSsl7H6aAPMkVWPpyCe5BmaL9TmatVsoElQUin5D/I7csPOVnz PAFPgn1Tt0PKIc8ckVWClPVvbW5lVyQanRxw5nmS7Qi4DDvwnPe/m0ZwJgsr9AoxlaILfrBzv8zU CtQQoO1mPdHBAx0CE/jsZy4q05O3gU1BTJMuCQPfHL2GYL05C5lnbj7kvU7I94mEI/mqK2H9B8bF 4MMidlHVH2wVHs3sodCXd6Deqt8UbbiaEBu8riCKdUlO3MvI1UPhr8Z9u26svGUutW6twupTSrWQ BKLqGvUU4QaGCh0e5PQXeR9wqQ+ewteF0Vs75rn4DwSYIJ4wPZcRWc/x8B0Dq8iD1xjgXQ1cH0qb jA5HkG/mj+A7/hwjNvmMkS9BXTs5dO3G5XO88CWk9bYMPC+61abKzK0jiD6XqsJZtjQxlyCdsezq zNj6eDr7JQRYTu9QNDyq2BVyrDElNVux9ZQV5pH+gUXai8KxcV30c36f8utDqojUyuZnM9lVm3SO bzb2/orDIy/txnEIjpPhNriQxxED80++GRKi3fJfRTPr/PuJHE1R95SBvWdQ2tj7SBeq0EygGeX6 3sep+sNt1pOdnh3i5ldlBy2S7yODDH7xJVcr2HvfLnjfRiH8WGNvIVjxyekhV+Is0cex7w6jecWL oNh5L/Uf9oDBqtClgM5jH/om1Q4+TqtiFxkoyB/TKBiC8q/lKyGC2+2VYDc3MUxo5K9VKQ03R+dC 8dVwg9EvJV/whA7wBTL1+6vDOMemz/4I88NDX/lKbl56WEA43II2O5j3KYF/FVBTWE+QYFqZ/MmE Fwwgc7Ex68URYlbKL3gik7zkMS+4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2018 01:59:35 -0000 Hi, On Mon, 18 Jun 2018 17:30:59 +0000 B J wrote: > On 6/18/18, Gary Aitken wrote: > > > > >> Internet: > >> Destination Gateway Flags Netif Expire > >> default 192.168.0.1 UGS fxp0 > >> 127.0.0.1 link#2 UH lo0 > >> 192.168.0.0/24 link#1 U fxp0 > >> 192.168.0.12 link#1 UHS lo0 > > > > This looks like the routing table for the machine which is not > > working, with the default set to 192.168.0.1. If you run "netstat > > -rn" from one of the machines which *is* working (as suggested > > above), it should show a default route with the IP address of the > > actual router. That is the IP address you need to use on the > > machine which is not working. > > I just ran netstat -rn on the FreeBSD tower I'm running now and the > default address is identical. I checked the ISP's webpage for the > modem that that's the address it uses as well. > > I tinkered with the laptop this past weekend and I found the > following: > > - the machine won't connect with the modem when even when running a > liveCD version of FreeBSD (both 10 and 11)--all attempts to ping a URL > failed > - the machine updates the file: > > /var/db/dhclient.leases.nfe0 > > but it doesn't add anything > - as a test, I created a backup of that file, deleted the original, > and found that the machine will still create and write to it, but > doesn't add anything > - the last update of that file roughly corresponds to the time and > date when I connected that modem > > A while ago, I installed FreeBSD 10.x on an old IBM ThinkPad and I was > successfully send pings to the same URL as before. > > This is becoming interesting.... > try this: route flush route add 192.168.0.1 You can test now. If it still does not work, set the network configuration to manual. Check with the router what address range is reserved for manual usage. If nothing is reserved, reserve a block of 16, 32 or what ever you like addresses. Enter one of these addresses into your /etc/rc.conf and try again. You also could try to run dhclient manually. Erich