Go to advanced search

by matthewh
Thu Oct 13, 2016 7:38 pm
Forum: Beginners
Topic: Mounting Screws
Replies: 3
Views: 502

Mounting Screws

I am looking at 3d printing my own case for the PI. I am having trouble finding screws small enough to fit the holes in the circuit board. Can anyone tell me what size I need to order off Amazon etc to fit?
by matthewh
Fri Oct 07, 2016 5:16 pm
Forum: Raspbian
Topic: Static Public IP on Rasbian Jessie Lite
Replies: 1
Views: 324

Static Public IP on Rasbian Jessie Lite

I need to assign a static public IPv4 and IPv6 IP to the Ethernet interface of a Raspberry Pi running Rasbian Jessie Lite. So I need to assign a IP, subnet and gateway for both IPv4 and IPv6. How do I do that?
by matthewh
Mon Sep 26, 2016 4:20 pm
Forum: Pidora / Fedora
Topic: Extend root filesystem using CLI parted & resize2fs
Replies: 14
Views: 152531

Re: Extend root filesystem using CLI parted & resize2fs

No, because it is a very bad idea to try and check a running filesystem for inconsistencies. You should be able to skip that step and run the next one without any problems. >>>e2fsck -f /dev/mmcblk0p3 >>> .... >>>Free blocks count wrong (3453563, counted=3453559). Will not correcting this with e2fs...
by matthewh
Sun Sep 25, 2016 12:41 am
Forum: Pidora / Fedora
Topic: Extend root filesystem using CLI parted & resize2fs
Replies: 14
Views: 152531

Re: Extend root filesystem using CLI parted & resize2fs

>> use e2fsck -f /dev/mmcblk0p2 to perform a file system check. I am using this on Centos on RP2. rootfs-resize does not seem to work on SD cards 64GB in size. When I get to this step: # e2fsck -f /dev/mmcblk0p3 e2fsck 1.42.9 (28-Dec-2013) /dev/mmcblk0p3 is mounted. e2fsck: Cannot continue, aborting...
by matthewh
Wed Mar 02, 2016 12:31 am
Forum: General discussion
Topic: CentOs on a pi?
Replies: 14
Views: 52451

Re: CentOs on a pi?

Centos support is great, got it running. Its too bad instead of ext4 they didn't use f2fs to extend flash life etc.
by matthewh
Thu Dec 31, 2015 6:19 pm
Forum: General discussion
Topic: Static Public IP
Replies: 12
Views: 2544

Re: Static Public IP

Think I got this static IPv4 and IPv6 assignment working on the Raspberry Pi. I removed all the dhcp packages with apt-get since I no longer needed them. Not sure if they were causing conflicts with static assignments. I will likely later remove all wireless and wpa packages I do not need. I then ad...
by matthewh
Wed Dec 30, 2015 9:52 pm
Forum: Networking and servers
Topic: Static IP address - clumsy or buggy?
Replies: 9
Views: 5425

Re: Static IP address - clumsy or buggy?

Did you figure out how to do this? I also would like to set a static IPv4 and IPv6 to my Raspberry Pi but only on wired ethernet. Do not plan to use wireless at all. What packages need to be removed?
by matthewh
Wed Dec 30, 2015 8:50 pm
Forum: General discussion
Topic: Static Public IP
Replies: 12
Views: 2544

Re: Static Public IP

I know how to configure the router, firewall, etc. I have other servers configured with public static IP's already. I just want to know how to configure the Raspberry Pi for static IPv4 and IPv6.
by matthewh
Wed Dec 30, 2015 7:07 pm
Forum: General discussion
Topic: Static Public IP
Replies: 12
Views: 2544

Re: Static Public IP

I have public IPv4 and IPv6 space to use. Under Centos I would: nano /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=x.x.x.50 NETMASK=255.255.255.0 GATEWAY=x.x.x.1 ONBOOT=yes IPV6INIT=yes IPV6ADDR=xxxx:xxxx::0050/64 IPV6_DEFAULTGW=xxxx:xxxx::1 How do I do this in Rasbia...
by matthewh
Wed Dec 30, 2015 5:18 pm
Forum: General discussion
Topic: Static Public IP
Replies: 12
Views: 2544

Static Public IP

I need to assign a public static IPv4 and IPv6 address to my RaspberryPI running Rasbian minimal. Think this would easy but having issues.

/etc/network/interfaces

Would think it would be easy as editing this file but apparently not. How do I do this?
by matthewh
Tue Jan 13, 2015 10:53 pm
Forum: Raspbian
Topic: CRONTAB
Replies: 9
Views: 961

Re: CRONTAB

What is strange is I have a Centos 5.x server with exact same line in crontab using run-parts and it will execute anything in that directory regardless of extension or no extension.
by matthewh
Fri Jan 02, 2015 5:54 pm
Forum: Raspbian
Topic: CRONTAB
Replies: 9
Views: 961

Re: CRONTAB

ghans wrote:Another caveat : run-parts disallows scripts with "file extensions"
like .sh or .old or .bak (this is by design).
ghans
That would be the issue. Why is this? Can I change it?
by matthewh
Fri Jan 02, 2015 5:49 pm
Forum: Raspbian
Topic: CRONTAB
Replies: 9
Views: 961

Re: CRONTAB

Here is default /etc/crontab on raspberry pi. 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * ...
by matthewh
Wed Dec 31, 2014 7:36 pm
Forum: Automation, sensing and robotics
Topic: Alarm Panel
Replies: 3
Views: 415

Alarm Panel

I am looking for a simple example of sending an email based on a contact closure. Basically when a door opens I want to be sent an email that the door opened. When it closes I want an email that it closed. Is there a simple example of this somewhere?
by matthewh
Wed Dec 31, 2014 7:33 pm
Forum: Raspbian
Topic: CRONTAB
Replies: 9
Views: 961

CRONTAB

I added this to /etc/crontab

*/5 * * * * root cd / && run-parts --report /etc/cron.fiveminute

Then restarted cron. Why won't any of my scripts in /etc/cronfiveminute run?

Go to advanced search