Go to advanced search

by jojopi
Fri Jul 20, 2012 1:11 am
Forum: Troubleshooting
Topic: Cron Failure
Replies: 3
Views: 15259

Re: Cron Failure

There is supposed to be a cron process running all the time; it is the one that forks off children at the scheduled times. Those log messages are not errors as such. The first says that a scheduled job was run. The second says that no email was sent because there is no installed Mail Transport Agent...
by jojopi
Thu Jul 19, 2012 8:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 10 pence short
Replies: 12
Views: 3280

Re: 10 pence short

I don't drive more than one row at a time as how would I know when the column is detected which row it is especially if 2 buttons from the same column are pressed? Indeed. But when the keypad rows are shared with your LCD data lines, then you may briefly be driving them simultaneously in opposite d...
by jojopi
Thu Jul 19, 2012 7:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 10 pence short
Replies: 12
Views: 3280

Re: 10 pence short

Make sure you have current limiting resistors of at least 1K on the connections to the keypad. That is good practice anyway, but it becomes essential if you need to drive two or more rows or columns simultaneously.
by jojopi
Thu Jul 19, 2012 11:24 am
Forum: Troubleshooting
Topic: vncserver :1: command not found
Replies: 7
Views: 9027

Re: vncserver :1: command not found

Are you sure you have a space between vncserver and :1? What happens if you omit the :1 completely? The error message shows that "vncserver :1" is being treated as one word instead of two. It seems that the wiki page may have a non-breaking space. When I paste that into a shell or editor it gets con...
by jojopi
Thu Jul 19, 2012 9:16 am
Forum: Beginners
Topic: shutdown problem after vnc session
Replies: 5
Views: 3218

Re: shutdown problem after vnc session

But now when I try sudo shutdown now it gives me a message sulogin: root account is locked, starting shell Did you configure vnc to start at boot, or edit /etc/inittab for any other reason? I think that message is the one you would get if you had accidentally deleted or changed the "l6" line, which...
by jojopi
Thu Jul 19, 2012 7:23 am
Forum: Troubleshooting
Topic: vncserver :1: command not found
Replies: 7
Views: 9027

Re: vncserver :1: command not found

Are you sure you have a space between vncserver and :1? What happens if you omit the :1 completely? (The script should pick a display number and tell you what it is.)
by jojopi
Thu Jul 19, 2012 7:13 am
Forum: Raspberry Pi OS
Topic: Unable to SSH after reboot
Replies: 5
Views: 9740

Re: Unable to SSH after reboot

Unless you explicitly disable ssh, it should be started again on subsequent boots.

Did you run the expand_rootfs function in raspi-config? If so, it is normal for the next boot to take several minutes resizing the filesystem, which may not be obvious without a display attached.
by jojopi
Thu Jul 19, 2012 6:52 am
Forum: General programming discussion
Topic: Remove RPI Logo on startup
Replies: 9
Views: 57162

Re: Remove RPI Logo on startup

Add logo.nologo to /boot/cmdline.txt .
by jojopi
Wed Jul 18, 2012 2:59 pm
Forum: Other programming languages
Topic: Perl: Use of uninitialized value $path
Replies: 8
Views: 5762

Re: Perl: Use of uninitialized value $path

Use of uninitialized value $_[0] in join or string at /usr/share/perl/5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/perl/5.10/File/Spec/Unix.pm line 121. These errors go away if you "sudo swapon /dev/mmcblk0p3" before the cpan. So it seems som...
by jojopi
Tue Jul 17, 2012 10:12 pm
Forum: Beginners
Topic: Boot Text Color
Replies: 11
Views: 7781

Re: Boot Text Color

Yes! Add the following to the end of the first line of /boot/cmdline.txt:

Code: Select all

 vt.default_red=0,255,255,255,255,255,255 vt.default_grn=0,102,102,102,102,102,102,102 vt.default_blu=0,51,51,51,51,51,51,51
by jojopi
Tue Jul 17, 2012 9:06 pm
Forum: Raspberry Pi OS
Topic: Changing Distros - Help
Replies: 6
Views: 1398

Re: Changing Distros - Help

find /etc -mtime 1 -type f will show all the files in /etc which have changed in the last 2 days. Actually, that is the files modified between 24 and 48 hours ago. Since 48 hours ago would be "-mtime -2". (Or if you really wanted to exclude the future, "-mtime -2 -mtime +-1".) I recommend keeping a...
by jojopi
Mon Jul 16, 2012 1:00 pm
Forum: Advanced users
Topic: Disable 'startx' Command
Replies: 8
Views: 5099

Re: Disable 'startx' Command

There are other ways of starting X so it won't stop a knowledgeable user. joan@sun:~$ sudo chmod og-x /usr/bin/startx Indeed, this is trivially defeated: "cp /usr/bin/startx . && chmod +x ./startx && ./startx". In general it makes no sense to remove permission on commands, or even to uninstall them...
by jojopi
Mon Jul 16, 2012 12:04 am
Forum: Raspberry Pi OS
Topic: New Raspbian Image
Replies: 30
Views: 13461

Re: New Raspbian Image

Example: rpi_pisces_r3.zip is 447.7MB yet expands to 4Gb when dd'ed out to a card, without a reboot. I'd assume that an xz version would be a fair deal smaller - see Puppi for an example of what can be achieved. How does "df /" in your image compare to images that compress better? Most likely you a...
by jojopi
Sun Jul 15, 2012 9:18 pm
Forum: Other projects
Topic: SD Cart slot - possible to move?
Replies: 5
Views: 1215

Re: SD Cart slot - possible to move?

I understand that the RPi doesn't like transflash cards inside sd adapters, but would it be fundamentally possibly to just rewire the slot to a transflash slot? I think that is a myth. All my microSD cards/adapters work on recent firmware. Anyway, if a given card was not compatible in a standard ad...
by jojopi
Sun Jul 15, 2012 8:37 pm
Forum: C/C++
Topic: Segmentation fault
Replies: 7
Views: 11602

Re: Segmentation fault

I notice that you're passing a "long long" constant as the first argument of sendTelegram(), even though sendTelegram declares it "unsigned long data": That is totally fine. There is a valid prototype in scope, so the compiler casts. And the constant LL fits fine in an unsigned long. I believe the ...
by jojopi
Sat Jul 14, 2012 5:22 pm
Forum: Raspberry Pi OS
Topic: New Raspbian Image
Replies: 30
Views: 13461

Re: New Raspbian Image

A 'standard' 4Gb image should be able to be compressed down to the same size, given the compression of the unused space, as per other 'official' images. How much difference are you seeing? If I understand you correctly then I agree that filling the unused space with zeros should be almost as good f...
by jojopi
Sat Jul 14, 2012 7:55 am
Forum: Beginners
Topic: sftp setup
Replies: 9
Views: 8989

Re: sftp setup

change the permissions recursively sudo chmod -R 666 mountpoint that should take care of permission denied errors. 'man chmod' for a crash course on unix permissions. Actually, that ensures that noone but root will have even read access to the filesystem. Directories need to have execute (search) p...
by jojopi
Fri Jul 13, 2012 3:32 pm
Forum: Troubleshooting
Topic: user account confusion in fedora based images
Replies: 17
Views: 4970

Re: user account confusion in fedora based images

Why is it so important that the date is set before setting a password, it doesn't really matter if the date is set to 1970 or even the year 0 for that matter, you can always set it later, it shouldn't prevent a normal login. It is a bug. shadow-utils stores the time of the last password change as t...
by jojopi
Fri Jul 13, 2012 10:02 am
Forum: Beginners
Topic: Log in issues
Replies: 4
Views: 1154

Re: Log in issues

I was able to install and boot up Raspberry pi but when I got to the blue GUI log in screen it would not accept my password (I tried it multiple times with different permutations). It accepts the username so how to do I change the password when I don't yet have access to the command line. Is there ...
by jojopi
Fri Jul 13, 2012 9:42 am
Forum: Pidora / Fedora
Topic: Fedora 17 arm "Nightly Builds" problem.
Replies: 6
Views: 3509

Re: Fedora 17 arm "Nightly Builds" problem.

Unbeleivable People download half a Gb for what, do a lot of work to get it to work and end up stuck in the login screen. Such a thing should never be overlooked and that's the problem with Linux, too much crap for beginners. These builds are superseded every evening. They are clearly not intended ...
by jojopi
Fri Jul 13, 2012 9:42 am
Forum: Pidora / Fedora
Topic: Login Problem (mod added a G ^^)
Replies: 12
Views: 3388

Re: Login Problem (mod added a G ^^)

If all is done and before it starts into the UI it will gain ask you for your password and the set a new password for that user, why this is is beyond my understanding since you just set a new password a few minutes ago, really stupid if you ask Me and the first time I did it I got really confused....
by jojopi
Thu Jul 12, 2012 9:53 pm
Forum: Troubleshooting
Topic: SSH looking for key in wrong place‽ (solved)
Replies: 3
Views: 1976

Re: SSH looking for key in wrong place‽

The host keys in /etc exist completely independently from the user keys in ~/. The host keys are used by the sshd server to authenticate the host when remote users make an inbound connection. The user keys are used by the ssh client to authenticate the user to remote servers when connecting outbound...
by jojopi
Thu Jul 12, 2012 12:19 pm
Forum: Troubleshooting
Topic: Pi Date setting
Replies: 10
Views: 7085

Re: Pi Date setting

Wouldn't it be better for something in the boot process to set the clock to the most recent shutdown time, rather than (I assume) wait for NTP to get the actual current time? At least it would probably have the year correct. And the system logs would be less confusing. The wheezy spindle beta image...
by jojopi
Thu Jul 12, 2012 11:01 am
Forum: Pidora / Fedora
Topic: Download Fedora Remix?
Replies: 10
Views: 10249

Re: Download Fedora Remix?

peterm2 wrote:sudo xzcat f17arm-latest-arm-rpi-xfce-mmcblk0.img.xz > /dev/sdb
The shell sets up redirections before starting the command, so sudo does not help here. You want:

Code: Select all

xzcat f17arm-latest-arm-rpi-xfce-mmcblk0.img.xz |sudo dd bs=1M of=/dev/sdb
by jojopi
Thu Jul 12, 2012 10:12 am
Forum: Troubleshooting
Topic: Pi failing torture test
Replies: 9
Views: 4354

Re: Pi failing torture test

Any evidence of corruption on EXT4 partition? As I read it, mogul's corruption is entirely on the ext4 partition. This is what you would expect, since it is much larger and the only filesystem being written in the tests described. To test for bad ram, I would recommend booting wheezy with a 224/32 ...

Go to advanced search