Go to advanced search

by FM81
Tue Jan 10, 2017 9:18 am
Forum: Advanced users
Topic: Sd partition for OS changing?
Replies: 9
Views: 2531

Re: Sd partition for OS changing?

You can: - unpack the zipped image - mount the 2 partitions of the image as loop-devices - copy it's contents to the premade, already existing partitions ('/boot' and SYSTEM) - make changes, to avoid resizing on first boot (is described somewhere here in forum) - may be, make additional changes, tha...
by FM81
Tue Jan 10, 2017 1:28 am
Forum: Raspbian
Topic: Network boot NAS
Replies: 2
Views: 2302

Re: Network boot NAS

My DNS and DHCP is provided by my router.
You can set the relevant DHCP-options in it's configuration? (to point to your NAS as bootserver etc.)
If NOT, it can become very difficult ...

Greetings, FM_81
by FM81
Wed Jan 04, 2017 12:01 pm
Forum: General discussion
Topic: Protecting SD Card: Delay before poweroff?
Replies: 8
Views: 1484

Re: Protecting SD Card: Delay before poweroff?

I never realized that SD card corruption was a danger when cutting the power to the RPi. That makes it a little impractical to use as an embedded device (imagine having to do a graceful shutdown when you unplug your microwave oven or TV). This depends on, how you try to specify an "embedded system"...
by FM81
Wed Jan 04, 2017 8:58 am
Forum: General discussion
Topic: Make diy UPS for PI3
Replies: 16
Views: 19895

Re: Make diy UPS for PI3

... since I don't actually know that any arbitrary UBEC necessarily has its output ground and the same potential as its input ground. In practice all teh ones I've seen have had separate input and output connectors or pads, I've never checked where their output level actually is. Input-GND and outp...
by FM81
Sat Dec 31, 2016 2:41 pm
Forum: Advanced users
Topic: Nfs speed
Replies: 3
Views: 890

Re: Nfs speed

Dayned89 wrote:Fastest I've seen it write from a client is 4.2MB/s.
How did you measure this?

Greetings, FM_81
by FM81
Fri Dec 30, 2016 2:41 pm
Forum: General discussion
Topic: COMPLETED AND FIXED Raspberry pi as mp3 player without LCD?
Replies: 136
Views: 20610

Re: Raspberry pi as mp3 player without LCD?

MPD is very flexible, for example if you have this in front of your MPD-config: bind_to_address "127.0.0.1" port "23" it listens to the local telnet-port. If you have set up a busybox-system (which still uses INITTAB) and you have inside # Telnet on serial console for MPD-controls ttyAMA0::respawn:/...
by FM81
Fri Dec 30, 2016 12:25 pm
Forum: General discussion
Topic: COMPLETED AND FIXED Raspberry pi as mp3 player without LCD?
Replies: 136
Views: 20610

Re: Raspberry pi as mp3 player without LCD?

If you really decide, to use mpd, then there is no need to handle any playlists manually. MPD will do this for you!

Greetings, FM_81
by FM81
Tue Dec 13, 2016 10:16 am
Forum: Troubleshooting
Topic: ESP 12F and RASPBIAN LITE
Replies: 0
Views: 501

ESP 12F and RASPBIAN LITE

Hi at all! I'm trying to run an ESP12F under latest Rspbian Lite (from Nov. 2016), according to this HowTo: https://oshlab.com/esp8266-raspberry-pi-gpio-wifi/ But the point 4: sudo sh install gives me only: Makefile:19: *** No .config found in /lib/modules/4.4.34-v7+/build, please set KBUILD to conf...
by FM81
Mon Dec 12, 2016 6:38 am
Forum: Deutsch
Topic: FTP-Skript funktioniert nicht über Cronjob ?
Replies: 1
Views: 531

Re: FTP-Skript funktioniert nicht über Cronjob ?

Das ist ja wohl der Teil, der die FTP-Arbeit ausführt: /usr/bin/ftp -pinv $HOST <<EOF user $USER $PASS cd /webcam/images1/ put $DATE.jpg bye EOF Wenn Du das manuell startest und im Verz. /home/pi/camera/ bist, funktioniert es sicherlich. Nur CRON weiß nichts von alle dem! Also musst Du einen Wechsel...
by FM81
Sat Dec 03, 2016 9:30 am
Forum: Troubleshooting
Topic: Cloned SD cards are always slower
Replies: 10
Views: 1714

Re: Cloned SD cards are always slower

Only if alignment is really needed: Not all, but very most SD-cards use an erase-block-size of 4194304 (this gives 8192 sectors). Partitions should be aligned to a mulitple of this value. Older images respect this rule. Newer ones didn't anymore: [email protected]:/home/user/Work# losetup /dev/loop1 2016-11-2...
by FM81
Tue Nov 29, 2016 5:13 pm
Forum: Beginners
Topic: Please school me on SD card corruption...is it possible to
Replies: 7
Views: 969

Re: Elescalador

Please tell me more. I'll do some googling on this INITRAMFS that I've never heard of... Search for busybox - it's a little bit harder to learn, but small and nice - especially for embedded systems. Is it possible to boot, start a C program that is on a usb stick and/or load the program into ram an...
by FM81
Tue Nov 29, 2016 4:08 pm
Forum: Beginners
Topic: Please school me on SD card corruption...is it possible to
Replies: 7
Views: 969

Re: Elescalador

So a zero running a c program that just polls inputs and changes outputs should corrupt...never? Put all you stuff in a INITRAMFS-system! If you wish and your program allows this, then there is no need to mount the SD-card at all after booting is done; so there is no risk of any corruption too. One...
by FM81
Mon Nov 28, 2016 8:18 am
Forum: General discussion
Topic: RPI reboots when sending out specific control signals
Replies: 3
Views: 627

Re: RPI reboots when sending out specific control signals

A bulb pulls a high amount of current, much more than a LED. In the moment of "switching on a bulb" the current is higher again because it's filament is cold. Your voltage drops and the RPi reboots. You need a stable powersupply. Or two separate: one for the RPi and one for the rest of electronics. ...
by FM81
Mon Nov 14, 2016 7:48 pm
Forum: Graphics, sound and multimedia
Topic: [Raspbian] MPD + Alsa + WM8731
Replies: 1
Views: 983

Re: [Raspbian] MPD + Alsa + WM8731

To 2. and 4.: Sorry, no idea ... To 1. and 3.: Are you sure, the ENC28J60 is fast enough? From it's datasheet: Supports one 10BASE-T I've used several (not expensive) USB-to-ethernet-adpters for such projects, for example one of my DMESG-outputs: [ 2.783271] mmc0: new high speed SDXC card at address...
by FM81
Sun Nov 13, 2016 10:39 am
Forum: Troubleshooting
Topic: Power a Pi from batteries via an UBEC
Replies: 19
Views: 3404

Re: Power a Pi from batteries via an UBEC

- Plugged to the Batteries+UBEC output: starts at 4.92V but quickly drops to some 4.10V This is the point of problem. And next question: How does input drop in this case; if it drops to much, the UBEC CANNOT do his work anymore? - why is the voltage stable out of the UBEC, even with a resistor ? A ...
by FM81
Fri Nov 11, 2016 6:36 am
Forum: Advanced users
Topic: Change where fake-hwclock saves
Replies: 2
Views: 1155

Re: Change where fake-hwclock saves

I haven't verified, how fake-hwclock works, where it saves etc., but this sequence #!/bin/sh # # Simple cron script - save the current clock periodically in case of # a power failure or other crash if (command -v fake-hwclock >/dev/null 2>&1) ; then mount -o remount,rw / fake-hwclock save mount -o r...
by FM81
Thu Nov 10, 2016 8:38 pm
Forum: Beginners
Topic: Superblock last mount time in the future
Replies: 21
Views: 4047

Re: Superblock last mount time in the future

If I remember correctly:

Code: Select all

tune2fs -i 0 /dev/mmcblk0p2
And in /etc/fstab I mean: simply replace in the line with /dev/mmcblk0p2 the 1 at the end with a 0 ...

Not sure, if this is the solution, but may be ...

MfG, FM_81
by FM81
Thu Nov 10, 2016 6:43 pm
Forum: Beginners
Topic: Superblock last mount time in the future
Replies: 21
Views: 4047

Re: Superblock last mount time in the future

Have you tested to disable time-dependent checking by using tune2fs with it's option i and the value 0

Other idea: Have you tried, to set the sixth (last) field in /etc/fstab to 0 so that fsck would be disabled?

Greetings, FM_81
by FM81
Tue Nov 08, 2016 2:02 pm
Forum: Troubleshooting
Topic: Pi Zero gpio-poweroff issue. Will not shut down
Replies: 3
Views: 1122

Re: Pi Zero gpio-poweroff issue. Will not shut down

No I go to shutdown: sudo shutdown -h now And it hangs shortly after trying. It says something about kernel panic, but just sits doing nothing. If I comment out the line I still get exactly the same problem. Problem goes away when I delete the line entirely. What is going wrong? If the pin goes in ...
by FM81
Thu Oct 27, 2016 3:37 pm
Forum: Troubleshooting
Topic: "...is not a symbolic link"
Replies: 20
Views: 3201

Re: "...is not a symbolic link"

I'd only asked to see if we have hardlinked files here, but we haven't! (different inode-numbers)

MfG, FM_81
by FM81
Thu Oct 27, 2016 1:57 pm
Forum: Troubleshooting
Topic: "...is not a symbolic link"
Replies: 20
Views: 3201

Re: "...is not a symbolic link"

What gives

Code: Select all

ls -li /opt/vc/lib/
Regards, FM_81
by FM81
Thu Oct 27, 2016 1:41 pm
Forum: Troubleshooting
Topic: Power a Pi from batteries via an UBEC
Replies: 19
Views: 3404

Re: Power a Pi from batteries via an UBEC

Connect you voltmeter to pin 4 (it's plus 5V too) and for example pin 14 (it's minus/GND once more). Then plus & minus as on your photo to pin 2 and 6. Be careful not to shorten anything. Give power and watch if voltage is stable ... And report what has happened ... We do not speak about drops in a ...
by FM81
Thu Oct 27, 2016 10:03 am
Forum: Troubleshooting
Topic: Power a Pi from batteries via an UBEC
Replies: 19
Views: 3404

Re: Power a Pi from batteries via an UBEC

By itself, the UBEC is outputting some 4.94V, so the voltage should be within required range. Did you measure this "under load" or with "open ending UBEC-output-wires"? In first case it should be OK, in second it says NOTHING ... Next question, assuming the UBEC is "Step Down" only: The voltage on ...
by FM81
Tue Oct 18, 2016 2:15 pm
Forum: Troubleshooting
Topic: Samba acces denied on windows 10
Replies: 8
Views: 6031

Re: Samba acces denied on windows 10

As you can see all is owned by user www-data and group www-data - others have no permission to write - you should change this first ... chown and chgrp and chmod commands may help you ... You can also create a "testshare" with all permissions given, to see if works as expected ... mkdir /media/serve...
by FM81
Tue Oct 18, 2016 3:21 am
Forum: Networking and servers
Topic: Booting a Pi3 from a Windows based Network?
Replies: 1
Views: 488

Re: Booting a Pi3 from a Windows based Network?

As far as I can see we need the following services on Linux: isc-dhcpd, tftpd and nfs No, you can replace isc-dhcpd and tftpd with dnsmasq - only for example. But these three didn't help you very much in a windows-world ... Provide DHCP from a windows-server should be no problem, of course already ...

Go to advanced search