Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 09:58:28 +0800
From:      Erich Dollansky <freebsd.ed.lists@sumeritec.com>
To:        B J <va6bmj@gmail.com>
Cc:        freebsd@dreamchaser.org, Chris Gordon <freebsd@theory14.net>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Problems Connecting Laptop To Modem
Message-ID:  <20180619095828.26271eea.freebsd.ed.lists@sumeritec.com>
In-Reply-To: <CAP7QzkNRqe1abscB4cmG8yi%2BmL9=jrzzYzVit1Yjew3d57vpmw@mail.gmail.com>
References:  <CAP7QzkM7QnymxoOz_ZEUebaOMcE%2BwWmpv7sz6-SzjC0BHG6LCA@mail.gmail.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <CAP7QzkOzK=7u5Vf0FLdiz6f1%2BSbhme3RpF9MpYUoAJLqTH15qw@mail.gmail.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <CAP7QzkNK2qfAL=2-og5oyAY9KLuYVXCfbZ_akbWoEP-xwCP%2BJw@mail.gmail.com> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <CAP7QzkN6jtukm-ieWEaPsuo6bCTJh0xLdJYOdALVUs6fgSJtwg@mail.gmail.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <CAP7QzkPL5732dh3%2BVmbT6mXxkiYGjUOgiHvUwWBJRk2VJK-y2w@mail.gmail.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> <CAP7QzkODpMCy1TNRpC_-oVmatXE7V1h%2BZEds1R%2B2UCFCu76C%2BA@mail.gmail.com> <ef7f1a05-68c7-c787-5d73-c9848e30acf3@dreamchaser.org> <CAP7QzkPg%2BmQCEePf_DVZCuwybL3MLcNXAgfp1yRETk0qR50BhA@mail.gmail.com> <b6413411-b864-01a4-bfd0-ec9ff6f4d11d@dreamchaser.org> <CAP7QzkNRqe1abscB4cmG8yi%2BmL9=jrzzYzVit1Yjew3d57vpmw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 18 Jun 2018 17:30:59 +0000
B J <va6bmj@gmail.com> wrote:

> On 6/18/18, Gary Aitken <freebsd@dreamchaser.org> wrote:
> 
> <snip>
> 
> >> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180619095828.26271eea.freebsd.ed.lists>