Go to advanced search

by DeanC
Thu Jan 23, 2014 9:54 pm
Forum: General discussion
Topic: Is Raspbian becoming like Windows?
Replies: 17
Views: 3576

Re: Is Raspbian becoming like Windows?

ShiftPlusOne wrote:All the drama aside
You mean all the drama the Foundation has created by not doing this simplest thing. The fact that they avoid a proper response as to the reasoning (if any) behind their current stance is really frustrating.
by DeanC
Thu Jan 23, 2014 9:27 pm
Forum: General discussion
Topic: Is Raspbian becoming like Windows?
Replies: 17
Views: 3576

Is Raspbian becoming like Windows?

I get that Raspbian is trying to save space on their image file by not including the kernel headers. But normal distributions have them available in a package usually called kernel-headers-<version>. Raspbian feels this would be too helpful to the end user, so they haven't made a kernel-headers pack...
by DeanC
Thu Jan 23, 2014 3:58 pm
Forum: General discussion
Topic: Cheapest place to get the Pi in Canada?
Replies: 18
Views: 3708

Re: Cheapest place to get the Pi in Canada?

Peter Bennett wrote:In Vancouver BC, you can get Pis and Pi-related stuff from Lees Electronics on Main St, or at RP Electronics on Rupert.
Don't forget Main Electronics which is just a few doors down from Lee's Electronics.

But RP Electronics is the place to shop!
by DeanC
Thu Jan 23, 2014 1:51 am
Forum: Beginners
Topic: HELP: Compiling driver error, no /lib/modules/3.10.25+/build
Replies: 18
Views: 63572

Re: HELP: Compiling driver error, no /lib/modules/3.10.25+/b

Can't you simply use mkdir -p /lib/modules/3.10.25+/build That /lib/modules/* stuff is all built by rpi-update I tried it and got the following error: make[1]: Entering directory `/lib/modules/3.10.25+/build' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/lib/modu...
by DeanC
Wed Jan 22, 2014 10:29 pm
Forum: Beginners
Topic: HELP: Compiling driver error, no /lib/modules/3.10.25+/build
Replies: 18
Views: 63572

HELP: Compiling driver error, no /lib/modules/3.10.25+/build

I'm trying to compile a driver on my RPi running Raspbian. But I get the following error: make: *** /lib/modules/3.10.25+/build: No such file or directory. Stop. make: *** [all] Error 2 Every normal (not optimized for RPi) version of Linux I have worked with has this directory. But I can't find it i...
by DeanC
Wed Jan 22, 2014 4:49 am
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

geneworld wrote:Oh alright I think i got it...so the path that i would choose is where the image is? And then it will basically overwrite it and shrink it as much as possible?
Yes
by DeanC
Wed Jan 22, 2014 4:04 am
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

It was my understanding that this created the file from the os that is running. How would I create an image file? Seems a little counterintuitive to me but I am new to this. What steps should I do? Your understanding was wrong. This script only works on an existing .img file. Which is why you were ...
by DeanC
Wed Jan 22, 2014 3:43 am
Forum: Beginners
Topic: Unzip and kernel source code error
Replies: 0
Views: 523

Unzip and kernel source code error

I downloaded the zip file containing the kernel source code for the latest image from github. But when I go to unzip the file, I get the following error: ... inflating: linux-rpi-3.10.y/virt/kvm/irqchip.c inflating: linux-rpi-3.10.y/virt/kvm/kvm_main.c finishing deferred symbolic links: linux-rpi-3....
by DeanC
Wed Jan 22, 2014 2:49 am
Forum: Advanced users
Topic: Kernel headers
Replies: 1
Views: 645

Re: Kernel headers

This is a good question, as this seems to be a problem for users from a while back.

Does anybody know if they will eventually get around to putting them up?
by DeanC
Tue Jan 21, 2014 10:00 pm
Forum: Networking and servers
Topic: Trouble connecting USB-N66 to RPi
Replies: 1
Views: 765

Re: Trouble connecting USB-N66 to RPi

Also, when I take the interface down and issue 'sudo ifup ra0' I get: $ sudo ifup ra0 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/ra0/30:85:a9:37:be:8c S...
by DeanC
Tue Jan 21, 2014 8:40 pm
Forum: Networking and servers
Topic: Trouble connecting USB-N66 to RPi
Replies: 1
Views: 765

Trouble connecting USB-N66 to RPi

I have been trying to setup a more powerful wifi. I followed this post to get where I am: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=391033#p391033 Everything appears to be good, except there is no internet connection. When I issue 'ifconfig -a' I get: eth0 Link encap:Ethernet HWaddr b8:27:eb...
by DeanC
Tue Jan 21, 2014 2:07 am
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

I then tried: cd /home/pi mkdir image sudo perl ./resizeimage.pl '/home/pi/image/test.img' And I still got: /home/pi/image/test.img does not exist. You can't just create a directory and expect a file to be there. Here you created the 'image' directory and then ran then command. Of course it can't f...
by DeanC
Mon Jan 20, 2014 3:53 pm
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

Can't test it out right now as I am away. But it looks like using quotes around the image file name might be causing the problem.

You only need to quote the file name if it contains spaces. Yours doesn't so you should be able to get away with:

sudo perl ./resizeimage.pl /media/usb0/test.img
by DeanC
Mon Jan 20, 2014 5:05 am
Forum: General discussion
Topic: Cheapest place to get the Pi in Canada?
Replies: 18
Views: 3708

Re: Cheapest place to get the Pi in Canada?

If you find a video showing someone doing it, then I suggest you follow what they did with the exact hardware. I have 3 dongles that are adequate but nothing I would recommend.
by DeanC
Mon Jan 20, 2014 12:55 am
Forum: General discussion
Topic: Cheapest place to get the Pi in Canada?
Replies: 18
Views: 3708

Re: Cheapest place to get the Pi in Canada?

I never thought SD card speed would matter for something like the pi. The SD card, when used with the pi, is the harddrive. Everytime you need to read/write a file, it goes to the SD card. You can run the pi on a class 2 card, but there is a huge difference in performance between a class 2 and a cl...
by DeanC
Sun Jan 19, 2014 8:11 pm
Forum: General discussion
Topic: Cheapest place to get the Pi in Canada?
Replies: 18
Views: 3708

Re: Cheapest place to get the Pi in Canada?

Is it a cheaper to get an SD card combo? Might be a little cheaper, the problem is what class of card are you getting. SD cards have classes listed on them, these are related to minimum read/write speeds. SD cards need to sustain a certain speed all the time to be classed. Some cards can exceed the...
by DeanC
Thu Jan 16, 2014 12:46 am
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

Yes it does but I can't easily see what the post number is. The 782 I referred to is his current post total. Technically it is post number 487581. If you read what he wrote he states: I take it this should work on images created with win32diskimager ? I guess the most popular disk imaging software ...
by DeanC
Wed Jan 15, 2014 11:14 pm
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

ilovemipi wrote:
DeanC wrote:
mikerr wrote:By various I meant various different backups of raspbian sd cards
So what program(s) are you using to create the .img file?
See post 782.
His post doesn't list a program.
by DeanC
Wed Jan 15, 2014 10:35 pm
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing Raspbian File System Image Size

mikerr wrote:By various I meant various different backups of raspbian sd cards
So what program(s) are you using to create the .img file?
by DeanC
Wed Jan 15, 2014 5:40 pm
Forum: Beginners
Topic: Reducing Raspbian File System Image Size
Replies: 72
Views: 56924

Re: Reducing FS image size

From the very first post: *** THIS SCRIPT ONLY WORKS ON RASPBIAN IMAGES. *** From my last post with the updated code: *** THIS SCRIPT ONLY WORKS ON RASPBIAN IMAGES. *** From the subject line of this ENTIRE post: Reducing Raspbian File System Image Size So after careful deliberation, I have deduced t...
by DeanC
Wed Jan 15, 2014 3:44 pm
Forum: Troubleshooting
Topic: Swapping to smaller SD card
Replies: 4
Views: 771

Re: Swapping to smaller SD card

derekcentrico wrote:only one's basically saying SOL unless you have a laptop that can take two SD's to use Gparted or dd.
The first thread only needs one SD card and one card slot. The other post requires nothing.
by DeanC
Wed Jan 15, 2014 3:34 pm
Forum: General discussion
Topic: Looking for Pi Techies!
Replies: 2
Views: 486

Re: Looking for Pi Techies!

Pay for my plane ticket, and I'm there!
by DeanC
Wed Jan 15, 2014 3:30 pm
Forum: General discussion
Topic: Create small SD card images on Windows
Replies: 3
Views: 1048

Re: Create small SD card images on Windows

JVM wrote:Are there any programs that will create an image of only the used space, eg 1GB?
If you are using the Raspbian, I have a script that will take an existing .img file and shrink it to it's smallest size. You can get the script here:
http://www.raspberrypi.org/phpBB3/viewt ... 91&t=58069
by DeanC
Tue Jan 14, 2014 12:21 am
Forum: General programming discussion
Topic: HELP: Writing a program to read Linux partition from Windows
Replies: 9
Views: 2065

Re: HELP: Writing a program to read Linux partition from Win

I think people are missing the point, yes there are plenty of recovery tools out there (like DiskInternals Linux reader) but I believe the original poster wanted to code his own tool. :) Richard S. Yes, ty for all the responses, but I AM looking to re-create the wheel. It's the best way I learn. I'...
by DeanC
Mon Jan 13, 2014 7:05 pm
Forum: General programming discussion
Topic: HELP: Writing a program to read Linux partition from Windows
Replies: 9
Views: 2065

Re: HELP: Writing a program to read Linux partition from Win

You could always learn from the best - http://sourceforge.net/projects/explore2fspe/files/explore2fspe/ :D Ty for your response. It looked like what I needed, but it's written in PASCAL. To be honest, I didn't think people still used PASCAL for practical purposes (I thought it was just used for pur...

Go to advanced search