Go to advanced search

by emgi
Tue Nov 17, 2015 5:32 pm
Forum: Networking and servers
Topic: Owncloud + port forwarding not working
Replies: 9
Views: 2880

Re: Owncloud + port forwarding not working

My ISP blocks port 80 and port 443. This cannot be true. :arrow: An ISP who blocks port 80 & 443 would put himself out of business in no-time. :mrgreen: You probably haven't quite understood how to properly forward ports. /emgi ports_closed.png Which doesn't necessarily implies the port is being bl...
by emgi
Mon Nov 16, 2015 5:58 pm
Forum: Python
Topic: Sending email from RPi
Replies: 35
Views: 7649

Re: Sending email from RPi

I have tried at least 3 different methods of sending an email from my Pi gmail address, all without success. Could someone please advise the easiest way to achieve this. I would like to send plain text and also email with an attachment. Have you already tried mutt? I'm doing exactly what you seem t...
by emgi
Mon Nov 16, 2015 5:47 pm
Forum: Networking and servers
Topic: Owncloud + port forwarding not working
Replies: 9
Views: 2880

Re: Owncloud + port forwarding not working

rcaps wrote: My ISP blocks port 80 and port 443.
This cannot be true. :arrow:
An ISP who blocks port 80 & 443 would put himself out of business in no-time. :mrgreen:

You probably haven't quite understood how to properly forward ports.

/emgi
by emgi
Sat Nov 14, 2015 12:00 pm
Forum: Beginners
Topic: Best way to transfer file
Replies: 5
Views: 1119

Re: Best way to transfer file

My file sharing setup is as follows: One RPi is set up as a NAS running both NFS and Samba. The shared folder is a USB harddisk of 1TB. My Windows PC has access via Samba, all the other Pi's (three) have mounted the share via NFS. Security has been set very liberal, RW by all but since there are not...
by emgi
Fri Nov 13, 2015 5:33 am
Forum: Beginners
Topic: R Pi and NAS drive - stuck
Replies: 20
Views: 2882

Re: R Pi and NAS drive - stuck

Well, some progress has been made. The "error" has gone from "PERMISSION DENIED" to "READ ONLY FILE SYSTEM". So I am moving, but I am not sure if it is forward or not. :lol: The command I mount it with is: sudo mount -t cifs -r //192.168.... (etc) and I am still being asked for a password for ROOT ...
by emgi
Tue Nov 10, 2015 8:18 pm
Forum: Beginners
Topic: Network error: No route to host
Replies: 17
Views: 12543

Re: Network error: No route to host

Yeah, I know. Reading can be soo difficult. 8-)
Still I suggest you read the previous post again and follow the hint (in bold)

In addition to that, your router also serves as Wireless Access Point :?:
by emgi
Tue Nov 10, 2015 8:04 pm
Forum: Beginners
Topic: Network error: No route to host
Replies: 17
Views: 12543

Re: Network error: No route to host

You are still providing very little information. Please answer the following questions: -What is the ip address of your PC? -What is the ip address of your router? Tip: Both can be derived by entering ipconfig in a dos box. Post the output. -How is everything connected i.e. what is using wireless an...
by emgi
Tue Nov 10, 2015 3:58 pm
Forum: Beginners
Topic: Samba Unencrypted Passwords
Replies: 1
Views: 490

Re: Samba Unencrypted Passwords

1: Did you enter the accounts with smbpasswd -a ?
2: Check the /var/log/samba/ directory to see what errors are listed.

/emgi
by emgi
Fri Nov 06, 2015 7:16 pm
Forum: Off topic discussion
Topic: Security question to answer
Replies: 25
Views: 2937

Re: Security question to answer

And on top of that, the world is flat as a pancake, otherwise you would fall off the southern hemisphere.
So the answer must be 'a dice'.

/emgi
by emgi
Fri Nov 06, 2015 6:49 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2631

Re: reading file from rpi1 with rpi2

If I have to explain it in nono terms, nfs is the samba of linux and any other .ux. What it does is allow sharing files between machines, which seems to be what you are looking for. The pi which writes the file should ideally host the nfs share. If you have a basic understanding of linux file-system...
by emgi
Fri Nov 06, 2015 6:27 pm
Forum: Beginners
Topic: Network error: No route to host
Replies: 17
Views: 12543

Re: Network error: No route to host

@JimmyN Thank you for your response. I followed your steps and in response to the run command, I get the following messages: Pinging 192.168.1.101 with 32 bytes of data Reply from 192.168.0.1 Destination host unreachable (This line prints 4 times) [I have correctly copied the error message - the un...
by emgi
Fri Nov 06, 2015 5:54 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2631

Re: reading file from rpi1 with rpi2

ok, I think I've realized now why I think I've been explaining what I'm trying to do, but failing... I want to be able to import a file into python, stored on PiA, into a file on PiB. This gets around the whole read/write try/fail issue. I've done this on one pi before and it doesn't cause any issu...
by emgi
Fri Nov 06, 2015 11:39 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2631

Re: reading file from rpi1 with rpi2

Exchanging the values via a file with NFS is doable. I'm doing something similar using Perl and shell scripts for example to write the CPU-temperature of all my Pi's and the relay status of my PiFace module. Reading example in Perl: open FILE, "/usb1/rpi/temp-raspicam.txt" or die "Couldn't open file...
by emgi
Wed Nov 04, 2015 9:29 pm
Forum: Troubleshooting
Topic: Raspberry crashes WiFi router/network
Replies: 1
Views: 306

Re: Raspberry crashes WiFi router/network

Could there be a dhcp server running on the Pi handing out incorrect IP information?
by emgi
Wed Nov 04, 2015 8:22 pm
Forum: Automation, sensing and robotics
Topic: Need help with PiFace relays
Replies: 3
Views: 539

Re: Need help with PiFace relays

The terminals for the on-board relays are easy to locate. There are two sets of three screw-style connectors. The center connector is always used and to one side you have a normally-open contact, to the other side a normally-closed one. This is designated also by a sticker as NO, NC. Use the central...
by emgi
Tue Nov 03, 2015 5:22 pm
Forum: Automation, sensing and robotics
Topic: Need help with PiFace relays
Replies: 3
Views: 539

Re: Need help with PiFace relays

Not sure what your question is.
Are you unable to get the two onboard relais going or do you want to add additional ones like the Keyes funduino board?
http://www.dx.com/p/8-channel-5v-relay- ... jjs8PmrSM8

/emgi
by emgi
Sun Nov 01, 2015 6:43 pm
Forum: Python
Topic: Crontab not running
Replies: 6
Views: 850

Re: Crontab not running

For some reason, crontab is not aware of any paths on your machine.
In order for this to work, you need to specify the full path to python i.e. /usr/bin/python or where it may be installed.

/emgi
by emgi
Sun Nov 01, 2015 6:30 pm
Forum: Troubleshooting
Topic: MySQL problem - Create User syntax
Replies: 5
Views: 4121

Re: MySQL problem - Create User syntax

Had to check this because I don't use MySQL that often but it appears you are using the wrong quote-symbol. In your post they look like ` which are next to the 1-key on the left-hand top of the keyboard. You should use ' which is (on my US-International keyboard) next to the Enter-key. However, inst...
by emgi
Sat Oct 17, 2015 3:50 pm
Forum: Nederlands
Topic: Crontab
Replies: 3
Views: 647

Re: Crontab

Canedje wrote:Volgens mij moet je ook het pad naar de php executable opgeven in de crontab

Ik weet niet precies waar het php programma staat maar het zal iets moeten worden als: /usr/bin/php
dus :
00 19 * * * /usr/bin/php /var/www/jobs/lampenaan.php
+1 :idea:
by emgi
Tue Mar 17, 2015 8:45 pm
Forum: Beginners
Topic: Raspbian, incorrect login
Replies: 6
Views: 2573

Re: Raspbian, incorrect login

No clue as to where you're from but this can hardly be anything else than a keyboard mismatch.
You may not have noticed the problem while you're hardly typing anything.
The Pi default is "UK" which has a QWERTY layout. With AZERTY you could be in trouble.

/emgi
by emgi
Mon Mar 16, 2015 6:00 pm
Forum: Troubleshooting
Topic: [SOLVED] Time not being kept properly
Replies: 14
Views: 1870

Re: Time not being kept properly

Well, if you are syncing to a public server or ntp pool it should be easy to tell whether connections are established or not. ntpq -pn remote refid st t when poll reach delay offset jitter ============================================================================== *91.148.192.49 193.190.230.65 2 ...
by emgi
Mon Mar 16, 2015 5:35 pm
Forum: Networking and servers
Topic: RPi as NTP Server
Replies: 16
Views: 11446

Re: RPi as NTP Server

This link also describes how to set up PPS: http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html

/emgi
by emgi
Mon Mar 16, 2015 5:30 pm
Forum: Troubleshooting
Topic: [SOLVED] Time not being kept properly
Replies: 14
Views: 1870

Re: Time not being kept properly

pluggy wrote:I've fired Pis up that have been shut down for weeks, without having any problems. If the Pi's NTP were that fussy, every one that had never been running before would be having problems. It just works IME.
Its like Pluggy says: It just works.

/emgi
by emgi
Sun Mar 15, 2015 7:56 pm
Forum: Troubleshooting
Topic: ipv6 access from external network
Replies: 2
Views: 590

Re: ipv6 access from external network

You are providing preciously little information here. :| At least the following questions are relevant: - How did you assign an ipv6 address to the Pi? - What deployment strategy does your service provider use? (6RD, Prefix delegation, ..) - Have you checked that your modem/router supports the above...
by emgi
Sat Mar 14, 2015 8:14 pm
Forum: General programming discussion
Topic: Which language?
Replies: 30
Views: 3546

Re: Which language?

Though I have one question on Perl: How do you access memory locations directly? Why should you want to do this :?: If this seems important to you I would say you are mixing up the properties of high- and low- level languages. With a structured and platform-independent language like Perl, there is ...

Go to advanced search