Firmware upgrades using Ubuntu 12.04

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Firmware upgrades using Ubuntu 12.04

vk4tux

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: [hidden email]
[mailto:[hidden email]] On Behalf Of KC6D
Sent: Sunday, 8 July 2012 2:52 AM
To: [hidden email]
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:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: Firmware upgrades using Ubuntu 12.04

Nate Bargmann
* On 2012 07 Jul 16:38 -0500, Adrian wrote:
 
> 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.

Until someone tells you to:

cd /
rm -rf *

Have a nice day!

;-)

73, de Nate, N0NB >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: Firmware upgrades using Ubuntu 12.04

Jussi Eloranta
On 07/07/2012 06:36 PM, Nate Bargmann wrote:

> * On 2012 07 Jul 16:38 -0500, Adrian wrote:
>  
>> 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.
> Until someone tells you to:
>
> cd /
> rm -rf *
>
> Have a nice day!
>
While you might not type that in, there might be an ill behaving program
(on purpose or a bug) that could do something like that. Or simply you
open up a tar archive or something and that might overwrite important
files etc. I would strongly advise against running everything as root.

Jussi Eloranta (AA6KJ)

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: Firmware upgrades using Ubuntu 12.04

vk4tux
In reply to this post by Nate Bargmann
Or stick my head in the fire also. Not quite that gullible ;)

Fedora 17 looks v-good, The latest linux is much more GUI orientated and
user friendly
than years ago. Everyone seems to pick up Ubuntu, but the latest fedora is
very good.
CLI knowledge is very beneficial, also with windows. When your PC system
goes down,
 that knowledge can save you.

The worst thing about windows is the virus and malware attacks. I use
Microsoft Security Essentials (free) and find it very good rather than
paying virus upgrade
 subscriptions for systems that tend to slow down PC performance.

http://windows.microsoft.com/en-AU/windows/products/security-essentials

I also use windows 7 and xp on the laptop as well.

 You don't see many companies support the range of OS available like
Elecraft do.
Maybe getting OT this thread, but hey we all use computers now in ham radio
even if occasionally.

Adrian ... vk4tux

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Nate Bargmann
Sent: Sunday, 8 July 2012 11:36 AM
To: [hidden email]
Subject: Re: [Elecraft] Firmware upgrades using Ubuntu 12.04

* On 2012 07 Jul 16:38 -0500, Adrian wrote:
 
> 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.

Until someone tells you to:

cd /
rm -rf *

Have a nice day!

;-)

73, de Nate, N0NB >>

--

"The optimist proclaims that we live in the best of all possible worlds.
The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html