Compulab indoor positioning support

From fit-PC wiki
Jump to: navigation, search


FTMi with a Wan Connection

This step is require for installing a missing openssh-server package onto the FTMi.
The openssh-server will provide an ssh connection to the device at the time of the support session.
This manual explains:

  1. how to connect an FTMi device to WAN by means of USB Tethering
  2. how to install the 'openssh-server' onto an FTMi device
  3. how to add 'support' user account to the system

USB Tethering

  • Get connected to the FTMi console and acquire 'root' credentials:
sudo -i
  • Issue udevadm command in to monitor how a new interface gets shown up in the system. Issue:
udevadm monitor --subsystem=net
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
  • Leave this session opened and go to the next step.
  • Connect the HotSpot to the FTMi by using a USB cable.
    • Make the mobile phone work as an HotSpot USB tethering device. Refer to the mobile device manual for more information.
  • As soon as the HotSpot starts working the FTMi udevadm session window must have lines like this:
KERNEL[268300.034329] add      /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.0/net/usb0 (net)
KERNEL[268300.054913] move     /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.0/net/enp0s21f0u5 (net)
UDEV  [268300.085456] add      /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.0/net/enp0s21f0u5 (net)
UDEV  [268300.093461] move     /devices/pci0000:00/0000:00:15.0/usb1/1-5/1-5:1.0/net/enp0s21f0u5 (net)
  • As soon as these line turn out terminate the udevadm session, press 'Ctrl+C'
A new network interface name is enp0s21f0u5. The interface name can be differ from the name in this manual.
  • Acquire an ip address for this interface.
ifconfig enp0s21f0u5 up
dhclient enp0s21f0u5

Install 'openssh-server'

  • Install ssh server
apt-get update
apt-get install openssh-server
  • Add a 'support' user. Use the adduser command to add a new user to your system.
adduser support
Adding user `support' ...
Adding new group `support' (1001) ...
Adding new user `support' (1001) with group `support' ...
Creating home directory `/home/support' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: support
Retype new UNIX password: support
passwd: password updated successfully
Changing the user information for support
Enter the new value, or press ENTER for the default
       Full Name []:
       Room Number []:
       Work Phone []:
       Home Phone []:
       Other []:
Is the information correct? [Y/n] Y
  • Use the usermod command to add the user to the sudo group.
usermod -aG sudo support

Support Setup Topology


Validate the ssh connection to FTMi

  • Get connected to the FTMi console and acquire 'root' credentials:
sudo -i
  • Make sure that a wired interface has a valid ip address provided by the 'standalone router'
  • Get back to th PC and try getting connected to the FTMi. Issue:
ssh support@ftmi-ip-address

Prepare WebEx Session

  • As soon as the ssh connection were provided install all required WebEx applications on the PC and send the invitation.