Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 01:17:22 +0000
From:      B J <va6bmj@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Erich Dollansky <freebsd.ed.lists@sumeritec.com>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Problems Connecting Laptop To Modem
Message-ID:  <CAP7QzkPkWGw-uHZfcgz2VZ9Hcz1v7yBhtoGaOUKvYGb7zcptEQ@mail.gmail.com>
In-Reply-To: <20180619115218.58b3983e.freebsd@edvax.de>
References:  <CAP7QzkM7QnymxoOz_ZEUebaOMcE%2BwWmpv7sz6-SzjC0BHG6LCA@mail.gmail.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> <20180619095828.26271eea.freebsd.ed.lists@sumeritec.com> <20180619115218.58b3983e.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/19/18, Polytropon <freebsd@edvax.de> wrote:

<snip>

> Try to ping "step by step": first your router by IP, then
> a public IP address which definitely will answer (for
> example 8.8.8.8), and then something that involves name
> resolution (for example www.startpage.com). If name
> resolution is a problem, the ISP's DNS (or the DNS you
> are using) should be examined (dig / drill).

I'll try it and see what happens.

>
>
>
>> 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.
>
> It's still not clear (to me) if the router/modem provides DHCP
> or not. If it doesn't, manual configuration is needed, but if
> it does provide DHCP, this should be used - and investigated
> if it doesn't work as expected.

It appears to as I've got a tower running FreeBSD connected to it.  I've got:

ifconfig_fxp0="DHCP"

in /etc/rc.conf and I have no problem connecting to any of the
websites I regularly look at.


>
>
>
>> You also could try to run dhclient manually.
>
> I still suggest running tcpdump (or Wireshark) in parallel
> to see the corresponding traffic. If the machine (for unknown
> reasons) doesn't get the DHCP handshake right - it needs to
> perform the required network traffic and should also update
> certain files and interface settings - there is a reason for
> it. It would sound strange that a defective network card can
> cause this strange kind of behaviour, but it's still possible...

I haven't tried that yet.

<snip>

I swapped the current HD with a spare that I had on hand and installed
FreeBSD 11, though only the command line interface.

For some reason, the network card couldn't be configured with that set
up and I couldn't do it for the wireless card, either.  (The
modem/router has both Ethernet and Wi-Fi.)

I checked out the Wi-Fi with an IBM ThinkPad that runs an old version
of openSUSE and I could easily switch between it and Ethernet without
any problems.  It certainly doesn't look like the modem/router is the
problem.

I've got a few other things I'd like to try to see if I can narrow
down what's happening.

As I mentioned earlier, if I can't use this laptop with this
modem/router, it's no great loss as I've got two tower machines
running FreeBSD here at home.  If I can't use it here at home, I might
be able to use it at the house I inherited, which is in another part
of the country.  The machine itself has seen better days as I don't
think the previous owners took great care of it, judging by how dirty
it was when they gave it to me.  (I think they got it from one of the
local cable TV companies as a gift for signing on with that service
and, so, it didn't cost them anything.)

Even if I can't use it with the router/modem, I may as well use it to
learn something about FreeBSD and networking.

BMJ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7QzkPkWGw-uHZfcgz2VZ9Hcz1v7yBhtoGaOUKvYGb7zcptEQ>