Date   
Re: #draws #paclink-unix Connected but Timed Out #draws #paclink-unix

Ed Bloom, KD9FRQ
 

Ah....Thank you.

On 2/11/2019 9:33 PM, Basil Gunn wrote:
You need to set up deviation for your radio.

Use this as a guide to output a tone for deviation adjustment.
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

Also read this
https://github.com/nwdigitalradio/n7nix/blob/master/docs/DRAWS_ALSA.md

When you have problems please include the console output so I can see
the console command and ALL of it's output.
/Basil


Ed Bloom, KD9FRQ <@KD9FRQ> writes:

I am getting connected to the local packet gateway about 6 miles from my QTH using wl2kax25 -c CALLSIGN.
The feedback on the screen indicate that I logged in or passing the proper credentials to access the system

I am getting a packet time out error and my outbound mail does not send. It does work if I use wl2ktelnet.
Also, same radio & antenna pick up all the APRS traffic when I run Xastir.

At first it was timing out on the Inbound message so I deleted it from my winlink,org account via the webportal.
That did not change the time out. And by deleting in Inbound, the screen shows that it is trying to send the
Outbound message id I see in the wl2k folder.

What else should I be looking at to possible make adjustments?

Re: #draws #paclink-unix Connected but Timed Out #draws #paclink-unix

Basil Gunn
 

You need to set up deviation for your radio.

Use this as a guide to output a tone for deviation adjustment.
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

Also read this
https://github.com/nwdigitalradio/n7nix/blob/master/docs/DRAWS_ALSA.md

When you have problems please include the console output so I can see
the console command and ALL of it's output.
/Basil


Ed Bloom, KD9FRQ <@KD9FRQ> writes:

I am getting connected to the local packet gateway about 6 miles from my QTH using wl2kax25 -c CALLSIGN.
The feedback on the screen indicate that I logged in or passing the proper credentials to access the system

I am getting a packet time out error and my outbound mail does not send. It does work if I use wl2ktelnet.
Also, same radio & antenna pick up all the APRS traffic when I run Xastir.

At first it was timing out on the Inbound message so I deleted it from my winlink,org account via the webportal.
That did not change the time out. And by deleting in Inbound, the screen shows that it is trying to send the
Outbound message id I see in the wl2k folder.

What else should I be looking at to possible make adjustments?

#draws #paclink-unix Connected but Timed Out #draws #paclink-unix

Ed Bloom, KD9FRQ
 

I am getting connected to the local packet gateway about 6 miles from my QTH using wl2kax25 -c CALLSIGN.
The feedback on the screen indicate that I logged in or passing the proper credentials to access the system

I am getting a packet time out error and my outbound mail does not send.  It does work if I use wl2ktelnet.
Also, same radio & antenna pick up all the APRS traffic when I run Xastir.

At first it was timing out on the Inbound message so I deleted it from my winlink,org account via the webportal.
That did not change the time out. And by deleting in Inbound, the screen shows that it is trying to send the
Outbound message id I see in the wl2k folder.

What else should I be looking at to possible make adjustments?

73s, Ed, KF9FRQ

Re: Which script works for draws?

Basil Gunn
 

The convention for configuration files for Linux is either /etc or
/usr/local/etc

The DRAWS image puts the Direwolf configuration file in
/etc/direwolf.conf

If you are following the 'Getting Started' guide here:
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started
then direwolf has already been configured.
/Basil n7nix

@RicoDG5BQ writes:

Hi, working through the wiki on how to install direwolf on a UDRC I
found 2 different listings for the direwolf.conf. Since I use the
draws I'm not sure which one to use. The listing for the UDRC original
or for the UDRC II?

Could anyone help me real quick on that?

Re: Which script works for draws?

 

If you are using a recent beta image -- there are scripts under ~/bin -- (the bin directory under the pi home directory).

If you have beta 8 -- there is a tool (after you run any of the setalsa scripts, to prime the pump) at http://localhost:8080  (or http://<LAN IP>:8080 from another computer on your LAN)




On Mon, Feb 11, 2019 at 7:45 PM <rico@...> wrote:
Hi,
working through the wiki on how to install direwolf on a UDRC I found 2 different listings for the direwolf.conf. Since I use the draws I'm not sure which one to use. The listing for the UDRC original or for the UDRC II?

Could anyone help me real quick on that?

Regards,
Rico



--


John D. Hays
Edmonds, WA
K7VE

   

Re: #paclink-unix Install / Setup Instructions #paclink-unix

Ed Bloom, KD9FRQ
 

Basil,

Thank you for all the help.  I have some antenna work to do so I can test having APRS and paclink-unix running at the same time. Right now, I only have one 2m antenna feed line into the shack.

73s, Ed, KD9FRQ

On 2/11/2019 1:00 PM, Basil Gunn wrote:
Copied the following message from my Winlink inbox from: Ed, KD9FRQ

It appears the postfix/dovecot reset today works. I just received the
reply from the personal e-mail as well as the other test as you
stated.

Now, are the paclink-unix help files in the folder? I need to make a
printed copy so I understand how to send messages using the radio and
not telnet.
For instructions on how to use paclink-unix transport wl2kax25:

At console prompt type:

man wl2kax25

Also I've updated some instructions here:
Scroll down to "How to verify paclink-unix - wl2kax25"

https://github.com/nwdigitalradio/n7nix/blob/master/plu/PACLINK-UNIX_INSTALL.md

/Basil


Which script works for draws?

Rico Abagnale, DG5BQ
 

Hi,
working through the wiki on how to install direwolf on a UDRC I found 2 different listings for the direwolf.conf. Since I use the draws I'm not sure which one to use. The listing for the UDRC original or for the UDRC II?

Could anyone help me real quick on that?

Regards,
Rico

#paclink-unix Install / Setup Instructions #paclink-unix

Basil Gunn
 

Copied the following message from my Winlink inbox from: Ed, KD9FRQ

It appears the postfix/dovecot reset today works. I just received the
reply from the personal e-mail as well as the other test as you
stated.

Now, are the paclink-unix help files in the folder? I need to make a
printed copy so I understand how to send messages using the radio and
not telnet.
For instructions on how to use paclink-unix transport wl2kax25:

At console prompt type:

man wl2kax25

Also I've updated some instructions here:
Scroll down to "How to verify paclink-unix - wl2kax25"

https://github.com/nwdigitalradio/n7nix/blob/master/plu/PACLINK-UNIX_INSTALL.md

/Basil

Re: the magic smoke

 

There is a form on the support page at the website.


On Sat, Feb 9, 2019, 13:33 Art - KC7SDA <nouse4anick@... wrote:
Ok, I thought the power was on the right, glad to know that I read that correctly!

How do you want John to get a hold of you for the warranty return? or is it outlined somewhere on the website?

Art

Re: the magic smoke

Art - KC7SDA
 

Ok, I thought the power was on the right, glad to know that I read that correctly!

How do you want John to get a hold of you for the warranty return? or is it outlined somewhere on the website?

Art

Re: the magic smoke

 

Hi Art,

You blew the reverse protection diode (which should have been fused). They fail short giving up their life to save your board. Just remove it and the board should come back but ...

POWER is on the right!

It was on the left on the prototypes and the prelim brochure, but was changed in the shipping layout.

If for some reason it doesn't work, it is under warranty.

Thanks,
Bryan K7UDR

--


John D. Hays
Edmonds, WA
K7VE

   

Re: the magic smoke

Gwen Patton
 

The only references to "807 lm" that I saw reference a color temperature for a light-emitting diode. The form factor isn't even similar to the pictured device.

It looks to me like a capacitor. There's an issue with multi-layer ceramic capacitors that cause them to flex under various circumstances. Since they're ceramic, they can crack from this flexion. Here are a couple of related articles:

https://www.murata.com/en-us/support/faqs/products/capacitor/mlcc/mnt/0007
http://www.kemet.com/Lists/TechnicalArticles/Attachments/89/2006%20CARTS%20Flex%20Improvement.pdf

And a video on the subject:

https://youtu.be/QgKY5QWehME

It's possible that it's a resistor, and simply got too much flex from a pick-and-place machine, or thermal stress during soldering. I find the issue of component flex fascinating, even if that isn't what happened here.

73,
Gwen, NG3P

the magic smoke

Art - KC7SDA
 

I do believe we accidently let the magic smoke out of a DRAWS board, one of the guys I've been helping was having issues getting a board to power up, when he brought it over we used the same setup as one other board and mine with no problems, then we plug this one in and it let out a puff and I noticed a crack on this component:


now, I looked at the schematic and I can't find where that is or what it is, its labeled as '807 lm', i think its the diode... Is it repairable or is it replacement time?

also, can I get some clarification: when looking at the power plug as in the picture is the right pin (with the square pad) positive? the picture in the DRAWS tech pdf shows the left as being positive and right as negative and the cable that came with the draws board is reversed.

Thanks,
Art

Re: #pac-link Pac-Link Install / Setup Instructions #pac-link

Ed Bloom, KD9FRQ
 

Basil,

Following up on "Rebuild folder tree"  This did not change.  I get the error as noted in the Claws Error.txt file I sent - the second error message noted.

73s, Ed, KD9FRQ

On 2/6/2019 10:40 AM, Basil Gunn wrote:
Your paclink-unix setup is mostly working as I received 2 Winlink messages
from you yesterday.

For claws-mail you should right click in the left panel on account name
probably 'pi@localhost' & select 'Rebuild folder tree'.

You can test by composing & sending mail messages to your personal email account &
to your winlink account.

/Basil


Ed Bloom, KD9FRQ <@KD9FRQ> writes:

Basil,

First and foremost - Thank you for serving your community. I hope your
trip off island is enjoyable.

1) I am still new to the Linix based software that I do not know all the
names. In one thread earlier, it was called Pac-link by another member
and that is what stuck in my head. I knew it was installed on the
Compass image or at least an install package was readily available.

2) I ran the first two commands (./app_config.sh pluimap and
./chk_mail.sh) as posted and I have attached the ~/tmp/elog_pi.txt file.

I think there was an install issue. Please remember I am running on the
new 3B+

3). I opened Claws Mail and entered the data following the prompts. But
I got an error. That text is also attached.

4) Stopped at this point to wait for further guidance.

Re: Using TLA2024

 

Excellent!

Send me your circuit and maybe we’ll build a board.

Here’s some quick and dirty code I wrote to check the sensors:

I am not a programmer and don’t play one on tv so don’t beat me up too bad

#/usr/bin/python
''' function to get an ADC Voltage on NW Digital Radio DRAWS Pi HAT
and return as float

Output from sensors command
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V
+12V:                  +13.17 V
User ADC 1:             +0.00 V
User ADC 2:             +0.00 V
'''
import subprocess
import re

def getvoltage(line):
    sensors = subprocess.check_output(sensors)
#    sensors = "ads1015-i2c-1-48\nAdapter: bcm2835 I2C adapter\nUser ADC Differential:  +0.00 V\n+12V:                  +13.17 V\nUser ADC 1:             +0.00 V\nUser ADC 2:             +0.00 V"
    slist = sensors.splitlines()
    vin =slist[line ]
    match = re.search('\ \+(.+?)\ V', vin)
    if match:
        voltage = float(match.group(1))
    return voltage

print "UDif:", getvoltage(2)
print "+12V:", getvoltage(3)
print "U1:", getvoltage(4)
print "U2:", getvoltage(5)


On Feb 6, 2019, at 1:29 PM, Jonathan Magee <jmagee@...> wrote:

Hi Bryan
Thanks for your response. I have remembered about the 3.3V limit. I am modifying an existing swr meter and tapping off at the connections to the meters. I have checked and at the full output power of my rig I am getting under 1v so it should be safe enough (but must double check what I get if the meter is left in the lower power setting ...)

I have used pysensor .I am getting readings ok and my quick and dirty test seems to be producing sensible values for the SWR. 

Thanks again for your help
73 de Jonathan GI7KMC

On Tue, 5 Feb 2019 at 20:51, Bryan Hoyer <bhhoyer@...> wrote:
Remember Ain is 0 to +3.3V!

Yes the kernel owns it uses lm-sensors

Type sensors from the command line and you’ll get the values:

pi@draws:~ $ sensors
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +13.62 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.00 V  

Quick way to monitor sensors periodically

watch -d sensors

Updates every 2.0 seconds

Or to change the interval:

watch -d -n .1 sensors

Google pi lm-sensors and you should find some app info

Thanks,
Bryan K7UDR

On Feb 5, 2019, at 12:40 PM, Jonathan Magee <jmagee@...> wrote:

Hi,
I am planning make use of the ADC on the TLA2024 chip to read voltages from an SWR bridge. Is there any sample code on how to use it? When I try to access it in code (via smbus puthon module)  I am getting a "Device or resource busy" error and I think the kernel is grabbing the device. There does seem to be files related to it in /sys/class/hwmon/hwmon0 but I am not sure how to get control of the device for my own use. I assume I need to some how disable the hardware monitoring. Unfortunately  I am not up to speed on the lower level aspects of linux.

73 de Jonathan GI7KMC




Re: Using TLA2024

Jonathan Magee
 

Hi Bryan
Thanks for your response. I have remembered about the 3.3V limit. I am modifying an existing swr meter and tapping off at the connections to the meters. I have checked and at the full output power of my rig I am getting under 1v so it should be safe enough (but must double check what I get if the meter is left in the lower power setting ...)

I have used pysensor .I am getting readings ok and my quick and dirty test seems to be producing sensible values for the SWR. 

Thanks again for your help
73 de Jonathan GI7KMC

On Tue, 5 Feb 2019 at 20:51, Bryan Hoyer <bhhoyer@...> wrote:
Remember Ain is 0 to +3.3V!

Yes the kernel owns it uses lm-sensors

Type sensors from the command line and you’ll get the values:

pi@draws:~ $ sensors
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +13.62 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.00 V  

Quick way to monitor sensors periodically

watch -d sensors

Updates every 2.0 seconds

Or to change the interval:

watch -d -n .1 sensors

Google pi lm-sensors and you should find some app info

Thanks,
Bryan K7UDR

On Feb 5, 2019, at 12:40 PM, Jonathan Magee <jmagee@...> wrote:

Hi,
I am planning make use of the ADC on the TLA2024 chip to read voltages from an SWR bridge. Is there any sample code on how to use it? When I try to access it in code (via smbus puthon module)  I am getting a "Device or resource busy" error and I think the kernel is grabbing the device. There does seem to be files related to it in /sys/class/hwmon/hwmon0 but I am not sure how to get control of the device for my own use. I assume I need to some how disable the hardware monitoring. Unfortunately  I am not up to speed on the lower level aspects of linux.

73 de Jonathan GI7KMC

Re: #pac-link Pac-Link Install / Setup Instructions #pac-link

Ed Bloom, KD9FRQ
 

Basil,
 
I will try 'Rebuild folder tree' again this evening.
 
Ed Bloom
ewbloom@...
Sent from Webmail access
 
 

-----Original Message-----
From: Basil Gunn <basil@...>
To: udrc <udrc@nw-digital-radio.groups.io>
Sent: Wed, Feb 6, 2019 10:40 am
Subject: Re: [udrc] #pac-link Pac-Link Install / Setup Instructions


Your paclink-unix setup is mostly working as I received 2 Winlink messages
from you yesterday.

For claws-mail you should right click in  the left panel on account name
probably 'pi@localhost' & select 'Rebuild folder tree'.

You can test by composing & sending mail messages to your personal email account &
to your winlink account.

/Basil


Ed Bloom, KD9FRQ <ewbloom@...> writes:

> Basil,
>
> First and foremost - Thank you for serving your community. I hope your
> trip off island is enjoyable.
>
> 1) I am still new to the Linix based software that I do not know all the
> names. In one thread earlier, it was called Pac-link by another member
> and that is what stuck in my head. I knew it was installed on the
> Compass image or at least an install package was readily available.
>
> 2) I ran the first two commands (./app_config.sh pluimap and
> ./chk_mail.sh) as posted and I have attached the ~/tmp/elog_pi.txt file.
>
> I think there was an install issue. Please remember I am running on the
> new 3B+
>
> 3). I opened Claws Mail and entered the data following the prompts. But
> I got an error. That text is also attached.
>
> 4) Stopped at this point to wait for further guidance.



Re: #pac-link Pac-Link Install / Setup Instructions #pac-link

Basil Gunn
 

Your paclink-unix setup is mostly working as I received 2 Winlink messages
from you yesterday.

For claws-mail you should right click in the left panel on account name
probably 'pi@localhost' & select 'Rebuild folder tree'.

You can test by composing & sending mail messages to your personal email account &
to your winlink account.

/Basil


Ed Bloom, KD9FRQ <@KD9FRQ> writes:

Basil,

First and foremost - Thank you for serving your community. I hope your
trip off island is enjoyable.

1) I am still new to the Linix based software that I do not know all the
names. In one thread earlier, it was called Pac-link by another member
and that is what stuck in my head. I knew it was installed on the
Compass image or at least an install package was readily available.

2) I ran the first two commands (./app_config.sh pluimap and
./chk_mail.sh) as posted and I have attached the ~/tmp/elog_pi.txt file.

I think there was an install issue. Please remember I am running on the
new 3B+

3). I opened Claws Mail and entered the data following the prompts. But
I got an error. That text is also attached.

4) Stopped at this point to wait for further guidance.

Re: #pac-link Pac-Link Install / Setup Instructions #pac-link

Ed Bloom, KD9FRQ
 

Basil,

First and foremost - Thank you for serving your community. I hope your trip off island is enjoyable.

1) I am still new to the Linix based software that I do not know all the names. In one thread earlier, it was called Pac-link by another member and that is what stuck in my head.  I knew it was installed on the Compass image or at least an install package was readily available.

2) I ran the first two commands (./app_config.sh pluimap and ./chk_mail.sh) as posted and I have attached the ~/tmp/elog_pi.txt file.

I think there was an install issue. Please remember I am running on the new 3B+

3). I opened Claws Mail and entered the data following the prompts. But I got an error.  That text is also attached.

4) Stopped at this point to wait for further guidance.

Respectfully, Ed, KF9FRQ

On 2/5/2019 2:39 PM, Basil Gunn wrote:
Ed,

First the program is called paclink-unix.

Second, the excuse. I live on an island and there was a structure fire
early this AM. Many of the HAMs on the island are part of the Fire
Dept. logistics team including me and I was up most of the night filling
air bottles & getting coffee and energy bars for the Fire Fighters. I'm
kind of tired & I have to go off island tomorrow so there may be some
gaps in my responses.

Third, brief instructions.
If you are using the DRAWS image then you know there is a list of things
that are already installed on the image.

https://github.com/nwdigitalradio/n7nix/blob/master/docs/IMAGE_README.md

paclink-unix allows you to run most Linux mail clients to send Winlink
mail messages. Also there is a way to config your RPi to use WiFi to use
your mobile device to compose & receive messages as well. Let's focus on
getting a local email client working as your Winlink interface first.

To configure paclink-unix & a local imap mail server:

If you do not already have a winlink account (password) then go here:
https://www.winlink.org/tags/password
and find the following line and follow those instructions.

"If you’re using a different Winlink e-mail client program, you must follow these steps:"

I know when you run the script you have to enter your call sign twice &
I will fix that in the next few days. You will be prompted to create an
RSA certificate. If you are challenged by some of the prompts just hit
return to use a default value.

cd
cd n7nix
git pull
cd config
sudo su
./app_config.sh pluimap

Verify using debug script which tests postfix & paclink-unix config:

cd
cd n7nix/debug
./chk_mail.sh

Send me the ~/tmp/elog_pi.txt file.

Now Run Claws-mail for the first time by selecting the main menu (top left
hand raspberry) and internet.

Use this guide to config Claws-mail
https://github.com/nwdigitalradio/n7nix/tree/master/email/claws

Now verify by:
Compose a message with Claws-mail addressed to yourself
(kd9frq@...) and check that a file appears in this
directory: /usr/local/var/outbox

Send message by using console command.
wl2ktelnet

Also address a winlink message to me n7nix@... and send it with
wl2ktelnet so I can verify your progress.

There is a web interface you can use so you don't have to use the
console that I will explain later.

Next step is verify receive is working.
Then we will test radio by sending a message through an RMS Gateway.

/Basil


Ed Bloom, KD9FRQ <@KD9FRQ> writes:

I am ready to move on with my DRAWS and add Pac-Link to the mix. I will use Channel 1 for this as Channel 0 is running Xastir.

Does anyone have some updated install / setup instructions for getting pac-link running on the Pi 3B+ and DRAWS?

Thanks.

Ed, KD9FRQ, "Freq" Radio

Re: Using TLA2024

 

Also check out PySensors Python Project