Go to advanced search

by Fahrenheit
Fri Feb 05, 2016 1:32 am
Forum: Troubleshooting
Topic: apt-get update is deleting system files
Replies: 7
Views: 2144

Re: apt-get update is deleting system files

I ran the read and write tests on both SD cards, and they both came up clean: f3write: mbp:f3-6.0 er$ ./f3write /Volumes/BOOT Free space: 28.77 GB Creating file 1.h2w ... OK! Creating file 2.h2w ... OK! Creating file 3.h2w ... OK! Creating file 4.h2w ... OK! Creating file 5.h2w ... OK! Creating file...
by Fahrenheit
Thu Feb 04, 2016 5:08 pm
Forum: Troubleshooting
Topic: apt-get update is deleting system files
Replies: 7
Views: 2144

Re: apt-get update is deleting system files

There may be messages in the output of dmesg that show what block number it happened at A "fake" card may still pass the badblocks test, as the blocks will still appear to be writeable and read back correctly, but they are really overwriting an earlier block number. I would check dmesg, but as soon...
by Fahrenheit
Thu Feb 04, 2016 12:00 am
Forum: Troubleshooting
Topic: apt-get update is deleting system files
Replies: 7
Views: 2144

Re: apt-get update is deleting system files

I thought it might be corruption, however when checking from my Ubuntu VM, both FSCK and badblocks say the SD card is normal: [email protected]:~$ sudo fsck -p -f -v /dev/sdb2 fsck from util-linux 2.26.2 51196 inodes used (2.88%, out of 1777440) 68 non-contiguous files (0.1%) 36 non-contiguous directorie...
by Fahrenheit
Wed Feb 03, 2016 9:41 pm
Forum: Troubleshooting
Topic: apt-get update is deleting system files
Replies: 7
Views: 2144

apt-get update is deleting system files

Hi All, I recently built a new Pi and put Jessie on the SD card. I usually run "sudo apt-get update" once a month or so to get the latest application updates. However when I run it now, I start getting "Read-only file system" errors. Then when it's complete, all the system files appear to be deleted...
by Fahrenheit
Thu Jan 14, 2016 7:23 pm
Forum: Troubleshooting
Topic: Force a full fsck on reboot, ignoring the dirty flag
Replies: 23
Views: 52623

Re: Force a full fsck on reboot, ignoring the dirty flag

Hi, I'm having problems forcing the "fsck" to run. I'm sure I've followed the suggestions in the the posts but I still no sign that "fsck" is running at start up and getting the boot message to run "fsck". Could someone list the files that need to be changed / created then the commands that can be ...
by Fahrenheit
Tue Jan 12, 2016 2:12 am
Forum: Troubleshooting
Topic: FIM on Raspbian (Jessie) wont autostart
Replies: 3
Views: 1838

Re: FIM on Raspbian (Jessie) wont autostart

I came across this post trying to find FIM on Jessie, and your answer helped (it's not in the Jessie repo). Just curious, why do you want FIM to load in the background instead of just calling it every time you want to look at an image? Also curious why you want to shut down the HDMI port. I'm guessi...
by Fahrenheit
Sat Jan 02, 2016 7:40 am
Forum: Troubleshooting
Topic: More WiFi issues
Replies: 5
Views: 1024

Re: More WiFi issues

Don't know if it makes a difference, but I would expect the line iface wlan0 inet manual in the interfaces file. auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf address 192.168.0.96 netmask 255.255.255.0 gateway 192.168.0.1 I use the following...
by Fahrenheit
Fri Jan 01, 2016 8:01 pm
Forum: Troubleshooting
Topic: Once Stable Pi Now Stuck on Boot
Replies: 3
Views: 1150

Re: Once Stable Pi Now Stuck on Boot

instead of waste lot of your time, put a new fresh virgine official raspbian image to your SD card, and see, if your RPi is working. this is the step you alwasys should try first, to be sure, there is no hardware defect. after that, you can try to adapt the fresh installation to your needs, to recr...
by Fahrenheit
Fri Jan 01, 2016 8:22 am
Forum: Troubleshooting
Topic: Once Stable Pi Now Stuck on Boot
Replies: 3
Views: 1150

Once Stable Pi Now Stuck on Boot

Happy New Year all! I've been running Raspbian solid for 2 years headless, on a Model B. Yesterday, I wanted to try and load "motion" to capture my network webcam. It installed several packages including ffmpeg. I couldn't quite get it to work, so I decided to reboot. Then the Pi got stuck at the bo...
by Fahrenheit
Fri Jan 01, 2016 7:59 am
Forum: Troubleshooting
Topic: More WiFi issues
Replies: 5
Views: 1024

Re: More WiFi issues

I had a similar issue like this. In my case, I had Access Control turned on in my router, and the wifi dongle MAC address was getting blocked. I unblocked the MAC in the router, and that fixed my issue. Also, have you tried doing DHCP instead of setting the IP's statically? I have a Netgear router w...
by Fahrenheit
Sun Dec 06, 2015 7:19 pm
Forum: Troubleshooting
Topic: Ethernet - No Internet
Replies: 8
Views: 1886

Re: Ethernet - No Internet

SOLVED! You guys got me to thinking "why can't I ping this DANG gateway?!" Then I remembered I had enabled Access Control in the router: http://he1t.net/support/access_ctrl.png I had removed\changed the DHCP reservations in the router, which made the pi an unrecognized device...which was then BLOCKE...
by Fahrenheit
Sun Dec 06, 2015 6:11 pm
Forum: Troubleshooting
Topic: Ethernet - No Internet
Replies: 8
Views: 1886

Re: Ethernet - No Internet

Yes it's very strange, I can't ping my router, but I can ping other machines on the network. I do have another Netgear switch connected into the router (Netgear Nighthawk R7000). I unplugged that switch, but no luck. I only have the out-of-box stuff in the hosts file: [email protected] ~ $ cat...
by Fahrenheit
Sun Dec 06, 2015 5:47 pm
Forum: Troubleshooting
Topic: Ethernet - No Internet
Replies: 8
Views: 1886

Re: Ethernet - No Internet

[email protected] ~ $ ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
by Fahrenheit
Sun Dec 06, 2015 5:24 pm
Forum: Troubleshooting
Topic: Ethernet - No Internet
Replies: 8
Views: 1886

Ethernet - No Internet

I'm having an issue trying to get my pi online with ethernet. When trying to ping a website, nothing happens, then all the packets are lost: [email protected] ~ $ ping www.google.com PING google.com (192.168.168.1) 56(84) bytes of data. ^C --- google.com ping statistics --- 13 packets transmit...
by Fahrenheit
Sun Dec 06, 2015 4:52 pm
Forum: Troubleshooting
Topic: Connected to Wifi router but no internet
Replies: 11
Views: 6411

Re: Connected to Wifi router but no internet

"iface wlan0 inet manual" is used when you don't want to assign an IP to an interface (if you're going to bridge the connection for example). You definitely could set it to static in your /etc/network/interfaces: [email protected] ~ $ sudo nano /etc/network/interfaces auto wlan0 allow-hotplug wlan0 ifa...
by Fahrenheit
Sun Dec 06, 2015 3:09 pm
Forum: Troubleshooting
Topic: Connected to Wifi router but no internet
Replies: 11
Views: 6411

Re: Connected to Wifi router but no internet

I wonder if your /etc/wpa_supplicant/wpa_supplicant.conf file has some manual IP information in it. Maybe you could post the contents of that file? Just watch out for posting your wifi password :P
by Fahrenheit
Sat Dec 05, 2015 7:44 pm
Forum: Troubleshooting
Topic: Connected to Wifi router but no internet
Replies: 11
Views: 6411

Re: Connected to Wifi router but no internet

Maybe a couple of things to try. Do you know if your router does DHCP or do you want to set the IP statically? in /etc/network/interfaces, you could change the line "iface wlan0 inet manual" to "iface wlan0 inet dhcp" This will make your wireless card get it's info from DHCP. Then reboot, or issue: ...
by Fahrenheit
Sat Dec 05, 2015 4:19 pm
Forum: Troubleshooting
Topic: Connected to Wifi router but no internet
Replies: 11
Views: 6411

Re: Connected to Wifi router but no internet

What do you get on the command line when you type: ip route?

Also, do you have multiple WiFi dongles? I see in your interfaces file you have wlan0 and wlan1. You could probably remove the wlan1 section (comment out the lines by putting a # in front of them) if you only have one WiFi dongle.
by Fahrenheit
Wed Apr 09, 2014 6:46 am
Forum: Advanced users
Topic: Heartbleed openssl vulnerability
Replies: 58
Views: 22159

Re: Heartbleed openssl vulnerability

augusto wrote: To know if you really have the patched version run

Code: Select all

$ sudo apt-cache show openssl
Package: openssl
Version: 1.0.1e-2+rvt+deb7u5
[...]
Interesting, I just updated and I have a slightly higher version:

$ sudo apt-cache show openssl
Package: openssl
Version: 1.0.1e-2+rvt+deb7u6
by Fahrenheit
Sat Feb 15, 2014 6:14 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 618645

Re: [Tutorial] Show RPI's Temperature with a command.

I don't have my Pi up and running ATM, so I can't test this, but I think it would be like: gawk '{print "Temp in degrees Fahrenheit is:",$1/1000 * 1.8 + 32}' /sys/class/thermal/thermal_zone0/temp WOW, that's spot on! I had to change "gawk" to "awk," but that's perfect...simple and elegant. Thank you!
by Fahrenheit
Sat Feb 15, 2014 12:39 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 618645

Re: [Tutorial] Show RPI's Temperature with a command.

The basic formula is: F = 1.8 * C + 32 E.g., 1.8 * 100 = 180 and 180 + 32 = 212 BTW, I think doing this in shell is weird. Yes, the previous poster gets "ain't I slick!" points for being able to do this kind of stuff in shell, but it's a lot more fluid in AWK. So I'd like to get the CPU temp from "...
by Fahrenheit
Fri Feb 14, 2014 3:44 am
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 618645

Re: [Tutorial] Show RPI's Temperature with a command.

I quite liked your script, so I decided to clean it up a little: #!/bin/bash cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp) cpuTemp1=$(($cpuTemp0/1000)) cpuTemp2=$(($cpuTemp0/100)) cpuTempM=$(($cpuTemp2 % $cpuTemp1)) gpuTemp0=$(/opt/vc/bin/vcgencmd measure_temp) gpuTemp0=${gpuTemp0//\'/º} gp...

Go to advanced search