Go to advanced search

by jojopi
Sat Jul 28, 2012 6:05 pm
Forum: Beginners
Topic: /etc/inttab typo
Replies: 4
Views: 984

Re: /etc/inttab typo

1) What does "spindle" mean? 2) What "more normal" way does it use? It enables a display manager (lightdm) and configures it to auto-login. Which is definitely more normal than configuring a text auto-login and putting "startx" in your bash profile. And does not break SSH or the serial console. I s...
by jojopi
Sat Jul 28, 2012 5:34 pm
Forum: General discussion
Topic: Line Spacing and Character Spacing
Replies: 6
Views: 1219

Re: Line Spacing and Character Spacing

The Linux console — the character-based terminal emulator that runs on the kernel framebuffer — is not as versatile as iTerm2. It does not support proportional fonts or spacing, can only show one font at a time, and only supports sixteen colors (but you can choose any sixteen). If you need those mor...
by jojopi
Sat Jul 28, 2012 5:25 pm
Forum: Beginners
Topic: /etc/inttab typo
Replies: 4
Views: 984

Re: /etc/inttab typo

If you only changed the tty1 line, then you should still have gettys running on the other virtual consoles, which you can reach with Ctrl+Alt+F2 to F6. I am not at all convinced that editing inittab is a good way to automatically launch a GUI, by the way. The latest raspi-config in the recommended r...
by jojopi
Sat Jul 28, 2012 3:38 pm
Forum: Raspberry Pi OS
Topic: on-line resize of /dev/mmcblk0p2 hanging
Replies: 12
Views: 10104

Re: on-line resize of /dev/mmcblk0p2 hanging

I'm sure the next revision will include some kind of "activity indicator" to run while the resize is happening. Unfortunately, resize2fs's progress bar is only available for off-line (not mounted) resizes. In theory the on-line resize could be started in the background. In theory it would even be s...
by jojopi
Sat Jul 28, 2012 10:40 am
Forum: Troubleshooting
Topic: HDD recovery after DD mistake
Replies: 3
Views: 1741

Re: HDD recovery after DD mistake

I would want to first find out exactly how much data was overwritten, and overwrite that data again with zeros, to avoid any possibility of recovering the Pi filesystems instead of the one you want. If you have not attempted to mount or otherwise write to the drive since, then "sudo cmp IMAGE /dev/s...
by jojopi
Sat Jul 28, 2012 9:09 am
Forum: General discussion
Topic: An nbench challenge
Replies: 32
Views: 13536

Re: An nbench challenge

Nobody yet appears to have matched the stock-clocked results that Dom reported on the first Raspbian boots in April: http://pastebin.com/2NZqH2yY … You can not use -Ofast for benchmarks, without a proof that it does not change their computation results. The option violates the relevant standards in ...
by jojopi
Fri Jul 27, 2012 6:51 pm
Forum: Linux Kernel
Topic: /proc/cpuinfo reports arch 7 ?
Replies: 6
Views: 8249

Re: /proc/cpuinfo reports arch 7 ?

The architecture string "7" does appear to refer to ARMv7 — the corresponding C preprocessor token is CPU_ARCH_ARMv7. And the kernel definitely seems conflicted about whether ARM1176 is ARMv6 or ARMv7. The very first message logged at boot is: [ 0.000000] CPU: ARMv6-compatible processor [410fb767] r...
by jojopi
Fri Jul 27, 2012 12:17 am
Forum: General discussion
Topic: RS vs Farnell build quality
Replies: 5
Views: 1243

Re: RS vs Farnell build quality

- Composite connector not soldered on square. - Edge cut of board not as clean It is difficult to be sure without pictures, but this sounds like normal cosmetic variations. The PCB holes for the through-hole connectors cannot be made a tight fit, so they will end up soldered in slightly varying pos...
by jojopi
Thu Jul 26, 2012 11:23 am
Forum: Troubleshooting
Topic: edit file sd image file to correct error
Replies: 5
Views: 1325

Re: edit file sd image file to correct error

Depending on what you did to inittab, there may still be gettys running on other virtual consoles; try Ctrl+Alt+F2 to F6.

You can also fix it by booting in safe mode (http://www.raspberrypi.org/phpBB3/viewt ... 29&t=12007), then:

Code: Select all

mount /dev/mmcblk0p2 /mnt
vi /mnt/etc/inittab
reboot
by jojopi
Wed Jul 25, 2012 5:00 pm
Forum: General discussion
Topic: Order was just shipped from farnell
Replies: 34
Views: 5651

Re: Order was just shipped from farnell

Same here. Two ordered 16th which arrived today. Serial numbers nearly consecutive so not random ... Seriously impressed! Do you mean the sticker numbers, or "grep Serial /proc/cpuinfo"? I ordered two on July 17th, over 24 hours after the relaxation of restrictions. Arrived today so I too am well i...
by jojopi
Wed Jul 25, 2012 4:05 pm
Forum: General programming discussion
Topic: Custom startup
Replies: 4
Views: 1775

Re: Custom startup

I think /etc/rc.local was the right place. That runs as root at the end of the boot sequence, before any users log in. Perfect for indicating that the system is ready. /etc/profile and ~/.profile run only when a user logs in. And /etc/bash.bashrc and ~/.bashrc run only when a user starts a shell. In...
by jojopi
Wed Jul 25, 2012 9:48 am
Forum: Beginners
Topic: HDMI screen goes dark ! : ((
Replies: 16
Views: 4039

Re: HDMI screen goes dark ! : ((

to make a script executable, you type sudo chmod -x filename That makes a file not executable. (Unless your current umask denies execute permission, in which case that command does nothing, even to files that are already executable.) Anyway, you never need to mess with the permissions of files that...
by jojopi
Tue Jul 24, 2012 1:36 pm
Forum: Raspberry Pi OS
Topic: Rasbian broken filesystem
Replies: 13
Views: 6832

Re: Rasbian broken filesystem

In the foundation's kernels, ext{2,3,4} all mount using the same (ext4) codebase. The on-disk formats are basically the same too, of course. Are you talking about loss of data in files written shortly before a crash, or more widespread corruption? If the latter I would expect it to be repeated with ...
by jojopi
Tue Jul 24, 2012 6:01 am
Forum: Troubleshooting
Topic: Apache symbolic link problem.
Replies: 5
Views: 2347

Re: Apache symbolic link problem.

Why does apache need write access? You said you wanted to serve the photos, not delete them.
by jojopi
Tue Jul 24, 2012 12:22 am
Forum: Beginners
Topic: Any AWK experts here?
Replies: 9
Views: 2023

Re: Any AWK experts here?

Mortimer wrote:Which is great, but it is missing the first virtual machine, so isn't complete. Looks promising, now to try and work out why it is ignoring the entry for the Windows XPSP3 guest.
You specifically asked it to delete the first match: sed '1,1d'.
by jojopi
Mon Jul 23, 2012 3:23 pm
Forum: Beginners
Topic: How to block IPs that fail to SSH?
Replies: 26
Views: 13618

Re: How to block IPs that fail to SSH?

If your passwords are guessable enough, or the attacker has a big enough botnet, then blocking brute-force attempts after the fact will not help you. Better to do something that actually increases security, such as choosing good passwords or disabling password authentication completely. If your syst...
by jojopi
Mon Jul 23, 2012 12:27 am
Forum: Troubleshooting
Topic: rubbish bin raspbian wheezy
Replies: 6
Views: 6296

Re: rubbish bin raspbian wheezy

Does this help:

Code: Select all

sudo apt-get update
sudo apt-get install --no-install-recommends gvfs-backends gvfs-fuse
killall pcmanfm
by jojopi
Mon Jul 23, 2012 12:20 am
Forum: Troubleshooting
Topic: Ethernet chip gets raging hot
Replies: 86
Views: 34919

Re: Ethernet chip gets raging hot

My usb/eth chips has always ran raging hot, by raging hot I mean you couldn't keep your finger on it for more than a minute. Me too. Except that I would call that "a bit warm" rather than "raging hot". You are describing at most 45°C, which is tens of degrees below the point where silicon chips sta...
by jojopi
Sun Jul 22, 2012 11:17 pm
Forum: Beginners
Topic: Any AWK experts here?
Replies: 9
Views: 2023

Re: Any AWK experts here?

Use perl? It is a nicer language than awk or sed, and it is fairly standard even on the remaining proprietary Unices.
by jojopi
Sun Jul 22, 2012 6:13 pm
Forum: General discussion
Topic: Reset pin?
Replies: 6
Views: 6456

Re: Reset pin?

"sudo shutdown -h -H now" will shut down to a more useful state, where you can still press Ctrl+Alt+Del to reboot. There is a (not) reset pin, but it is not very exposed. Tap a 3K3 resistor between TP2 (ground) and the SoC end of R15. This works even in the new halt state. (The resistor is just to a...
by jojopi
Sat Jul 21, 2012 9:19 am
Forum: Beginners
Topic: chkconfig controlling services at boot
Replies: 3
Views: 16840

Re: chkconfig controlling services at boot

The debian equivalent of "chkconfig SERVICE on/off" appears to be "update-rc.d SERVICE enable/disable". (Or you can do it the traditional way, manipulating the S and K symlinks in /etc/rcN.d.)
by jojopi
Fri Jul 20, 2012 3:27 pm
Forum: General discussion
Topic: Are RS power adapters junk??
Replies: 5
Views: 2410

Re: Are RS power adapters junk??

There isn't any excuse for this behaviour only junk unregulated power supplies vary their voltage with load a switch mode power supply should be able to hold a steady voltage no matter what you throw at. I would say that all switch-mode supplies have some voltage change with current. For one thing ...
by jojopi
Fri Jul 20, 2012 2:12 pm
Forum: Debian
Topic: Cannot access the rubbish folder in new wheezy
Replies: 7
Views: 4825

Re: Cannot access the rubbish folder in new wheezy

Code: Select all

sudo apt-get install --no-install-recommends gvfs-backends gvfs-fuse
killall pcmanfm
by jojopi
Fri Jul 20, 2012 4:27 am
Forum: General discussion
Topic: Overclocking the PI does not work on Raspbian OS? (solved)
Replies: 41
Views: 17626

Re: Overclocking the PI does not work on Raspbian OS?

I was surprised to see (via "sudo sysctl -w vm.block_dump=1", dmesg) that nearly all reads and writes on mmcblk0p1 are in single-sector or odd-multiple strides. This is despite the fact that the filesystem has 16-sector clusters that are correctly aligned. (By contrast, all I/O on mmcblk0p2 is in ex...
by jojopi
Fri Jul 20, 2012 2:48 am
Forum: General discussion
Topic: Full proof backup of SD card
Replies: 16
Views: 10099

Re: Full proof backup of SD card

For what it is worth, it seems that the device names for card readers end in digits while those for "regular" disks end in letters. It isn't clear to me that newbies reading this thread may pick up on this tidbit, as it was indirectly referenced in some of the comments, but, names ending in letters...

Go to advanced search