kopia lustrzana https://github.com/sh123/esp32_loraprs
Updated Setting up modem client under Linux (markdown)
rodzic
fc98c3d12e
commit
5cc661b69a
|
@ -1,18 +1,19 @@
|
||||||
It is possible to use modem **in client mode** with other generic Linux AX25/APRS tools on PC or Raspberry, such as [Xastir](https://xastir.org/index.php/Main_Page), use next procedure to set it up:
|
It is possible to use modem **in client mode** with other generic Linux AX25/APRS tools on PC or Raspberry, such as [Xastir](https://xastir.org/index.php/Main_Page), use next procedure to set it up:
|
||||||
- AX25 howto: http://tldp.org/HOWTO/AX25-HOWTO/
|
- AX25 howto: http://tldp.org/HOWTO/AX25-HOWTO/
|
||||||
- Install required tools: ```sudo apt-get install ax25-tools ax25-apps xastir bluez bluez-tools```
|
- Install required tools: ```sudo apt-get install ax25-tools ax25-apps xastir bluez bluez-tools```
|
||||||
- Run bluetoothctl and pair with the modem:
|
- If you are using Bluetooth mode:
|
||||||
```
|
- Run bluetoothctl and pair with the modem:
|
||||||
# bluetoothctl
|
```
|
||||||
[bluetooth]# agent on
|
# bluetoothctl
|
||||||
[bluetooth]# default-agent
|
[bluetooth]# agent on
|
||||||
[NEW] Device 01:02:03:04:05:06 loraprs
|
[bluetooth]# default-agent
|
||||||
[bluetooth]# pair 01:02:03:04:05:06
|
[NEW] Device 01:02:03:04:05:06 loraprs
|
||||||
Attempting to pair with 01:02:03:04:05:06
|
[bluetooth]# pair 01:02:03:04:05:06
|
||||||
Pairing successful
|
Attempting to pair with 01:02:03:04:05:06
|
||||||
[bluetooth]# exit
|
Pairing successful
|
||||||
```
|
[bluetooth]# exit
|
||||||
- Run `rfcomm` to setup serial over Bluetooth at `/dev/rfcomm0`: `sudo rfcomm bind 0 01:02:03:04:05:06`
|
```
|
||||||
|
- Run `rfcomm` to setup serial over Bluetooth at `/dev/rfcomm0`: `sudo rfcomm bind 0 01:02:03:04:05:06`
|
||||||
- At this stage you can already start using `xastir` or any other application, which can operate over KISS Serial TNC
|
- At this stage you can already start using `xastir` or any other application, which can operate over KISS Serial TNC
|
||||||
- You can setup `AX25` network interface with `sudo kissattach /dev/rfcomm0 ax25` command, but previously need to update `/etc/ax25/axports` with new line as `ax25 CALLSIGN-10 9600 255 1 comment`, you can also specify IP address if there is a need to run TCP/IP over AX25
|
- You can setup `AX25` network interface with `sudo kissattach /dev/rfcomm0 ax25` command, but previously need to update `/etc/ax25/axports` with new line as `ax25 CALLSIGN-10 9600 255 1 comment`, you can also specify IP address if there is a need to run TCP/IP over AX25
|
||||||
- Run `axlisten` to capture incoming and outgoing traffic as `sudo axlisten -a`
|
- Run `axlisten` to capture incoming and outgoing traffic as `sudo axlisten -a`
|
||||||
|
|
Ładowanie…
Reference in New Issue