Go to advanced search

by JAVE
Tue Oct 18, 2016 8:35 am
Forum: C/C++
Topic: How would you ...... in C ? (+ other C discussions)
Replies: 187
Views: 20953

Re: How would you ...... in C ?

Why would you mangle a perfectly good hour notation into the AM/PM abomination? :-P
by JAVE
Fri Oct 14, 2016 11:59 am
Forum: General discussion
Topic: What I really want.
Replies: 41
Views: 5175

Re: What I really want.

One idea is to set set up a single-device test network with the DHCP server hooked into your device database and label printer. Plug any device with a DHCP client in and the system captures the MAC address into the device database and prints a label. So if they (RPi foundation) would do that while ...
by JAVE
Thu Oct 13, 2016 9:33 am
Forum: General discussion
Topic: What I really want.
Replies: 41
Views: 5175

Re: What I really want.

Of course there are ways to get the MAC address of a Pi, but I have to agree with the OP. A label with the address printed on it would be nice. I use my DHCP server to give static addresses to my RPis as well. I don't want to install bonjour or equivalent on all my machines (various Windows, Linux, ...
by JAVE
Mon Oct 03, 2016 4:24 pm
Forum: Graphics programming
Topic: help me simplify my imagemagick script
Replies: 3
Views: 1771

Re: help me simplify my imagemagick script

You could pipe the imagemagick output into the next. This makes a problem harder to fix though Also, you're better off using a non-destructive image format like .png, at least for all the in-between steps. I'll see if I can find an example of piping images between commands. Oh, as for sending files ...
by JAVE
Wed Sep 21, 2016 8:59 am
Forum: Off topic discussion
Topic: Does my camera trap look like a bomb?
Replies: 10
Views: 1643

Re: Does my camera trap look like a bomb?

jamesh wrote:Put a note on it that say "Wildlife Camera - please do not disturb".

Might help.
Yes, that'll work better than 'This is not a bomb, please do not move' :D
by JAVE
Thu Sep 08, 2016 11:32 am
Forum: Graphics, sound and multimedia
Topic: Hifi Replacement
Replies: 4
Views: 954

Re: Hifi Replacement

Check out HiFiBerry https://www.hifiberry.com/
They have nice DAC HATs, and the sounds is quite good I'm told.
They also have an amp HAT, although that might be too small for your speakers (only 25W class D)
by JAVE
Wed Sep 07, 2016 11:12 am
Forum: Troubleshooting
Topic: Shellinabox installed but not working
Replies: 6
Views: 4100

Re: Shellinabox installed but not working

I just installed shellinabox, but used a fork (https://github.com/shellinabox/shellinabox), as the version you install from the repository has a small problem: the '-' and '_' (same key) are not working when you're using Firefox/Palemoon. Use the dpkg-buildpackage method from the docs. It worked lik...
by JAVE
Tue Sep 06, 2016 2:56 pm
Forum: Beginners
Topic: Connect Raspberry Pi 3 to PC via USB
Replies: 4
Views: 6037

Re: Connect Raspberry Pi 3 to PC via USB

Maybe using a usb-to-serial dongle/adaptor? 'ethernet-over-usb' is available for the PiZero, but not for other models of RPi. Oh, that's an option indeed. https://thepihut.com/products/adafruit-usb-to-ttl-serial-cable You connect the USB connector to your PC, and the wires to the correct GPIO pins,...
by JAVE
Tue Sep 06, 2016 2:33 pm
Forum: Beginners
Topic: Connect Raspberry Pi 3 to PC via USB
Replies: 4
Views: 6037

Re: Connect Raspberry Pi 3 to PC via USB

Did they block all ports? Otherwise you can set up your ssh daemon to listen to another port (you can even let it listen on multiple ports at once).
Set up sshd to listen to port 443 (that port is often not blocked), or pick a random high port (anything above 1024)
by JAVE
Thu Sep 01, 2016 4:03 pm
Forum: Off topic discussion
Topic: The Holy war of editors
Replies: 37
Views: 8950

Re: The Holy war of editors

The advice used to be to learn ed or ex, so that if you found yourself with either a hosed terminal descriptor, or on a hardcopy device, you could still edit files to get things working properly again. Remember...unix originally used Teletypes for terminals. I started on Linux/Unix around 1998 (Red...
by JAVE
Thu Sep 01, 2016 12:24 pm
Forum: Advanced users
Topic: Securing the pi from outside world
Replies: 8
Views: 3898

Re: Securing the pi from outside world

Run ssh on another port instead of 22. This stops 99.99% (or more) of all login attempts. Although this is a 'security through obscurity' measure, it still is a good idea to start with. (Or get a bigger disk to store all logfiles :-)) Use a key instead of a password for ssh. (Set up a user that can ...
by JAVE
Thu Sep 01, 2016 12:06 pm
Forum: Off topic discussion
Topic: The Holy war of editors
Replies: 37
Views: 8950

Re: The Holy war of editors

I came from the Amiga, where I used Black's editor for a long time (Great Arexx interface for scripting the editor!). When starting with Linux, I used pico for a while, but that was (is?) part of the mail client Pine. Later they released a standalone version called nano IIRC. Then a friend spoke som...
by JAVE
Wed Aug 31, 2016 10:35 am
Forum: Troubleshooting
Topic: forward local internet access via SSH to remote host
Replies: 4
Views: 1258

Re: forward local internet access via SSH to remote host

I have a Pi Zero as ethernet gadget connected to my PC (Windows 10) With this setup, you can select to share your internet connection by going to the settings of your main network connection, and selecting the sharing tab. Here you can select with which other network you want to share the connection...
by JAVE
Thu Aug 25, 2016 12:05 pm
Forum: For sale
Topic: WiFree, the Raspberry Zero learns to fly
Replies: 4
Views: 6231

Re: WiFree, the Raspberry Zero lerns to fly

I'm gathering the required parts right now. Now I just need to assemble the 3d-printer I bought, get it working correctly, and print the frame... I've got the Rpi zero, wifi dongle, 4 motors, 4 escs, flight controller. So I still need a raspi cam, Rpi camera cable, DC-DC converter, battery and some ...
by JAVE
Tue Aug 16, 2016 8:34 am
Forum: Nederlands
Topic: Noobs alleen Raspbian
Replies: 2
Views: 747

Re: Noobs alleen Raspbian

Ik geloof dat je extra distros kan downloaden als je het noobs scherm ziet. (Dus niet verdergaan met Raspbian booten). Dan download hij de distro die je wilt (OSMC is degene die je wilt hebben), en deelt de SD card opnieuw in, zodat je bij de volgende keer booten kan kiezen. Volgens mij ben je wel a...
by JAVE
Thu Aug 11, 2016 7:34 am
Forum: Off topic discussion
Topic: How many of you are using Kodi on Rasberry Pi?
Replies: 14
Views: 4279

Re: How many of you are using Kodi on Rasberry Pi?

I've been running XBMC/Kodi on a rev1 B (upgraded to B+ now) for a long time. First with an external 1TB harddisk, but now I pull all media from my NAS. I haven't bothered with indexing all movies & series though, so it doesn't look as slick as it could, but it works great if you use a sensible dire...
by JAVE
Wed Aug 03, 2016 11:11 am
Forum: Other projects
Topic: Computer in a computer
Replies: 12
Views: 3679

Re: Computer in a computer

AFAIK you can just edit the hosts file ; and avoid the need to install "Bonjour" what ever that might be . Bonjour will set up hostnames without any configuration. Editing your hostfile requires that you know the IP address of the machine, which is hard to do when you're running on dhcp. What happe...
by JAVE
Wed Aug 03, 2016 11:01 am
Forum: Other projects
Topic: Computer in a computer
Replies: 12
Views: 3679

Re: Computer in a computer

Everything worked. I could connect using raspberrypi.local, update debian, install packages, and run an RDP session (after installing xrdp). And then Windows decided to do a big update. This morning, after Windows had finished whatever it had to do, the USB ethernet connection is gone from my netwo...
by JAVE
Wed Aug 03, 2016 10:14 am
Forum: Troubleshooting
Topic: Stranger joined on Raspberry
Replies: 5
Views: 1100

Re: Stranger joined on Raspberry

How to disable the 'pi' user: sudo vipw Change the shell of the pi user to /bin/false: pi:x:1000:1000:,,,:/home/pi:/bin/false Also, I don't like sudo, so I disable that. To be able to su to root you will need to set a password for root before you disable sudo. (The reason I don't like sudo is that i...
by JAVE
Wed Aug 03, 2016 8:48 am
Forum: Troubleshooting
Topic: Stranger joined on Raspberry
Replies: 5
Views: 1100

Re: Stranger joined on Raspberry

I would save data you want to keep on a USB stick, and burn a new Image on your SD card. Trying to find rootkits/backdoors can be a lot of work, and installing a clean Raspbian image on a Raspberry is very easy. To secure your machine: Make a new user, with a good password Do not allow the user 'pi'...
by JAVE
Wed Aug 03, 2016 8:35 am
Forum: Other projects
Topic: Computer in a computer
Replies: 12
Views: 3679

Re: Computer in a computer

This seems the easiest RPi Zero USB Gadget Blog to follow: http://blog.gbaman.info/?p=791 Apple's Bonjour is a separate Download: https://support.apple.com/kb/DL999?locale=en_US How have you ensured the RPi Zero has been shut down cleanly prior to cutting power ?? That blog only tells you about the...
by JAVE
Wed Aug 03, 2016 8:28 am
Forum: Troubleshooting
Topic: SSH problem
Replies: 3
Views: 2211

Re: SSH problem

So you're using a direct connection between the Pi and your Macbook? Normally you'd connect another computer to a switch, so it will be in the same network as the rest of your systems. When you connect two computers directly, you will have to set up a new network between them. If your main network i...
by JAVE
Wed Aug 03, 2016 8:16 am
Forum: Other projects
Topic: Computer in a computer
Replies: 12
Views: 3679

Re: Computer in a computer

Well, I found my solution: A Raspberry Pi Zero :D It's a bit hard to get one (had to order it abroad), but it's a fun little (and I mean LITTLE) toy. Installed the latest Jessie, set it up to load the g_ether driver, and connected it to a USB port of my Win 10 machine. And there the problems started...
by JAVE
Tue Aug 02, 2016 1:35 pm
Forum: Nederlands
Topic: USB stick toe voegen aan ftp server
Replies: 3
Views: 922

Re: USB stick toe voegen aan ftp server

Het klnkt alsof je de USB stick niet in je FTP omgeving hebt gemount. Een FTP server geeft toegang tot een beperkt gebied van je systeem. Alles wat daarbuiten ligt 'bestaat niet' Als je FTP root bijvoorbeeld /var/ftp/ is, en je USB disk is gemount op /mnt/USB, dan kan FTP dat nooit zien. Als je de U...
by JAVE
Thu Jul 28, 2016 3:17 pm
Forum: Other projects
Topic: Computer in a computer
Replies: 12
Views: 3679

Re: Computer in a computer

rpdom wrote:
JAVE wrote:I could use a crosslink cable to cut out the hub
Just a standard network cable will do. You don't need a cross-over cable with a Pi. The port is auto-sensing.
I learn something new every day... :D

Go to advanced search