Go to advanced search

by Pwl2
Wed Aug 16, 2017 7:14 am
Forum: Beginners
Topic: Auto selection of wireless LAN
Replies: 5
Views: 848

Re: Auto selection of wireless LAN

Sorry I missread the first reply (early in the morning) . SSID/PW logged I simply meant that the system knows multiple SSID - password pairs and can select the correct one. Reading more carefully (now that I am awake and have had my morning coffee) I understand the first reply. The definition of mul...
by Pwl2
Wed Aug 16, 2017 6:43 am
Forum: Beginners
Topic: Auto selection of wireless LAN
Replies: 5
Views: 848

Re: Auto selection of wireless LAN

I initially used a supplicant.conf file and it did not work BUT the tutorial that I was working from was missing the "key_mgmt=WPA-PSK" line. I will try again as it is a cleaner method. Problem is your method still requires me to know where I next intend to boot from. What I am looking for is the sy...
by Pwl2
Tue Aug 15, 2017 9:46 pm
Forum: Beginners
Topic: Auto selection of wireless LAN
Replies: 5
Views: 848

Auto selection of wireless LAN

I am new to *nix and am trying to set up jessi-lite networking. I have wired and wireless working for my home lan but need to be able to use the system via SSH in locations that I know the SSID and key for but do not have access to a screen or a keyboard to modify the interfaces file. My doze box fi...
by Pwl2
Tue Jul 11, 2017 5:48 pm
Forum: Python
Topic: import statement
Replies: 3
Views: 1543

Re: import statement

Thank you. Now it all makes sense. (And sorry, I thought this tab was the Python forum :oops: )
by Pwl2
Tue Jul 11, 2017 11:44 am
Forum: Python
Topic: import statement
Replies: 3
Views: 1543

import statement

Hi I am not a Python coder, my main language is C++ (but a little rusty now!). I mentor kids in codeing and they use Scratch and Python. Despite a lot of web searching I do not understand the nuances of the Import statment. I get from x import y only gives access to y and from x import * gets everyt...
by Pwl2
Sun May 14, 2017 6:03 pm
Forum: C/C++
Topic: Any simple GUI for raspberry?
Replies: 5
Views: 1591

Re: Any simple GUI for raspberry?

I would go for wxwidgets though it is not 'simple' it looks 'native' on many platforms so you can code on say Windows then either recompile or cross compile for the pi.
by Pwl2
Sun Jan 15, 2017 6:26 pm
Forum: C/C++
Topic: C++ IDE
Replies: 3
Views: 1507

Re: C++ IDE

Geany looks good but my problem with it is I have a code editor which I have used for xx! years and lets you set up your own keyword expansions etc. in any language. (http://www.tangbu.com/x2main.shtml) and in Geany you cannot (as far as I know) change the editor as it is basically built around its ...
by Pwl2
Mon Jul 25, 2016 11:42 am
Forum: C/C++
Topic: GUI
Replies: 2
Views: 1119

Re: GUI

I am also new to GUI programming but I use C++. I am using wxwidgets. The website has a lot of info and there are some books available and lots of info on the web in general.

Pwl2
by Pwl2
Sat Feb 27, 2016 6:55 pm
Forum: C/C++
Topic: Learning C / C++
Replies: 38
Views: 6629

Re: Learning C / C++

I would recommend a book - Exercises for Programmers by Brian P. Hogan. It is language neutral as it simply sets 57 'tasks' from 'say Hello' to writing 5 full programs (ToDo list etc). After that I would pick a smallish program you will use - a 'pillow project', and code that. Coding something that ...
by Pwl2
Wed Oct 28, 2015 11:35 am
Forum: Astro Pi
Topic: Accuracy of the temperature sensor
Replies: 2
Views: 1795

Re: Accuracy of the temperature sensor

Use a ribbon cable. I don't need distance, just avoiding the 'board heat' problem. If I need to use something else I will stick with an I2C solution as I need to learn that for my main project BUT your recommendation has been filed for future reference. Thanks. :D

Pwl2
by Pwl2
Tue Oct 27, 2015 11:35 pm
Forum: Astro Pi
Topic: Accuracy of the temperature sensor
Replies: 2
Views: 1795

Accuracy of the temperature sensor

I was looking at acquiring 2 sense hats for a project. I was checking the tech specs on the swag store and the temp sensor is listed at "+/- 2 degC in the 0-65 degC range". Is this correct, it seems a bit wide? Is it a typo i.e should be 0.2 or is the sensor not accurate. As the sensors will be runn...
by Pwl2
Tue Jun 09, 2015 10:32 pm
Forum: Beginners
Topic: Shrinking an image
Replies: 5
Views: 968

Re: Shrinking an image

Joe, unless I misunderstand cp I don't see how it can copy partition information.Sorry if I am being dense, unfortunately most of my experience in the industry has been with Windows or mainframes so Linux is new to me.

Paul
by Pwl2
Tue Jun 09, 2015 10:16 pm
Forum: Beginners
Topic: Shrinking an image
Replies: 5
Views: 968

Re: Shrinking an image

I will resize my data partition and give it a go. Thanks.

Paul
by Pwl2
Mon Jun 08, 2015 9:13 pm
Forum: Beginners
Topic: Shrinking an image
Replies: 5
Views: 968

Shrinking an image

I have a number of configurations I have been putting together and I wish to create images for duplication. My problem is I have been developing on 32 GB chips but want to deploy on smaller chips (or other 32 GB chips, not all of which seem to have the same number of blocks). I have reduced the part...
by Pwl2
Fri May 29, 2015 9:48 am
Forum: General discussion
Topic: File transfer problem
Replies: 4
Views: 744

Re: File transfer problem

Thanks. It was the line ending problem. I thought ASCII mode FTP took care of that.

Pwl2
by Pwl2
Tue May 26, 2015 7:11 pm
Forum: General discussion
Topic: File transfer problem
Replies: 4
Views: 744

File transfer problem

I am trying to transfer a text file (using Filezilla in SFTP mode) created in notepad on Win 7 to a Pi running Rasbian, that is to be processed for use by fortune. The file looks fine on Win and under nano on the Pi % quote 1 % quote 2 % but when I run strfile -c % test test.dat I tells me there is ...
by Pwl2
Fri May 22, 2015 9:38 pm
Forum: Java
Topic: Tomcat7 why JDK?
Replies: 6
Views: 1446

Re: Tomcat7 why JDK?

Thanks to all for the answers. I need to build one image with tomcat as the java code is a 'pillow project' for the developer who is re-familiarizing herself with tomcat and jsps and learning what is new (same as I am but with C++11). I will also build another image with Jetty for the finished code....
by Pwl2
Mon May 18, 2015 3:07 pm
Forum: Java
Topic: Tomcat7 why JDK?
Replies: 6
Views: 1446

Re: Tomcat7 why JDK?

Tomcat can server JSP pages. It compiles JSP into Java classes. To compile them it needs javac (or at least its Java API portion) and JRE is not supplying it. So, for Tomcat to work it needs JDK which supplies javac (Java compiler). HTH OK Thanks for that , that I now understand, but if I configure...
by Pwl2
Mon May 18, 2015 9:21 am
Forum: Java
Topic: Tomcat7 why JDK?
Replies: 6
Views: 1446

Tomcat7 why JDK?

Firstly I am not a Java coder (I code in C/C++) but I am installing Java / Tomcat7 on my home server Pi to run some Java apps someone else is writing. I have everything installed and working but Tomcat7 would not install until the JDK was present. I don't understand why I need to install a *Developm...
by Pwl2
Mon Mar 23, 2015 2:58 pm
Forum: C/C++
Topic: Which distribution for c/c++ development?
Replies: 3
Views: 1130

Re: Which distribution for c/c++ development?

Hi A game can be a lot of time and code. You may want to consider developing on an faster box and finishing off on the Pi. My project will make extensive use of GPIO and I2C resources. I am developing the GUI and 'engine' code in C++ on Windows on my laptop to get the benefit of faster compiles and ...
by Pwl2
Mon Mar 23, 2015 2:57 pm
Forum: C/C++
Topic: Assign a GPIO as kernel LED trigger
Replies: 14
Views: 10345

Re: Assign a GPIO as kernel LED trigger

Oops, wrong thread Sorry. :(
by Pwl2
Mon Mar 23, 2015 7:23 am
Forum: C/C++
Topic: Assign a GPIO as kernel LED trigger
Replies: 14
Views: 10345

Re: Assign a GPIO as kernel LED trigger

Hi A game can be a lot of time and code. You may want to consider developing on an faster box and finishing off on the Pi. My project will make extensive use of GPIO and I2C resources. I am developing the GUI and 'engine' code in C++ on Windows on my laptop to get the benefit of faster compiles and ...

Go to advanced search