Go to advanced search

by gdt
Fri Aug 16, 2013 2:31 am
Forum: Other projects
Topic: Wanted: RPI cable strain release case
Replies: 7
Views: 2626

Re: Wanted: RPI cable strain release case

Why not use a standard ABS enclosure, mount the RPi using nylon screws through the test/mounting holes, and feed the cabling into the box via typical nylon grommets (you can get "split" grommets which allow you to pass through the connectors) or via through-connectors (USB-USB and HDMI-HDMI through-...
by gdt
Fri Aug 16, 2013 1:31 am
Forum: Networking and servers
Topic: Dummy network interface
Replies: 3
Views: 969

Re: Dummy network interface

The dummy interface isn't compiled into the kernel used by my up-to-date Raspbian:

Code: Select all

$ gzip -d -c /proc/config.gz | fgrep CONFIG_DUMMY
# CONFIG_DUMMY is not set

$ uname -r -v
3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013
by gdt
Fri Aug 16, 2013 1:07 am
Forum: Arch
Topic: New hardware random number generator
Replies: 5
Views: 11225

Re: New hardware random number generator

I've written instructions for use with Raspbian: http://vk5tu.livejournal.com/43059.html
by gdt
Sun May 12, 2013 5:11 am
Forum: Beginners
Topic: Can IPv6 run on Debian Wheezy?
Replies: 16
Views: 3739

Re: Can IPv6 run on Debian Wheezy?

For anyone happening upon this old thread:

Edit /etc/modprobe.d/ipv6.conf commenting out all lines.

The next time the interface comes up you will get a IPv6 address (assuming the network is running stateless autoconfiguration).
by gdt
Fri Feb 22, 2013 4:27 pm
Forum: General discussion
Topic: data loss after "sudo halt"
Replies: 9
Views: 2462

Re: data loss after "sudo halt"

A filesystem is sync-ed as part of being unmounted, so in theory no explicit sync is necessary. "halt" traditionally stops a UNIX computer dead in its tracks. However that was so problematic that nowdays on Linux if you type "halt" when the system is running normally then it runs "shutdown -h now" i...
by gdt
Mon Feb 11, 2013 11:31 pm
Forum: General discussion
Topic: Need advice for speedometer for a car
Replies: 9
Views: 10113

Re: Need advice for speedometer for a car

The speedometer sensor unit on most cars is a module attached to the top of the transmission, with a gear descending into the transmission itself. That gear drives a small shaft up into the sender unit. That shaft has, typically, four magnets. The rotation of that shaft is detected by a Hall Effect ...
by gdt
Thu Oct 04, 2012 2:55 am
Forum: Networking and servers
Topic: RPI Router/Firewall/Gateway
Replies: 15
Views: 34362

Re: RPI Router/Firewall/Gateway

Seriously, don't fiddle with ethernet autonegotiation in this day and age -- just leave both ends at autonegotiation. You can check the autonegotiated value using ethtool. Here is a RPi plugged into a autonegotiating 100Base-TX port of a switch: $ sudo apt-get install ethtool $ sudo ethtool eth0 Set...
by gdt
Sat Jul 28, 2012 3:09 am
Forum: General discussion
Topic: why does the pi have an sdcard slot?
Replies: 4
Views: 1247

Re: why does the pi have an sdcard slot?

The RPi uses a mobile phone system on chip. So it has all of the necessary circuitry to run a SD card, as that's what mobile phones use for their storage. So in one sense your answer is "it is there, so why not?" That SoC also supports one USB port, again with a phone as the intended use. The RPi de...
by gdt
Sat Jul 21, 2012 3:02 pm
Forum: Advanced users
Topic: Minimising SD card writes
Replies: 8
Views: 7737

Re: Minimising SD card writes

(Note to moderators: it would be nice if the configuration below became the default on the RPi's images, as it will make people's SD cards last longer. If you could bring it to the attention of the person responsible for such things, then that would be appreciated). I've just had a play, and you can...
by gdt
Sat Jul 21, 2012 1:01 pm
Forum: Advanced users
Topic: Minimising SD card writes
Replies: 8
Views: 7737

Re: Minimising SD card writes

I'd rather think that /var/log/* is the main source of writes, especially since the as-shipped /etc/rsyslog.conf has some files written a line at a line. You could simply configure rsyslog to discard all messages. What would be better requires some programming. Configure rsyslog to log to a UNIX dom...

Go to advanced search