Go to advanced search

by sparkie777
Mon Jul 06, 2020 6:58 pm
Forum: Raspberry Pi OS
Topic: How to automate a command?
Replies: 26
Views: 609

Re: How to automate a command?

'DEBIAN_FRONTEND=noninteractive' will just cease from prompting the user. You optionally may want to run this in background (or not).
by sparkie777
Mon Jul 06, 2020 1:29 pm
Forum: Raspberry Pi OS
Topic: How to automate a command?
Replies: 26
Views: 609

Re: How to automate a command?

Note that this is hard to test, because you never know whether any given upgrade will involve pausing (most don't), but when you do it, it is done, so not repeatable. I 'test' it since years with my automated scripts using the 'DEBIAN_FRONTEND=noninteractive' thing. I did not alter anything within ...
by sparkie777
Mon Jul 06, 2020 1:12 pm
Forum: Raspberry Pi OS
Topic: How to automate a command?
Replies: 26
Views: 609

Re: How to automate a command?

And, just to clarify, no, the "-y" option on "apt-get dist-upgrade" doesn't help much. The problem is that even with that switch, it can still pause - when it needs to ask the user whether or not it is OK to over-write this file or sometimes just because there is a message onscreen that's not quite...
by sparkie777
Tue Jun 30, 2020 4:25 am
Forum: Media centres
Topic: video formats setting?
Replies: 7
Views: 10479

Re: video formats setting?

Is there another video format that raspivid does support it, different than the .H264 ? because I need to make the video works on Android mobile phone which is con not make encoding for the .H264 extension. sorry, the answer is a little late :D just use RPi Camera Viewer - Apps on Google Play for t...
by sparkie777
Sat Apr 27, 2019 12:02 pm
Forum: Networking and servers
Topic: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs
Replies: 17
Views: 10265

Re: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs

Even if I try to change their MAC addresses, my dongles are not recognized properly and they are always configured with addresses 169.254.0.0/16. Is there a way to solve this problem? - how do you change their MAC addresses? - the IP addresses your dongles receive is a matter of your DHCP servers -...
by sparkie777
Fri Jan 25, 2019 10:32 am
Forum: Networking and servers
Topic: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs
Replies: 17
Views: 10265

Re: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs

thanks for sharing this. Maybe there is a special dependency on external hubs and other devices in use in your system?
by sparkie777
Sun Jan 20, 2019 4:09 am
Forum: Networking and servers
Topic: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs
Replies: 17
Views: 10265

Re: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs

the examples given in the first post still are valid for RPi 3B+. I just verified. As outlined above in your case you simply need a file '72-wlan-geo-dependent.rules' with content: ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="sdio", KERNELS=="mmc1:0001:1", NAME="wlan0" ACTION=="add", SUBSYSTEM=="ne...
by sparkie777
Tue Feb 13, 2018 4:59 am
Forum: General discussion
Topic: Pi Access with Tablet/Smart Phone
Replies: 9
Views: 1814

Re: Pi Access with Tablet/Smart Phone

just install

Termux - Android Apps on Google Play

on your tablet/ smartphone. This will enable an (almost) full-fledged debian apt environment (including ssh, sshd bash, vim, gawk, mutt, rsync) on your smartphone. I.e. with all the linux commands you already know from your PI.
by sparkie777
Mon Feb 12, 2018 5:12 pm
Forum: General discussion
Topic: phone calls
Replies: 4
Views: 1289

Re: phone calls

there is a very nice site for projects like that - unfortunately in german :-)

DoorPi Forum
by sparkie777
Sat Feb 03, 2018 8:41 pm
Forum: Raspberry Pi OS
Topic: A beep that works in Raspbian Stretch
Replies: 4
Views: 2885

Re: A beep that works in Raspbian Stretch

like this

Code: Select all

play -n synth .3 sine A
by sparkie777
Mon Jan 29, 2018 6:11 am
Forum: General discussion
Topic: Using Pi camera, had to mount upside down, how to invert output?
Replies: 4
Views: 3966

Re: Using Pi camera, had to mount upside down, how to invert output?

when is comes to the mmal version of mjpeg-streamer just add '-hf -vf' to the options to yield a 180 degree rotation
by sparkie777
Fri Jan 26, 2018 10:00 pm
Forum: General discussion
Topic: CrossRat malware
Replies: 2
Views: 1230

Re: CrossRat malware

you should not "download malicious applications" - that's all
by sparkie777
Sat Jan 20, 2018 6:41 pm
Forum: Raspberry Pi OS
Topic: raspbian-stable-main package repository very dated
Replies: 11
Views: 4405

Re: raspbian-stable-main package repository very dated

rpdom wrote:
Sat Jan 20, 2018 6:19 pm
The simple answer to that is to leave the raspberrypi.org stretch repositories in your sources.list.d directory.
wow, even better. Debian is simply configurable to any degree of up-to-dateness. Obviously some people don't know that but complain instead:-) There is nothing more to say.
by sparkie777
Sat Jan 20, 2018 4:52 pm
Forum: Raspberry Pi OS
Topic: raspbian-stable-main package repository very dated
Replies: 11
Views: 4405

Re: raspbian-stable-main package repository very dated

I don't understand why people often complain about debian being outdated. The opposite is true. Ever heard about 'testing', 'unstable' or even 'experimental' debian repositories? DebianTesting - Debian Wiki DebianUnstable - Debian Wiki DebianExperimental - Debian Wiki For those who want bleeding edg...
by sparkie777
Fri Jan 19, 2018 6:12 am
Forum: General discussion
Topic: SMS
Replies: 3
Views: 841

Re: SMS

you can setup 'smsd' contained in the 'smstools' package to function as relay between email and SMS. So you just need to send/receive emails on the RPi. As you say 'annoying antenna that has to stick out' is not confined to your RPI then. Install your antenna (do you mean modem?) on any computer wit...
by sparkie777
Fri Jan 19, 2018 3:56 am
Forum: Troubleshooting
Topic: USB 3G Dongle Disconnecting
Replies: 13
Views: 4470

Re: USB 3G Dongle Disconnecting

usb_modeswitch provides some reset functionality. Did you already try that?

Code: Select all

usb_modeswitch -R -v 19d2 -p 1010
taken from:
Resetting Vodafone USB mobile broadband device with usb_modeswitch
by sparkie777
Thu Jan 18, 2018 5:26 pm
Forum: General discussion
Topic: RPi 3 going portable - suitable battery
Replies: 7
Views: 14419

Re: RPi 3 going portable - suitable battery

I use some Power Bank similar to this one:
Anker PowerCore 20100 - Ultra High Capacity Power Bank

is easy to use and provides plenty of power. Should be sufficient for most mobile applications...
by sparkie777
Thu Jan 18, 2018 4:14 pm
Forum: Troubleshooting
Topic: USB 3G Dongle Disconnecting
Replies: 13
Views: 4470

Re: USB 3G Dongle Disconnecting

possibly it matters you use a Pi Zero W. I only could try with my RPi3. Besides that maybe there is a difference between the 2 Micro USB ports on your Pi Zero W? Anyway, good luck!
by sparkie777
Thu Jan 18, 2018 10:08 am
Forum: Troubleshooting
Topic: USB 3G Dongle Disconnecting
Replies: 13
Views: 4470

Re: USB 3G Dongle Disconnecting

I use one of my RPi3s as router between mobile networks and local WIFI. OS is raspbian (stretch) based, modem is: Huawei E3372 Out of curiosity I simply rebootet (init 6) and watched the modem LED. It goes completely off for a while and after this starts with blinking at higher frequency (indicating...
by sparkie777
Wed Jan 17, 2018 1:10 pm
Forum: General discussion
Topic: looking for a simple and lightweight music player for PI ZERO
Replies: 15
Views: 12963

Re: looking for a simple and lightweight music player for PI ZERO

volume could be set
either with

'cplay' directly: press the 'h' key to get some 'help' => to control volume use the 1..9, +, - keys.

or with the help of

'amixer' utility (if you have the 'alsa-utils' package installed)
by sparkie777
Wed Jan 17, 2018 8:07 am
Forum: General discussion
Topic: looking for a simple and lightweight music player for PI ZERO
Replies: 15
Views: 12963

Re: looking for a simple and lightweight music player for PI ZERO

just

Code: Select all

apt install cplay
and you enjoy the lightest music player ever:-)
your requirements are all satisfied.
the backend is freely configurable. ogg123(1), mpg123(1), mpg321(1), splay(1), madplay(1), mikmod(1), xmp(1), play(1), speexdec(1) and even mplayer are all supported.
by sparkie777
Sat Jan 13, 2018 12:29 pm
Forum: Beginners
Topic: Choose best 3G modem
Replies: 10
Views: 7149

Re: Choose best 3G modem

I don't know nothing about the E3372H.
Why is it important to use the 'H' version?
SMS could be sent via programs included in the 'smstools' package. Alternatively the 'modemmanager' also works for this.
by sparkie777
Thu Jan 11, 2018 4:56 pm
Forum: Advanced users
Topic: Get Kernel Headers Package Updated?
Replies: 5
Views: 2110

Re: Get Kernel Headers Package Updated?

kernel-headers and kernel are pretty much in sync here: ii raspberrypi-kernel 1.20171029-1 armhf Raspberry Pi bootloader ii raspberrypi-kernel-headers 1.20171029-1 armhf Header files for the Raspberry Pi Linux kernel I don't know what the problem is?
by sparkie777
Thu Jan 11, 2018 6:38 am
Forum: General discussion
Topic: New to Pi3/ wifi spd?
Replies: 7
Views: 1073

Re: New to Pi3/ wifi spd?

I configured an RPi3 as WLAN access point (raspbian based, internal WLAN, simple bridge mode). Then I started 'netcat' on RPi3. nc -l 9000 < /dev/zero and another 'netcat' on a ThinkPad X1 Carbon 3rd (debian stretch, kernel 4.9.0-5-amd64, connected via WLAN to RPi3, about 2m distance): nc rpi3 9000 ...
by sparkie777
Sat Jan 06, 2018 11:48 am
Forum: General discussion
Topic: Alter cron jobs with bash script
Replies: 15
Views: 2404

Re: Alter cron jobs with bash script

how is 'the old cronjob' identified (in terms of a machine)?

normally you alter the crontab by the 'crontab' command (if you cease from editing the crontab directly by means of any text editor)

Go to advanced search