Go to advanced search

by n67
Sat Sep 08, 2018 2:00 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 830
Views: 263737

Re: STICKY: PINN - An enhanced version of NOOBS.

To save and exit press Esc, then ZZ
FIFY

Note: If you do want to use wq, then you need to precede it with a colon, so it is actually:

:wq<Enter>

But ZZ is so much easier.
by n67
Sat Sep 08, 2018 1:06 pm
Forum: Raspbian
Topic: what to do with 64GB micro sd?
Replies: 28
Views: 7156

Re: what to do with micro sd?

It is access to the raw device that is the problem on Windows.
One of many...
by n67
Sat Sep 08, 2018 1:05 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 830
Views: 263737

Re: STICKY: PINN - An enhanced version of NOOBS.

4) vi /flash/config.txt and add the disable_overscan=1 line.
FIFY

No sudo necessary since in the previous line you indicated that you were logging in as root.
by n67
Sat Sep 08, 2018 11:49 am
Forum: General discussion
Topic: cd ~
Replies: 6
Views: 893

Re: cd ~

k-pi wrote:
Sat Sep 08, 2018 11:11 am
That pwd = present working directory -
Actually, the 'p' stands for 'print'.
by n67
Fri Sep 07, 2018 1:20 pm
Forum: Troubleshooting
Topic: Protection against short (<1s) voltage drops?
Replies: 12
Views: 884

Re: Protection against short (<1s) voltage drops?

Okay, I see that you would entirely recommed UPSs. Let's assume that I buy an UPS. What would you think, which flaws would cheaper UPS have compared to more expensive ones? The main difference that I've seen is just their power rating - which basically boils down to how many things you can plug int...
by n67
Fri Sep 07, 2018 12:44 pm
Forum: Troubleshooting
Topic: SSH wrong password
Replies: 4
Views: 474

Re: SSH wrong password

I thought that was fixed - ages ago - by having it nag you if both of the following are true: 1) SSH is enabled 2) The password is still the default I mean, I suppose people could continue to ignore the nag, but it is pretty "in your face". Hard to believe that people would just ignore it (and not r...
by n67
Thu Sep 06, 2018 6:33 pm
Forum: General discussion
Topic: Raspberry Pi is a waste of time (and money).
Replies: 115
Views: 12125

Re: Raspberry Pi is a waste of time (and money).

I believe the first such user up vote/down vote site was slashdot.org. Which has been a swamp for a decade or more. The fundamental problem is that we've yet to figure out a better way to determine quality than popularity. We all know how flawed that is as a method, but, like so many other things, ...
by n67
Thu Sep 06, 2018 12:55 pm
Forum: General discussion
Topic: Plug n Pi: USB-connect your phone to look up Raspberry Pi's IP address
Replies: 22
Views: 1587

Re: Plug n Pi: USB-connect your phone to look up Raspberry Pi's IP address

Every time I bring up console cables I get kickback from the forum. People seem to think they're some kind of evil voodoo magic or something. They are actually extremely simple to use, really inexpensive, and a great tool for troubleshooting. But if you guys would rather develop apps and write comp...
by n67
Thu Sep 06, 2018 11:01 am
Forum: General discussion
Topic: Mounts not working anymore.
Replies: 3
Views: 389

Re: Mounts not working anymore.

The problem is that they recently found some big "security" problem with Samba.

Implementing the "fix" basically broke most existing Samba setups (requiring everybody to put in vers=1.0 on the command line, thereby negating the "fix").

Such is life...
by n67
Thu Sep 06, 2018 2:00 am
Forum: Beginners
Topic: I cannot compile c++ program.
Replies: 5
Views: 668

Re: I cannot compile c++ program.

What error message do you get? That's the key to solving your problem.

Peering into my crystal ball, I'm guessing that the functions you are calling are in some library, and
you are not linking that library in.
by n67
Wed Sep 05, 2018 4:21 pm
Forum: General discussion
Topic: Raspberry Pi is a waste of time (and money).
Replies: 115
Views: 12125

Re: Raspberry Pi is a waste of time (and money).

The thing is this: Most of these "The pi sux and you're all a bunch of oogie-woogies" type posts are of the "I was looking for a [gaming/media center/Netflix/etc] appliance" variety. You don't see many (i.e., any) posts of the form "I was looking for a cheap effective Linux box" or "I wanted a small...
by n67
Wed Sep 05, 2018 1:05 pm
Forum: Other projects
Topic: Cooling a Pi 3 B+ (Heatsinks, etc)
Replies: 10
Views: 4577

Re: Cooling a Pi 3 B+ (Heatsinks, etc)

Would I use one, yes as it runs faster for longer with one. I would argue then that the answer is "Yes. It needs one to run optimally." There is a tendency around here to assume two things: 1) You (rhetorical "you") are running the latest version of everything (that would mean 3B+ board and latest ...
by n67
Wed Sep 05, 2018 12:03 am
Forum: General discussion
Topic: Power Cable with switch
Replies: 30
Views: 2001

Re: Power Cable with switch

Don't know about your country, but in Australia at least, those switches are most certainly not able to be turned on/off by a mere cat walking on them or even a child playing with them. Heck, sometimes I even have trouble switching them. Additionally, if you are still concerned, most manufacturers ...
by n67
Tue Sep 04, 2018 11:58 pm
Forum: Other projects
Topic: Cooling a Pi 3 B+ (Heatsinks, etc)
Replies: 10
Views: 4577

Re: Cooling a Pi 3 B+ (Heatsinks, etc)

There's really two questions here: 1) Does the Pi need cooling? 2) Do heatsinks work? The old-school CW is that the answer to the first question is No, and that, thus, the 2nd question is moot. However, consider the recently released POE Hat-with-fan. Consider how much discussion there has been on t...
by n67
Tue Sep 04, 2018 8:57 pm
Forum: Troubleshooting
Topic: Protection against short (<1s) voltage drops?
Replies: 12
Views: 884

Re: Protection against short (<1s) voltage drops?

I've always just used a UPS and it just always works. We have frequent power glitches but my Pis (and pretty much everything else) just keeps up and running as if nothing ever happened. Everytime this question comes up in the forum, people have all these exotic solutions in mind, but I always end up...
by n67
Tue Sep 04, 2018 7:00 pm
Forum: General discussion
Topic: Power Cable with switch
Replies: 30
Views: 2001

Re: Power Cable with switch

Ours can't flip the switches on power strips, even if they did escape their enclosures.
Well, there ya go. I guess everything has an upside.
by n67
Tue Sep 04, 2018 5:00 pm
Forum: General discussion
Topic: Power Cable with switch
Replies: 30
Views: 2001

Re: Power Cable with switch

Actually, I think switches on power strips are a curse, because I'm always afraid my cat is going to walk on it and shut everything down. I've resorted to putting tape over the switch to try to kitty-proof it, but, well, you know, cats are so creative. Seriously, I'm doubtful about the advice being ...
by n67
Mon Sep 03, 2018 12:12 am
Forum: General discussion
Topic: malware execution in raspberry pi 3
Replies: 12
Views: 1102

Re: malware execution in raspberry pi 3

I'm surprised its taken this long for someone to post to that effect.

I think the first rule of malware is that, like Fight Club, you don't talk about it.
by n67
Sun Sep 02, 2018 1:49 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

Swapping is always slow on the RPi and should be avoided as much as possible.
That's just not been my experience. For me, setting up swap has been a lifesaver.

Face it, you're in the position of defending a "conventional wisdom" - which, like many CWs, just ain't true.
by n67
Sun Sep 02, 2018 5:07 am
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

Just one thing i dont reallt know or understand, if i change the Swap memory to my harddrive do it becomse automaticly 2gb or is that someting i need to change the settings for(?) and is it really necessary to move the system to the Harddrive if swap issue get solved? It should "just work". As indi...
by n67
Sat Sep 01, 2018 9:33 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

Well (and continuing the funny phrasing of talking about what you are and aren't "supposed" to do) You're not supposed to increase the swap size if it is (still) on the SD card. That's advice frequently given on this forum by the experts (people from RPF). That said, glad to hear that your drive is ...
by n67
Sat Sep 01, 2018 6:01 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

Okey so I need to get another USB with 2gb or more and use that as swap memory disk? Is there anyway I can partition my harddrive without formating it again? I have almost 1000gb in files so I would rather not formated it again. Unless your hard drive is formatted NTFS, you should be able to easily...
by n67
Sat Sep 01, 2018 4:47 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

100 Mb is the default - and it is what they (the infamous "they") recommend you keep it at if you are swapping to SD card (especially, as in the default configuration, you are swapping to the boot device). But I have found that 100 Mb is too small and if you are doing memory intensive stuff (e.g., w...
by n67
Sat Sep 01, 2018 2:14 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 4362

Re: Swap memory getting full after a few days.

How much swap do you have?

(I ask, because the answer to your question is probably: You need more)
by n67
Sat Sep 01, 2018 2:10 pm
Forum: Beginners
Topic: start app via ssh
Replies: 11
Views: 740

Re: start app via ssh

This is really more of a Visual Basic (and Windows) question than a RPi one. That said, the obvious answer to the question of "How do I invoke ssh from within a VB program?" is "Use whatever the VB equivalent is of the C [and other languages] system command to run the ssh command as a sub-process." ...

Go to advanced search