Go to advanced search

by dentex
Tue Oct 28, 2014 9:33 am
Forum: Troubleshooting
Topic: Scripts in /etc/network not running
Replies: 2
Views: 531

Re: Scripts in /etc/network not running

In regards to wicd scripts, the manual reports: beforescript = <None|arbitrary_script> This defines a script to run before Wicd brings up the connection. The script should be a Bourne-compatible script and should be executable. IMPORTANT - scripts should ONLY be writable by root and located in a dir...
by dentex
Tue Oct 28, 2014 8:09 am
Forum: Troubleshooting
Topic: Scripts in /etc/network not running
Replies: 2
Views: 531

Re: Scripts in /etc/network not running

Not exactly the same. The scripts run in if-up , but also the scripts in if-down and if-post-down run when the network is up , at least from what I can tell. I found some old debian bugs in regards, but nothing recently. I wonder if anyone has had the same issue with raspbian. I also tried with wicd...
by dentex
Mon Oct 27, 2014 4:34 pm
Forum: Other projects
Topic: Control a dimmable ballast for T8 lamps from the RPi
Replies: 18
Views: 7676

Re: Control a dimmable ballast for T8 lamps from the RPi

Hello.
The reason why I was thinking to the 0-10V interface was I found it easy to understand/implement. In fact, although i read something about DSI and DALI, I don't have a clue on how to use them with the RPi. Do you know if it's possible?

Although it seems you already answered HERE. :)
by dentex
Sun Oct 26, 2014 1:15 pm
Forum: Other projects
Topic: Control a dimmable ballast for T8 lamps from the RPi
Replies: 18
Views: 7676

Re: Control a dimmable ballast for T8 lamps from the RPi

The reason is that I want to retain the fluorescent lamps. They are good for the aquarium and are already properly mounted. The optimum would be to have them dimmable. I'm using a blue led strips in addition (to simulate night light and moon light) and I'm planning to add another one for proper sunr...
by dentex
Sun Oct 26, 2014 10:49 am
Forum: Other projects
Topic: Control a dimmable ballast for T8 lamps from the RPi
Replies: 18
Views: 7676

Re: Control a dimmable ballast for T8 lamps from the RPi

Hello, I still haven't had the chance to put my hands on one of those ballasts... So this part of my project is stalled. From what I understand, I have to provide a variable voltage between 0 and 10V to the ballast for it to dim its lamps. I already have a simple method for this, I'm just unsure if ...
by dentex
Thu Oct 23, 2014 5:24 pm
Forum: Advanced users
Topic: Alternative way to flash your Raspberry Pi OS
Replies: 1
Views: 1079

Re: Alternative way to flash your Raspberry Pi OS

Totally ROCKS.
I hate dd.

(Not to mention that i have multiple bad blocks on this micro sdcard and I want to try an alternative method to re-flash raspbian - http://www.raspberrypi.org/forums/viewt ... 89#p629889)
by dentex
Wed Oct 22, 2014 5:26 pm
Forum: Troubleshooting
Topic: cannot execute binary file
Replies: 17
Views: 10554

Re: cannot execute binary file

Class of SD card is very unlikely to be a factor in risk of corruption. Ok, then what is? On the other hand, some people say that higher class cards are not the best choice from a performance point of view with the RPi because they are optimised for a different scenario (eg cameras writing quite la...
by dentex
Wed Oct 22, 2014 5:13 am
Forum: Troubleshooting
Topic: cannot execute binary file
Replies: 17
Views: 10554

Re: cannot execute binary file

Last night I had the same exact problem as in the OP. Really disappointing. What can be done to prevent this? My b+ RPI has been running flawlessly for about a week, continually, and now this. Power supply was one from RS rated 1250mA, WiFi dongle connected but not in use. I've always power-cycled c...
by dentex
Mon Oct 20, 2014 3:21 pm
Forum: Other projects
Topic: How to pilot a 12v RGB led modules array.
Replies: 5
Views: 1744

Re: How to pilot a 12v RGB led modules array.

Thanks! I already had a look at this link some time ago.
by dentex
Thu Oct 16, 2014 4:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

LoL!!! I think it can be treated just as another I2C device. On some descriptions on line they say: ...the module also integrate the I2C EEPROM chip(24C32) and the DS18B20 sensor interface. The I2C EEPROM makes it possible to save the sensor data easily without spending too much microcontroller sour...
by dentex
Thu Oct 16, 2014 1:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Indeed, it's working really well.
---
Do you know what the EEPROM is used for? It seems connected to the optional temperature probe.
by dentex
Tue Oct 14, 2014 5:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

No it's the Waiman's RTC v1.1
We discussed in some previous posts about this: came out I could use anyway a 3v3 pin for the module's VCC, but this way the DS1307 is not detected.
Is it safe for the RPi if I use a 5V pin for the VCC?
by dentex
Tue Oct 14, 2014 4:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Thanks. The initial problem regarding this command is that I had to run it after "sudo bash", or "sudo -s", to enter a root shell. Otherwise it gives "permission denied". With "sudo <command>" won't work. Now I added echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device hwclock -s in /etc/rc.lo...
by dentex
Tue Oct 14, 2014 3:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Hello guys, this is my trial at getting the Waiman's Tiny RTC v1.1 to work... and it doesn't want to. What I have now: ~ $ cat /etc/modules snd-bcm2835 i2c-bcm2708 i2c-dev rtc-ds1307 ~ $ cat /etc/modprobe.d/raspi-blacklist.conf #blacklist spi-bcm2708 #blacklist i2c-bcm2708 As suggested by @psergiu, ...
by dentex
Fri Oct 10, 2014 4:29 pm
Forum: Beginners
Topic: How to use ngrok to remote ssh to rpi?
Replies: 8
Views: 13176

Re: How to use ngrok to remote ssh to rpi?

...
by dentex
Fri Oct 10, 2014 11:57 am
Forum: Networking and servers
Topic: open reverse proxy on a raspberry with ngrok!
Replies: 3
Views: 9477

Re: open reverse proxy on a raspberry with ngrok!

Hello again solyaris, I tried ngrok on my RPi and also the desktop, amazing with HTTP, you're right. But how exactly do you set up the SSH tunnel? At the moment I'm at issuing: ./ngrok -proto=tcp 22 but then, what do you use to connect remotely? On the usage page from the ngrok site there's not much...
by dentex
Thu Oct 09, 2014 2:50 pm
Forum: Networking and servers
Topic: open reverse proxy on a raspberry with ngrok!
Replies: 3
Views: 9477

Re: open reverse proxy on a raspberry with ngrok!

Thanks for the info, I was reading some docs also on the grok website and it looks really cool. I have the problem that I use a Wireless ISP, so I'm always behind a NAT (the roof antenna). To log-in via SSH to my PC from outside, in the past I used a RasPi as "man in the middle", connecting my deskt...
by dentex
Wed Oct 08, 2014 1:38 pm
Forum: Networking and servers
Topic: [SCRIPT] change ip and temperature alarm
Replies: 9
Views: 6779

Re: [SCRIPT] change ip and temperature alarm

Love the script and now I finally got sendemail to work with Gmail. Took a lot of Googling and I'm not sure it is the *right* answer but I modified line 1907 in /usr/bin/sendemail (as root). The diff output between the old and new is this: 1907c1907 < if (! IO::Socket::SSL->start_SSL($SERVER, SSL_v...
by dentex
Thu Oct 02, 2014 12:26 pm
Forum: Troubleshooting
Topic: Probably a fried Pi
Replies: 10
Views: 2314

Re: Probably a fried Pi

Well, thanks, makes perfectly sense. So I think I'll plug the new RPi into the project I was building.
(http://www.raspberrypi.org/forums/viewt ... 37&t=88271)
Thank you very much for the valuable information. :)
by dentex
Thu Oct 02, 2014 4:07 am
Forum: Troubleshooting
Topic: Probably a fried Pi
Replies: 10
Views: 2314

Re: Probably a fried Pi

Yes, but after the accident, worked again at 5V for hours. If this Pi had died during the over voltage minute, I would have not asked anything here. ;)
by dentex
Wed Oct 01, 2014 8:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Hi-Z, now I can't stop myself from this bad habit of crosslinking you to the help request of mine at http://www.raspberrypi.org/forums/viewt ... 37&t=88271
:shock:
(Sorry Mods, feel free to delete if this brakes some rules)
by dentex
Wed Oct 01, 2014 8:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Lol! My friend, now, this is truly brilliant... I swear, NOW I understand the concept, really.
Thanks.
by dentex
Wed Oct 01, 2014 6:56 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 133773

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

Ok, as the lazy b****rd I am, I'll use the solution 1 ! :D
Nothing to solder, works out of the box... perfect.
And I'm still not familiar exactly with the "voltage lever shifter" concept. Still learning all this stuff.

Thanks man!

Go to advanced search