Go to advanced search

by HankB
Thu Mar 17, 2016 8:07 pm
Forum: Python
Topic: GPIO without keyboard (Python)
Replies: 11
Views: 1903

Re: GPIO without keyboard (Python)

The RPi.GPIO module does not require root to run. The user it runs as must be in the gpio group (in /etc/group) barta@allred:~ $ grep gpio /etc/group gpio:x:997:pi,hbarta hbarta@allred:~ $ Pi is there by default and I added myself using 'sudo' and my favorite text editor. Ordinarily I try really har...
by HankB
Wed Mar 16, 2016 1:05 am
Forum: General discussion
Topic: Pi 3 first impressions
Replies: 17
Views: 4941

Re: Pi 3 first impressions

http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438&tab_idx=2 Now this is a Raspberry Pi 3 kiler. Why can't Pi foundation can come up with something like this? ... Definitely a nice looking board. And at nearly double the price of a Pi. Gigabit Ethernet looks great but why no...
by HankB
Wed Mar 16, 2016 12:52 am
Forum: General discussion
Topic: I need to find out the IP address of a remote RPi3....?
Replies: 17
Views: 4535

Re: I need to find out the IP address of a remote RPi3....?

HankB: The call to a website script is what I also had in mind, but did not know how to accomplish. But it seems like rurwin's suggestion solves that problem. ruwin closed that gap very well. The only comment I have is that I think the separator should be a '?' Actually... I was debugging a web cli...
by HankB
Tue Mar 15, 2016 11:40 pm
Forum: General discussion
Topic: I need to find out the IP address of a remote RPi3....?
Replies: 17
Views: 4535

Re: I need to find out the IP address of a remote RPi3....?

Email takes a bit to get configured, If you're up to that then it sending the email is nearly trivial. What about a GET or POST to your web server? Your logs or whatever should then include the required information. Unfortunately if the LAN is NATed the IP address in the server log won't reflect the...
by HankB
Tue Mar 15, 2016 11:33 pm
Forum: General discussion
Topic: Raspberry Bare Metal in The Arduino environment?
Replies: 11
Views: 2594

Re: Raspberry Bare Metal in The Arduino environment?

ghans wrote: It's written in FreePascal , though.
And looks like it only runs on Windows.

Otherwise looks interesting and suitable for running the Pi as an embedded system vs. a PC
by HankB
Tue Mar 15, 2016 2:29 am
Forum: General discussion
Topic: Raspberry Bare Metal in The Arduino environment?
Replies: 11
Views: 2594

Re: Raspberry Bare Metal in The Arduino environment?

They're really different environments. The Arduino is a chip with essentially no OS and a bunch of GPIO and Analog inputs. You can buy a chip for a couple bucks, program it in an Arduino Uno and put it in a relatively bare board, solder on a few bits and have a device. There's a pretty nifty IDE for...
by HankB
Mon Mar 14, 2016 1:47 am
Forum: General discussion
Topic: Using "dd" to backup.
Replies: 13
Views: 3063

Re: Using "dd" to backup.

Oh.. That's odd! Why would that be useful to anyone? That's pretty much the command I use to backup a card image when the card is plugged into my PC. That makes a huge difference. And it's very convenient if I want to preserve the entire image. However if I wanted to back up my personal data (usual...
by HankB
Sat Mar 12, 2016 4:13 am
Forum: General programming discussion
Topic: Properly down a Pi
Replies: 2
Views: 838

Re: Properly down a Pi

Do it often enough without a proper shutdown (to bring the disk to a consistent state) and at some point it won't boot. Do you need to save information from one execution to the next? If not, run the system off a read only drive. Then there should be less (or no) chance of corruption on loss of powe...
by HankB
Sat Mar 12, 2016 4:06 am
Forum: General programming discussion
Topic: Raspberry Pi jukebox
Replies: 2
Views: 1063

Re: Raspberry Pi jukebox

One thing you might consider is players that are organized as front end/backend setups. I'm using one of mine as a headless jukebox running MPD. I run the front end on a different PC but it could just as easily be run on the Pi. I suppose the protocol is reasonably well described. I haven't looked. ...
by HankB
Thu Mar 10, 2016 9:51 pm
Forum: General discussion
Topic: (Possibly Unrelated) Arch Linux and CTRL + ALT + DEL
Replies: 11
Views: 1475

Re: (Possibly Unrelated) Arch Linux and CTRL + ALT + DEL

It would be easy - bordering on trivial - to program a shutdown in response to pressing a button connected up to a couple of GPIO pins. If you search for GPIO and shutdown you will probably find some discussions. Any ideas on how to do this on a Desktop hardware? Ahh... I didn't read carefully enou...
by HankB
Thu Mar 10, 2016 6:30 pm
Forum: General discussion
Topic: (Possibly Unrelated) Arch Linux and CTRL + ALT + DEL
Replies: 11
Views: 1475

Re: (Possibly Unrelated) Arch Linux and CTRL + ALT + DEL

I think you could, but it would require making a button that would behave like a USB input device. I'm not sure that would be so easy. It would be easy - bordering on trivial - to program a shutdown in response to pressing a button connected up to a couple of GPIO pins. If you search for GPIO and sh...
by HankB
Sun Mar 06, 2016 11:36 pm
Forum: General discussion
Topic: remote mp3player
Replies: 5
Views: 1385

Re: remote mp3player

Or just install mpd in Jessie or Jessie Lite. I tried Pi Musicbox and (A ready to write .IMG file which uses mopidy) and mopidy on Jessie and struggled to get either working. Tried mpd and it is looking good!
by HankB
Sun Mar 06, 2016 3:06 pm
Forum: Raspbian
Topic: Problem with NFS network
Replies: 15
Views: 52001

Re: Problem with NFS network

Hi folks, I'm trying to get my RPi2 running current Raspbian to mount an NFS share at boot. I've followed the instructions at http://www.raspbian.org/RaspbianFAQ#How_do_I_mount_directories_from_other_Linux.2FUnix.2FBSD_servers.3F__How_do_I_mount_an_NFS_share.3F and the statd service is starting but ...
by HankB
Sat Mar 05, 2016 8:24 pm
Forum: Beginners
Topic: Powering Pi 2
Replies: 4
Views: 550

Re: Powering Pi 2

Hi mark2fly1034 My Pi 2 is sitting in front of me with an HDMI cable, Ethernet cable and Logitech unifying receiver plugged into it. I have a USB meter between it and the wall wort that shows it using about 250 mA. (These meters are under $10US on Amazon.) With a fully charged 1200 mAH battery I wou...
by HankB
Sat Mar 05, 2016 3:54 pm
Forum: Beginners
Topic: tailoring Raspbian to a particular board?
Replies: 1
Views: 354

tailoring Raspbian to a particular board?

Hi folks, I'm new to the RPi and having a blast. :D These are amazing little devices. At present I have two Pi2Bs a Pi0 and a Pi3B ordered along with a stack of microSD cards. I generally believe that I can mix and match the cards between the different boards but eventually as I dedicate boards for ...
by HankB
Tue Mar 01, 2016 12:59 pm
Forum: General discussion
Topic: The Raspberry Pi 3 Model B Q&A thread
Replies: 457
Views: 207696

Re: The Raspberry Pi 3 Model B Q&A thread

They shouldn't be surprised when a 1A supply works better then the 2A one they got from the dollar store / pound shop. Indeed! I bought a cheap powered USB hub from Amazon and plugged a heavy duty load into it. Between the load and hub I included one of those cheap (~15$US) USB meters. Voltage and ...
by HankB
Tue Mar 01, 2016 12:38 pm
Forum: General discussion
Topic: Achievable kernel boot time with pi zero?
Replies: 9
Views: 2007

Re: Achievable kernel boot time with pi zero?

For x86 - i could append an initramfs to the kernel, lets say a busybox and a small bash script that enables all hardware and does the job - but i am not experienced with the pi. Have you tried this strategy on the Pi? Is there any reason it would not work? The other option (and perhaps that's what...
by HankB
Tue Feb 23, 2016 5:51 pm
Forum: General discussion
Topic: Mini-PC
Replies: 8
Views: 1215

Re: Mini-PC

I would consider a Chromebook of some sort. I recently picked up a refurb for about $160US and it is a joy to use. It has much more processor (Celeron) and RAM (4GB) than the RPi 2. It also comes with a full HD IPS screen. One advantage the RPI is that you could use a much larger monitor. Could also...
by HankB
Sat Feb 20, 2016 2:25 pm
Forum: General discussion
Topic: remote mp3player
Replies: 5
Views: 1385

Re: remote mp3player

I did exactly that years ago on an old laptop which I used to drive our stereo. I wrote in PHP because I was interested in learning PHP at the time. Or maybe I used mod_perl. I'm no longer interested in PHP and find no need to sharpen my Perl skills these days so I would probably choose Python. Ther...
by HankB
Sat Feb 20, 2016 5:12 am
Forum: General discussion
Topic: Arduino IDE to desktop - Solved
Replies: 5
Views: 1438

Re: Arduino IDE to desktop

If 'locate' does not work (not installed by default on my Raspbian install) you can try 'which' as in 'which arduino' and that should show the full path to the executable. If the program shows up in the menu, you may be able to right click on the menu item and create a shortcut or link on the deskto...
by HankB
Sat Feb 20, 2016 5:01 am
Forum: General discussion
Topic: Video Jukebox
Replies: 1
Views: 546

Re: Video Jukebox

Hi Gary, I would start by googling "lightweight linux music player" and see what comes up. Then see which are available for Raspbian (or whatever flavor you are running.) OK, that's my solution because I ordinarily run Linux. A better search would substitute "Raspberry Pi" for "Linux." There are sev...
by HankB
Wed Feb 17, 2016 3:26 am
Forum: General discussion
Topic: TP-LINK (Model:WN725N) Set-Up & How To..
Replies: 27
Views: 3334

Re: TP-LINK (Model:WN725N) Set-Up & How To..

The last time I performed a USB WiFi driver install on Linux, it involved unpacking a zip or tar archive and running a build command that built and installed the drivers. It's (hopefully) not too hard if you have instructions in front of you but without that I am unable to provide detailed instructi...
by HankB
Wed Feb 17, 2016 1:21 am
Forum: General discussion
Topic: TP-LINK (Model:WN725N) Set-Up & How To..
Replies: 27
Views: 3334

Re: TP-LINK (Model:WN725N) Set-Up & How To..

... permission denied As a normal user there are files and directories you cannot access, even if you have Admin rights. The Admin rights just mean that you can change to 'super user' and do those things. (Super user is often called root.) In order to 'become root' you precede the command with 'sud...
by HankB
Wed Feb 17, 2016 1:12 am
Forum: General discussion
Topic: Pi Zero Available at Microcenter in Boston - Feb 16
Replies: 10
Views: 8613

Re: Pi Zero Available at Microcenter in Boston - Feb 16

One is shown in stock at Microcenter in Chicago/Central. I got one at the Chicago/Westmont last week and they showed stock until early this week. I might be mistaken but I think that when Chicago/Westmont had stock Chicago/Central had none and later when Chicago/Westmont showed none, Chicago/Central...
by HankB
Tue Feb 16, 2016 6:19 pm
Forum: General discussion
Topic: Installing between Modem & Router?
Replies: 5
Views: 1322

Re: Installing between Modem & Router?

Would be nice to block torrent traffic however. Maybe a better choice would be a firewall, You can do that in your router perhaps or do that in a Linux box like an RPi. Google "router firewall" or "Linux firewall" and see where that takes you. Actually a search for "block torrent traffic" might fin...

Go to advanced search