Skip to Content.
Sympa Menu

rare-users - [RARE-users] [freertr] Wireless connection with RARE/freeRtr

Subject: RARE user and assistance email list

List archive

[RARE-users] [freertr] Wireless connection with RARE/freeRtr


Chronological Thread 
  • From: "Edgard" <>
  • To:
  • Subject: [RARE-users] [freertr] Wireless connection with RARE/freeRtr
  • Date: Mon, 26 Sep 2022 10:40:11 -0700
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

Hi all,

I started a thread like this in the old list (), and I don't know if anyone else got this message as I got a send error return.
So I decided to post it here. I apologize if I repeat the content.

After a few months, I returned to this thread.
The following commands worked.
 
hwdet-all.sh
[...]
### wireless interface  ###
ip link set wlan0 up multicast on promisc on mtu 1500
ethtool -K wlan0 rx off
ethtool -K wlan0 tx off
ethtool -K wlan0 sg off
ethtool -K wlan0 tso off
ethtool -K wlan0 ufo off
ethtool -K wlan0 gso off
ethtool -K wlan0 gro off
ethtool -K wlan0 lro off
ethtool -K wlan0 rxvlan off
ethtool -K wlan0 txvlan off
ethtool -K wlan0 ntuple off
ethtool -K wlan0 rxhash off
ethtool --set-eee wlan0 eee off
/sbin/wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/example.conf
/sbin/dhclient wlan0
[...]
### wireless connection ###
ip link add veth1a type veth peer name veth0
ip link set veth0 name veth1b
ip link set veth1a up multicast on promisc on mtu 1500
ethtool -K veth1a rx off
ethtool -K veth1a tx off
ethtool -K veth1a sg off
ethtool -K veth1a tso off
ethtool -K veth1a ufo off
ethtool -K veth1a gso off
ethtool -K veth1a gro off
ethtool -K veth1a lro off
ethtool -K veth1a rxvlan off
ethtool -K veth1a txvlan off
ethtool -K veth1a ntuple off
ethtool -K veth1a rxhash off
ethtool --set-eee veth1a eee off
ip link set veth1b up multicast on promisc on mtu 1500
ethtool -K veth1b rx off
ethtool -K veth1b tx off
ethtool -K veth1b sg off
ethtool -K veth1b tso off
ethtool -K veth1b ufo off
ethtool -K veth1b gso off
ethtool -K veth1b gro off
ethtool -K veth1b lro off
ethtool -K veth1b rxvlan off
ethtool -K veth1b txvlan off
ethtool -K veth1b ntuple off
ethtool -K veth1b rxhash off
ethtool --set-eee veth1b eee off
ip link set veth1a up address 00:00:11:11:22:22 mtu 1500
[...]
 
rtr-hw.txt
[...]
proc wifi.sh /rtr/pcap2pcap.bin wlan0 veth1a
proc ifc2.sh /rtr/rawInt.bin veth1b 20004 127.0.0.1 20003 127.0.0.1
int eth2 stat eth 00:00:11:11:22:22 127.0.0.1 20003 127.0.0.1 20004
[...]
 
rtr-sw.txt
[...]
interface ethernet2
 description wifi connection
 vrf forwarding inet
 no shutdown
 no log-link-change
 exit
[...]
 
But... There are still errors in this config that I couldn't understand.
 
In Debian managed interface
root@optiplex790:~# ping -I wlan0 8.8.8.8 -c 4
PING 8.8.8.8 (8.8.8.8) from 192.168.25.10 wlan0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=20.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=20.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=56 time=18.6 ms
 
On RARE/freeRtr even with wlan0 down
freertr#ping 8.8.8.8 source eth2                                                                                                                                                                                  
pinging 8.8.8.8, src="null," vrf=inet, cnt=5, len=64, df=false, tim=1000, gap=0, ttl=255, tos=0, sgt=0, flow=0, fill=0, alrt=-1, sweep=false, multi=false
!!!!!
 
It was too good to be true. I think I'm forgetting something.

---
Edgard.
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#748) | | | Mute This Topic | New Topic
Your Subscription | | Unsubscribe []

_._,_._,_



Archive powered by MHonArc 2.6.19.

Top of Page