New answers tagged

0

As @peschke mentioned I had to set net.ipv4.ip_forward = 1


1

Your editor is set to ed. The ed editor is a very basic line editor which will output the number of bytes in the file when you open it. In this case, you crontab file contains 889 bytes (type ,p and press Enter in the editor to see the contents of the file). You most likely don't want to use ed as you editor (or you would have recognized that you had ...


0

An update: Apparently I came across another post elsewhere which seemed to imply that busybox needs to be statically linked and not dynamic, which seemed to be the issue for me as well. I changed the build config to make it static linking and then the kernel panic disappeared. I now am able to reach the Kernel console successfully, but I have a strange ...


0

Use mountpoint to check if /mnt/mmcblk0p4 is a mount point and take the appropriate action in your script (mount, wait, ...). For example, this will echo "Yes" if /mnt/mmcblk0p4 is a mountpoint: $ mountpoint /mnt/mmcblk0p4 && echo "Yes"


1

Before I start, a word of caution: Setting this up insecurely not only can, but almost certainly will wind up with your website being used to send a flood of spam until your IP address is banned -- and the way you've phrased your question doesn't suggest you understand the issues enough to avoid this. Whatever you're trying to do, I recommend you find ...


0

THIS TEXT DOES NOT ANSWER THE ORIGINAL QUESTION. IT'S A WORKAROUND Since I was unable to understand the reason why xprintidle-returned-non-zero-exit-status-1, I was forced to try a workaround. When I set up the Pi to run chromium in kiosk mode, I followed a tutorial on how it could be done: RASPBERRY PI TOUCHSCREEN KIOSK SETUP 10 STEPS. In the tutorial, I ...


0

If someone stumble upon this problem with vsftpd, please check what error do you get by command: /usr/sbin/vsftpd /etc/vsftpd.conf If it is: 500 OOPS: SSL: cannot load RSA private key Then regenerate SSL certificate (or reissue from your provider): sudo openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/...


1

So, I found the answer, I'm posting for others who may have the same problem but mostly for my own future reference! ;) First problem, handshakes responses were routed to the tun0 interface due to the default route set up by the OpenVPN client. To solve this problem: #adds the default route to respond via the eth0 ip route add default via 192.168.1.1 dev ...


1

Your $cpu variable holds temp=40.0'C. That isn't a number, you can't divide that or multiply it, you need to first extract the actual numerical value. So you need to get the 40.0 out. You can do this with: cpu="$(/opt/vc/bin/vcgencmd measure_temp | sed -E 's/.*=([0-9.]*).*/\1/')" The next problem is that bash cannot do floating point arithmetic. ...


1

Please have a look at your MTA's log files, e.g. /var/log/exim4/mainlog and watch out for SMTP errors. I suggest this as I had a very similar situation, in which my e-mail provider's SMTP-server classified the e-mails produced by logwatch as spam, refusing to forward them. Other e-mails, as demonstrated by you, passed. Workaround: In my case it helped to ...


3

The tmpfs entry in /etc/fstab does not specify any particular mode for the directory /tmp, so it is created with 0700. Change the entry to tmpfs /tmp tmpfs nosuid,nodev,mode=01777 to allow all users to create files in /tmp.


0

Usually when you use scp, you want to specify one remote location and one local path. In this case, it looks like you're specifying two remote locations, which is probably not what you wanted to do. If you want to refer to the local system, just use a plain path, not the user@host:path syntax. If the Raspberry Pi is 192.168.0.20, then to copy to your local ...


0

If you just want cable-only devices to get Internet, you can use linux-router ( https://github.com/garywill/linux-router ) (It's NAT, not bridged) lnxrouter -i eth0 That's it. That script makes that simple. (BTW, the script is a fork of create_ap, which added support for sharing Internet to ethernet interfaces)


1

Ok, after running multiple tests on the RT3070 dongle, I can state with certainty that it is related to the tx-power setting. There are several issues at play here: 1. The database for CRDA regulation appears to have changed very recently. Some of the allowed values seem to now represent EIRP while others still report ERP. EIRP corresponds to Effective ...


0

From the Mathematica docs 'Possible Issues' section it looks like it's best to run this command like: RunProcess[{$SystemShell, optionC, "echo example line"}]. Which opens an appropriate shell (e.g. bash) which is able to run kdialog, which Mathematica isn't able to do directly. The docs also say RunProcess inherits it's environment variables from ...


Top 50 recent answers are included