From owner-freebsd-questions@freebsd.org Thu Jun 21 13:17:44 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 11FA1101EC23 for ; Thu, 21 Jun 2018 13:17:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 711AD7C3A2 for ; Thu, 21 Jun 2018 13:17:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0M7o3Q-1gR8S21p8S-00vNeX; Thu, 21 Jun 2018 15:16:50 +0200 Date: Thu, 21 Jun 2018 15:16:47 +0200 From: Polytropon To: B J Cc: freebsd-questions , Erich Dollansky Subject: Re: Problems Connecting Laptop To Modem Message-Id: <20180621151647.2cdb8e6b.freebsd@edvax.de> In-Reply-To: References: <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> <20180619095828.26271eea.freebsd.ed.lists@sumeritec.com> <20180619115218.58b3983e.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:SnDm6+22e6jzJZ0vAd6U7o8wq+O9N+jnxN4oWTl1mVIMWlAvEdQ i4fL+zhz5JR9ONszrZ1/EWy3+fVtLkKCo1pmnrybANrHw0bniRM2Penf4Ac3XE7syHGahd1 qgUEulHTROz7lg1ZrebJLUxqvvIfqVnDCf2CNMiE6t03n8Zy2jmuKjuxLheIhZmUk4WWUjQ jLQBbTS0Q53667B7m4nDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:0qhsWQt+Pvk=:KrElmdw7/DRUzvmvlVaKbv ax2WCKLu2yymhmAuEcEYAnWgi007eDOsUMUS0kgE588L+AwqYQAZWYm1V2h6nxx6/Y16T02Yu ycOf/9SJgURg2XR27orPCxJ7Dxivb0SvNslEVHNutXAcAWX4mEZCs3+yF27BeFlrKdf4VqoYy aWU0/uKotz9Px9SMDeY9N9PkxBpySVk8BNjihQ56yHLdpwrjspmHl8szWB0Lv7jF9lco9fwoF N66fSM46/XlTlZklkAkS7DFWuKJyrkGAjiLgYXGNClD01cSlsguKhJjJpAm2iL7s77KkVQDVL F9LorIYyWq/aTxsK3njOve2ZaX7gT6/uiIxu4V3EgUm38IBhgu4GYog0qrEmFyxbpIHIazqUe 7LfmPodaJYUXQo3HNg0U6vuAtPXYkRcDVIHC5I6OsEN7xB7wW4538SQ2wIbrgaiKMt1CER/DM rZX9eH44Dgr/uSbhHPJYFBwxUREPZNAn3/IHA0I9TvW3SyhHfIQHlNSVj1FyczQcSVqIFZCMv CDRH9Mbhzr/06M8wdmQp+wgDTu7qKhxOE78omU0Hda/8Tu+nq9YjYin2U0TZiPbcC+t03l6dJ U2nvHW9sXrJGWF9/w8PfmKRDqQ8tTG5EE3TSnF0IQq6zs5+o+pj88p1OYAF4PV0Dsg7KsezNC E77sPNG1qrzC1UcOKI9W+l1nQ6/e8ijLcAi+g0sf8hCTfQoOICpJjvB/JC42UpvVyddOQhs04 MhoTXtEGxa4RvarR 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: Thu, 21 Jun 2018 13:17:44 -0000 On Wed, 20 Jun 2018 01:17:22 +0000, B J wrote: > On 6/19/18, Polytropon wrote: > > > > > 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, ...