Date: Thu, 21 Jun 2018 15:16:47 +0200 From: Polytropon <freebsd@edvax.de> To: B J <va6bmj@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org>, Erich Dollansky <freebsd.ed.lists@sumeritec.com> Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180621151647.2cdb8e6b.freebsd@edvax.de> In-Reply-To: <CAP7QzkPkWGw-uHZfcgz2VZ9Hcz1v7yBhtoGaOUKvYGb7zcptEQ@mail.gmail.com> References: <CAP7QzkM7QnymxoOz_ZEUebaOMcE%2BwWmpv7sz6-SzjC0BHG6LCA@mail.gmail.com> <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> <CAP7QzkPkWGw-uHZfcgz2VZ9Hcz1v7yBhtoGaOUKvYGb7zcptEQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Jun 2018 01:17:22 +0000, B J wrote: > 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. I usually suggest using the CLI tools because they tend to provide you with an exact answer to a specific question, whereas a web browser just says "cannot open web page" with no further explanation of what might be wrong. :-) > >> 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. Okay, so we can definitely assume DHCP working. What you should now try is to manually check if the "DHCP handshake" does work on this particular machine (as it obviously does on the other machines). Calling dhclient and having another xterm / console open with tcpdump should tell you if the "DHCP handshake" does actually happen. The steps involved are just a few and can be easily seen in the network traffic (even with "limited means" such as tcpdump). Re-check /etc/rc.conf for the required entries. You should have something like ifconfig_xl0="SYNCDHCP" defaultrouter="192.168.100.1" but of course with the correct values for your network. DHCP doesn't require more. Maybe remove or rename /etc/resolv.conf as this file will usually be written during the "DHCP handshake", just to make sure there aren't any nonsense values in it. > 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.) Both NICs should be addressed during "bsdinstall". For the wireless networking, the "step by step" method is possible as well (so you can easily find out at which step there is a problem). Again, check "pciconf -lv" for both devices and verify that the correct drivers have picked them up. See "man fxp" (or whatever driver applies) for a list of chipsets that it supports. Just to make sure. Relevant resources: https://www.freebsd.org/doc/handbook/network-wireless.html http://www.wonkity.com/~wblock/docs/html/wireless.html http://srobb.net/fbsdquickwireless.html I was able to get wireless networking up on a probably 10 years old Lenovo Thinkpad R61i, so "being old" does not qualify a computer for not participating in wireless network traffic. :-) > 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. Very good - one out, many still in. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180621151647.2cdb8e6b.freebsd>