Re: OT: Connect two computers with linux with wlan, but without any router
On Sun, 30 Mar 2025 15:40:07 +0200
Hans <hans.ullrich@loop.de> wrote:
> Hi David,
>
> > What new hop? You said you had the setup:
> >
> > hostA≡E----------cat5/6--cable----------∃≡hostB
> >
>
> no, I have no cable setup, I just said, I know, how to setup when
> using a cable. Maybe I did not use the correct English idiom...
>
> > where E and ∃ are ethernet sockets. (You don't normally need
> > a crossover cable nowadays.)
> >
> > Assuming that hostA can configure its wifi as an access point,
> > then you replace the cable with:
> >
> > hostAP≡∈ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ∋≡hostB
>
> That is, what I wanted to do. The idea is, to manually set both
> computers with fixed IP's on its wlan interface for example:
>
> Computer A
> IP: 192.168.1.10
> GW: 192.168.1.1
>
> Computer B
> IP: 192.168.1.20
> GW: 192.168.1.1
>
> Then use NGINX with RTMP-module listening on its standard port and
> streaming with RTMP from Computer A to Computer B to the standard
> port.
>
> Everything without any AP or router between.
>
> The stream can then be made visible with VLC or OBS on Computer B.
>
>
> That is the plan, and as litle as possible between the two computers.
>
> >
> > where ∈ and ∋ are antennae, and hostB connects to the AP
> > as it would to a router's AP.
> >
> > My point with respect to your OP was that the wifi link is
> > not symmetrical: hostB doesn't need to be an AP.
> >
> > If you can do it via ad-hoc networking, that's fine by me.
> > The benefit of the method above is that you only have to
> > reconfigure one host, A, and leave B untouched: B knows how
> > to connect to an AP, so you can focus all your attention
> > on getting hostA to work, and test it with any normal wifi
> > device that happens to be on hand.
> >
> > Cheers,
> > David.
>
> I do not know, if that is possible with wlan at all. However, it
> looks like I am always have to use an AP on one of the computers (as
> other users told). Looks like this is the only solution. However, if
> it is so, then it will be ok for me.
>
> I intend to build a full preconfigurated livefile system based on
> debian, so that people with Windows-computers can boot it in the
> fields and can use it.
>
> But - this will be a long way.
>
> Best regards
>
> Hans
>
>
>
Reply to: