From owner-freebsd-questions@freebsd.org Wed Jun 20 01:17:24 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 43257101B7B1 for ; Wed, 20 Jun 2018 01:17:24 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8DD17F965 for ; Wed, 20 Jun 2018 01:17:23 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x235.google.com with SMTP id 200-v6so994641vkc.0 for ; Tue, 19 Jun 2018 18:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ymavKYL4YoUFIpKXaMcdDVsom1jxiB1UJK4AakM/5bw=; b=AB4hxiuehAn79NIXnwnsS8SIjhk2csOTc0OJ9C24B765DG6Za0QHodBnTahRXt+RGB Co6TzzKDgC2mtTGBaKzNbr4BaP5UZbqCYpuQUw+szk4pVY4SzhAy44UymOsZgbPsA1gI CG1NDgy0ytxjXShpKrztL/wpQWFMTl1GcqDlSoMbZ+rk6Bz0pTKCUq02sVy0fThDAKeV Gm6cyG+UFzQzz/ObiRg0IvWUUIZ8/De7YsCOtjxRJxSTZY9t9mfDvkCDUof90PCeuy7u 70JemxqfZHfRVsYpTdGJM1mk7OUr6d+UtDN7p84yg26el+Nph75sWThd0vP0cktb6s7t AIFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ymavKYL4YoUFIpKXaMcdDVsom1jxiB1UJK4AakM/5bw=; b=d4W1xot95l/lbejUR3lcwL0S7zj1DdwjKXfxyk2p12R15p9U2Fe84JeopQ9gduP9Mh 6B/N5zN7jgOEsWhz2LJW06k0SbriFfioUpqJ9sHMpL/UVu0js7YL+ADcoMyKZi0ByPM7 MSio0gegvHnJJsyRrK+qz3bEDE4fMym5dYgNKXUkUz3TYMKmwn4GYqhr5AkcjaOTux1R aQ7DcVOqvSvZvqY1/D6zh+8dU+OU8xzK+XaP2BDd5MWYxWAI5A1HVYeHuHyOqJSbKmSV wgi2RXQDCrqaO+wRRy5DxKnV36NPO4OaDX1kgz8H5Xss0f0tRRWTnXeRXHIvoNODYvXl AKZQ== X-Gm-Message-State: APt69E02qHdGI/Xk793Tezd13QqRd2FuKkPgKAZDybQjGWvfHPlB4fK2 TpXxwnaeSEbUUrulE5/4zopo1ec3p57j6WfdABQ= X-Google-Smtp-Source: ADUXVKKdVoQP7DG8/SACRHzvWJbdHnCTSHawtbuijC/vjjqiwRoKnFaCUyYHXpBsyIYN9MVOMM1a9DD5/xz2m2Dlvn0= X-Received: by 2002:a1f:e2c2:: with SMTP id z185-v6mr11180226vkg.35.1529457442872; Tue, 19 Jun 2018 18:17:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 18:17:22 -0700 (PDT) In-Reply-To: <20180619115218.58b3983e.freebsd@edvax.de> References: <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> <20180619095828.26271eea.freebsd.ed.lists@sumeritec.com> <20180619115218.58b3983e.freebsd@edvax.de> From: B J Date: Wed, 20 Jun 2018 01:17:22 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Polytropon Cc: Erich Dollansky , freebsd-questions Content-Type: text/plain; charset="UTF-8" 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: Wed, 20 Jun 2018 01:17:24 -0000 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. > > > >> 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. 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