Go to advanced search

by ghans
Wed Jun 20, 2018 4:44 am
Forum: Beginners
Topic: Getting started - secure?
Replies: 12
Views: 243

Re: Getting started - secure?

nano is a commandline text editor. Save with CTRL-O and exit with CTRL-X.

This will only work if you have write access to this file in the /etc subdirectory , i.e. have properly become "root" beforehand.
That is why you need to type "sudo nano ...."


ghans
by ghans
Wed Jun 20, 2018 4:29 am
Forum: Graphics programming
Topic: 3d graphics libraries that run on the Pi 2 that aren't slow?
Replies: 10
Views: 170

Re: 3d graphics libraries that run on the Pi 2 that aren't slow?

All those engines support the Pi GPU:

https://urho3d.github.io/
http://www.raylib.com
https://github.com/tipam/pi3d

Most other engines do not explicitly target the Pi and will likely have horrible performance and will be diffucult to build from source, or both.

ghans
by ghans
Wed Jun 20, 2018 4:15 am
Forum: Beginners
Topic: Connecting to Windows
Replies: 6
Views: 134

Re: Connecting to Windows

Linux supports Windows File Sharing quite well. There used be some NAS which only used proprietary protocols but that was a decade ago ?

Your NAS does support Windows File Sharing (SMB/CIFS) , doesn't it ?

ghans
by ghans
Tue Jun 19, 2018 12:50 pm
Forum: Deutsch
Topic: Maximale Versorgungs-Spannung
Replies: 2
Views: 62

Re: Maximale Versorgungs-Spannung

Prüfe mal, ob dein USB-Kabel im Betrieb warm wird...

ghans
by ghans
Tue Jun 19, 2018 5:07 am
Forum: Advanced users
Topic: What are the eMMC in RPI 3B for ?
Replies: 1
Views: 85

Re: What are the eMMC in RPI 3B for ?

The Raspberry Pi model 3 contains no eMMC module. It boots from off-the-shelf SD cards
by default.

There are two generations of Compute module. The first generation uses Raspberry Pi 1 technology, the second generation uses Raspberry Pi 3 technology.

ghans
by ghans
Mon Jun 18, 2018 1:52 pm
Forum: Beginners
Topic: Binary Blob?
Replies: 6
Views: 233

Re: Binary Blob?

Please note that the Raspberry Pi is one of the few SBCs where the manufacturer themself update the kernel multiple times per year and apply fixes regularly. Raspberry Pi also upstreams lots of their work on Raspberry-specific drivers.

ghans
by ghans
Sun Jun 17, 2018 7:57 pm
Forum: Beginners
Topic: Binary Blob?
Replies: 6
Views: 233

Re: Binary Blob?

The Raspberry Pi needs a BLOB to boot. Without it can't boot. This BLOB is also GPU firmware at the same time. Without the firmware the camera, video and 3D acceleration won't work. The 3D parts are currently getting rewritten as DRM/Mesa3D driver which is completely open-source. The WiFi chip on ce...
by ghans
Sun Jun 17, 2018 7:08 am
Forum: Beginners
Topic: Raspbian Lite - can I run GUI browser?
Replies: 4
Views: 171

Re: Raspbian Lite - can I run GUI browser?

Most browsers NEED X Windows. There are few which can use the framebuffer or are completely headless but you must compile them yourself - how much time do you have ? The simplest solution is to install an X Server on your Laptop or PC. A popular X Server for Windows is XMing. Start XMing, start PuTT...
by ghans
Sun Jun 17, 2018 5:59 am
Forum: Advanced users
Topic: how can i pass value from a c++ program to a Apache 2 web server ?
Replies: 5
Views: 171

Re: how can i pass value from a c++ program to a Apache 2 web server ?

Do you know what CGI is ? It is the oldest and simplest way to make dynamic webpages. Before each programming language provided dedicated modules for apache2 people used CGI with C, C++, Perl, PHP, Python .... Write a CGI program in C++, it's really simple. https://www.tutorialspoint.com/cplusplus/c...
by ghans
Fri Jun 15, 2018 3:08 pm
Forum: Deutsch
Topic: Newbyfrage 2: .. Raspberry-OS ~= Linux ?
Replies: 3
Views: 218

Re: Newbyfrage 2: .. Raspberry-OS ~= Linux ?

Zufällige Downloads "für Ubuntu" oder "für Linux" funktionieren selten auf dem Pi , da diese meist nur für x86 (Intel/AMD) geeignet sind. Wenn die Anwedung nicht quelloffen ist kannst du dann direkt aufgeben, der ARM Prozessor im Pi kann mit closed-source x86-Downloads nichts anfangen. Übrigens ist ...
by ghans
Thu Jun 14, 2018 12:47 pm
Forum: Deutsch
Topic: Neu im Forum, kurze Frage zu Leistungsaufnahme der verschiedenen Raspis ..
Replies: 5
Views: 278

Re: Neu im Forum, kurze Frage zu Leistungsaufnahme der verschiedenen Raspis ..

http://raspi.tv/2016/how-much-power-doe ... ed-to-pi2b

Die B+ Modelle von 2013 scheinen am passendsten, die haben einen Ethernet-Port.

ghans
by ghans
Thu Jun 14, 2018 10:42 am
Forum: Raspbian
Topic: How secure is sudo with a password?
Replies: 8
Views: 395

Re: How secure is sudo with a password?

Both the Linux kernel and GNOME offer a keyring facility. It might or might not be an improvement over plaintext files which only the owner can read (note that the SSH private key is secured exactly in this way).

ghans
by ghans
Thu Jun 14, 2018 7:33 am
Forum: Deutsch
Topic: Raspberry PI Zero W mit GPS-Empfänger und GSM-Modul
Replies: 4
Views: 253

Re: Raspberry PI Zero W mit GPS-Empfänger und GSM-Modul

Füher benutzte man wvdial und pppd. wvdial bekam ein Skript mit AT-Befehlen und pppd hielt die Verbindung für deinen gesamten Linux-PC aufrecht. Wie man das heute macht weiss ich nicht. Damals wie heute sollte man nicht innerhalb eines eigenen Programms die AT-Befehle schicken müssen. Auch die Inter...
by ghans
Wed Jun 13, 2018 4:57 am
Forum: General discussion
Topic: 4k Render
Replies: 3
Views: 197

Re: 4k Render

Look for cameras with USB2 connection. Make sure the driver is available in the Linux kernel (the version you can download at kernel.org, not elsewhere).

All other cameras are quite unlikely to work on the Raspberry Pi.

ghans
by ghans
Wed Jun 13, 2018 4:51 am
Forum: Beginners
Topic: Is it possible to compile this code for the Pi if it was intended for different processor architecture?
Replies: 8
Views: 390

Re: Is it possible to compile this code for the Pi if it was intended for different processor architecture?

Just try it and see. You actually have the source code of this app, which is the minimum prerequisite neccessary for Raspberry Pi compatibility of random "Linux" software.

ghans
by ghans
Mon Jun 11, 2018 4:27 am
Forum: Beginners
Topic: Noobs or Rasbian to install?
Replies: 6
Views: 227

Re: Noobs or Rasbian to install?

NOOBS was invented before Etcher existed. It also provides a rudimentary multiboot experience and a method to reset your system completely. Programs like Win32DiskImager or even dd were considered too complicated, and NOOBS can be installed via drag-n-drop. I still prefer raw images. They are easier...
by ghans
Sun Jun 10, 2018 8:03 am
Forum: Beginners
Topic: Installing apps
Replies: 8
Views: 281

Re: Installing apps

Package management was invented decades ago as solution. The biggest difference between Linux distros tends to be their approach to package management. Raspbian is based on Debian and uses APT. Package management was the App Store before the App Store. The system puts all the files in the right plac...
by ghans
Sun Jun 10, 2018 5:21 am
Forum: Other projects
Topic: Is my energy control feasible?
Replies: 4
Views: 272

Re: Is my energy control feasible?

There a multiple Raspberry Pi UPS boards on the market today. They usually offer custom safe shutdown software. That is to say, 10 lines of Python :lol: (might be even less,
you just need to call the shutdown command, after all). Google keywords : "UPS HAT Raspberry Pi"

ghans
by ghans
Sun Jun 10, 2018 5:10 am
Forum: Gaming
Topic: Can't add roms to sd card because formatting will delete everything!
Replies: 4
Views: 374

Re: Can't add roms to sd card because formatting will delete everything!

Installing things on Linux should be done on a running system. Also, you should not use "installers" but package managment, which works like an app store and needs an internet connection. It knows whats best for your concrete subvariant of Linux (Raspbian based on Debian and uses APT as package mana...
by ghans
Sat Jun 09, 2018 4:31 pm
Forum: Raspbian
Topic: Raspbian Lite questions
Replies: 22
Views: 953

Re: Raspbian Lite questions

Here is a simple guide for X forwarding (with screenshots !).
https://www.cpdforteachers.com/resource ... spberry-pi

ghans
by ghans
Sat Jun 09, 2018 10:52 am
Forum: Off topic discussion
Topic: GPU Hardware and/or Software Suggestion
Replies: 4
Views: 618

Re: GPU Hardware and/or Software Suggestion

It seems unlikely that the VideoCore IV GPU will ever support the Standard OpenCL profile correctly with great performace. In the meantime, you can play around with the embedded profile of OpenCL on the Raspberry Pi: https://www.raspberrypi.org/forums/viewtopic.php?t=194952 Both correctness and perf...
by ghans
Sat Jun 09, 2018 6:31 am
Forum: Other projects
Topic: Get smart TV feed
Replies: 4
Views: 379

Re: Get smart TV feed

No smart TV i know of has video output. I believe your project is impossible. Raspberry Ambilight clones only work with external video sources.

ghans
by ghans
Sat Jun 09, 2018 6:20 am
Forum: General discussion
Topic: install packet tracer on raspberry pi
Replies: 13
Views: 357

Re: install packet tracer on raspberry pi

Code: Select all

sudo apt-get update
sudo apt-get install gns3
You can search all available software with the "Add/Remove Software" app, perhaps there are other network simulators which you can install, too.

ghans
by ghans
Thu Jun 07, 2018 6:01 pm
Forum: C/C++
Topic: Raspberry with C++ program
Replies: 17
Views: 799

Re: Raspberry with C++ program

Uhh ...

Code: Select all

g++ -lwiringPi led.cpp -o led
is the correct compilation command. Don't forget to link against WiringPi !

abhi143, do you know what linking is ?

ghans
by ghans
Thu Jun 07, 2018 5:29 pm
Forum: Beginners
Topic: Communicating between Pi and Iphone over WiFi
Replies: 6
Views: 215

Re: Communicating between Pi and Iphone over WiFi

Read up on socket programming, especially for Python. I believe you want to write a socket "server" which listens on port 4060.

I also advise you to get your commandline skills up to date. Clever and powerful tools like socat and tcpdump will be out of your reach otherwise.

ghans

Go to advanced search