Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-08-03 Thread Andy Bennett

Hi,

Initially whatever Debian defaults to when intentionally 
isolated from the internet.



The initial motivation for all this was to eliminate "sneaker-net".
I want convenient file sharing between pairs of machines more 
than among a collection of machines.


I'd still very much recommend associating two machines to the portable 
hotstop that you mentioned you have. When you've done that see if you can 
get the ping utility to send packets between them. If that works look at 
something like sftp or a simple script like the one below on one side and a 
regular web browser on the other:


-
$ more ~/bin/pyserv 
#!/bin/sh

python -m SimpleHTTPServer
-

This two line script starts a web server that listens on port 8000. It just 
serves up the files in under the directory you start it from. Access it 
from the other machine by pointing a web browser at 
http://:8000/






Best wishes,
@ndy

--
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF
--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-08-03 Thread Barius Drubeck

On 03/08/2019 14:20, Richard Owlett wrote:

On 07/29/2019 11:47 AM, Aleksandar Kuktin wrote:

On Mon, 29 Jul 2019 09:30:32 -0500
Richard Owlett  wrote:



How to connect one WiFi interface to multiple networks? (If you find
out, please post the answer here. xD )


I have no idea of how to describe a test case. The above Wikipedia 
link may suggest something?


To the best of my knowledge it is not possible to run a WiFi on multiple 
frequencies simultaneously nor to connect to multiple SSIDs 
simultaneously. (Analogously you can't plug two cables into the same 
Ethernet card.)


However it is possible to have multiple IP subnets on the same SSID, 
though I don't really see the point in this peer-to-peer setup.



What application-level interfaces will you use to actually *use* the
network? (FTP? Web? 9P2000? NFS? Gopher? gRPC? Whatever Bluetooth uses?)


Long-term - ?
Initially whatever Debian defaults to when intentionally isolated from 
the internet.


{I've never installed LFS but have found its documentation and lists 
useful because of the fine-grained approach to systems.}


What do I want my "user-interface" to look like? Don't know ;/
The initial motivation for all this was to eliminate "sneaker-net".
I want convenient file sharing between pairs of machines more than 
among a collection of machines.



Firstly you need to get connected to you WiFi...

On top of that you need your IP layer.  Given your peer-to-peer use 
case, there is no DHCP so you either need to allocate fixed IP addresses 
or go with zeroconf addressing 
(https://en.wikipedia.org/wiki/Zero-configuration_networking).


Only once you have IP connectivity (verified by ping or so) then you 
come to the application-level question.  I would suggest the easiest and 
most flexible to get started (and to match your sneaker-net replacement 
requirement) is to run an SSH daemon on each node, generate 
private-public SSH key pairs and use SFTP or SCP.  But that is certainly 
not the only possibility.


--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-08-03 Thread Richard Owlett

On 07/29/2019 11:47 AM, Aleksandar Kuktin wrote:

On Mon, 29 Jul 2019 09:30:32 -0500
Richard Owlett  wrote:



I've just begun reading - primarily Wikipedia articles and some links
from them.  My primary question is "What should I be reading?" in
order to ask appropriate questions. Specifically "What?" and "Why?"
much more than "Howto?".


The primary difference between Bluetooth and WiFi is on the L2 level
(OSI network model). ... WiFi is a proper network interface, ...


The question of "WiFi or Bluetooth" has become moot. Not all of my 
machines have  Bluetooth.




The main challenge that I see in your setup is connecting the network
to the outside world.


Not a problem. My immediate project's goal is educational.
My learning style is experimenting. Failures are assumed ;}
My solution is to rigidly isolate test machines from internet.



Reading questions that may help:
How to connect two hosts using Bluetooth that does not require them to
be in a master-slave relationship?


Bluetooth may now be moot. But not having a fixed master-slave 
relationship is important. {e.g. the topology/protocol described at 
https://en.wikipedia.org/wiki/Personal_area_network

which leads to "Wireless ad hoc network" related links starting at
https://en.wikipedia.org/wiki/Wireless_ad_hoc_network}


How to connect one WiFi interface to multiple networks? (If you find
out, please post the answer here. xD )


I have no idea of how to describe a test case. The above Wikipedia link 
may suggest something?



What application-level interfaces will you use to actually *use* the
network? (FTP? Web? 9P2000? NFS? Gopher? gRPC? Whatever Bluetooth uses?)


Long-term - ?
Initially whatever Debian defaults to when intentionally isolated from 
the internet.


{I've never installed LFS but have found its documentation and lists 
useful because of the fine-grained approach to systems.}


What do I want my "user-interface" to look like? Don't know ;/
The initial motivation for all this was to eliminate "sneaker-net".
I want convenient file sharing between pairs of machines more than among 
a collection of machines.





--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Richard Owlett

On 07/29/2019 11:47 AM, Aleksandar Kuktin wrote:

On Mon, 29 Jul 2019 09:30:32 -0500
Richard Owlett  wrote:



I've just begun reading - primarily Wikipedia articles and some links
from them.  My primary question is "What should I be reading?" in
order to ask appropriate questions. Specifically "What?" and "Why?"
much more than "Howto?".


The primary difference between Bluetooth and WiFi ...


Bluetooth option has been eliminated as I've discovered a 2nd machine in 
my collection does not have it.




The main challenge that I see in your setup is connecting the network
to the outside world. [snip]


That is a non-issue as I connect to the internet via a T-Mobile Hotspot 
(a USB device) used as a "cell modem). If I want internet on one of my 
secondary machines (an atypical case) I'll just plug it into that machine.




Reading questions that may help:
How to connect two hosts using Bluetooth that does not require them to
be in a master-slave relationship?


Moot as Bluetooth is no longer an option.


How to connect one WiFi interface to multiple networks? (If you find
out, please post the answer here. xD )


That was not in my plans as the combination of WiFi AND being internet 
connected I consider a NO-NO for my primary machine. But some 
diagnostics which have been suggested would best be done on machines 
with nothing but a minimal Debian install. I've two used laptops 
purchased specifically for experimentation. We'll see what develops.



Encryption on Bluetooth?
How to route L3 traffic (IP network) over Bluetooth? (This question
assumes you *want* to spread an Intranet over your machines.)


Not sure how to answer. What I envision would be any two machines 
communicating as peers.



What application-level interfaces will you use to actually *use* the
network? (FTP? Web? 9P2000? NFS? Gopher? gRPC? Whatever Bluetooth uses?)


I don't know. All I know at this point is I want to avoid any fixed 
client/server or master/slave relationship.





--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-07-29 Thread Richard Owlett

On 07/29/2019 10:21 AM, Andy Bennett wrote:

Hi,

This is not LFS specific. But I've post to a LUG and a distro specific 
mailing list. No responses even touched on the my *EXPLICIT* question 
-- What should I be reading. Responders insist I should want what 
their identical setup. G ;<


Sneakernet for file transfer has become annoying.
Ethernet is undesirable in my environment so I am only interested in 
wireless.

I have only a few machines a max of 6' apart.
My usage would typically be peer-to-peer but I want to communicate 
between any two machines.

My web connectivity is via a T-Mobile WiFi Hotspot (WiFi turned off).
I run Debian 9.8.


Can you use the hotspot as an access point? Often they work for a 
handful of clients. If so, just use that and connect all the machines 
via Wifi.




It's poorly documented. I suspect it is intended to connect any WiFi 
equipped machine to the internet. I've seen no indication of capability 
of communication among machine ;{


Thanks.



--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-07-29 Thread Andy Bennett

Hi,

This is not LFS specific. But I've post to a LUG and a distro 
specific mailing list. No responses even touched on the my 
*EXPLICIT* question -- What should I be reading. Responders 
insist I should want what their identical setup. G ;<


Sneakernet for file transfer has become annoying.
Ethernet is undesirable in my environment so I am only 
interested in wireless.

I have only a few machines a max of 6' apart.
My usage would typically be peer-to-peer but I want to 
communicate between any two machines.

My web connectivity is via a T-Mobile WiFi Hotspot (WiFi turned off).
I run Debian 9.8.


Can you use the hotspot as an access point? Often they work for a handful 
of clients. If so, just use that and connect all the machines via Wifi.





Best wishes,
@ndy

--
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF
--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-chat] Wireless home LAN - WiFi vs Bluetooth?

2019-07-29 Thread Richard Owlett
This is not LFS specific. But I've post to a LUG and a distro specific 
mailing list. No responses even touched on the my *EXPLICIT* question -- 
What should I be reading. Responders insist I should want what their 
identical setup. G ;<


Sneakernet for file transfer has become annoying.
Ethernet is undesirable in my environment so I am only interested in 
wireless.

I have only a few machines a max of 6' apart.
My usage would typically be peer-to-peer but I want to communicate 
between any two machines.

My web connectivity is via a T-Mobile WiFi Hotspot (WiFi turned off).
I run Debian 9.8.

I've just begun reading - primarily Wikipedia articles and some links 
from them.  My primary question is "What should I be reading?" in order 
to ask appropriate questions. Specifically "What?" and "Why?" much more 
than "Howto?".


A concern is security issues. Bluetooth, being short range, may thus 
have an advantage. Speed is not an issue for my expected usage. (I was 
one of my ISP's last 6 dial-up clients ;)


UPDATE:
Since originally posting the above, I'm focusing more on a WiFi than 
Bluetooth solution. Although I did find a Bluetooth article which gave a 
reasonably good description the topology/protocol I envisioned.


https://en.wikipedia.org/wiki/Personal_area_network says in part:

A Bluetooth WPAN is also called a piconet, and is composed of
up to 8 active devices in a master-slave relationship (a very
large number of additional devices can be connected in "parked" > mode). The 
first Bluetooth device in the piconet is the master,
and all ther devices are slaves that communicate with the master.

TIA




--
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page