Go to advanced search

by spitecho
Wed Jan 30, 2013 11:08 pm
Forum: General discussion
Topic: wireless AP with hostapd and realtek chipset (works)
Replies: 40
Views: 104254

Re: wireless AP with hostapd and realtek chipset (works)

Drsnake: What wireless dongle are you using? I have an AWLL5099 Airlink 101 Wireless N 150 Ultra Mini-USB Adapter that almost works--the AP is visible and asks for a password but nothing can connect to it. Even without a password set. I saw someone else having hostapd problems with it in the Amazon...
by spitecho
Fri Jan 04, 2013 11:11 am
Forum: Troubleshooting
Topic: Kernel Panic : VFS :Unable to mount root fs on unknown-block
Replies: 52
Views: 209037

Re: Kernel Panic : VFS :Unable to mount root fs on unknown-b

I had this happen after an rpi-update. When I plugged it into another Linux box, it gave me an error on /dev/sdc2, so I ran:

Code: Select all

sudo fsck.ext4 -fy /dev/sdc2
Fixed it right up without formatting.
by spitecho
Thu Sep 06, 2012 3:13 am
Forum: Beginners
Topic: Back to command line login ?
Replies: 5
Views: 5985

Re: Back to command line login ?

You can also run sudo raspi-config and change the "boot_behaviour" setting.
by spitecho
Tue Aug 28, 2012 3:48 pm
Forum: Troubleshooting
Topic: Pi restarts when D-Link 4 port hub attached?
Replies: 5
Views: 1258

Re: Pi restarts when D-Link 4 port hub attached?

Simplest solution: Don't use the battery charging port to power the Pi. The regular ports work fine. A few people can vouch for this here: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=149425#p149425 Using the charging port with an external HD also doesn't seem to work--doesn't recognize the dev...
by spitecho
Mon Aug 27, 2012 10:47 pm
Forum: Troubleshooting
Topic: SD Card Trashed By RasPi
Replies: 10
Views: 1959

Re: SD Card Trashed By RasPi

Could try filling it with zeroes with dd.

Code: Select all

dd bs=1M if=/dev/zero of=/dev/DEVICENAME
Then repartition/reformat/rewrite an image like normal.
by spitecho
Wed Aug 22, 2012 11:59 pm
Forum: Beginners
Topic: Setting the volume for 3.5mm jack
Replies: 14
Views: 133761

Re: Setting the volume for 3.5mm jack

Thanks, Eradicatore. Been wondering how to set the analog volume. Here are some aliases to put in ~/.bashrc to simplify the commands. # Increase volume by 5% alias volu='sudo amixer set PCM -- $[$(amixer get PCM|grep -o [0-9]*%|sed 's/%//')+5]%' # Decrease volume by 5% alias vold='sudo amixer set PC...
by spitecho
Sun Aug 19, 2012 7:07 pm
Forum: Beginners
Topic: new to linux
Replies: 6
Views: 1127

Re: new to linux

If you're using Raspbian, look in the python_games directory in your home folder. You'll see some files with the .py extension. Make a backup copy of one of those files, then open it up in a text editor and start screwing around with it. Change colors, numbers, even remove lines! Then load up the ga...
by spitecho
Sun Aug 19, 2012 12:50 am
Forum: General discussion
Topic: Any window managers more lightweight than Fluxbox?
Replies: 19
Views: 26592

Re: Any window managers more lightweight than Fluxbox?

Ratpoison is really lightweight. I use it on an ancient craptop (266mhz proc, 152mb ram) and it works really well.
by spitecho
Tue Aug 14, 2012 11:57 pm
Forum: Networking and servers
Topic: How to Run NFS Server on Raspberry Pi
Replies: 35
Views: 120561

Re: How to Run NFS Server on Raspberry Pi

No need to overclock for NFS to work, but a few things to keep in mind when you use that tutorial: 1. Raspbian has no portmap in the repos, so don't worry when it doesn't install. Skip any steps involving it. 2. When you add the mount to the remote machine's /etc/fstab, the filesystem should be "nfs...
by spitecho
Tue Aug 14, 2012 12:58 am
Forum: General discussion
Topic: Dlink dub-h4 -- Any feedback at all?
Replies: 15
Views: 11530

Re: Dlink dub-h4 -- Any feedback at all?

I'm using the dub-H4 revision C without a Y-cable to power the Pi, keyboard, mouse and external HD with no problems. I don't have anything plugged into the high-current port, though.
by spitecho
Sun Aug 12, 2012 8:14 pm
Forum: General discussion
Topic: RPI to duplicate laptop screen over network?
Replies: 6
Views: 3766

Re: RPI to duplicate laptop screen over network?

Does the TV have a composite video jack? Then you can plug the Pi in directly.
by spitecho
Sun Aug 12, 2012 7:38 pm
Forum: Troubleshooting
Topic: USB 3.0 External Drives
Replies: 2
Views: 1154

Re: USB 3.0 External Drives

My Toshiba Canvio works great in Rasbian, but only after I got this hub. Without the hub, the Pi refused to even make a device in /dev to mount.
by spitecho
Sat Aug 11, 2012 9:03 pm
Forum: General discussion
Topic: omxplayer lxde desktop won't be blacked out while playing
Replies: 4
Views: 2228

Re: omxplayer lxde desktop won't be blacked out while playin

I noticed a bug with the tvservice tool where the screen stays blank after you turn it off and on again, but omxplayer shows up on top of the blanked screen. I wrote a script to turn the bug into a feature by hiding the console or desktop behind a playing video. If you have this bug, these scripts s...
by spitecho
Thu Aug 09, 2012 3:04 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 262131

Re: USB - the Elephant in our Room

Aw, I wanted to find out what he needed such a goofy setup for. Maybe four of his USB-to-serial cables worked, but that fifth one was the deal-breaker! Anyhoo, I have the USB problem, but I found a way to work around it. Which is pretty much how Linux has always been: Aut viam inveniam aut faciam —I...
by spitecho
Tue Aug 07, 2012 12:23 am
Forum: Beginners
Topic: Starting VNC as user pi
Replies: 14
Views: 14789

Re: Starting VNC as user pi

You can add it to /etc/rc.local with a text editor as root. Should look something like this: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disa...
by spitecho
Mon Aug 06, 2012 9:37 pm
Forum: Troubleshooting
Topic: USB Problems
Replies: 23
Views: 3961

Re: USB Problems

Ahhh, no, I have the working keyboard currently directly plugged into the Pi, but the other two I tried in the hub and in the Pi with the same results. And turning the backlight off on the keyboard made no difference. The wiki also lists my particular Apple keyboard as working with a hub , but alas,...
by spitecho
Mon Aug 06, 2012 8:06 pm
Forum: Troubleshooting
Topic: USB Problems
Replies: 23
Views: 3961

Re: USB Problems

ph0ng: But why would a powered hub not solve that? One thing I did notice was that both wonky keyboards registered as full-speed USB devices in dmesg, and the working keyboard came up as low-speed. If anyone has a full-speed non-swanky keyboard (no lights, USB ports, etc.), it might be worth looking...
by spitecho
Mon Aug 06, 2012 12:13 am
Forum: Troubleshooting
Topic: USB Problems
Replies: 23
Views: 3961

Re: USB Problems

The hub is a black 4-port D-Link DUB-H4 with a 2.5A AC adapter. Plugged into the hub is a Logitech wireless mouse dongle, a Toshiba Canvio USB 3.0 external HD and the Pi itself (using a microUSB Kindle cord). The ethernet is plugged into a Netgear RP614v4 router. It doesn't seem to make a difference...
by spitecho
Sun Aug 05, 2012 3:00 am
Forum: Beginners
Topic: Starting VNC as user pi
Replies: 14
Views: 14789

Re: Starting VNC as user pi

Using the entire command su pi -c 'tightvncserver :1' as your startup command should run it as pi, even if it's running it as sudo.

For example:
[email protected]:~$ sudo su pi -c "whoami"
pi
by spitecho
Sat Aug 04, 2012 6:52 pm
Forum: Troubleshooting
Topic: USB Problems
Replies: 23
Views: 3961

Re: USB Problems

A different keyboard might actually help. I had the exact same problems with both a Logitech Illuminated keyboard and an Apple A1048 with built-in USB ports--lost or stuck keypresses, dropped internet connection. Even with a powered hub. Then I tried a Logitech Classic Keyboard 200 and all the probl...
by spitecho
Sat Aug 04, 2012 6:45 am
Forum: General discussion
Topic: Video: PC > Rasp > TV?
Replies: 3
Views: 1722

Re: Video: PC > Rasp > TV?

NFS is best for mounting the HD over the network. It pulls down really good speeds for media.

Here's a tutorial for setting it up.
by spitecho
Fri Aug 03, 2012 1:59 am
Forum: Troubleshooting
Topic: Help needed disabling password authentication. SSH/PwnPi.
Replies: 12
Views: 6210

Re: Help needed disabling password authentication. SSH/PwnPi

If you're not overly attached to OpenSSH (and don't need port fowarding or ssh logging), the simplest fix would be to switch to Dropbear. You can find a nice little tutorial here for swapping it in and disabling password and root logins.
by spitecho
Tue Jul 31, 2012 10:55 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 262131

Re: USB - the Elephant in our Room

Doesn't seem to be a power issue with mine. I have the Pi hooked up to a separate 1A psu and a 2.5A Dlink DUB-H4 hub. The keyboard and network get all screwy if I try to use both at once (particularly in X), but if I plug in an external USB 3.0 HDD, it works flawlessly as a headless NFS server, even...
by spitecho
Tue Jul 10, 2012 12:15 am
Forum: Beginners
Topic: USB hard drive auto mounts as root and not pi
Replies: 1
Views: 3312

Re: USB hard drive auto mounts as root and not pi

Open /etc/fstab as root in your favorite text editor and add a line like this:

Code: Select all

/dev/sda1 /media/usb0 vfat defaults,rw,uid=1000,gid=1000 0 0

Go to advanced search