2023年4月21日 星期五

Aprx version 2.9.0

轉載

Kenneth Finnegan

未讀,
2016年9月15日 下午1:27:49
收件者:aprx-s...@googlegroups.com、TAPR APRS Mailing List
Greetings,

This is an announcement of the release of Aprx version 2.9.0. 2.9 is the new stable release branch for Aprx, so all current users of previous versions of Aprx should upgrade to v2.9. Aprx is a Linux digipeater/I-gate daemon with a high level of configuration flexibility with regards to multiple port operation, beacons, and filtering.

Prebuilt binaries for Ubuntu/Raspbian: http://thelifeofkenneth.com/aprx/debs/

Installing may consist of downloading the correct .deb for your system, and running:
$ sudo dpkg -i ./aprx_2.9.0*.deb

# Set up the config file as desired; see the manual for details
$ sudo nano /etc/aprx.conf

# Enable the aprx daemon by setting STARTAPRX="yes"
$ sudo nano /etc/default/aprx

# start aprx manually or restart the system
$ sudo service aprx start

The bugfixes since v2.08 include:
* Lots of code cleanup; fewer compiler warnings as well
* Lots of documentation improvements
* Improved logging with fewer typos, escaping unprintable characters, and more IP addresses
* Fixed some edge cases on counting hops done/requested for trapping excessive paths
* Respect STARTAPRX setting in /etc/default/aprx
* Aprx can now RF-gate without being a digipeater
* Timestamps on objects are correctly updated.
* Aprx now respects system settings with respect to IPv4/IPv6 preference to comply with RFC6724

This last change for APRS-IS address selection has been a bit sticky, and may get reverted if anyone pipes up with it still causing issues on systems which don't have IPv6 connectivity but the ability to retrieve AAAA records. 

If you have any issues getting Aprx running, make sure to ask on the aprx-software Google group to get assistance from the Aprx community: https://groups.google.com/forum/#!forum/aprx-software

Thanks
--
Kenneth Finnegan, W6KWF

2023年4月8日 星期六

香橙派安裝 Debian ,變更SD卡大小

 # Start of filesystem resize task


aprx@OrangePi:~$ sudo fdisk /dev/mmcblk0

[sudo] password for aprx: (enter your user login password press Enter. user must be in sudo group see above.)


Welcome to fdisk (util-linux 2.27.1).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.


Command (m for help): d

Partition number (1,2, default 2): 2


Partition 2 has been deleted.


Command (m for help): n

Partition type

   p   primary (1 primary, 0 extended, 3 free)

   e   extended (container for logical partitions)

Select (default p): p

Partition number (2-4, default 2): (press Enter)

First sector (2048-62521343, default 2048): 143360

Last sector, +sectors or +size{K,M,G,T,P} (143360-62521343, default 62521343): (press Enter)


Created a new partition 2 of type 'Linux' and of size 29.8 GiB.


Command (m for help): w

The partition table has been altered.

Calling ioctl() to re-read partition table.

Re-reading the partition table failed.: Device or resource busy


The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).


# Reboot to apply changes, ready for resize2fs


aprx@OrangePi:~$ sudo reboot


# Now grow/resize root filesystem. No reboot required.


aprx@OrangePi:~$ sudo resize2fs /dev/mmcblk0p2

[sudo] password for aprx: (enter your user login password press Enter. user must be in sudo group see above.)

resize2fs 1.42.13 (17-May-2015)

Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required

old_desc_blocks = 1, new_desc_blocks = 2

The filesystem on /dev/mmcblk0p2 is now 7797248 (4k) blocks long.


Your filesystem should now use all available space on sd card.

*A note on SD Cards with fake capacity.

This is rampant with online vendors, selling cheap micro SD Cards. You probably will not get a replacement.

If you ask for a replacement, they say a new genuine card is sent out but don't and wait out the buyer protection period, but you should try a refund.

In such cases the micro SD Card is only 8gb in capacity, or less. You can still use the SD Card though.

Use h2testw (for windows) to find out the true capacity and on the "Last block..." step during above resize operation enter a smaller value e.g. trying for approx 8gb resize...

Last sector, +sectors or +size{K,M,G,T,P} (143360-62521343, default 62521343): 15000000 (and press Enter)

Orange Pi(香橙派) Zero Debian 配置WIFI連接。

 建立一個新文件

nano /etc/network/interfaces.d/wlan0

插入如下内容(Ctrl+O保存,Ctrl+X退出)

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp


建立一個新文件

nano /etc/wpa_supplicant/wpa_supplicant.conf

插入如下内容

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="WIFI-SSID"
psk="WIFI-密碼"
}


重新啟動香橙派,輸入ifconfig,如果看到wlan0有連接IP,說明WIFI已經順利連上網路

協谷X108G維修紀錄

這是 BX8AAQ 的協谷 X108G 拿到的時候有下列故障 1.面版缺導電按鍵(全部遺失) 2.開機旋鈕失蹤 3.螢幕斷線到辨識困難 4.內部線路有脫線 5.手持麥克風除了PTT,其餘全部失效 目前維修進度 2、3、4、5 已維修完畢 1 這個有困難,不過還是能解決 維修方案 ...