Go to advanced search

by ghans
Wed Aug 15, 2018 4:53 pm
Forum: Networking and servers
Topic: scp transfer of .PNG photos---something doesn't work
Replies: 13
Views: 151

Re: scp transfer of .PNG photos---something doesn't work

Windows tries to infer filetype from the file extension, which works most of the time.
Linux does not honor filename extension but uses "magic" (signatures inside the file).

ghans
by ghans
Sat Aug 04, 2018 3:59 am
Forum: Networking and servers
Topic: Acess point, redirect to HTTP, capture packets!
Replies: 5
Views: 243

Re: Acess point, redirect to HTTP, capture packets!

HSTS preloading was invented to prevent such downgrade attacks and as of 2018 all major browsers employ it.
"sslstrip" still works on websites without preloaded HSTS, though.

ghans
by ghans
Mon Jul 30, 2018 9:27 am
Forum: Media centres
Topic: Dual Monitors.
Replies: 9
Views: 285

Re: Dual Monitors.

No Raspberry Pi can drive more than a single HDMI screen. There is probably no way around that except USB Graphic cards, and it is hard to find reliable information about Linux compatibility with those. There are some Linux applications out there which promise to work as Chromecast sender. One of th...
by ghans
Mon Jul 30, 2018 8:51 am
Forum: Graphics, sound and multimedia
Topic: Multiple displays running simultaneously
Replies: 12
Views: 420

Re: Multiple displays running simultaneously

I doubt there is any solution out there which is as "turn-key" as PiWall. Some basic computer knowledge will be necessary for that too, mind you.

ghans
by ghans
Mon Jul 30, 2018 7:52 am
Forum: General discussion
Topic: files and directorios permissions
Replies: 10
Views: 49264

Re: files and directorios permissions

Are you using NTFS-3G ? Are you sure the disk hasn't been marked as "dirty" ? This happens if you don't properly unmount / eject it and can only be fixed by Microsoft CHKDSK
on Windows...

ghans
by ghans
Sun Jul 29, 2018 11:11 am
Forum: Graphics, sound and multimedia
Topic: Running fbi from an x windows application using Python3
Replies: 2
Views: 82

Re: Running fbi from an x windows application using Python3

Did you try the "openvt" command ? It seems to do exactly what you want.

ghans
by ghans
Sat Jul 28, 2018 7:12 pm
Forum: Graphics, sound and multimedia
Topic: Multiple displays running simultaneously
Replies: 12
Views: 420

Re: Multiple displays running simultaneously

No Raspberry Pi can drive more than 2 screens at 30fps/1080p.
You will need multiple Raspberries. This is a solved problem.

www.piwall.co.uk

ghans
by ghans
Sat Jul 28, 2018 9:34 am
Forum: General discussion
Topic: USB Programming
Replies: 14
Views: 414

Re: USB Programming

Are you 100% sure the device actually uses USB ? Perhaps it just uses USB sockets because the creator thought it would be funny to misuse standardised sockets - see "passive VGA-to-HDMI cables" etc.

ghans
by ghans
Fri Jul 27, 2018 7:12 am
Forum: Automation, sensing and robotics
Topic: Automation and Control
Replies: 10
Views: 423

Re: Automation and Control

Linux is a preemptive non-realtime multitasking operating system. Linux has complete control over processes and can kill them if they misbehave (eg. OOM killer). It also schedules processes as it sees fit. This is not different from Windows, by the way. When a process sleeps, Linux is free to schedu...
by ghans
Thu Jul 26, 2018 7:34 am
Forum: Graphics, sound and multimedia
Topic: RPI as a radio station for smartphones
Replies: 2
Views: 125

Re: RPI as a radio station for smartphones

It should be quite easy to turn each Pi into a access point. After that, you could install Icecast to make them act as internet radio stations.

ghans
by ghans
Thu Jul 26, 2018 7:22 am
Forum: Networking and servers
Topic: get Date/time from Browser Client
Replies: 5
Views: 134

Re: get Date/time from Browser Client

At a minimum, you must understand PHP, JavaScript and AJAX ...

http://www.dynamicdrive.com/forums/show ... le-(ajax-)

ghans
by ghans
Mon Jul 23, 2018 11:18 am
Forum: Beginners
Topic: problem on qemu raspbian error while loading shared libraries: libstdc++.so.6
Replies: 4
Views: 111

Re: problem on qemu raspbian error while loading shared libraries: libstdc++.so.6

The image files from this website on work on Raspberry Pi computers. Are you using QEMU ?
If yes, please post your complete commandline.

ghans
by ghans
Sat Jul 21, 2018 8:19 am
Forum: Troubleshooting
Topic: Corrupt SD Card
Replies: 3
Views: 118

Re: Corrupt SD Card

If you can passthrough the SD card reader, perhaps ...
I would read up on ddrescue, e2fsck, kpartx and PhotoRec ASAP. Those
four tools are powerful and can save you lot of pain, but they only work on the command-line ...

ghans
by ghans
Fri Jul 20, 2018 8:43 pm
Forum: Python
Topic: keyboard emulator
Replies: 16
Views: 454

Re: keyboard emulator

You ARE using an USB-to-Serial adaptor, aren't you ?

ghans
by ghans
Fri Jul 20, 2018 12:45 pm
Forum: Python
Topic: keyboard emulator
Replies: 16
Views: 454

Re: keyboard emulator

Only the Raspberry Pi Zero (and model A and the compute module) is capable of emulating an USB keyboard, which are different from traditional "serial" connections.
All other Raspberry Pi models can NOT act as USB keyboard.

ghans
by ghans
Thu Jul 19, 2018 1:12 pm
Forum: Python
Topic: Transfer images from Raspberry Pi Zero W to PC over USB
Replies: 4
Views: 205

Re: Transfer images from Raspberry Pi Zero W to PC over USB

It looks like this functionality is not provided by "GadgetFS" anymore. "ConfigFS" and "libcomposite" are the new hotness.

http://isticktoit.net/?p=1383

ghans
by ghans
Thu Jul 19, 2018 5:38 am
Forum: Python
Topic: Transfer images from Raspberry Pi Zero W to PC over USB
Replies: 4
Views: 205

Re: Transfer images from Raspberry Pi Zero W to PC over USB

Google "Raspberry Zero gadgetfs". You can turn the Zero into an "USB gadget". You should turn the Zero into an USB "Ethernet gadget". It is the most flexible and therefore superior solution to your problem. A virtual Ethernet connection (over USB) will be established between your PC and the Zero thi...
by ghans
Tue Jul 17, 2018 5:08 am
Forum: Graphics, sound and multimedia
Topic: Quality of ffmpeg repository build
Replies: 1
Views: 170

Re: Quality of ffmpeg repository build

The version in Debian/Raspbian "stable" tends to be older and will not be updated ("frozen"). Only security patches will be applied. Also ages ago the ffmpeg project had an ugly falling-out leading to the libav fork. Back then, Debian sided with libav, making ffmpeg unavailable in Debian/Raspbian di...
by ghans
Mon Jul 16, 2018 1:25 pm
Forum: Beginners
Topic: Can I using wi-fi connect two pi's together without a hotspot?
Replies: 14
Views: 387

Re: Can I using wi-fi connect two pi's together without a hotspot?

You cannot communicate on Layer 4 ("sockets") if the layers below are not working. Ad-Hoc Wifi would solve communication on layers 1 and 2 AFAIK. Please tell me how YOU want to physically connect two Raspberry Pis on Layer 1. I can think of four possible ways (one of them being WiFi in AdHoc mode) ....
by ghans
Mon Jul 16, 2018 1:11 pm
Forum: Beginners
Topic: Can I using wi-fi connect two pi's together without a hotspot?
Replies: 14
Views: 387

Re: Can I using wi-fi connect two pi's together without a hotspot?

This is called Ad-Hoc mode. The WiFi standard explicitly deliberates on this. Most people don't bother because it is always a hassle in practice. See:

https://github.com/simondlevy/RPiAdHocWiFi

ghans
by ghans
Mon Jul 16, 2018 6:39 am
Forum: General discussion
Topic: Want to play back first frame of video, while still recording, for an FX trick.
Replies: 3
Views: 167

Re: Want to play back first frame of video, while still recording, for an FX trick.

I suggest you should take a serious look at the Python programming language. The picamera library is probably one of the best-documented pieces of software for the official camera, but only works with Python to date. The picamera documentation comes with multiple recipes for Circular Buffers. This i...
by ghans
Sun Jul 15, 2018 12:44 pm
Forum: Add-ons
Topic: Hardware Specification of the RPi's
Replies: 22
Views: 717

Re: Hardware Specification of the RPi's

EMI and ROHS data are in the documentation area, for quite a bunch of national certifications (including the US FCC)

ghans
by ghans
Fri Jul 13, 2018 7:10 am
Forum: General discussion
Topic: Need help with camera not supported in camera libraries
Replies: 6
Views: 254

Re: Need help with camera not supported in camera libraries

This is next to impossible. USB and FireWire are radically different, a converter would be neither sensible or economically sound in your situation. Last but not least the FireWire device drivers (those part of the Linux kernel, mind you) would likely have to be rewritten or adapted. That would be p...
by ghans
Fri Jul 13, 2018 6:20 am
Forum: C/C++
Topic: How to creat GUI in C++
Replies: 4
Views: 582

Re: How to creat GUI in C++

QtCreator seems like a good choice.
Please note that WinSock does not work on Linux. Qt itself might have networking libraries so that you can use the same code on Windows and Linux.

ghans

Go to advanced search