|
Puddin posted:Au.element14.com would be your best bet but are out of stock. Will have 8490 in stock on 19th Nov however. One odd thing that I've noticed - my powered usb hub is capable of powering the pi the wrong way (via its uplink port and the pi's fullsize usb ports). I thought it was convenient at first but then I realised what side of the pi's board the powersupply bypass/filter cap is on (makes me wonder how much good it does when the power supply obviously isn't isolated from the usb power at all).
|
# ¿ Nov 16, 2012 13:17 |
|
|
# ¿ Apr 20, 2024 04:46 |
|
On a similar note, I was very surprised to find that the raspberry pi I set up at for my parents was capable of running my external (unpowered) 2.5" hard-drive from its own USB ports. It had to use both USB ports (via the Y-split cable) and the rpi reset when I first connected it (presumably the current needed to spin the drive up was a bit much) but after openelec rebooted it was fine. The drive was a seagate momentus 5400.6 in a vantec cx enclosure. The powersupply for the pi was something similar to this but it has a micro-usb connector (I got a few from my work and they've proven to be solid power supplies for the pi).
|
# ¿ Dec 26, 2012 04:15 |
|
A small heatsink is an option but it isn't really needed, I got mine to 950mhz without additional voltage. You might want to go without a case though. I wouldn't bother overclocking in openelec unless you are having problems - from what I hear the pi is fine decoding most audio formats in software as long as the video is being decoded in hardware (this will likely be the case in files where the audio is difficult to decode).
|
# ¿ Dec 29, 2012 04:14 |
|
TVarmy posted:I find I can't fast-forward files. Is that just a limitation of the Pi? Ensure you set max res of youtube plugin to 720p, even with a solid internet connection and 950mhz overclock the pi just takes too long to start 1080p playback.
|
# ¿ Aug 6, 2013 00:02 |
|
Yeah probably RMA (unless using a different sdcard helps). The only time I have seen that happen is running 1ghz overclocks at stock volts, and even then, only on samples that overclock poorly (the "made in UK" ones in my experience).
|
# ¿ Dec 19, 2013 08:48 |
|
Just got a raspberry pi 2 - the CPU is faster but I have to say that for what I've tried so far it definately doesn't feel like as much of an upgrade as you'd think. The problem is that the the real performance bottlenecks are unchanged - everything is still on a single USB2 bus and the sdcard interface feels every bit as slow (no it's not my card - I'm using a sandisk extreme pro which has about as good random read/write as you can get). It being armv7 does open you up to more operating systems but then it's the closed source video driver that's in your way. If you want a snappy UI raspian still runs best (despite not being built for armv7) because it's been tweaked around the raspberry pi's shortcomings. It's probably a fair upgrade for anyone using openelec on it - not that it's any more capable of playing actual video (so don't bother if you are just playing files off network shares like me) but if you are using lots of plugins or trying to run torrents in background I could see the CPU making a difference. PBCrunch posted:I suspect that a really kick rear end Android port for Pi 2 will emerge long before anything like that happens. It would probably be not too difficult to get wifi going in android on the odroid - I've read about people using wifi dongles with their actual android phone to use things like aircrack-ng - that community is probably bigger than odroid's so maybe see how they did it. By the way, what's the video driver situation like with the odroid? Are you able to do things like watch youtube in a browser?
|
# ¿ Mar 5, 2015 07:22 |
|
PBCrunch posted:I should add that not only is the microSD location on the C1 bad for tinkering, it is very fiddly to insert cards, and the card is only held in by friction. The click-click mechanism on the newer Pi's is much better. Projects specifically targeted to it is a strong point for the pi, no doubt, thing is though that until the 2 came out a lot more work was needed to target it than it's armv7 competitors. Going forward I'm wondering if ensuring backward compatibility with the low end devices might hurt the better ones (they've already stated that they may not release an armv7 version of raspbian for rpi2). I haven't tried rasplex or openelec yet.
|
# ¿ Mar 6, 2015 01:58 |
|
wooger posted:Yuck, I standby my opinion that anyone using these boards for media players etc would be better off getting a little atom box / Intel stick, and having a full suite of drivers, software, acceleration etc. If you want a media player you'll be using something like openelec which is an entirely different story, and when running that I've only seen my raspberry pi b struggle with 60fps 1080p content (it kept things synced but dropped frames a bit, still did better than some dedicated set top boxes I've seen). When my htpc died over a year ago my raspberry pi took over its duties, and it was going to be temporary but it says a lot that it's still my htpc today (though for me that means "play videos off my network shares").
|
# ¿ Mar 7, 2015 00:53 |
|
On a rpi B I've successfully powered a 2.5" HDD and a wifi dongle without a hub, but I had to do the power bypass mod first: People criticise this mod because it "back-powers" the pi - effectively bypassing the filtering afforded by the cap at the power input, but I've never had a problem (and the same thing happens with a powered hub anyway). The 4 port B+ and B2 apparently have better USB power so there's a good chance it'd work without the mod. I will say though that my harddrive might be more efficient than most (I built it from an enclosure and laptop drive that I picked specifically for its low power consumption) it could actually run on an unmodified rpi B if you plugged it's y adapter cable into both the rpi's ports, and that doesn't seem to be common. PS: I've used a raspberry-pi for wifi mischief myself (aircrack-ng, freeradius-wpe, hostapd-karma, etc) and it works very well, and one of these works pretty good for powering the pi if you want to take things mobile: I don't know how long it'll last with a HDD but my 9000mah model could go for a few hours with 2 dongles connected (one for sniffing, and one which acted as an access point so I could connect my phone and control the pi using ssh).
|
# ¿ Mar 16, 2015 03:49 |
|
Phone charger is fine, something made for tablets (with 2amp or higher output) is best. You really don't need a case, I've never used one except for chucking it in a small container for transport. An 8gb card is fine, but 16gb might give you a bit more breathing room. The raspberry pi can't really use the high sequential speed of a very fast card but good random read/write helps a lot (which is something most sdcards aren't optimised for unfortunately). I've benchmarked random r/w on a bunch of cards myself and the sandisk extreme cards do well but are pricey. The Patriot LX cards do ok too as I recall and are much cheaper.
|
# ¿ Mar 17, 2015 23:49 |
|
Crack posted:I have a TP-Link TL-WN722N which is cheaper and I might double up on For booting multiple os from one sdcard this might work well for you (never tried it myself): http://www.berryterminal.com/doku.php/berryboot
|
# ¿ Mar 19, 2015 02:15 |
|
Gaz2k21 posted:... would I be better off getting a crossover network cable between the Pi and my main computer or just unplugging the hard drive and and connecting it to the main computer when i need to transfer files?
|
# ¿ Mar 19, 2015 23:14 |
|
Anecdotally - some sdcard's are more prone to corruption than others. I've got a few pi's of different types and have never had an issue with corruption even though I yank power all the time - I'm I using patriot EP's for the RPi-B's, and sandisk extreme pro's for the B+ and 2 (the latter was chosen because it has very good random read/write). However I've also set up a few for pi's for friends, where I've just used any old poo poo for the sdcard - a few of those have gone wrong, and it's these cards which seem particularly prone to loving themselves: I should note that most of these pi's are running openelec which doesn't use a swap file/partition and has most things mounted readonly. I do try to properly shut down the pi's running raspbian especially if they are running a gui.
|
# ¿ Jun 18, 2015 03:26 |
|
eschaton posted:Probably dastardly individuals (really their automated systems) trying to get access to the system through all possible combinations of passwords. I now run on 443 because I log in through my work proxy which only allows HTTP CONNECT to port 443, auth.log is now a lot less busy infact I've never seen an attempted ssh login. I do see a few "Bad protocol version identification" lines a day, usually indicating russian and chinese IP's trying to connect to it like its a https site. I also just saw a taiwan IP trying to connect to it like it's a http proxy (the error was Bad protocol version identification 'CONNECT vip163mx01.mxmail.netease.com:25 HTTP/1.0' which I think means they were trying to use me for email spam). Hadlock posted:Real world numbers I've seen for the Pi are about 1 megabit (slightly less than a T1, ok for remote desktop and general command line stuff but not much else), Pi2 will do upwards of 10 megabit [edit] I missed the fact you were using it for VPN, that would explain it, and yeah a Pi2 would make a difference because it's probably limited by how quickly the CPU can perform the encryption. Fuzz1111 fucked around with this message at 06:07 on Nov 12, 2015 |
# ¿ Nov 12, 2015 06:04 |
|
Police Automaton posted:E: Also routers don't run on magic, they're just computers too. Lots of routers actually have specs that make the Pi 2 look like a supercomputer. The only thing that really cripples the Pi 2 there is USB and no direct in-hardware support for some things.
|
# ¿ Nov 13, 2015 04:44 |
|
Paul MaudDib posted:99.9% of the time swapping isn't a problem but if you do it while the disk is full and it ends up being a lot of continuous, small, random swaps (ie your working set is really just too big for memory and you are heavily thrashing your pagefile) it could trigger enough write amplification that you could have a measurable amount of SSD wear. This is mostly just me being paranoid though. * My friend actually payed someone to try and fix the laptop before bringing it to me - they wanted to replace the (perfectly fine) 500gb harddrive based on that windows error, but crystal disk info showed the real culprit. I ended up replacing the msata drive with something big enough to be the system drive itself, with the hdd now being used as a storage drive - it goes much faster than that useless cache setup.
|
# ¿ Nov 21, 2015 01:33 |
|
You know, I'm actually a tad annoyed seeing the specs of the rpi3 today after having read this article go on and on about the CPU and how it would make it a "real desktop computer". The rpi2's CPU upgrade didn't make a whole lot of difference because CPU wasn't the bottleneck for much of anything you could do on the rpi1, so how is an even smaller performance jump supposed to change things? It still won't decode H265, run android, or play video in a browser window because they are too attached to the "open" GPU which isn't, and it won't be a useful fileserver, router or do much of anything requiring decent IO throughput because everything is still sitting on a single USB2 bus and it just doesn't cut it. I actually tried running a whole bunch of stuff on my rpi2 when I first got it (to see what it was capable of), and I will list the improvements that I noticed:
|
# ¿ Mar 1, 2016 10:05 |
|
fishmech posted:I was able to run an old Raspberry Pi (original model B) that way, but it had a bad habit of dropping USB connections which was a pain. When I switched to powering off a separate power supply, the USB unreliability went away. I'd say a lot of the USB problems people experience are down to the power supply they are using - like the guy above who has his pi reboot just from plugging a USB keyboard in - I've got several rpi B's, a B+ and a B2 and I've never had that happen with anything less than a wifi dongle (which would only trigger reboot occasionally - doing the power bypass mod fixed that and now it can power both wifi dongle and 2.5" USB HDD at same time).
|
# ¿ Mar 16, 2016 01:46 |
|
PBCrunch posted:I attempted to do exactly that with a TP-Link TL-WN722N..... The adapter uses the well-supported Atheros AR9271 chip. You can tell which models are affected based on whether tp-link offers different drivers for different iterations of the same model (the TL-WN722N you mentioned appears to have been spared for now). The Netgear EVAW111 used to be a real cheap ($9) way to get an atheros wifi adapter, because while it was sold as an optional wifi upgrade module for netgears wired media player, it was actually just a normal usb wifi adapter (one that probably had to be atheros to work with the presumably Linux powered media player).
|
# ¿ May 2, 2016 00:33 |
|
LochNessMonster posted:Another thing I'd love to give a shot some day is install some security camera's outside of my house and save the feeds on a disk Here's how you set up the Pi/BBB to do it:
For anyone wondering why the hell I used such a low powered device for this - it was so I could run camera's, Pi/BBB and switch from a very modest battery backup setup - a 12v 9ah SLA battery connected in parallel with a 3amp 13.4v power supply (the voltage needs to be between 13.4v and 13.8v to keep battery float charged, but 13.4v is still low enough that the 12v camera's and switch don't mind being connected directly, and the BBB is connected via the stepdown from a cheap USB car charger). The battery is capable of keeping things going without power for 8 hours - which is enough for my purposes - I just want to deter smartarses who switch the mains off before breaking in with cameras that are visibly still on and being accessed (I'm in australia and our electrical panels are outside).
|
# ¿ Aug 2, 2017 10:36 |
|
LochNessMonster posted:Awesome post, thanks for that! Time to start looking into it again, I did some side projects in the meanwhile. What kinda cams did you use for your project?
|
# ¿ Aug 9, 2017 09:41 |
|
xzzy posted:Unless you have remote control to its power source, yeah, watchdogs are great. Turns out it does have one, but thinking about it, the few times it's become inaccessible over SSH were caused by something I'd done breaking boot before SSH could launch (or before my script to open ports could run) where a watchdog wouldn't have helped me anyway. Infact I've just realised that in the ~3 years I've used it like this it's actually never locked up once, which is a lot better than my brief experience of using a rpi1B+ for the same task. So I guess if you wan't something more reliable than a raspberry pi, a BBB running arch-linux might be a good fit for you. They are a bit old at this point (and I wouldn't use one for anything video related because they can't even output 1080P), but ethernet is NOT on USB, and neither is the eMMC or sdcard storage (ethernet is only 100mBit but at-least you can max it out reliably, and without impacting it's bandwidth to it's own storage/USB). Power consumption is quite low too (I measured consumption of everything for power backup and BBB drew under 200mA via a 12-5v adapter). Hadlock posted:I recently found out that Synology makes all kinds of cool devices with ethernet and SATA port built right in...
|
# ¿ Aug 14, 2018 02:06 |
|
Varkk posted:You can install Kodi in Retropie. So in theory you would only need one device for media player and games.
|
# ¿ Sep 15, 2018 23:54 |
|
Rexxed posted:It's worthwhile to get either an official RPi power supply or just a good one that's recommended for the Pi... That warning is way too sensitive, I have a bunch of microUSB chargers I got from work (this emerson model but with micro USB connector) which have been rock solid for every raspberry PI I have used them with - I was even able use one to power a rpi1b with 2 USB-powered 2.5" hard drives attached (the rpi had the power bypass mod). Despite the chargers only outputting 2amp 5volt, I found they also worked fine with a rpi3 - until I tried replacing the microUSB male connector on one with a fullsize USB female socket (so I could insert any cable I like), the extra length added by the USB->microUSB cable was enough to make that warning start popping up (and I disabling it once I broke out the meter and found it never dropped below 4.98volt).
|
# ¿ Sep 19, 2018 02:11 |
|
Rexxed posted:It's really easy to have your SD card get corrupted if the Pi loses power unexpectedly. I had to setup retropie twice due to this and now just keep images of the important cards post-setup on my desktop PC just in case.
|
# ¿ Sep 24, 2018 23:15 |
|
Island Nation posted:I’ve been using diskpart in Windows to repair it for now. I put Lakka on a card in place of Retropie but I can’t work on it until Friday I should say that corruption hasn't been that much of an issue for me either, mostly its happened due to sdcard actually being yanked out (usually because of stupid unnecessary push-to-eject mechanism on rpi1B+ and rpi2) rather than loss of power.
|
# ¿ Sep 26, 2018 13:39 |
|
Newf posted:What I'm looking for is a router that I can attach my phone to via USB instead. This one has a USB port for a USB Modem - could that port be running to an Android device instead? One option for using a router, is to flash a 3rd party firmware onto it (like gargoyle) and set it up as a wireless client/repeater - that way the router connects to phone via wifi, and other devices connect to it via wifi. I actually set up an atheros based tp-link MR3020 this way for my father in law because he had a laptop that just refused to connect to his routers wifi (seemed to be some weird wifi incompatibility issue - it'd connect to anything else, and could connect to his own router using a USB wifi dongle, but not with inbuilt wifi), I should note a few things though:
A better option I think would be to use the rpi as the router itself, it should be dead easy to tether a rpi running raspbian to your phone via USB - it should just work actually (and you should test this before taking this idea further), if it does I can post more details about setting rpi up to do this.
|
# ¿ Oct 8, 2018 23:16 |
|
Newf posted:Posting now from the USB-tethered PI, which 'just worked'. A step in the right direction.
Hopefully you should see a new wifi access point called "HELLOHELLO", the password is "passwordhere" (to change these edit hostapd.conf file which came with script). Connecting to it should give you an IP in the 10.42.0.x range, and you should have internet access via the tethered phone. Actually the way I've written the script, the pi will use any available connection as uplink, so it will work just fine for someone wanting to use rpi's ethernet as uplink (infact if your pi has ethernet connection as well as tethered one, it will likely prefer using ethernet instead of tethered phone as uplink - let me know if this is a problem for you). I should note that the script stops networking service so if uplink connection is not made before running script (or dies after) this will cause problems - there's some lines commented out in the pirouter.sh script that might help for that. Let me know how you go.
|
# ¿ Oct 10, 2018 01:49 |
|
Oh that's right you're wanting to use pi-hole. Yeah my script uses dnsmasq for both dhcp and dns, while pi-hole just uses it for dns but can optionally enable dhcp too. Easiest way to fix this is to let pi-hole do both - comment out the lines in my script that have anything to do with dnsmasq (so the line that stops service, the line that kills process, and the line that starts it). Then enable the dhcp server in pi-hole's gui with following settings (has to be these ip's so my script will do actual routing bits successfully): Hopefully that works, but let me know if it doesn't and I'll go over doing this the other way (disabling only dns part of my script, but not dhcp). [edit] I recommend trying above first, but after looking at dnsmasq's options - it's actually kind of simple to do it the other way too: instead of commenting whole dnsmasq command line out just add "-port 0" to the end of it (apparently that's all that's needed to prevent it starting a dns server). You'll still have to remove the lines that stop the dnsmasq service and kill it because those will interfere with pi-hole's instance of dnsmasq - unfortunately this means my script can't be executed multiple times without cleaning up the instance of dnsmasq it leaves behind manually first (you'll have to use kill -9 and ensure you are killing the instance started by my script, not the instance started by pi-hole). Fuzz1111 fucked around with this message at 08:53 on Oct 15, 2018 |
# ¿ Oct 15, 2018 08:29 |
|
John Capslocke posted:It should be noted that, despite it's name, the pi-hole works on basically any debian-based distribution, and with a bit of work, probably any flavor of linux. The efficiency of pi-hole comes from the fact that there's actually not much to it at all:
The http server is optional because you can forego the web-interface entirely if you want (and issue commands to daemon via command line - eg: "pihole updateGravity"). It's also not necessary for ad's to be redirected to a valid http server - it's actually more efficient to just TCP-reset them with the following iptables rules (this assumes a lan subnet of 192.168.1.x): code:
|
# ¿ Oct 21, 2018 03:59 |
|
Regarding battery powered pi - I've run pi's off of portable USB powerbanks before, they seem to last a fair while (longer than using them to charge a phone) though I found some powerbanks put out much more stable voltage than others (a phone is a relatively constant load, a pi not so much). I never did this for long enough to worry about monitoring the charge level, but if you don't mind opening up the powerbank it'd probably be pretty easy to connect one of the pi's pins to either one of the charge indicator lights or direct to a lithium cell for monitoring voltage.
|
# ¿ Oct 28, 2018 02:05 |
|
thehustler posted:(stuff about powering HDD from raspberry pi) They had no problems powering anything I threw at them after doing that mod (including 2 portable HDD's at the same time).
|
# ¿ Jan 23, 2019 07:22 |
|
Well I just had quite an interesting time setting up my raspberry pi with arch linux - somehow when setting up the partitions and filesystems (which you do manually as there's no img file for arch linux) I managed to set permission flags on the root folder to 700 - meaning only root could access the filesystem at all. I didn't know root itself even had permissions (it makes sense though I guess) and it was a real prick because you don't really get to see the permission flags on it (not when it's mounted to / anyway, unless you use something like stat). It sure made for some interesting problems too because you could still login as root but anything that ran things as non-root users was broken (mostly networking stuff - which I actually mostly worked around before finding the problem because I wanted to remove all network-managers anyway, as they'd get in the way of what I'm using it for). What finally made me realise something was wrong was when I got to the point that I wanted to run as a normal user, and couldn't login because the user had no access to /bin/bash - still took ages to figure it out after that point (and google was no help because there's a lot of other ways to get that error).
|
# ¿ Feb 27, 2019 09:06 |
|
Inept posted:I thought it was more that hardware accelerated video decoding isn't possible in the browser right now. Steam Link works fine on my Pi 3, and it's streaming h264 1080p60 at 30mbps. doctorfrog posted:It might be a matter of extra scripting and things other than the stream that come along with opening a browser page in Twitch. If there's a way to isolate the Twitch stream and just play it through VLC or the browser, it might work better. Fuzz1111 fucked around with this message at 23:04 on Mar 3, 2019 |
# ¿ Mar 3, 2019 23:00 |
|
Klyith posted:Installing a root cert is what Diversion does, using the tiny pixelserv-tls webserver to send a 1-pixel image back to all ad requests. It speeds up page loads a ton on https sites because the browser isn't just sending blackholed requests over and over. code:
local port 80 traffic to that port, but when I compared browser performance I saw no meaningful difference to just doing a TCP reset. I do know that other types of responses (eg: just ignoring the packets entirely) definitely can slow things down because the browser keeps retrying connection, but TCP reset seemed to prevent that behaviour.
|
# ¿ Mar 24, 2019 23:33 |
|
Klyith posted:I'm not a networks person so I couldn't tell you why they did it like that [......] Maybe some ads served by javascript might start looping requests when they got a connection reset. (that is a guess completely pulled out of my rear end) It being there for anti-adblock is another possibility, though in practice I haven't had an issue with pi-hole even on sites that I know will detect and whinge about u-block (also, any anti-adblock scripts that can be triggered by failure to load the ad, would also trigger anytime that happened because of connectivity issues - browser adblock actually replaces content in the page so it's a lot easier to detect without false-positives). doctorfrog posted:I’d credit trying to get a Pi to do a thing with giving me some basic Linux training... For the guy with networking issues, I'd try "systemctl --all" and if any network related services are failing.
|
# ¿ Mar 28, 2019 02:43 |
|
|
# ¿ Apr 20, 2024 04:46 |
|
Amethyst posted:Is the pi 3b+ enough to make a little wifi router? Do I need any extra hardware? I recently set up a pi3b as a router of sorts - quite a bit more demanding though: it would redirect all internet-bound outgoing traffic through an SSH tunnel going through an http proxy, and to do this involved a combination of cntlm, desproxy, ssh, redsocks and a shitload of iptables rules. Despite the complexity I noticed that I could hit 100mbps in both directions and ping times through it were single digit too.
|
# ¿ May 3, 2019 10:22 |