Go to advanced search

by tpylkko
Tue Apr 11, 2017 5:19 am
Forum: General discussion
Topic: Turning on Zero W every hour
Replies: 46
Views: 12713

Re: Turning on Zero W every hour

I don't know why using and RTC would require a lot of code. On any normal laptop/desktop (that is one that has an RTC) with linux you can suspend or sleep the machine and have it automatically awake by using a simple rtcwake command. You could insert the command into a .service file and use a timer ...
by tpylkko
Wed Mar 29, 2017 9:52 am
Forum: General discussion
Topic: fast bootup time os to run on Pi Zero W?
Replies: 11
Views: 3385

Re: fast bootup time os to run on Pi Zero W?

do you need a desktop? Maybe Picore?
by tpylkko
Sun Mar 26, 2017 6:11 pm
Forum: General discussion
Topic: Best Raspberry-PI + Arduino Hardware?
Replies: 8
Views: 2298

Re: Best Raspberry-PI + Arduino Hardware?

You can get Attiny85's for less than 1 USD a piece, and you can program them with an Arduino using the Arduino IDE (in case you don't want to invest in a special usb-programmer). For those that don't know the original arduinos are 8 bit atmel microcontrollers (Atmega328P) embedded in a board, but yo...
by tpylkko
Sat Mar 25, 2017 8:48 pm
Forum: Beginners
Topic: Manually place kernel.img on boot partition
Replies: 9
Views: 5355

Re: Manually place kernel.img on boot partition

Well, I can tell you that copying the kernel images did not work. Nor did copying the entire contents of /boot... so I guess chroot now, if onlyI can find my usb-sd reader soon (just spent like 15 min looking for it). If not, it might be more efficient time/moneywise to buy a new one tomorrow... it ...
by tpylkko
Sat Mar 25, 2017 8:35 am
Forum: Advanced users
Topic: Let's talk about anti virus and anti malware
Replies: 24
Views: 9299

Re: Let's talk about anti virus and anti malware

Also, stop all services that you don't need. I mean, for example, if you do not use VNC at all, just don't run it or uninstall it. Never allow root ssh, but make users log in as user and then sudo if they need more priv. You can give users sudo for only some commands or for some certain time period.
by tpylkko
Thu Mar 23, 2017 9:20 pm
Forum: Beginners
Topic: Manually place kernel.img on boot partition
Replies: 9
Views: 5355

Re: Manually place kernel.img on boot partition

Actually, the reason I was hoping this would work is so that I don't have to chroot into it. But if it doesn't work then that the next step, unless you can say for sure that there is a reason why this easier first step could not work...? BTW. I just want to point out that I wasn't wanting to get a 4...
by tpylkko
Thu Mar 23, 2017 8:06 pm
Forum: General discussion
Topic: Trying to compile ungoogled-chromium
Replies: 10
Views: 1971

Re: Trying to compile ungoogled-chromium

I used that term in DuckDuckGo, and I get nothing, I use the same term in Google and this thread is no2, but still nothing from eloston/ungoogled chromium github thread. I guess the Google filter bubble is working against me. As noted in 2011 an incredibly divisive implementation of technology. htt...
by tpylkko
Thu Mar 23, 2017 7:56 pm
Forum: Beginners
Topic: Manually place kernel.img on boot partition
Replies: 9
Views: 5355

Manually place kernel.img on boot partition

I was updating a remote pi when it was powered down in the midst. After it was rebooted, it only gives 7 flashes which I think translates to "unable to find/load kernel.img". I took out the sd-card mounted it on a laptop running Debian and /boot has start.elf and boocode.bin but no kernel.img (also ...
by tpylkko
Thu Mar 23, 2017 12:03 pm
Forum: Python
Topic: CSV file?
Replies: 14
Views: 3063

Re: CSV file?

Why is the logical condition >10 in the if-statement? Maybe the card is giving outputs of 10 digits and since that is "not larger than 10" it doesn't write. Are you sure that it does not need to be >=10

Also, what about clearing RFID after the loop.
by tpylkko
Thu Mar 23, 2017 11:34 am
Forum: General discussion
Topic: Trying to compile ungoogled-chromium
Replies: 10
Views: 1971

Re: Trying to compile ungoogled-chromium

Searches online only return useless info on being a Ninja type of person, even when the exact message is pasted into the search minus the date & time. You need to work on your searching skills. I googled that exact error (INFO: Checking ninja command...)and I get 6 results, the first being this thr...
by tpylkko
Wed Mar 22, 2017 7:30 am
Forum: General discussion
Topic: It appears my Pi has been hacked
Replies: 23
Views: 4541

Re: It appears my Pi has been hacked

There have been some raspbian user interface updates in the system updates lately. It is possible that some update reverted your configuration files for the desktop to stock ones, which then caused your modification to disappear
by tpylkko
Mon Mar 06, 2017 3:18 pm
Forum: General discussion
Topic: Thepihut screwed up my order (SOLVED)
Replies: 21
Views: 4028

Re: Thepihut screwed up my order

They got two of my (separate) orders wrong in a similar way. I left a note about it in a review (nothing inflamed or angry) but they didn't post the review nor reply. So, not surprised. To be fair, they have a lot of orders and there are going to be mistakes. But all the reviews on their page are po...
by tpylkko
Sun Mar 05, 2017 1:44 pm
Forum: General discussion
Topic: Can I run Gparted live usb on a retropie.
Replies: 6
Views: 1707

Re: Can I run Gparted live usb on a retropie.

another possible solution could be to boot a laptop with gparted live cd and then use it to manipulate the sd card of the retropie with either a built-in sd-card reader on the laptop or one of those cheap sdcard-to-usb drives. that is, take the card out and use gparted on it with a laptop or other x...
by tpylkko
Fri Mar 03, 2017 5:13 pm
Forum: General discussion
Topic: Raspberry Pi Zero audio outputs
Replies: 28
Views: 38366

Re: Raspberry Pi Zero audio outputs

There is also now a speaker phat which is essentially a dac with a mini amp/speaker.
by tpylkko
Wed Feb 15, 2017 12:58 pm
Forum: Troubleshooting
Topic: sudo: Command not found
Replies: 34
Views: 6164

Re: sudo: Command not found

whenever you don't know how to do something (like set an executable bit) you can google "how to do x in linux terminal". Then when you have the command (in this case chmod), type "man chmod" into a terminal to read the manual. it's much better to learn how to manipulate file permissions yourself tha...
by tpylkko
Thu Jan 19, 2017 12:26 pm
Forum: Beginners
Topic: run telegram-cli at reboot
Replies: 33
Views: 5528

Re: run telegram-cli at reboot

here is a solution that is claimed to work. It appears to not require the graphical user interface to be up. So, you need to undo the edits you did there and make a service file as indicated here.

http://unix.stackexchange.com/questions ... -enable-it
by tpylkko
Sat Jan 14, 2017 7:37 pm
Forum: General discussion
Topic: Stuttering when writing to a USB
Replies: 36
Views: 5834

Re: Stuttering when writing to a USB

I have seen other benchmarks on the internet where ntfs results have been completely out of whack. I have read the explanation mentioned also in this thread earlier that other filesystems have code that works in kernel space whereas ntfs goes through fuse and therefore such results are not directly ...
by tpylkko
Wed Jan 11, 2017 7:00 am
Forum: Advanced users
Topic: Bricked pi2b after rpi-update.
Replies: 27
Views: 4568

Re: Bricked pi2b after rpi-update.

Is the pi2 an old one or are revised on with the BCM2837?
by tpylkko
Wed Jan 04, 2017 4:56 pm
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7683

Re: Logging in as Root via SSH

there is a tool called visudo that allows you to edit /etc/sudoers so that it cannot be wrongly formatted. I believe this is present on Raspbian although I can't check that right now. If the sudoers file is incorrect, or has a space, tab or other symbol in the wrong place it can for example lock you...
by tpylkko
Tue Jan 03, 2017 6:05 pm
Forum: General discussion
Topic: Help Using Gparted to Shrink Resulting .IMG File Size
Replies: 9
Views: 2852

Re: Help Using Gparted to Shrink Resulting .IMG File Size

Ok. My bad. What error is it that you get then?
by tpylkko
Mon Jan 02, 2017 11:03 pm
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7683

Re: Logging in as Root via SSH

On Raspbian no such fine-grained control had been established. You just type the password for the pi user one more time and then you have full root access. Thus, losing the pi password is just as bad as losing the root password. In fact, as you said, it's easier to lose because it is more frequentl...
by tpylkko
Mon Jan 02, 2017 10:35 pm
Forum: General discussion
Topic: Help Using Gparted to Shrink Resulting .IMG File Size
Replies: 9
Views: 2852

Re: Help Using Gparted to Shrink Resulting .IMG File Size

Are you trying to shrink a partition that is in use? I mean you appear to be using gparted on pi itself. If so, you can get around this by not using the same pi. Shut it down and take out the card. Then use a linux laptop, another pi (or the same pi with another raspian card) or live dvd/usb boot a ...
by tpylkko
Mon Jan 02, 2017 12:18 am
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7683

yeah

Really far reaching on that one. Only way a Keylogger would get installed on a Linux system, is if the user tries to install program with the key logger embedded in it without knowing. Key loggers are very rare in the Linux world and even more rare in the Pi world, since most people kill the OS on ...
by tpylkko
Sun Jan 01, 2017 11:26 pm
Forum: Off topic discussion
Topic: Acer Mediatek ARM Netbook Windows 10
Replies: 9
Views: 2003

Re: Acer Mediatek ARM Netbook Windows 10

The thing is, though, that while there are people that are succesfully running Debian and other linux distros with ARM arch, you still can get a fairly good intel equivalent with same price paid, I believe. And when you do, there are advantages. Like probably better graphics chips and driver support...
by tpylkko
Sun Jan 01, 2017 10:56 pm
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7683

Re: Logging in as Root via SSH

Although sudo seems popular, it has always seemed less secure to me than having a separate root password. How is typing the same user-level password twice more secure than having a completely different password for root access? In addition to what was already mentioned above, there is also the fact...

Go to advanced search