Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #61084 > unrolled thread
| Started by | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| First post | 2019-12-01 20:34 +0100 |
| Last post | 2019-12-02 15:41 -0700 |
| Articles | 20 on this page of 89 — 10 participants |
Back to article view | Back to alt.os.linux
NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-01 20:34 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-01 14:42 -0700
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 13:23 +0100
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 14:45 +0000
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 16:05 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:24 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 10:29 -0700
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 18:44 +0100
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 17:56 +0000
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 19:53 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:29 +0100
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-03 15:54 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 16:27 +0100
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-03 22:17 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 23:12 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 09:14 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 19:15 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-01 22:46 +0100
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 13:58 +0100
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 14:45 +0100
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 16:15 +0100
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 17:36 +0000
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 18:53 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:27 -0700
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:10 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 13:16 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 23:36 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 15:57 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 00:17 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 16:41 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 04:12 +0100
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 01:59 +0000
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 19:16 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 21:00 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 20:12 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 21:52 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 21:17 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 02:46 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 09:03 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 14:28 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:30 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 19:59 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 19:37 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 19:22 +0100
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 14:34 -0600
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 23:23 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:46 -0700
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 18:02 +0000
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 12:57 -0700
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 22:11 +0000
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:37 -0700
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:59 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 20:27 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 19:44 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 21:32 -0600
Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-04 07:27 -0600
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-04 08:31 -0600
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-04 16:59 +0000
Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-04 17:05 -0600
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-05 19:38 +0100
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-05 14:25 -0600
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-06 14:26 +0100
Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-06 10:06 -0600
Re: NFS error-proof mount at boot time Aragorn <thorongil@telenet.be> - 2019-12-07 03:35 +0100
Re: NFS error-proof mount at boot time flatfish <flatfish@songwriter.net> - 2019-12-04 20:51 -0500
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 04:13 +0100
Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:27 -0500
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:35 -0700
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:16 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 13:31 -0700
Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 20:02 -0500
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 23:12 +0100
Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 01:45 +0000
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 19:23 -0700
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:12 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:59 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 10:55 -0700
Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:52 +0100
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 14:36 -0700
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 00:08 +0100
Re: NFS error-proof mount at boot time Ken Hart <kwhart1@frontier.com> - 2019-12-03 20:45 -0500
Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:08 -0500
Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:50 +0100
Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 12:51 -0500
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:29 -0700
Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:45 -0500
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 12:40 -0700
Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 16:30 -0600
Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 15:41 -0700
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
| From | Bit Twister <BitTwister@mouse-potato.com> |
|---|---|
| Date | 2019-12-05 14:25 -0600 |
| Message-ID | <slrnquiptk.42h.BitTwister@wb.home.test> |
| In reply to | #61306 |
On Thu, 5 Dec 2019 19:38:32 +0100, Carlos E.R. wrote: > On 04/12/2019 17.59, William Unruh wrote: >> On 2019-12-04, Bit Twister <BitTwister@mouse-potato.com> wrote: >>> On Wed, 04 Dec 2019 07:27:36 -0600, John Hasler wrote: >>>> >>>> How are they able to reach the cameras? >>> >>> Via wireless. Had 4 cams using wireless connection to lan. >>> One was bricked by the criminal, I moved two back to Ethernet and they >>> are no longer doing scans. >> >> Do you mean that you are being attacked by your neighbours, or lbysome >> car sitting outside your house? Wireless does not have that much of a >> range. Guessing more than you would think. A scan of access points showed cat_lady, which I am guessing is east of me about four or five houses. That house always seems to have five or more cats you can see off/on during the day. > Doesn't need be. The cameras would connect via wifi to an access point > and the router. > > It would be interesting to know how they got into the cameras, but most > of these IoT call home; the apps on phones, after registration, also Yes, but I do not have a smart phone, all I did was jack each camera into ethernet port on my router, configured it static ip address, and my browsing node for dns and date/time server, then set it in wireless mode. > come the same home, and thus you can see the photos outside of home. > > Maybe those cameras have a hole on their wifi setup but not on the eth > setup. That has been my best guess. I would see firewall dropped packets from all wifi cams on my three desktop nodes with the web cam static ip address. I strung ethernet cable to two cams and their static ip address no longer showed up in drop messages. If router was cracked, I would have assumed I would be seeing drops from any other wifi ip address or ethernet cam ip. The ip address from the one cam that was bricked has never showed up in firewall drop messages after it was bricked. It was a good feeling to see the ip addy (unknown) arp result pop up when I clicked on the dead camera desktop shortcut which runs firefox to access the camera's web page.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-06 14:26 +0100 |
| Message-ID | <hg1qbg-1hp.ln1@Telcontar.valinor> |
| In reply to | #61309 |
On 05/12/2019 21.25, Bit Twister wrote: > On Thu, 5 Dec 2019 19:38:32 +0100, Carlos E.R. wrote: >> On 04/12/2019 17.59, William Unruh wrote: >>> On 2019-12-04, Bit Twister <BitTwister@mouse-potato.com> wrote: >>>> On Wed, 04 Dec 2019 07:27:36 -0600, John Hasler wrote: >>>>> >>>>> How are they able to reach the cameras? >>>> >>>> Via wireless. Had 4 cams using wireless connection to lan. >>>> One was bricked by the criminal, I moved two back to Ethernet and they >>>> are no longer doing scans. >>> >>> Do you mean that you are being attacked by your neighbours, or lbysome >>> car sitting outside your house? Wireless does not have that much of a >>> range. > > Guessing more than you would think. A scan of access points showed > cat_lady, which I am guessing is east of me about four or five houses. > That house always seems to have five or more cats you can see off/on > during the day. Then there are Pringles ;-) >> Doesn't need be. The cameras would connect via wifi to an access point >> and the router. >> >> It would be interesting to know how they got into the cameras, but most >> of these IoT call home; the apps on phones, after registration, also > > Yes, but I do not have a smart phone, all I did was jack each camera into > ethernet port on my router, configured it static ip address, and my > browsing node for dns and date/time server, then set it in wireless mode. It doesn't mean that you need to have a phone, just the the device comes prepared for them. If the cameras in the specs say something like easy access from anywhere, that means 95% sure that they call home, because otherwise it means the user has to configure the router and its firewall properly, and they want things to be /easy/. >> come the same home, and thus you can see the photos outside of home. >> >> Maybe those cameras have a hole on their wifi setup but not on the eth >> setup. > > That has been my best guess. I would see firewall dropped packets from > all wifi cams on my three desktop nodes with the web cam static ip > address. > > I strung ethernet cable to two cams and their static ip address no longer > showed up in drop messages. > > If router was cracked, I would have assumed I would be seeing drops from > any other wifi ip address or ethernet cam ip. The ip address from the one > cam that was bricked has never showed up in firewall drop messages after > it was bricked. > > It was a good feeling to see the ip addy (unknown) arp result pop up > when I clicked on the dead camera desktop shortcut which runs firefox to > access the camera's web page. > -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Date | 2019-12-06 10:06 -0600 |
| Message-ID | <874kydfng9.fsf@dhh.gt.org> |
| In reply to | #61325 |
Carlos writes: > If the cameras in the specs say something like easy access from > anywhere... ...they mean it. Easy access from anywhere, by anyone. On the "Internet of Things" all the things everywhere can talk to each other. Including the things controlled by criminals. I think it likely that the majority of Windows pcs are controlled by malware (or all of them, depending on how you classify Windows) so there is almost always a thing controlled by criminals right nearby. -- John "IMHO most Windows pcs are controlled by malware" Hasler jhasler@newsguy.com Dancing Horse Hill Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | Aragorn <thorongil@telenet.be> |
|---|---|
| Date | 2019-12-07 03:35 +0100 |
| Message-ID | <20191207033529.06041bde@nx-74205> |
| In reply to | #61327 |
On 06.12.2019 at 10:06, John Hasler scribbled: > Carlos writes: > > > If the cameras in the specs say something like easy access from > > anywhere... > > ...they mean it. Easy access from anywhere, by anyone. On the > "Internet of Things" all the things everywhere can talk to each other. > Including the things controlled by criminals. > > I think it likely that the majority of Windows pcs are controlled by > malware (or all of them, depending on how you classify Windows) so > there is almost always a thing controlled by criminals right nearby. The statistics may have changed with time, but quite a number of years ago, I read that an estimated 85 to 90% of all Windows PCs were part of at least one botnet. And that was in a time when cyber warfare between nation states was still not as vicious as it is now, so back then, the malware mainly came from criminals and botnets were primarily operated by script kiddies. Nowadays, nation states have whole swathes of developers writing malware. In the USA alone, both the CIA and the NSA have their own and completely discrete programs — pun not intended — for compromising computers and IoT devices, whereby they even have the hardware itself compromised while in transit from the manufacturer to the retailers. This is documented fact. And you can bet on the Russians and the Chinese doing the same thing. Meanwhile, we can also add a very large percentage of all Android devices to that contingent, although a major difference between Android devices and Windows PCs is that the former commonly have a far shorter life expectancy and are thus being replaced by new (and supposedly clean) devices within one or two years at most, while by contrast, there are still many people running PCs today with Microsoft Windows XP, Vista and 7 on them. -- With respect, = Aragorn =
[toc] | [prev] | [next] | [standalone]
| From | flatfish <flatfish@songwriter.net> |
|---|---|
| Date | 2019-12-04 20:51 -0500 |
| Message-ID | <rhogue54tq8vpg1mghaj056tb4cat9v6a6@4ax.com> |
| In reply to | #61263 |
On Wed, 04 Dec 2019 07:27:36 -0600, John Hasler <jhasler@newsguy.com> wrote: >Bit Twister writes: >> Problem here is gateway is in router. > >You have a modem that, like most, purports to be an all-singing >all-dancing doitall modem/router/firewall/access point? Put it in >bridge mode and run your own router connected to the modem by wire. The >firmware in those things is always crap. They are frequently cracked. > >> I am nervous because my webcams have been cracked and are scanning for >> open ports on my three desktop nodes. > >Surely you scrapped them immediately. What brand? It would be good to >know what not to buy. > >> Latest logs show webcam is now using sequential source ports to probe >> all destination ports. Guessing script kiddie thinks I have blocked >> original source port(s) from previous attempts. > >How are they able to reach the cameras? "Internet of things" crap >should on its own subnet firewalled from both the LAN and the Internet. Modems and Linux are a great combination. Let's hit that terminal program for some Hayes AT commands! You can start masturbating now Linux dweebs.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-03 04:13 +0100 |
| Message-ID | <jg0hbg-kt3.ln1@Telcontar.valinor> |
| In reply to | #61200 |
On 03/12/2019 02.59, William Unruh wrote: > On 2019-12-02, Carlos E.R. <robin_listas@es.invalid> wrote: >> On 02/12/2019 23.57, Grant Taylor wrote: >>> On 12/2/19 3:36 PM, Carlos E.R. wrote: ... >>> It's my understanding that >>> the DNS servers are about the only servers that have a true static IP. >>> >>> It can work. I just don't like it. >> >> Oh, I have a use case: for example, my phone is on DHCP. When I see it >> on some log I'd like to see "phone" instead of some address. Of course, >> I can fixate the address and then put a name in my DNS. But the router >> only allows a limited number of "fixations". And then, of course, when >> I'm configuring the router I don't remember what each entry is for - >> thus I would like: >> >> MAC - IP - Name >> >> in a single configuration table. :-) > > You can put that into /etc/hosts. > > 175.232.12.4 DonaldDuck.disney.net #e3:22:123:65:2f:66 Of the router? No access except what the ISP provides... I did not build it. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2019-12-02 13:27 -0500 |
| Message-ID | <op.0b6n8ws7a3w0dxdave@hodgins.homeip.net> |
| In reply to | #61147 |
On Mon, 02 Dec 2019 12:53:43 -0500, Soviet_Mario <SovietMario@cccp.mir> wrote:
> Il 02/12/19 18:36, William Unruh ha scritto:
>> A 192.x.x.x may be visible from outside. It is only the 192.168.x.x
>> range that is not. 192.134.7.1 is a perfectly valid address on the
>> internet.
> ah ! gulp, tnx for the info
>> 10.x.x.x is a local set of addresses which are not routable on the
>> external network.
> is this a special range ? But can one, after the
> modem-router is working and web surfing enabled, manually
> assign this "internal" IP to machines ?
RFC 1918. There are three address ranges that for private networks,
that will only be visible within a lan ...
https://tools.ietf.org/html/rfc1918
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
Then there is RFC 3927 - Dynamic Configuration of IPv4 Link-Local Addresses
https://tools.ietf.org/html/rfc3927
169.254.0.0 - 169.254.255.255 (169.254/16 prefix)
also only visible within a lan, but intended to be assigned dynamically.
Regards, Dave Hodgins
--
Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
email replies.
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 11:35 -0700 |
| Message-ID | <qs3lja$3f2$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61154 |
On 12/2/19 11:27 AM, David W. Hodgins wrote: > only be visible within a lan Be very careful saying that. It is quite possible to see private IPs places outside of the LAN. Enterprises / VNS / and the likes can use these addresses. It is more proper to say that these IPs are not globally routed or not on the public Internet. There are all sorts of networks other than the public Internet where these IPs are visible outside of a LAN. > also only visible within a lan, but intended to be assigned dynamically. It's trivial to route 169.254/16. Also, "assigned" tends to imply a central authority doing the assignment. That's decidedly NOT how 169.254/16 works. Each system claims one of the 65k possible IP addresses and attempts to see if there is a conflict. This is decidedly de-centralized. At least for traditional 169.254/16 Link-Local IP addresses. It's perfectly possible to configure DHCP to hand out IPs in the 169.254/16 network and assign them. }:-) -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-12-02 20:16 +0100 |
| Message-ID | <qs3nuc$7sj$1@dont-email.me> |
| In reply to | #61156 |
Il 02/12/19 19:35, Grant Taylor ha scritto: > On 12/2/19 11:27 AM, David W. Hodgins wrote: >> only be visible within a lan > > Be very careful saying that. > > It is quite possible to see private IPs places outside of the LAN. > Enterprises / VNS / and the likes can use these addresses. > > It is more proper to say that these IPs are not globally routed or not > on the public Internet. > > There are all sorts of networks other than the public Internet where > these IPs are visible outside of a LAN. > so, is it there some bullet-proof range ? Or a way to protect such statically assigned IPs ? Or I would risk to share data with the world over ? :) >> also only visible within a lan, but intended to be assigned dynamically. > > It's trivial to route 169.254/16. > > Also, "assigned" tends to imply a central authority doing the > assignment. ok. That should be myself, who, sitting at the various PCs around one at a time, would write the "fixed" IPs to make each see the other (if powered on) maybe it's very naive, but I still am very ignorant of LAN facts. > That's decidedly NOT how 169.254/16 works. Each system > claims one of the 65k possible IP addresses and attempts to see if there > is a conflict. This is decidedly de-centralized. but then how to make an association of an a-priori known IP to a mount point in FSTAB or in a script ? I'd prefer hardwired data for I am not confident in using the CLI to query such addresses and insert the values in the mount point commands. > > At least for traditional 169.254/16 Link-Local IP addresses. It's > perfectly possible to configure DHCP to hand out IPs in the 169.254/16 > network and assign them. }:-) > > > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 13:31 -0700 |
| Message-ID | <qs3sbh$bp5$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61165 |
On 12/2/19 12:16 PM, Soviet_Mario wrote: > so, is it there some bullet-proof range ? Aside: I don't think that colloquialism means what you think it means. ;-) "bullet-proof" is a poorly named concept showing that armor has been tested by showing proof that a bullet was test fired at it. Even bullet proof things are only protected up to a specific rating. There is always a bigger gun. }:-) > Or a way to protect such statically assigned IPs ? Or I would risk > to share data with the world over ? :) You are probably safe using said private IP ranges in your network. The networks that use them outside of the LAN are explicitly configured to support them. I'm guessing that you're not making such explicit configurations at this time. > ok. That should be myself, who, sitting at the various PCs around > one at a time, would write the "fixed" IPs to make each see the other > (if powered on) You can certainly do exactly that. > maybe it's very naive, but I still am very ignorant of LAN facts. You are asking the correct types of questions. I think you're learning. > but then how to make an association of an a-priori known IP to a > mount point in FSTAB or in a script ? You can't. The typical behavior of the IPv4 link-local IP address space (169.254/16) is decidedly unpredictable. As such it is not conducive for putting IPs in fstab or in a script. > I'd prefer hardwired data for I am not confident in using the CLI to > query such addresses and insert the values in the mount point commands. That seems perfectly reasonable and normal. I think that you, personally, allocating IPs to each machine and using /etc/hosts entries is probably a good fit for what you're wanting to do. Thus another piece of the larger puzzle. Use static IPs and /etc/hosts. (Using IPs in the router's range b/c you don't have an additional router.) You are well on your way to having the information you need to configure your IP addresses in your network. You still need to know what the DHCP range is that your router uses. (You can get this from your router's management interface.) You may have ended up very close to where you started. But I hope that you have learned a few things along the journey and know why you are where you are. -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2019-12-02 20:02 -0500 |
| Message-ID | <op.0b66i5rba3w0dxdave@hodgins.homeip.net> |
| In reply to | #61165 |
On Mon, 02 Dec 2019 14:16:27 -0500, Soviet_Mario <SovietMario@cccp.mir> wrote: > so, is it there some bullet-proof range ? Or a way to > protect such statically assigned IPs ? Or I would risk to > share data with the world over ? :) It will not be visible to the global internet when using any normal consumer grade router. Check your router settings. The router will typically be assigned an address such as or 192.168.1.1, and will have a netmask assigned to it such as 255.255.255.0, i.e. a /24. If the router uses a /24, remember the first three parts of the address (3 octets or 24 bits) will never change for devices within the lan. For a /16, it's only the first 2 octets, and for a /8 the first octet. This means that devices within the lan using that router will only be able to use addresses in the range 192.168.0.0 to 192.168.0.255 inclusive, with the router already set to use the .1 address, and will be set up to allow dhcp assigned addresses to be anywhere in that range. One of the first things I do is change the lower end of the range used for dhcp assigned addresses to 192.168.0.32, keeping 0 to 31 for my statically assigned addresses. currently I have three computers and 12 virtualbox guests all assigned static addresses. Any laptops brought over for me to work on use the dhcp assigned addresses. By keeping the computers and vb guests static, I can set up /etc/hosts once with the names I want for each address, and then just copy the file to all of the other systems. I have my firewall and services set up the same on all of those systems too. Get used to working with the router you have. Learn more as you encounter other routers that have different default settings. Regards, Dave Hodgins -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-02 23:12 +0100 |
| Message-ID | <1segbg-9bv.ln1@Telcontar.valinor> |
| In reply to | #61147 |
On 02/12/2019 18.53, Soviet_Mario wrote: > Il 02/12/19 18:36, William Unruh ha scritto: >> On 2019-12-02, Soviet_Mario <SovietMario@CCCP.MIR> wrote: ... >>>> A 192.... address is not visible from outside. Basics. >> >> A 192.x.x.x may be visible from outside. It is only the 192.168.x.x >> range that is not. 192.134.7.1 is a perfectly valid address on the >> internet. > > ah ! gulp, tnx for the info > > >> >> 10.x.x.x is a local set of addresses which are not routable on the >> external network. > > is this a special range ? But can one, after the modem-router is working > and web surfing enabled, manually assign this "internal" IP to machines ? > > This "internal" IP (seen from inside the lan) has sth to do with the > WEB<=>modem dynamically assigned IP (DHCP assigned) ? Or they belong to > distinct layers ? > It depends on how the router (assuming a home router provided by your ISP is configured). Those routers usually come preconfigured to "serve" the 192.168.1.* LAN. With variations, could be the 192.168.0.*, those are the most usual. But it can be anything (any private range, that is) and you can change it. Then you must notice that the router may have ranges inside that 1..255 range predefined for certain uses. Typically the 1 or the 254 are the router. A range, for example 30..90 are reserved for DHCP, ie, automatic network setup. The rest are usually free for your own use to assign as you wish. But not always, there may be other ranges, specially if the router also handles the TV and phone (on cable or fibre). So you have to visit your router configuration web page and find out how it is configured. > If possible to manually assign the IP (I guess on a per-OS basis, I mean > when running each distro I have to assign the same IP in order to be > seen from other PC), does the OS take care to "inform" the modem-router ? It is not typical to assign a different IP per OS, but you can do so - and in that case, you assign an static address inside the OS, you can not use DHCP. The router will find out soon enough what is the current address of everything that is connected and tries to send something. > In the other machine (client) I must add to /etc/hosts the same > association, right ? Yes. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-12-03 01:45 +0000 |
| Message-ID | <qs4enl$v3l$1@dont-email.me> |
| In reply to | #61147 |
On 2019-12-02, Soviet_Mario <SovietMario@CCCP.MIR> wrote: >> >> 10.x.x.x is a local set of addresses which are not routable on the >> external network. > > is this a special range ? But can one, after the Yes, it and 192.168.x.x and 172.16.0.0 to 172.31.255.255 are special which routers on the internet refuse to route except locally. > modem-router is working and web surfing enabled, manually > assign this "internal" IP to machines ? One of these internal The 192 range has 256^2= about 64000 jpossible addresses, the 10.x.x.x has 256^3=about 16million addresses etc. > > This "internal" IP (seen from inside the lan) has sth to do > with the WEB<=>modem dynamically assigned IP (DHCP assigned) DHCP can assign any address. The supervisor decides which to assign. If it is not a private address (one of the above) then they must have permission from the centra authority to assign that address, since it and the host name and domain have to be distributed to the rest of the world. If it is private then they can assign it without fear, which is why none of those addresses can be accessed from outside the private lan (there are probably about a million machines with the IP address 100.0.1.5) > ? Or they belong to distinct layers ? Nope no layers. > > If possible to manually assign the IP (I guess on a per-OS > basis, I mean when running each distro I have to assign the > same IP in order to be seen from other PC), does the OS take > care to "inform" the modem-router ? Nope. The router occasionally sends out a query-- which machine has address 10.0.1.5 for example, and the machine whose address that is replies-- It is the machine with MAC address 45:3e:fa:22:ab:cc. That query gets sent oonly over the local lan, and then the router directs the packet by mac address rather than IP address. > > In the other machine (client) I must add to /etc/hosts the > same association, right ? Yes. And make sure you NEVER assign the same address to two different machines or to different cards on the same machine (eg ethernet and wireless or wo differnt ethernet cards)
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 19:23 -0700 |
| Message-ID | <qs4h0d$8ps$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61199 |
On 12/2/19 6:45 PM, William Unruh wrote: > ethernet and wireless or wo differnt ethernet cards This is a good example of something that you can stub your toe on. It also touches on the fact that /etc/hosts (et al.) usually are searched in linear order and the first match is found. So if you do have two entries for a host name, using two different IPs, only the first one found will be returned. There is no fall back / round robin / etc. redundancy in /etc/hosts. That being said, there is still use for having multiple entries for the same host in the /etc/hosts file, namely for IP to name translation. This works because there will only be one entry for the IP. ;-) -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 11:12 -0700 |
| Message-ID | <qs3k73$u70$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61145 |
On 12/2/19 10:36 AM, William Unruh wrote: > The system only knowns other computers by their IP address. But > it has a means of translating names to IP addresses. Some are public > (and the translation takes place via DNS from DNS servers). Some can be > private, and the translation takes place by lookup in /etc/hosts. There are other ways to resolve private names to IP addresses: · Private DNS Server(s) & Zone(s) · mDNS (this is a different critter) · NIS · LDAP · Broadcasts (NetBEUI) The /etc/hosts (et al.) file is the most ubiquitous method to resolve locally significant names to IPs. > The format of a "name" is computername.domain, where domain is some > higher level search (Think of computername as the house address -- 6612 > say-- and the rest of the address being the "domain".> Frothingham > St, Wallace, Maine,USA > > In England, the "number" can be a name Ivy Cottage say So, Ivy > Cottage, Frothingham St, Wallace, Maine,USA Then "Ivy Cottage" is then > "computername" and Frothingham St, Wallace, Maine,USA is the "domain > name". But for computers, you cannot use spaces, and the separator > is a dot, not a comma. > > In /etc/hosts you can have just a "computername" or a domain name as > well but it can be made up. You can have a computer name and domain names. More specifically, the (contemporary) format of the /etc/hosts entries tend to be in this form: <IP> <Name> <Alias> Where the <Alias> is optional, and you can have multiple aliases. I say contemporary format because older OSs have used different formats in the past. > So codswallop.local is a perfectly good name you can use in > /etc/hosts. Or just codswallop. Or both. 192.0.2.123 codswallop.local codswallop > But then you HAVE to put in the numeric IPV4 or IPV6 address for that > computer. That can be tricky if your computers use dynamic addresses > (dhcp) since the address can change from one boot to the next (or even > from one day to the next). If you are going to go down the /etc/hosts > route, then make sure all your systems are static addresses rather than > dynamic. You can use dynamic (DHCP) and /etc/hosts at the same time. You just want to make sure that your DHCP server hands out the same IP address to each computer every time. This is frequently called "sticky" addressing vs "static" or "dynamic". > In /etc/hosts-- do not use spaces ever. Otherwise not much in the > way of rules. You can't have spaces in any of the names / aliases. But white space (tab and / or space) are used for structure in the /etc/hosts file. > You MUST put in the IP address of the machine correctly. That is the > ONLY way your machine knows how to find the other machine. There are other ways. But they are more complicated and require services and infrastructure. They tend to be built on the basic concept and then change things on purpose. > One "part" is mandatory. > > It is the IP address that is the way your machine connects to > the other. /etc/hosts is just a translation table to convert your > "human readable" names to those IP addresses. Be aware that there are other lower layer parts. But also be aware that you can largely ignore them in most situations. > A 192.x.x.x may be visible from outside. It is only the 192.168.x.x > range that is not. 192.134.7.1 is a perfectly valid address on the > internet. Technically, even 192.168.x.x can be visible to the outside. It is only by convention and common configuration that such visibility is blocked. > 10.x.x.x is a local set of addresses which are not routable on the > external network. It's quite possible to route 10.x.x.x. Again, it's only by convention and common configuration that 10/8, 172.16/12, and 192.168/16 are non-*routed*. Emphasis on routed vs routable. It's quite possible to route them. Most people choose to not do so. -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-02 22:59 +0100 |
| Message-ID | <d2egbg-t1v.ln1@Telcontar.valinor> |
| In reply to | #61145 |
On 02/12/2019 18.36, William Unruh wrote: > On 2019-12-02, Soviet_Mario <SovietMario@CCCP.MIR> wrote: > In /etc/hosts you can have just a "computername" or a domain name as > well but it can be made up. So codswallop.local is a perfectly good name > you can use in /etc/hosts. Or just codswallop. Caveat. The ".local" domain name would be the obvious one to use, but it is used by avahi (apple system), and plays havoc in Linux when trying to join a Windows Server Domain system and Active Directory. Which is why I use ".localnet" instead. ... >>>> But my question is : can they be human assigned ? Are there limitations >>>> (for example in charset or who knows, first char must be a letter, >>>> uppercase forbidden ... what general limitation are relevant to both, or >>>> to each, hostname and domain name ?) >>> >>> That's a very different question, but you see the variety of such names >>> every time you send an email or browse a site. >>> >>> For instance, you can use: >>> >>> nfsserver.SovietMario.localnet >> >> how many parts are mandatory ? Why 3 parts ? > > One "part" is mandatory. Two is needed for different reasons... Installers default to two, AFAIK. >>>> can I assign them as I prefer, and later use them to identify a machin >>>> connected to the router without any other reference like IP (I'm rather >>>> diffident in assignment of static IP, even I don't understand if such >>>> IPs would be visible outside, on WAN, or remain local to LAN) or MAC >>>> address. > > It is the IP address that is the way your machine connects to the other. > /etc/hosts is just a translation table to convert your "human readable" > names to those IP addresses. > > >>> >>> A 192.... address is not visible from outside. Basics. > > A 192.x.x.x may be visible from outside. It is only the 192.168.x.x > range that is not. 192.134.7.1 is a perfectly valid address on the > internet. Ok, yes. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 10:55 -0700 |
| Message-ID | <qs3j6v$2ml$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61131 |
On 12/2/19 8:15 AM, Soviet_Mario wrote: > that I'd very much like to be able to manually and arbitrarily name all > PCs connected and make each one see the others "by that names", not by > non-sense (= non human readable) codes and numbers What do you consider to be "non-sense"? Some people only want textual names. Some people want textual host and domain names. Some people are okay with IPv4 addresses but not IPv6 addresses. Some people are okay with any of the above. What do you want? > but what are, if any, the rules to assign both hostname and domain ? That is subject to the minutia of the systems / technology you are using. Generally, alpha-numeric is okay. I'd suggest avoiding case. Some symbols; "-" and "_" are usually okay. Though some rules about this exist for specific things. Some people have opinions on starting with numbers vs letters. > in those definitions I simply add man-readable names, or they are to be > associated with physical IP / MAC or else ? Host names are translated to IPs. IPs are translated to MACs. Host names aren't directly translated to MACs. The names are for human (and computer) convenience. But the underlying connections are done with IP. Lower layers translate those IPs to MAC addresses. But for the vast majority of things, you don't need to bother with anything below IP. > IP are mutable (volatiles), MAC at least would be invariant IPs don't have to be mutable. You can statically assign IP addresses and they *SHOULD* *NOT* change. MAC addresses can be changed and do change automatically under some situations. > how many parts are mandatory ? Why 3 parts ? Unqualified hostnames are only one part. Qualified hostnames are two or more parts. You can run into an upper limit on the number of characters in / length of the hostnames. But that's usually 64 or more characters. So if you have a.b.c.d.e.f.g.h... you can end up with a LOT of parts. Then there are times when you can have more than 64 characters. > (sgrunt ... basics ... not for me at least :\) So ask questions. (Perhaps in a different thread or email me directly.) > dunno anything about such "resolution". "Resolution" is the term for converting host names to IP addresses. > My question was If I can use just assigned names or I have to associate > them with physical IPs first, and only later use the names. Names are directly associated with IPs. IPs are configured on equipment. Thus names are indirectly associated with equipment through the IP. So, configure the IPs first, and then configure names shortly there after. > In such a case I'm not sure how to obtain the IPs in a script for > example Does your script /need/ to use IPs? Or can it use names and rely on standard name to IP resolution processes to work? > total confusion ... so such a name is not univocally associated with > a given machine :\ *sigh* This is one of the dark corners of host names. There are a lot of dark magic and confusing things that can be done, usually for very specific purposes. They often have to do with hosting multiple things on a single system which is pretending to be multiple names. Thus confusing. Think about a web server hosting multiple websites on a single IP. What name should that IP identify itself as? It depends. But, the vast majority of things can be viewed as a hostname resolves to an IP, which is associated with a machine. Just know that there are legitimate situations where there is a many to many relation between names and IPs as well as IPs and machines. So, no, a name is not unequivocally associated with a given (single) machine. There is wiggle room and you can't make a hard statement. Most people have one host name per machine as well as one LAN IP per machine. In such cases, it's quite safe to say that the hostname is the IP. Yes, you can mention loopback w/ 127.0.0.1 and / or ::1, but I'll say that's more a common example where an IP is multiple machines, on purpose. I'm betting that your use case is much closer to the one name and one LAN IP. This is what the vast majority of the world has. > well, it's english language that puts me off :\ Okay. Good to know. I'll try to avoid colloquialisms. Please ask for clarification if something doesn't make sense. > I mean, I do much more effort with limited real comprehension. I > understand single sentences and often lose the general sense. That makes sense. First you have to understand the meaning of specific parts of a sentence, then the entire sentence. Then you have to understand across multiple sentences. Things just grow from there. > The opposite when I read chemistry books, I don't even care to > translate or to read word by word, I get the general meaning > through. Here, well, not :\ That tells me that some of the ways that we use to describe things don't hold up to translation. > maybe scientific articles tend to be written in aseptic standard > simplified english, Perhaps. > while here everyone uses it's native expressions or sometimes jargon > I'm not very familiar with If you don't understand something, please ask. Feel free to ask pubicly, or email me privately. -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-12-02 20:52 +0100 |
| Message-ID | <qs3q1t$ogm$1@dont-email.me> |
| In reply to | #61148 |
Il 02/12/19 18:55, Grant Taylor ha scritto: > On 12/2/19 8:15 AM, Soviet_Mario wrote: >> that I'd very much like to be able to manually and arbitrarily name all >> PCs connected and make each one see the others "by that names", not by >> non-sense (= non human readable) codes and numbers > > What do you consider to be "non-sense"? I mis-expressed the point. I just meant : not decided (once forever) by myself, but attributed unpredictably by some service provider or by my modem-router > > Some people only want textual names. > > Some people want textual host and domain names. > > Some people are okay with IPv4 addresses but not IPv6 addresses. > > Some people are okay with any of the above. > > What do you want? no, the problem was that, I explained it badly. Just to replace unknown quantities with manually decided constants > >> but what are, if any, the rules to assign both hostname and domain ? > > That is subject to the minutia of the systems / technology you are using. > > Generally, alpha-numeric is okay. I'd suggest avoiding case. Some > symbols; "-" and "_" are usually okay. Though some rules about this > exist for specific things. for me just lowercase and numbers are fine. I was wondering if some "dot" was mandatory or not, and if so, how many. If possible to avoid, I would avoid. I was also wondering if a pc set up like this hostname: "gattovizzatodebian95" domainname : "packardbell" would be seen (referenced) from the other machine, as gattovizzatodebian95.packardbell just packardbell just gattovizzatodebian95 other ... > > Some people have opinions on starting with numbers vs letters. > >> in those definitions I simply add man-readable names, or they are to be >> associated with physical IP / MAC or else ? > > Host names are translated to IPs. > > IPs are translated to MACs. intresting, did not know this (note : here on debian I have an utility called macchanger or alike, which should fake the forwarded mac address). I wouldn't be using it obv. > > Host names aren't directly translated to MACs. has this important consequences non obvious to me ? I mean, the fact that translation happens in stages, is crucial to setting up the lan ? > > The names are for human (and computer) convenience. But the underlying > connections are done with IP. Lower layers translate those IPs to MAC > addresses. But for the vast majority of things, you don't need to > bother with anything below IP. whisper of relief ! > >> IP are mutable (volatiles), MAC at least would be invariant > > IPs don't have to be mutable. You can statically assign IP addresses > and they *SHOULD* *NOT* change. > > MAC addresses can be changed and do change automatically under some > situations. > >> how many parts are mandatory ? Why 3 parts ? > > Unqualified hostnames are only one part. > > Qualified hostnames are two or more parts. so a dot is inserted to yield a "fully qualified host domain identifier" ? > > You can run into an upper limit on the number of characters in / length > of the hostnames. But that's usually 64 or more characters. So if you good to know, I tend to be very verbose on names ! :) > have a.b.c.d.e.f.g.h... you can end up with a LOT of parts. Then there > are times when you can have more than 64 characters. > >> (sgrunt ... basics ... not for me at least :\) > > So ask questions. (Perhaps in a different thread or email me directly.) I'm mass bombing with questions :) Every reply answers to one, and opens a billion of further ones. But for now I would not want to abuse of your patience .... I keep this alternative as a last-resort if in real trouble. For now I am just studying the battle camp, still tried very little experiment (fearing to broke sth). Networking scares me a lot, because If I broke surfing (and mail) then I could not ask for help anywhere. > >> dunno anything about such "resolution". > > "Resolution" is the term for converting host names to IP addresses. > >> My question was If I can use just assigned names or I have to associate >> them with physical IPs first, and only later use the names. > > Names are directly associated with IPs. > > IPs are configured on equipment. and that's bad, as MAchine A and B don't know anything about each others. If, on the other hand, I could assign them (the IPs) manually, both would know > > Thus names are indirectly associated with equipment through the IP. > > So, configure the IPs first, and then configure names shortly there after. I must rescan the whole discussion many times before. > >> In such a case I'm not sure how to obtain the IPs in a script for >> example > > Does your script /need/ to use IPs? no idea, no script exist as yet I haven't even made the choice to use manual launched script vs FSTAB static mountpoints (elsewhere in the thread it was said of mount options for managing failure, that should be considered A NORMAL condition, as mostly I'd be running only a machine at a time, and only seldom both to sync, bidirectionally) > Or can it use names and rely on > standard name to IP resolution processes to work? if possible yes. I would surely rather neither to hard code IPs nor to query them somehow from the system, and to use only "logical" names/domain ... but I have read elsewhere in the discussion that NFS mounts NEED to know the IP. So I am really at a loss > >> total confusion ... so such a name is not univocally associated with >> a given machine :\ > > *sigh* you have just explained much more than I hoped. Certainly it is a wide topic with umpteen aspects I cannot expect to be explained fully. at some point in (near?) future, I'd begin making experiments without having fully understood. It always goes like that. Also moving Debian partition from a MBR disk to a GPT disk was eventually tempted without full comprehension (and some mistakes also ... but in the end Debian is still alive and kicking) > > This is one of the dark corners of host names. There are a lot of dark > magic and confusing things that can be done, usually for very specific > purposes. my purpose should be rather usual though. Just to setup a home-LAN, share and sync (manually) files (using NFS which seems the best existing solution) avoid at any cost data corruption avoid data outside home (in case sb out there would want to sniff non standard ports, IPs or so). Does not sound particolarly weird to me > They often have to do with hosting multiple things on a > single system which is pretending to be multiple names. Thus confusing. mmm, yes, peculiar ! > Think about a web server hosting multiple websites on a single IP. > What name should that IP identify itself as? It depends. > > But, the vast majority of things can be viewed as a hostname resolves to > an IP, which is associated with a machine. > > Just know that there are legitimate situations where there is a many to > many relation between names and IPs as well as IPs and machines. reasonable > > So, no, a name is not unequivocally associated with a given (single) > machine. There is wiggle room and you can't make a hard statement. ok ... but it may, at least, true ? If one take care of univocity > > Most people have one host name per machine as well as one LAN IP per > machine. In such cases, it's quite safe to say that the hostname is the IP. would be perfect for me. A suggestion of most common IP to be used in such a case ? (the modem is hw firewalled, does this help for sniffing inside on local IPs ?) > > Yes, you can mention loopback w/ 127.0.0.1 and / or ::1, but I'll say > that's more a common example where an IP is multiple machines, on purpose. zero understanding. Dunno what a loopback is > > I'm betting that your use case is much closer to the one name and one > LAN IP. it seems the situation most close to what I can understand and manage. > This is what the vast majority of the world has. > >> well, it's english language that puts me off :\ > > Okay. Good to know. > > I'll try to avoid colloquialisms. Please ask for clarification if > something doesn't make sense. no, you explain all too well. But besides being not too strong on english I lack the bases on networking > >> I mean, I do much more effort with limited real comprehension. I >> understand single sentences and often lose the general sense. > > That makes sense. First you have to understand the meaning of specific > parts of a sentence, then the entire sentence. Then you have to > understand across multiple sentences. Things just grow from there. > >> The opposite when I read chemistry books, I don't even care to >> translate or to read word by word, I get the general meaning >> through. Here, well, not :\ > > That tells me that some of the ways that we use to describe things don't > hold up to translation. yes, some built-in interpretation structure convey meaning at different levels. Here in this context I totally miss such structures, from the basis. That's why I ask naive question (and I feel often rather dumb) > >> maybe scientific articles tend to be written in aseptic standard >> simplified english, > > Perhaps. > >> while here everyone uses it's native expressions or sometimes jargon >> I'm not very familiar with > > If you don't understand something, please ask. Feel free to ask > pubicly, or email me privately. U're a very good and friendly person around there. Tnx for all help. I feel I'm slowly getting closer to the goal, a foot after the other now have to do some cooking for myself and the cats ! cheers > > > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-12-02 14:36 -0700 |
| Message-ID | <qs405l$a3r$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #61170 |
On 12/2/19 12:52 PM, Soviet_Mario wrote:
> I mis-expressed the point.
I think that's okay.
I believe that part of the learning process. You describe something one
way, and others describe it differently. We work together to come to a
common accepted and understood meaning.
> I just meant : not decided (once forever) by myself, but attributed
> unpredictably by some service provider or by my modem-router
That makes perfect sense to me.
> no, the problem was that, I explained it badly.
;-)
> Just to replace unknown quantities with manually decided constants
ACK
> for me just lowercase and numbers are fine.
Yes, (lower case) letters and numbers are just fine.
> I was wondering if some "dot" was mandatory or not, and if so, how
> many. If possible to avoid, I would avoid.
No, the dot is not mandatory. Yes, you can avoid the dot.
> I was also wondering if a pc set up like this
> hostname: "gattovizzatodebian95"
> domainname : "packardbell"
Yes, you could.
Though, seeing your hostname brings to mind another best practice. (Not
an actual restriction per say.)
Some networking services have problems with names longer than 15
characters. As such, recommend that you not have a hostname longer than
15 characters.
> would be seen (referenced) from the other machine, as
I would describe your example name as follows:
(fully) qualified: gattovizzatodebian95.packardbell
unqualified: gattovizzatodebian95
> intresting, did not know this
:-)
> (note : here on debian I have an utility called macchanger or alike,
> which should fake the forwarded mac address).
I'm not personally familiar with macchanger. But I am familiar with
changing MAC addresses.
The same concepts that I previously described still apply. They will
just apply to the new MAC that you change to instead of the one built
into the NIC.
> I wouldn't be using it obv.
I personally don't care if you do or don't change your MAC. Doing so or
not is really up to you.
MAC addresses are really only significant to the LAN.
Well, IPv6 without privacy extensions have some interaction. But let's
ignore IPv6 and it's privacy extensions for the time being.
> has this important consequences non obvious to me ?
You can probably ignore this.
> I mean, the fact that translation happens in stages, is crucial to
> setting up the lan ?
No. You don't need to worry about it for what you are doing.
> whisper of relief !
:-)
> so a dot is inserted to yield a "fully qualified host domain
> identifier" ?
The dot implies qualification. How full that qualification is or not is
another discussion with more minutia. Minutia that I don't think matter
for your network. (Think businesses that might have something like
workstation.site vs workstation.site.department.domain.tld. The former
is partially qualified, but not fully qualified.)
> good to know, I tend to be very verbose on names ! :)
That's a good thing.
Though be mindful of the 15 character upper safe limit that I mentioned
recently.
> I'm mass bombing with questions :)
:-)
> Every reply answers to one, and opens a billion of further ones.
:-D
> But for now I would not want to abuse of your patience .... I keep
> this alternative as a last-resort if in real trouble.
You won't abuse my patience. I made the offer. I meant it. I've been
helping someone with their email and DNS infrastructure remotely via
email for 18+ months. They occasionally email me questions, and I reply
within a few days. The offer is there, for you, or anyone. Use it or
don't. If you ask a question in a polite / civil tone, I will do my
best to respond in kind as soon as time allows.
> For now I am just studying the battle camp, still tried very little
> experiment (fearing to broke sth). Networking scares me a lot, because
> If I broke surfing (and mail) then I could not ask for help anywhere.
Understandable.
Fortunately, changes to /etc/hosts file is easy to undo.
> and that's bad, as MAchine A and B don't know anything about each
> others. If, on the other hand, I could assign them (the IPs) manually,
> both would know
That's a very common reason why static IPs are used.
An alternative is to rely on hostnames, usually through Dynamic DNS.
But that's more to configure, and I'm guessing that you don't want to do
that at this time.
> I must rescan the whole discussion many times before.
Ask question if you want to.
Either ask for clarification in context, or here.
> no idea, no script exist as yet
Okay.
My personal and professional opinion is that you should use names if you
can and you don't have an explicit reason to use IPs directly.
> I haven't even made the choice to use manual launched script vs FSTAB
> static mountpoints (elsewhere in the thread it was said of mount
> options for managing failure, that should be considered A NORMAL
> condition, as mostly I'd be running only a machine at a time, and
> only seldom both to sync, bidirectionally)
If you are wanting mount points between machines, where some of them
might not be on, I would suggest auto-mounter or the "noauto" fstab
entry option.
The auto-mounter will automatically mount the NFS export when it's
needed, as well as subsequently unmounting it after being idle for a while.
The "noauto" option tells the system init script to not automatically
mount the NFS export on boot. But it does mean that the mount
parameters are in fstab so that you can easily manually reference them
when you want to. I.e. you can run "mount /path/to/mount-point" and
mount will pull all other necessary information for /path/to/mount-point
out of the associated fstab entry.
> if possible yes. I would surely rather neither to hard code IPs nor
> to query them somehow from the system, and to use only "logical"
> names/domain
That seems perfectly reasonable.
> but I have read elsewhere in the discussion that NFS mounts NEED to
> know the IP.
No, NFS does not /need/ to use IPs. NFS will happily use names and rely
on name resolution.
About the only thing that I'm aware of that contradicts this is when
trying to use NFS for the root file system, which means that name
resolution might not be functional yet. Hence the need for the IP vs name.
> So I am really at a loss
I am thinking static IPs that you manually assign and entries in
/etc/hosts is probably sufficient for your needs.
I think that you can probably reference NFS mounts by name. You
probably want "noauto" fstab option or to manage the mount through an
auto-mounter.
> you have just explained much more than I hoped.
:-)
> Certainly it is a wide topic with umpteen aspects I cannot expect to
> be explained fully.
I don't know if you can /expect/ them to be explains fully or not. But
you certainly can ask and /hope/ that they are.
> at some point in (near?) future, I'd begin making experiments without
> having fully understood. It always goes like that.
>
> Also moving Debian partition from a MBR disk to a GPT disk was
> eventually tempted without full comprehension (and some mistakes also
> ... but in the end Debian is still alive and kicking)
MBR vs GPT is another entirely different discussion.
> my purpose should be rather usual though.
Yes, I think your use case is quite common.
> Just to setup a home-LAN, share and sync (manually) files
Yes. That's is a common desire.
> (using NFS which seems the best existing solution)
I don't know if NFS is the /best/ solution or not.
NFS is the quintessential standard in the Unix / Linux world. Many
other things support it too.
It being native to Unix / Linux tends to move it towards the top of the
list unless there are specific reasons to not use it or to use something
else.
> avoid at any cost data corruption
I don't think you are likely to have data corruption issues. Your
issues will be can the export be mounted or not. I guess you may have
an issue if the NFS server crashes during a write. But I think that you
will be okay.
> avoid data outside home (in case sb out there would want to sniff
> non standard ports, IPs or so).
>
> Does not sound particolarly weird to me
Agreed.
> mmm, yes, peculiar !
It's actually more common than some people believe.
My personal web / email server has it's fully qualified name, as well as
hosts web pages and email for about a dozen different names.
> reasonable
:-)
> ok ... but it may, at least, true ?
> If one take care of univocity
Yes, it's largely true.
> would be perfect for me.
:-)
> A suggestion of most common IP to be used in such a case ?
Oh.... That's a loaded question. Loaded like asking what to name a baby.
I would recommend that you pick a (sub)network from RFC 1918 if you are
looking for a safe place to play, learn, grow.
Remember, you can use any netmask length within the typical 10/8,
172.16/12, and 192.168/16. Many people tend to like 192.168.<something>/24.
I personally think it's a little presumptious for people to naively
assume that their LAN needs a /8.
I know many people that like 10.<something>/<something> because it's
shorter / easier / faster to type.
It really is up to you and your personal preferences.
I tend to use the various Test-Net-# networks, particularly in lab lab
scenarios where people who copy what I do will need to change the IPs
for what is appropriate for their use case.
> (the modem is hw firewalled, does this help for sniffing inside on
> local IPs ?)
No, I don't think so.
The firewall, which is likely software running on the modem / router
hardware, protects what passes through the router. That doesn't do
anything for what two systems inside your LAN do with or to each other.
> zero understanding. Dunno what a loopback is
For simplicity sake, think of it as the TCP/IP networking equivalent of
"me". As in your version of "me" references you, my version of "me"
references me, and David's version of "me" represents himself.
> it seems the situation most close to what I can understand and manage.
:-)
> no, you explain all too well. But besides being not too strong on
> english I lack the bases on networking
I'm sure that your English is better than my understanding of your
native language.
I've not found your English to be a problem or even slow things down.
There have been a couple of re-occuring typos that have thrown me. I
have seen "sth" multiple times. I assume that it's supposed to refrence
"eth" network interfaces.
> yes, some built-in interpretation structure convey meaning at different
> levels. Here in this context I totally miss such structures, from the
> basis. That's why I ask naive question (and I feel often rather dumb)
ACK
Please do not feel dumb or bad for it. To me, dumb is is lack of
understanding. I believe that it is possible to gain understanding.
Thus you are no longer dumb. In my humble opinion, dumb, but willing to
learn, is a good thing. (I hope my intention survives translation.)
> U're a very good and friendly person around there.
Thank you.
> Tnx for all help.
You are welcome.
> I feel I'm slowly getting closer to the goal, a foot after the other
:-)
> now have to do some cooking for myself and the cats !
:-)
> cheers
Cheers.
--
Grant. . . .
unix || die
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-03 00:08 +0100 |
| Message-ID | <a5igbg-rp.ln1@Telcontar.valinor> |
| In reply to | #61170 |
On 02/12/2019 20.52, Soviet_Mario wrote: > Il 02/12/19 18:55, Grant Taylor ha scritto: >> On 12/2/19 8:15 AM, Soviet_Mario wrote: >>> that I'd very much like to be able to manually and arbitrarily name all >>> PCs connected and make each one see the others "by that names", not by >>> non-sense (= non human readable) codes and numbers >> >> What do you consider to be "non-sense"? > > I mis-expressed the point. > I just meant : not decided (once forever) by myself, but attributed > unpredictably by some service provider or by my modem-router You define the names inside your LAN (your home) and they stay as long as you don't change the configuration. (Assuming static IP addresses) The rest of the questions, I yield to Grant Taylor :-) -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
Back to top | Article view | alt.os.linux
csiph-web