Making Mobilinkd TNC to work with UISS - jharwinbarrozo/rotcontrol GitHub Wiki
AGWPE
Download and install- Unzipped the zip files to /$HOME/ubuntu/AGWPE
- Install using
wine /$HOME/ubuntu/AGWPE/AGWPE....exe
- We need to connect the bluetooth tnc to the computer itself, follow this instructions. Once the device is connected, we need to know where it is. Usually it's located at /dev/rfcomm0 or 1.
- You can see the mapping of Windows devices to Unix devices by looking in
~/.wine/dosdevices
. For example:
$ ls -l ~/.wine/dosdevices/
total 0
lrwxrwxrwx 1 alex alex 10 May 13 21:21 c: -> ../drive_c
lrwxrwxrwx 1 alex alex 10 May 14 14:43 com1 -> /dev/ttyS0
lrwxrwxrwx 1 alex alex 10 May 14 14:43 com2 -> /dev/ttyS1
lrwxrwxrwx 1 alex alex 10 May 14 14:43 com3 -> /dev/ttyS2
lrwxrwxrwx 1 alex alex 10 May 14 14:43 com4 -> /dev/ttyS3
lrwxrwxrwx 1 alex alex 12 May 14 14:43 com5 -> /dev/ttyUSB0
lrwxrwxrwx 1 alex alex 8 May 13 21:22 d:: -> /dev/sr0
lrwxrwxrwx 1 alex alex 8 May 14 14:43 lpt1 -> /dev/lp0
lrwxrwxrwx 1 alex alex 1 May 13 21:21 z: -> /
*Usually COM1 to COM5 are already taken.
To override Wine's default device mapping, run wine regedit
. a dialog will open up, go to edit > find COM1: this will automatically direct you to a certain tree where you can see the COM1: delete it. Then go to HKEY_LOCAL_MACHINE\Software\Wine\Ports
and add a string entry where the entry name is the Windows device name and the entry value is the path to the Unix device. For example: name is COM1 then value is /dev/rfcomm1. You might also want to create an entry named COM5 with no value to remove the COM5 device which is now a duplicate of COM1. After editing the registry, shut down Wine with wineserver -k
and the next time Wine runs a program, your changes will take effect. Nowwineserver -k
we're done on this, we have now COM1 = /dev/rfcomm1
-
Open AGWPE
wine $HOME/AGWPE/AGWP.exe
and create a new port.
Select port: COM1
Baud rate: 9600
Type: TAPR TNC2
Sub Type: KISS Simple
Exitkiss on Exit [uncheck]
Single port
Port 1: mobilinkd Port Kiss Id: 0 -
Click on the icon where it looks like boiling pot, select TCPIP Over Radio Setup.
Enable TCPIP and click Setup Routes button. Add new route: 127.0.0.1
Select The Default RadioPort for TCPIP Access: Port 1 with TAPR TNC2 on COM1: mobilinkd
MyCall: DV2JB
Enable: Pass all IP traffic to MST cpip stack
Disable: Allow broadcast messages Paclen: 1516 -
Click on the icon where it looks like boiling pot, select Setup and Interfaces.
Winsock Interface
Enable winsock tcp/ip application interface
TCP: 8000
Winsock Interface Security
Accept without login from Anywhere
HTTP interface
TCP Port: 80
Login: LOGIN (default)
Password: PASSWORD (default)
- Open UISS
env WINEPREFIX="/home/ubuntu/.wine" wine c:\\UISS\\UISS.exe
or by just clicking the icon located in the desktop
go to setup > main
select AGW using DLL (not TCPIP)
RX 1 TX 1
Enable all connections
setup > APRS
Enable - No UISS tag in tx aprs position
setup > LAN
Host IP: 127.0.0.1
AGW LAN PORT: 8000
AGW radio port: 1
AGW radio port: 1
Enable - Register Call at Login