Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.92 KB

README.md

File metadata and controls

68 lines (49 loc) · 1.92 KB

UE Cell Tracker

Functionalities

  • Read cell information from Milesight router /cgi interface or DevicePublisher
  • Translate cell information to cell DL/UL frequency
  • Write an NG-Scope config accordingly and start it
  • Retrieve UE RNTI using UL RNTI matching
  • Transmit UE cell allocation information to target address
  • Log cell metrics and UE allocation information

Setup

Determine the DevicePublisher IP

In case you are using the DevicePublsher app and connected to your device via USB-Tethering, the following command might come in handy to determine your smartphone IP. It shows the dns routes per interface:

sudo resolvectl dns

In case your device gets only an IPv6 address, you can request an IPv6 by configuring the network interface further. Therefore, add the following udev rule to apply a static naming schema to your USB interface:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="rndis_host", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="usb_tether"
sudo udevadm control --reload-rules
sudo udevadm trigger

Now, your device should show up as "usb_tether". So, you can configure the interface to request an IPv4 DHCP:

etwork:
  version: 2
  ethernets:
    usb_tether:
      dhcp4: true
      dhcp6: true
sudo netplan apply

Disable IPv6

According to link.

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

The configuration can be made persistently by editing/adding /etc/sysctl.d/.

Data

Example data and results can be found here.