Go to advanced search

by sim_tcr
Sat Mar 22, 2014 3:55 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 7207

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

I got minidlna 1.1.2 installed.
I can access http://<ip>:8200/ and it shows the status.
However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf
Can you help?
by sim_tcr
Sat Mar 22, 2014 3:34 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 7207

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Can you help please? Looks like gettext is missing. Install it and try again. Compiling worked without errors for me. Install needed libraries first by executing apt-get build-dep minidlna HTH pi@raspiabita ~ $ sudo apt-get build-dep minidlna Reading package lists... Done Building dependency tree R...
by sim_tcr
Fri Mar 21, 2014 11:34 am
Forum: General discussion
Topic: Docking Power Bank to use with Pi question.
Replies: 1
Views: 570

Docking Power Bank to use with Pi question.

Hello, I found a power bank ( http://www.ithyperstore.com/?cur=catalog/product&id=13&pid=48&title=iWalk_2500mAh_Docking_Power_Bank_Micro_USB in internet. Specification says, Capacity : 2500mAh Input : Micro USB 5V / 1.0A Output : Micro 5V / 1.0A Any one tried this to power raspberry pi? Can it be us...
by sim_tcr
Mon Mar 17, 2014 5:08 pm
Forum: General discussion
Topic: Calculating apache bandwidth from /var/log/apache2/access.lo
Replies: 2
Views: 1147

Calculating apache bandwidth from /var/log/apache2/access.lo

Hello, I am trying to calculate apache bandwidth from /var/log/apache2/access.log. I have several log files from March 2013 (in *.gz format) in the location. I have got below command from internet which is supposed to get bandwidth used in GB for a given time range (even by going inside *.gz files) ...
by sim_tcr
Sat Mar 15, 2014 12:17 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 7207

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

To follow on from DeeJay, RPi is designed to encourage users to learn. It seems unrealistic for the Foundation's limited resources to keep rebuilding thousands of Linux packages. It can be daunting to attempt some major package builds, so often some research is necessary to find missing bits of the...
by sim_tcr
Mon Mar 10, 2014 6:51 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 7207

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

I am not comfortable doing manual install of tar package. It will complain lot of dependencies missing.
by sim_tcr
Mon Mar 10, 2014 10:30 am
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 7207

Minidlna 1.1.2 is released. apt-get installed 1.0.24

Hello, Today I installed Minidlna on my raspberry pi using apt-get. The version got installed is 1.0.24. Which got introduced in 2012. Latest version in sourceforge is 1.1.2. Can we get raspbian repositories updated with latest version. I am hoping latest version will have new features added. Thanks...
by sim_tcr
Fri Feb 21, 2014 4:26 pm
Forum: General discussion
Topic: [SOLVED]mysql condition (column>"today 00:00:00" and column<
Replies: 5
Views: 752

[SOLVED] mysql condition (column>"today 00:00:00" and column

Below worked,

Code: Select all

SELECT * FROM usersOnline WHERE dateAdded > curdate();
by sim_tcr
Fri Feb 21, 2014 4:19 pm
Forum: General discussion
Topic: [SOLVED]mysql condition (column>"today 00:00:00" and column<
Replies: 5
Views: 752

Re: mysql condition (column>"today 00:00:00" and column<"now

To start with....you don't need the second condition at all. Yes. I agree. I tried, mysql> SELECT * FROM usersOnline WHERE dateAdded>"curdate()"; and the result was Empty set, 1 warning (2.03 sec) I was expecting above would get translated to mysql> SELECT * FROM usersOnline WHERE dateAdded>"2014-0...
by sim_tcr
Fri Feb 21, 2014 3:48 pm
Forum: General discussion
Topic: [SOLVED]mysql condition (column>"today 00:00:00" and column<
Replies: 5
Views: 752

[SOLVED]mysql condition (column>"today 00:00:00" and column<

Hello,

How do i construct below query, I have table (usersOnline) where dateAdded is a column whith values in yyyy-mm-dd hh-mm-ss format.

I want to display values between "today 00:00:00" and "current date and time"

Please help.

Thanks,
Simon Mandy
by sim_tcr
Wed Feb 19, 2014 4:02 am
Forum: General discussion
Topic: How to get global IP for Raspberry Pi
Replies: 6
Views: 5435

Re: How to get global IP for Raspberry Pi

Do a port forwarding first. instructions at http://raspisimon.no-ip.org/portforwarding.php
Then configure no-ip account. So you dont need to know the public ip each time, you can use a dns-name. Instructions at http://raspisimon.no-ip.org/noip.php
by sim_tcr
Mon Feb 17, 2014 6:10 pm
Forum: General discussion
Topic: php mysql website hit counter.
Replies: 8
Views: 2880

Re: php mysql website hit counter.

You need to post the definitions for tables: hits, info and download_manager. We can't try your scripts without those definitions. It looks like you've snatched the code from http://codebase.eu/source/code-php/ip-counter/ Running that got to 530 hits without any problems, so the bug must be in your...
by sim_tcr
Sat Feb 08, 2014 6:26 pm
Forum: General discussion
Topic: php mysql website hit counter.
Replies: 8
Views: 2880

Re: php mysql website hit counter.

any help on this would be great. Here is the real issue.
I got 510+ unique hits today but, the counter stopped counting at 506. http://raspisimon-no-ip.org/virtual_counter/view.php
Image
by sim_tcr
Sat Feb 08, 2014 6:21 pm
Forum: General discussion
Topic: Error while installing apache2 and php5 on latest raspbian
Replies: 8
Views: 4776

Re: Error while installing apache2 and php5 on latest raspbi

DougieLawson wrote:Get rid of mathkernel.
sudo apt-get purge wolfram*

Then try again.
Thank you that did it.
Question, if there is issue why this kernel is included in latest raspbian?
by sim_tcr
Sat Feb 08, 2014 1:02 pm
Forum: General discussion
Topic: Error while installing apache2 and php5 on latest raspbian
Replies: 8
Views: 4776

Re: Error while installing apache2 and php5 on latest raspbi

You need to try again. I've edited my post. No luck! pi@raspiabita /var/www $ sudo apt-get install apache2 libapache2-mod-php5 php5-cli Reading package lists... Done Building dependency tree Reading state information... Done apache2 is already the newest version. libapache2-mod-php5 is already the ...
by sim_tcr
Sat Feb 08, 2014 12:51 pm
Forum: General discussion
Topic: Error while installing apache2 and php5 on latest raspbian
Replies: 8
Views: 4776

Re: Error while installing apache2 and php5 on latest raspbi

Try sudo apt-get install apache2 libapache2-mod-php5 php5-cli That should automagically pull in everything you need. If you need mysql in PHP then sudo apt-get php5-mysql phpmyadmin mysql-server mysql-client again should pull in everything you need. That did not work, pi@raspiabita ~ $ sudo apt-get...
by sim_tcr
Sat Feb 08, 2014 12:44 pm
Forum: General discussion
Topic: Error while installing apache2 and php5 on latest raspbian
Replies: 8
Views: 4776

Error while installing apache2 and php5 on latest raspbian

Hello, I am trying to install apache2 and php5 on latest raspbian and get below error, update-rc.d: error: insserv rejected the script header dpkg: error processing apache2.2-common (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems pr...
by sim_tcr
Sat Feb 08, 2014 7:41 am
Forum: General discussion
Topic: php mysql website hit counter.
Replies: 8
Views: 2880

Re: php mysql website hit counter.

How are your database tables defined? Its in my OP. Is that what you are asking for? mysql> DESCRIBE date; +-------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+-------------+------+-----+---------+-------+ | date | varchar(25) | YES | | NUL...
by sim_tcr
Sat Feb 08, 2014 7:20 am
Forum: General discussion
Topic: php mysql website hit counter.
Replies: 8
Views: 2880

Re: php mysql website hit counter.

plugwash wrote:How are your database tables defined?
Its in my OP. Is that what you are asking for?
by sim_tcr
Fri Feb 07, 2014 12:23 pm
Forum: General discussion
Topic: php mysql website hit counter.
Replies: 8
Views: 2880

php mysql website hit counter.

Hello, I use a website hit counter developed in php and mysql. Below is the code, counter_config.php <?php // change these values : $localhost = 'localhost'; $dbuser = 'root'; $dbpass = 'databasepassword'; $dbname = 'counter'; $dbtablehits= 'hits'; $dbtableinfo= 'info'; $dbtabledownload_manager= 'do...
by sim_tcr
Sat Feb 01, 2014 8:23 am
Forum: General discussion
Topic: minidlna automatic media update question
Replies: 0
Views: 285

minidlna automatic media update question

Hello, I have minidlna running on my raspberry pi. Media files are picked from my 1TB external drive connected to raspberry pi. Everything works fine. But, if I add new media files to the media directory configured on minidlna, they are not picked up. Is there any solutions other than minidlna -R or...
by sim_tcr
Fri Jan 31, 2014 6:26 am
Forum: General discussion
Topic: ext4 external drive disk activity light never stop blinking
Replies: 2
Views: 715

Re: ext4 external drive disk activity light never stop blink

After a while, it stopped. Probably disk checking was going on.
by sim_tcr
Thu Jan 30, 2014 4:27 pm
Forum: General discussion
Topic: best file system for 1TB external to be used with samba.
Replies: 3
Views: 2597

Re: best file system for 1TB external to be used with samba.

If the drive is only ever accessed by Linux then ext4 is the best choice. If the drive needs to be connected to Windows then NTFS is Hobson's choice. Drive needs to be connected to Linux only. It will be accessed by Windows 8 system via samba. Is formatting as ext4 done via below commands, sudo mkf...
by sim_tcr
Thu Jan 30, 2014 4:20 pm
Forum: General discussion
Topic: best file system for 1TB external to be used with samba.
Replies: 3
Views: 2597

best file system for 1TB external to be used with samba.

Hello,

I am trying to setup a NAS using 1TB WD Mybook essential drive and raspberry pi. This NAS will be accessed from Window 8 pc and a Android tablet.
What is the best file system 1TB drive should be formatted as?

Thanks,
Simon Mandy
by sim_tcr
Thu Jan 30, 2014 4:11 pm
Forum: General discussion
Topic: ext4 external drive disk activity light never stop blinking
Replies: 2
Views: 715

ext4 external drive disk activity light never stop blinking

Hello, I have just flashed latest raspbian. Connected 1 TB WD MyBook Essential drive to the pi and formatted as ext4 using below command, sudo mkfs.ext4 /dev/sda1 -L mybook1tb sudo tune2fs -m 0 /dev/sda1 Command completed successfully. Rebooted the machine. Now Disk Activity light never stops blinki...

Go to advanced search