Go to advanced search

by jecxjo
Mon Jun 18, 2012 3:29 pm
Forum: Troubleshooting
Topic: Qemu emulation glitches/confusion
Replies: 5
Views: 1671

Re: Qemu emulation glitches/confusion

Does anyone know if it's possible to set up a Qemulated Pi for SSH? When mine arrives, I was planning to SSH (or maybe remmina) into it... I can partially answer that. There is networking support in QEMU but I've never tried it on an ARM emulated system. http://wiki.qemu.org/Documentation/Networking
by jecxjo
Mon Jun 18, 2012 3:23 pm
Forum: Debian
Topic: Single FAT SD card partition with loop file for root device?
Replies: 10
Views: 2961

Re: Single FAT SD card partition with loop file for root dev

Oh yeah, sorry wasn't processing it all in my head. There is an NTFS driver in the Kernel. Never tried it with ARM before. If it works then you should be able to setup a Wubi-like distro. So I guess you could make two partitions on the SD card: one FAT32 and one NTFS. Boot goes in one and RFS in ano...
by jecxjo
Mon Jun 18, 2012 3:07 pm
Forum: C/C++
Topic: GCC
Replies: 18
Views: 21576

Re: GCC

I want to compile an objective c file which starts by importing foundation. It is command line. Is that the correct code? Are you asking how to import Foundation Code? Also is this correct for c gcc something.c -o something ? This line will both compile and link the C file and generate a binary out...
by jecxjo
Mon Jun 18, 2012 1:33 pm
Forum: Debian
Topic: Single FAT SD card partition with loop file for root device?
Replies: 10
Views: 2961

Re: Single FAT SD card partition with loop file for root dev

lb wrote:Well, there's only one issue with this: FAT32 only supports files up to 4 GB size.
Anyone know how Wubi handles this?
by jecxjo
Mon Jun 18, 2012 1:14 am
Forum: Gaming
Topic: Iridium Rising - 3D space combat for the Pi
Replies: 64
Views: 16275

Re: Iridium Rising - 3D space combat for the Pi

Great you've gone and done it. Now I'm going to have to connect my Pi to my TV and start playing video games again. 8-)
by jecxjo
Sun Jun 17, 2012 11:43 pm
Forum: Raspberry Pi OS
Topic: Unable to "apt-get install vim" cause of broken dependencies
Replies: 3
Views: 27021

Re: Unable to "apt-get install vim" cause of broken dependen

First I'd try updating your cache of the repo

Code: Select all

sudo apt-get update
sudo apt-get install vim-runtime
sudo apt-get install vim
I've run into this type of problem when the repo isn't completely up to date yet.
by jecxjo
Sun Jun 17, 2012 11:38 pm
Forum: Troubleshooting
Topic: Wifi r8712u driver problems
Replies: 1
Views: 5191

Re: Wifi r8712u driver problems

That is an odd issue. Typically you'd see an error like this if the kernel module was compiled for the wrong architecture which is obviously not the case. So you say that it worked the first time, driver loaded and you could use the hardware? Then after a reboot it stopped... I'd try executing depmo...
by jecxjo
Sun Jun 17, 2012 10:41 pm
Forum: Beginners
Topic: Changing root name on Pi
Replies: 30
Views: 5640

Re: Changing root name on Pi

And yes I see this post got derailed. I assumed (which I shouldn't have) that the reason the user wanted to change the root username to his own initials was because he wanted to run as the "Administrator" like one would in Windows. As for the Foundation's default setup...sorry I just think its bad p...
by jecxjo
Sun Jun 17, 2012 10:28 pm
Forum: Beginners
Topic: ssh
Replies: 10
Views: 2370

Re: ssh

Ah I think I misunderstood your previous post. So you can setup screen with a default list of windows with titles and applications. For example here is one that opens mutt, lynx, atop and a shell. $HOME/.screenrc startup_message off screen -t email 0 mutt screen -t web 1 lynx screen -t procs 2 atop ...
by jecxjo
Sun Jun 17, 2012 10:15 pm
Forum: C/C++
Topic: GCC
Replies: 18
Views: 21576

Re: GCC

Once I've installed it what is the exact code to compile a .c file and a .m file and how do I set the directory. I'm not new to c or obj c it's just all this unix stuff :s Ah ok. Well the bare minimum for C files is gcc -c file1.c gcc -c file2.c gcc -o prog file1.o file2.o gcc can now compile objec...
by jecxjo
Sun Jun 17, 2012 9:07 pm
Forum: Automation, sensing and robotics
Topic: Panalyzer - a RaspberryPi based Logic Analyzer
Replies: 69
Views: 65930

Re: Panalyzer - a RaspberryPi based Logic Analyzer

One thing I'd suggest to Richard_P is to use DMA if you are looking at making a protocol analyzer. Since you know it will be I2C you can capture at a much better rate this way but you will only be able to see protocol and not actual line level transitions. You can't see what the noise on a line happ...
by jecxjo
Sun Jun 17, 2012 6:08 pm
Forum: Debian
Topic: Single FAT SD card partition with loop file for root device?
Replies: 10
Views: 2961

Re: Single FAT SD card partition with loop file for root dev

Sounds like something that should work. Currently I'm searching the forum for initrd support which I'm currently 50/50 on if that works with the Pi. So what you'd need to do is verify/build a kernel with loop support as well as the fs of your choice for your iso. The next step is to modify your init...
by jecxjo
Sun Jun 17, 2012 5:39 pm
Forum: HATs and other add-ons
Topic: USB to wireless wifi Internet adapter
Replies: 5
Views: 16123

Re: USB to wireless wifi Internet adapter

I have the following D-Link device.

http://www.amazon.co.uk/D-link-DWA-160- ... 676&sr=8-1

In Archlinux the drivers are already installed. On Debian requires the firmware-ralink package from the squeeze-firmware non-free repository.
by jecxjo
Sun Jun 17, 2012 5:34 pm
Forum: Beginners
Topic: Changing root name on Pi
Replies: 30
Views: 5640

Re: Changing root name on Pi

There are ways to get around your issue (setuid, password-less sudo, etc) but they all open you up to major security problems. With the Pi being so popular, the DDoS attack yesterday, you know crackers will be scanning the web to find these devices to add to their botnets. This borders on scaremong...
by jecxjo
Sun Jun 17, 2012 5:22 pm
Forum: Beginners
Topic: ssh
Replies: 10
Views: 2370

Re: ssh

Sounds good. I only name sessions when I have multiple ones in existence...which is almost never. Can't think of the command line argument at the moment but I'd check the man pages ( man screen ) for further information. Might I suggest installing mutt as your cli email client. It does a great job w...
by jecxjo
Sun Jun 17, 2012 5:16 pm
Forum: Beginners
Topic: Startx crashes
Replies: 5
Views: 2879

Re: Startx crashes

Did you manually configure your xorg setup? Also could you post /var/log/Xorg.0.log as it will provide more details to your error. Many thanks for helping me out. I used RasPiWrite to install from my Mac. When I type in var/log/Xorg.0.log I get the following error: -bash: /var/log/Xorg.0.log: permi...
by jecxjo
Sun Jun 17, 2012 5:06 pm
Forum: C/C++
Topic: GCC
Replies: 18
Views: 21576

Re: GCC

Once I've installed it what is the exact code to compile a .c file and a .m file and how do I set the directory. I'm not new to c or obj c it's just all this unix stuff :s Ah ok. Well the bare minimum for C files is gcc -c file1.c gcc -c file2.c gcc -o prog file1.o file2.o gcc can now compile objec...
by jecxjo
Sun Jun 17, 2012 4:54 pm
Forum: C/C++
Topic: GCC
Replies: 18
Views: 21576

Re: GCC

You can install software from a terminal. From that point you can use gcc to compile C code. Let me see if we can possible get some sticky threads up in the language specific forums on some good tutorials for the languages. Are you new to C/ObjC development? For the moment, this other thread covers ...
by jecxjo
Sun Jun 17, 2012 4:45 pm
Forum: Troubleshooting
Topic: Wireless USB not working
Replies: 3
Views: 1122

Re: Wireless USB not working

iwconfig wlan0 power on doesn't turn the adaptor on; it turns power management on. In fact I have to issue iwconfig wlan0 power off in order to make my adaptor work properly, otherwise the power management disconnects it after a while. Oops thanks for catching that, I meant to say when I turn power...
by jecxjo
Sun Jun 17, 2012 4:39 pm
Forum: Troubleshooting
Topic: Qemu emulation glitches/confusion
Replies: 5
Views: 1671

Re: Qemu emulation glitches/confusion

For the qemu script, have you tried giving full path names to the arguments (i.e. -hda /home/joe/Qemu/rootfs_debian6_rpi.ext4)?
by jecxjo
Sun Jun 17, 2012 4:25 pm
Forum: Beginners
Topic: Setting up from USB install
Replies: 2
Views: 1166

Re: Setting up from USB install

Sorry but the post you read may have been a little misleading. The way the Pi's boot sequence works, the system looks for an SD card installed where the first partition is a Fat32 format containing files like loader.bin start.elf, etc. There is a text file that has kernel boot parameters which can b...
by jecxjo
Sun Jun 17, 2012 4:18 pm
Forum: Beginners
Topic: ssh
Replies: 10
Views: 2370

Re: ssh

I'm running the same time of setup. What you want to do is look into a program called screen . This allows you to have multiple virtual terminal windows up in a single connection. Once you've started rtorrent you can detatch from the screen session and everything will continue running even after you...
by jecxjo
Sun Jun 17, 2012 3:59 pm
Forum: Beginners
Topic: Startx crashes
Replies: 5
Views: 2879

Re: Startx crashes

Did you manually configure your xorg setup? Also could you post /var/log/Xorg.0.log as it will provide more details to your error.
by jecxjo
Sun Jun 17, 2012 3:54 pm
Forum: Troubleshooting
Topic: Wireless USB not working
Replies: 3
Views: 1122

Re: Wireless USB not working

Sorry dumb questions first, are you using a powered hub to connect the USB Stick to the Pi? Before the actual radio in the stick powers up, my wifi adapter would show up with lsusb and iwconfig. Once I turned it on iwconfig wlan0 power on then the power usage increased and it would actually power cy...
by jecxjo
Sun Jun 17, 2012 3:42 pm
Forum: C/C++
Topic: GCC
Replies: 18
Views: 21576

Re: GCC

Which distro are you running? For example if you are running Arch you'd want to install base-devel which includes everything you need for c/c++ development (includes make, patch, binutils, etc). If you are looking for objective C then you'd want to install gcc-objc . For Debian you should install gc...

Go to advanced search