[Elecraft] Firmware upgrades using Ubuntu 12.04
Adrian
vk4tux at bigpond.com
Sat Jul 7 17:37:35 EDT 2012
Yes the permissions catch a few out. I never realised K3Util Linux ran a
curl script to get the firmware, that's interesting. Of course you could
run it in terminal knowing the ftp path etc.
Most Ubuntu users just need to join the dialout group rather than chmod the
dev.
This right is gained by adding the user to the "dialout" group.
The "dialout" group owns the /dev/ttyS* devices and can read the
/etc/wvdial.conf file
In a default Desktop installation, the first user on the system is
considered an administrator, and as of Ubuntu 10.04 LTS is a member of the
following groups: adm, dialout, cdrom, plugdev, lpadmin, admin, sambashare
So as a new Ubuntu user it is worth checking which groups you are a member
of. Run below command in terminal to add dialout.
Sudo addgroup yourusername dialout
Or
usermod -a -G dialout yourusername
Or GUI;
The Users Administration Tool allows you add, delete and modify the existing
users and groups in your system. To start
>From gui menu; Click on System > Administration > Users and Group
You can also start tool from command line / terminal:
users-admin &
I am very naughty here and run as root all the time now in fedora 17
(started on centOS 5 and fedora 10), so permissions are not an issue.
Have been doing that for 6 years and yet to have an issue.
Adrian ... vk4tux
-----Original Message-----
From: elecraft-bounces at mailman.qth.net
[mailto:elecraft-bounces at mailman.qth.net] On Behalf Of KC6D
Sent: Sunday, 8 July 2012 2:52 AM
To: elecraft at mailman.qth.net
Subject: [Elecraft] Firmware upgrades using Ubuntu 12.04
I had trouble getting the KX3 Utility program to communicate with the radio
in Ubuntu. Here's what solved the problem for me. I take no credit for
figuring this out, these were postings by others that I found in three
different places. I decided to collect the details here so they'd be all in
one spot. Hope this helps someone.
The FTDI drivers for the USB cable provided by Elecraft are a native part of
Ubuntu 12.04 and do not need to be re-installed. Just plug the cable into a
USB port.
I found these two additional steps are necessary before the Utility program
will successfully operate:
(Run in a terminal)
sudo chmod 666 /dev/ttyUSB0
sudo apt-get install curl
The first command is necessary to permit all users of the computer to access
the "serial" port ttyUSB0. Note: the last character in USB0 is a zero.
Without this command you will get an error message telling you that the KX3
Utility program can't communicate with the port.
The second command installs the Linux function "curl" which enables Ubuntu
to automatically communicate with and download from the Elecraft (and anyone
else's) FTP server. Note: the last character in "curl" is the letter L in
lower-case. Without this command you will get an error message stating the
KX3 Utility program is unable to connect to the Elecraft FTP server.
Once I did the above the Utility program ran smoothly and the firmware
update and other functions all appear to work.
Don KC6D
--
View this message in context:
http://elecraft.365791.n2.nabble.com/Firmware-upgrades-using-Ubuntu-12-04-tp
7558796.html
Sent from the Elecraft mailing list archive at Nabble.com.
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft at mailman.qth.net
This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
More information about the Elecraft
mailing list