Subject: Rare project developers
List archive
- From: mc36 <>
- To: , Edgard da Cunha Pontes <>
- Subject: Re: [rare-dev] Wireless connection on RARE/freeRtr
- Date: Mon, 11 Jul 2022 17:50:14 +0200
hi,
for the wpa supplicant, sure, you can do so! :)
but the veth creation, place them in hwdet-all instead, since they dont need
reswapning...
br,
cs
On 7/11/22 16:25, Edgard da Cunha Pontes wrote:
Hi Csaba! Thanks for answering.
Could I put the veth pair creation and a wireless AP selection on rtr-hw.txt
file? Something like that...
[/rtr/rtr-hw.txt]
proc wpa-supp.sh /sbin/wpa_supplicant -B -i wlp2s0 -c
/etc/wpa_supplicant/wpa_supplicant.conf
proc veth-pair.sh /sbin/ip link add veth-a type veth peer name veth-b
proc veth-setup.sh /sbin/ip link set dev veth-a && /sbin/ip link set dev veth-a up
&& /sbin/ip link set dev veth-b up
proc bind-wl.sh /rtr/pcap2pcap.bin wlp2s0 veth-a
proc ifc2.sh /rtr/rawInt.bin veth-b 20012 127.0.0.1 20011 127.0.0.1
int eth2 stat eth [MAC-VETH-B] 127.0.0.1 20011 127.0.0.1 20012
Does this make any sense? Or is this a crazy idea and should be avoided?
Em s b., 9 de jul. de 2022 s 02:35, mc36 < <>>
escreveu:
hi,
after the key exchange, wireless interfaces does not differ from regular
n*g interfaces...
you could give them to freerouter itself via pcapint or a dataplane of
your choice, except dpdk...
btw, i suggest you to use a veth pair and pcap2pcap.bin on the
wireless<-->vethXa, and give
vethXb to the router/dataplane simply because these interfaces could go
down or disappear...
br,
cs
On 7/8/22 20:28, Edgard da Cunha Pontes wrote:
> Hi everyone!
>
> I have a question about how to use a wireless connection in
RARE/freeRtr.
> I'm testing with a wireless card on a Dell Optiplex 790 PC. On that PC, I
installed Debian 11 (SID) and did a "one line" install of RARE/freeRtr on it.
> I installed Debian 11 (SID) and did a "one line" install of
RARE/freeRtr on it. I used wpa_supplicant to select a wireless AP. I even managed to
use dhclient in Debian, but I
> couldn't access that interface in RARE/freeRtr.
>
> This test is part of one of the problems we have to solve in the
RENaaS project.
- [rare-dev] Wireless connection on RARE/freeRtr, Edgard da Cunha Pontes, 07/08/2022
- Re: [rare-dev] Wireless connection on RARE/freeRtr, mc36, 07/09/2022
- Re: [rare-dev] Wireless connection on RARE/freeRtr, Edgard da Cunha Pontes, 07/11/2022
- Re: [rare-dev] Wireless connection on RARE/freeRtr, mc36, 07/11/2022
- Re: [rare-dev] Wireless connection on RARE/freeRtr, Edgard da Cunha Pontes, 07/11/2022
- Re: [rare-dev] Wireless connection on RARE/freeRtr, mc36, 07/09/2022
Archive powered by MHonArc 2.6.19.