Go to advanced search

by chesty
Wed Dec 23, 2015 11:54 am
Forum: Troubleshooting
Topic: pre-up not running script
Replies: 9
Views: 5843

Re: pre-up not running script

this works for me

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid blah
wpa-psk blah
pre-up iptables -I INPUT -j ACCEPT

I'm running debian not raspbian, but there's not much different.
by chesty
Wed Dec 23, 2015 2:06 am
Forum: Troubleshooting
Topic: pre-up not running script
Replies: 9
Views: 5843

Re: pre-up not running script

I don't know then. this isn't the problem, but will make it more bullet proof if your dhcp ip changes change iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j SNAT --to-source 10.254.22.184 to iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE paste your full interfaces file ...
by chesty
Tue Dec 22, 2015 5:28 pm
Forum: Troubleshooting
Topic: pre-up not running script
Replies: 9
Views: 5843

Re: pre-up not running script

I think manual means the ifup command doesn't handle the interface,
so pre-up doesn't get run.

I don't know what brings the interface up though, you have a choice of finding out how the interface is brought up, and see if that has any hooks, or change the interface to dhcp and auto
by chesty
Tue Dec 15, 2015 2:07 pm
Forum: Troubleshooting
Topic: RPI2 with external hdd
Replies: 3
Views: 875

Re: RPI2 with external hdd

I have a JMicron sata to usb converter connected to an odroid, and heavy writing kills mine.
I put it down to a firmware bug in the converter, in my case it doesn't reset itself automatically, I have
to pull the power out of the hard drive.

I'll try it on my pi and let you know how it goes.
by chesty
Sun Dec 13, 2015 3:47 pm
Forum: Advanced users
Topic: overlay root mount
Replies: 4
Views: 3800

overlay root mount

I've uploaded my go at overlay root to github https://github.com/chesty/overlayroot It's handy for playing around with your pi, the real root on the sd card is read only, so any changes you make aren't permanent and will be lost the next time you reboot, crashes won't hurt the filesystem, or hard po...
by chesty
Sun Dec 06, 2015 6:38 am
Forum: Advanced users
Topic: access usb stick from with initramfs
Replies: 1
Views: 462

Re: access usb stick from with initramfs

weird, I started copying data to the stick and was getting errors, so swapped it out and now I see the new one inside initramfs.

I think I can close this question and open an X file
by chesty
Sun Dec 06, 2015 5:40 am
Forum: Advanced users
Topic: access usb stick from with initramfs
Replies: 1
Views: 462

access usb stick from with initramfs

Hey, I'm playing around with overlay root filesystem mount, and got it working using tmpfs as the overlay, but I want to use a usb stick, and I can't work out how to make a usb stick available inside a initramfs during boot. During boot, inside the initramfs, there's no /dev/sda lsusb sees the stick...
by chesty
Tue May 21, 2013 8:02 am
Forum: Troubleshooting
Topic: not booting after dist-upgrade a few days ago
Replies: 1
Views: 348

Re: not booting after dist-upgrade a few days ago

very strange. I set hdmi_safe=1 still nothing on the display then I set config_hdmi_boost=4 and i didn't get a display every time, but I did get a display once, and it was a noisy screen with an picture of a raspberry and what looked like a kernel prompt, i think it had trouble finding or mounting /...
by chesty
Tue May 21, 2013 5:40 am
Forum: Troubleshooting
Topic: not booting after dist-upgrade a few days ago
Replies: 1
Views: 348

not booting after dist-upgrade a few days ago

I dist-upgraded raspian a few days ago, it updated the kernel I think, lots of messages about files in /boot being diverted. After rebooting it didn't come back online. I've tried plugging a monitor in, but the monitor doesn't detect the pi is plugged into the hdmi port. This was untested before, it...

Go to advanced search