Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #257013
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how to change default nameserver? |
| Date | 2023-04-10 21:50 +0200 |
| Message-ID | <Gj5Gx-19ph-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <GiCbv-R12-3@gated-at.bofh.it> <GiEGl-Sov-1@gated-at.bofh.it> <GiF9n-SNn-3@gated-at.bofh.it> <Gj2fD-17u4-3@gated-at.bofh.it> <Gj3EJ-18dy-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 4/10/23 13:30, Greg Wooledge wrote: > On Mon, Apr 10, 2023 at 12:05:06PM -0400, gene heskett wrote: >> Thanks for the vote of confidence Greg, but I'd like to point out that the >> help offered is only valid for systems with a working dhcpd. >> You tell me I'm wrong, but you don't tell how to do it right w/o dragging in >> dhcpd. My way doesn't need that. But you've made it your lifes work to not >> understand how my way Just Works. > > How To Set Up A Debian Computer With Static IP Addressing And Hosts File: > > 1) Install Debian. Select "Standard". Do not select a Desktop Environment. > > 2) Find the name of your ethernet interface, either using "ip link" or > by reading /etc/network/interfaces. For purposes of this document, > let's say it's "en0". > > 3) Bring your ethernet interface down: ifdown en0 > This will kill the DHCP client daemon. > > 4) Edit the /etc/network/interfaces file, and change > iface en0 inet dhcp > to > iface en0 inet static > and then add the "address" and "gateway" lines underneath that. > While you're in there, make sure you have "auto en0" too. > > 5) Bring your interface up: ifup en0 > > 6) Verify that it works, by pinging your gateway, and then pinging an > outside IP address (e.g. ping 8.8.8.8). > > 7) Edit your /etc/resolv.conf file correctly for your network. > This means adding a "nameserver" line that points to your DNS resolver. > Do not add lines that are not documented in resolv.conf(5). > Specifically, do not add lines that mimic /etc/nsswitch.cong behavior > in this file, because they do not work. > > 8) Verify that DNS works (e.g. ping www.debian.org). > > 9) Edit your /etc/hosts file to contain the IP addresses and names of > other hosts on your internal network. > > 10) Verify that your internet network name resolution works > (e.g. ping coyote). > > There you go. That's the whole thing. That's what we've tried to tell > you to do, for the last 5 to 10 years. > > I promise you, Gene, "search hosts, nameserver" is NOT a working line in > an /etc/resolv.conf file. It never has been. It never will be. > > . Up to the resolv.conf, that is exactly what I do. But that change to resolv.conf adding the search line has been required since red hat 5.0 in 1998. until bullseye. Just last week I found it is not needed in an armbian bullseye install. Now, if I could figure out why printers, shared om this bullseye machine work perfectly when accessed by a buster machine, but cannot be seen by any other bullseye machine here, debian or armbian. My logs show an auth failure but all are DefaultAthorization Basic. And turning on debugging doesn't tell me anything more useful. Like why... I've managed to get 1 armbian machine trying to connect, but my logs are huge cuz it tries every 11 seconds Take care & sty well, Greg Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to change default nameserver? coreyh@free.fr - 2023-04-09 10:30 +0200
Re: how to change default nameserver? Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-04-09 11:00 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-09 14:20 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-09 17:00 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-09 17:10 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-09 21:50 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-09 17:30 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-09 22:30 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-10 18:10 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-10 19:40 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-10 21:50 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-10 23:00 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-10 23:00 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 00:10 +0200
Re: how to change default nameserver? Andy Smith <andy@strugglers.net> - 2023-04-11 00:30 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 18:40 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-11 05:20 +0200
Re: how to change default nameserver? Richard Hector <richard@walnut.gen.nz> - 2023-04-11 05:50 +0200
Re: how to change default nameserver? Richard Hector <richard@walnut.gen.nz> - 2023-04-11 09:00 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-11 13:30 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 22:00 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-11 22:20 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 22:50 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-12 01:30 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-11 05:00 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 16:10 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-11 19:20 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-11 19:40 +0200
Re: how to change default nameserver? "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-11 19:40 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-11 22:30 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-12 16:30 +0200
Re: how to change default nameserver? Max Nikulin <manikulin@gmail.com> - 2023-04-12 05:30 +0200
Re: how to change default nameserver? zithro <slack@rabbit.lu> - 2023-04-11 19:50 +0200
Re: how to change default nameserver? Nicholas Geovanis <nickgeovanis@gmail.com> - 2023-04-11 21:20 +0200
Re: how to change default nameserver? gene heskett <gheskett@shentel.net> - 2023-04-12 01:20 +0200
Re: how to change default nameserver? Andy Smith <andy@strugglers.net> - 2023-04-10 21:20 +0200
Re: how to change default nameserver? Greg Wooledge <greg@wooledge.org> - 2023-04-09 14:50 +0200
csiph-web