Go to advanced search

by Martin Frezman
Mon Sep 25, 2017 10:25 am
Forum: Troubleshooting
Topic: Error Mounting The File System
Replies: 4
Views: 648

Re: Error Mounting The File System

Lots of possibilities...

1. Corrupt SD card.

2. Corrupt NOOBS download (verify it with the SHA256 hash).

3. Defective SD card.

4. Defective Pi.
PEBKAC is more likely than any of these.
by Martin Frezman
Sun Sep 24, 2017 7:47 pm
Forum: General discussion
Topic: dd vs cp for flashing sd cards on the Linux command line.
Replies: 23
Views: 4401

Re: dd vs cp for flashing sd cards on the Linux command line.

The OP was asking ...
Don't forget that "the OP" is jahboater, the poster to whom you are responding...
by Martin Frezman
Sun Sep 24, 2017 5:30 pm
Forum: General discussion
Topic: dd vs cp for flashing sd cards on the Linux command line.
Replies: 23
Views: 4401

Re: dd vs cp for flashing sd cards on the Linux command line.

It was only a few seconds faster. The important thing is that it is not any slower. That you can get a result that is at least as good, if not better, by doing something simple - letting the system handle the low level details - than you can, using dd, where you have to set all these parameters you...
by Martin Frezman
Sun Sep 24, 2017 2:31 pm
Forum: Troubleshooting
Topic: inconsistent boot results/renaming network interfaces
Replies: 5
Views: 912

Re: inconsistent boot results/renaming network interfaces

Or just add: net.ifnames=0 to the end of your existing cmdline.txt file. This is easily Googleable. Note: Unlike some posters on various online forums and such, I am not being snotty when I say that it is Googleable. I am merely documenting the fact that the information is out there and is not some ...
by Martin Frezman
Sun Sep 24, 2017 1:58 pm
Forum: Troubleshooting
Topic: Copying output text in terminal without using mouse
Replies: 6
Views: 1498

Re: Copying output text in terminal without using mouse

Don't forget tee to both capture output and see it too: First of all, "tee" *was* mentioned up-thread; no need to re-iterate it. But in any case, it is clear that old-fashioned (70s/80s) Unix redirection/piping is not relevant to this thread or what OP is actually trying to do. To re-iterate, "scri...
by Martin Frezman
Sun Sep 24, 2017 1:43 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero SSH over USB
Replies: 8
Views: 4133

Re: Raspberry Pi Zero SSH over USB

You have to tell us either or both (preferably both) of: 1) Which tutorial you followed (URL) 2) What specific steps you took and what system responses you've observed while doing so. Also, why you are trying to do this; what overall problem you are trying to solve that can't be solved in a more con...
by Martin Frezman
Sun Sep 24, 2017 11:52 am
Forum: General discussion
Topic: dd vs cp for flashing sd cards on the Linux command line.
Replies: 23
Views: 4401

Re: dd vs cp for flashing sd cards on the Linux command line.

The responses so far have all been nonsensical. cp works fine, as the OP has noted, and there is absolutely no reason to use dd, unless one really is a 70s/80s-bound traditionalist. In fact, you don't even need cp. To me, even that is overkill. The most straightforward way to flash a Raspbian image ...
by Martin Frezman
Sun Sep 24, 2017 4:50 am
Forum: Troubleshooting
Topic: Copying output text in terminal without using mouse
Replies: 6
Views: 1498

Re: Copying output text in terminal without using mouse

The straightforward answer to your question is to install "gpm" (via apt-get). GPM gives you mouse-based cut-and-paste in Linux virtual consoles. Or at least it did, a couple of decades ago, before Linux got all Windows-y. The last few times, I tried to play with GPM, it didn't work (for various rea...
by Martin Frezman
Sun Sep 24, 2017 12:01 am
Forum: Python
Topic: How to run GUI application at boot
Replies: 11
Views: 19794

Re: How to run GUI application at boot

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart sudo?????????????????????????????? Note that in this case (*) it is not only unnecessary, but is dangerous. It is dangerous because you (usually) end up with these files owned by root - when they should obviously be owned by 'pi' - and then lat...
by Martin Frezman
Sat Sep 23, 2017 10:31 pm
Forum: Python
Topic: Can anyone change my Python 2.7 code to Python 3?
Replies: 12
Views: 1744

Re: Can anyone change my Python 2.7 code to Python 3?

Doesn't it seem like someone should write an automated converter program (if such has not already been done) ?

I wonder what googling for "convert python 2 to python 3" would reveal...
by Martin Frezman
Sat Sep 23, 2017 6:35 pm
Forum: Beginners
Topic: Booting from USB on raspi3
Replies: 12
Views: 2444

Re: Booting from USB on raspi3

Keep in mind that you can achieve all the same advantages of the "new" style USB booting a lot more simply (and portably!) by using the "old style" USB boot method, which is much simpler to setup. The only theoretical advantage of the "new" method is that you don't need any SD card at all, so it is ...
by Martin Frezman
Sat Sep 23, 2017 6:31 pm
Forum: Troubleshooting
Topic: How to preserver settings between reboots?
Replies: 11
Views: 1357

Re: How to preserver settings between reboots?

I think we should assume that OP is not an idiot and that there is a reason why his network works the way it does. Remember, not everybody has a simple cable modem/router setup that "just works" (as all of us super-geeks do and we tend to assume that everybody else has the same). There are a lot of ...
by Martin Frezman
Sat Sep 23, 2017 5:40 pm
Forum: Other projects
Topic: Using Laptop as keyboard and mouse
Replies: 22
Views: 21045

Re: Using Laptop as keyboard and mouse

Maybe there was no simple implementation of vnc for Raspbian 5 years ago, which is the age of the topic you have chosen to ressurrect. If you go back and re-read the entire thread, carefully, from start to finish, as I just did, you will see why any networking-based solution is a no-go for the OP. ...
by Martin Frezman
Fri Sep 22, 2017 4:47 pm
Forum: Beginners
Topic: Problem resetting forgotten password
Replies: 2
Views: 2713

Re: Problem resetting forgotten password

Probably the most straightforward way to get around this is to figure out what the "real" /dev/mmcblk0pX device name is for your rootfs. If you are using a "raw" image, this should be /dev/mmcblk0p2; if NOOBS/PINN, you'll have to figure it out. Then do: mount -rw -o remount /dev/mmcblk0pX / Untested...
by Martin Frezman
Fri Sep 22, 2017 12:54 pm
Forum: RISCOS
Topic: RISCOS Not on NOOBS?
Replies: 21
Views: 12884

Re: RISCOS Not on NOOBS?

but AFAIK the standalone image still works, but NOT on the Pi2 or Pi3 Yeah, that sounds about right. It won't work on any of the 1GB RAM models. Incidentally, I think (but have not tested) that it will work fine in NOOBS/PINN provided you are booting it on right (i.e., pre-1GB RAM) hardware. I.e., ...
by Martin Frezman
Fri Sep 22, 2017 10:58 am
Forum: RISCOS
Topic: RISCOS Not on NOOBS?
Replies: 21
Views: 12884

Re: RISCOS Not on NOOBS?

Ah, very interesting. I wish you luck. Keep us posted if anything interesting develops.
by Martin Frezman
Fri Sep 22, 2017 1:12 am
Forum: Beginners
Topic: Cmd to See Raspberry OS Version
Replies: 9
Views: 1410

Re: Cmd to See Raspberry OS Version

What a PITA!!
Yes. It has got to be a better bet to A) clone your existing card (for backup), then B) "upgrade" it to Stench, and then C) decide which is better.

Oh, and, in the matter of the question of "choice", I direct you to:

http://www.youtube.com/watch?v=VO6XEQIsCoM
by Martin Frezman
Fri Sep 22, 2017 1:01 am
Forum: RISCOS
Topic: RISCOS Not on NOOBS?
Replies: 21
Views: 12884

Re: RISCOS Not on NOOBS?

I was hoping to be able to have this post instruct you to use PINN instead of NOOBS, b/c I think there have been cases where PINN's list of available OSes was more extensive than that provided by NOOBS; this being one of the many advantages of PINN over NOOBS. Unfortunately, I just loaded up the lat...
by Martin Frezman
Thu Sep 21, 2017 7:14 pm
Forum: Beginners
Topic: Cmd to See Raspberry OS Version
Replies: 9
Views: 1410

Re: Cmd to See Raspberry OS Version

Would you guys suggest installing Stretch? I wouldn't, but then again, I'm not the law here. I think it just isn't ready yet. Usually, I wait about a year from when the new version is announced before I take it up - gives the bugs a chance to shake out. However, this time, I decided to give it a sh...
by Martin Frezman
Thu Sep 21, 2017 7:09 pm
Forum: Troubleshooting
Topic: Transfer files form raspberry pi 0 to pc
Replies: 18
Views: 3236

Re: Transfer files form raspberry pi 0 to pc

however, I need one more thing. I need to automatically transfer specyfic file form raspberry to other computer. I was looking for some command that would be possible to use in the program that sent the file Again I suggest you look at sftp and ssh. You can run that from a command line, call it fro...
by Martin Frezman
Thu Sep 21, 2017 5:35 pm
Forum: Beginners
Topic: Cmd to See Raspberry OS Version
Replies: 9
Views: 1410

Re: Cmd to See Raspberry OS Version

RonR wrote:
Thu Sep 21, 2017 5:32 pm
Try:

sudo lsb_release -d
sudo???????
by Martin Frezman
Tue Sep 19, 2017 11:57 am
Forum: Troubleshooting
Topic: CRON scheduler runs - but nothing happens
Replies: 21
Views: 2351

Re: CRON scheduler runs - but nothing happens

Funny how that works...
by Martin Frezman
Tue Sep 19, 2017 11:06 am
Forum: Troubleshooting
Topic: Pi Zero W identifying as "B Rev 2"
Replies: 20
Views: 6273

Re: Pi Zero W identifying as "B Rev 2"

DougieLawson wrote:
Tue Sep 19, 2017 10:51 am
It's more reliable to parse the virtual file /sys/firmware/devicetree/base/model.
Provided that file exists. On one of my machines, I get:

Code: Select all

$  nl /sys/firmware/devicetree/base/model
nl: /sys/firmware/devicetree/base/model: No such file or directory
$
by Martin Frezman
Mon Sep 18, 2017 11:04 pm
Forum: Advanced users
Topic: RaspiZero breaks and restarts only after SD is read with Mac
Replies: 8
Views: 1036

Re: RaspiZero breaks and restarts only after SD is read with Mac

If you must call a script that never ends from rc.local, at least put it in the background with an & on the end of the command, otherwise you will get a system that gets stuck at boot time while it waits for the endless script to finish Good advice, of course, but it is actually no longer true - no...
by Martin Frezman
Mon Sep 18, 2017 2:46 pm
Forum: General discussion
Topic: SSH Putty doesn't work (RPi Zero W)
Replies: 12
Views: 5003

Re: SSH Putty doesn't work (RPi Zero W)

1) It seems pretty clear that OP's problem isn't to do with the usual stuff (creating the 'ssh' file or the 'wpa_supplicant' file), since the error message is "Cannot find host" (or something akin to that). It is a networking problem of some sort (networking outside of the Pi itself). 2) IMNSHO, the...

Go to advanced search