Go to advanced search

by clix
Fri Jan 15, 2016 7:08 pm
Forum: Advanced users
Topic: Raspberry Pi Archiver
Replies: 4
Views: 1706

Raspberry Pi Archiver

Hi there, I have a Raspberry Pi 2B and as a long term use for it, I thought I could use it to archive many files and folders (~200GB) on a couple of external hard disks. This would take a couple of days on my main machine, but I would like to move this work (which tends to eat the CPU) to the Pi, wh...
by clix
Wed Dec 10, 2014 4:53 pm
Forum: Networking and servers
Topic: Home Internet and Away WiFi Point
Replies: 0
Views: 376

Home Internet and Away WiFi Point

Basically, I would like to setup the Pi to connect to my home network when it is within range and setup its own network point (so I can SSH) into it when it's not. Could anyone advise me on how to do this? I have a USB Ralink adapter and the home network is WPA2.
by clix
Fri Aug 29, 2014 1:20 pm
Forum: Advanced users
Topic: [Solved] Raspberry Pi USB Boot
Replies: 2
Views: 867

Re: [Solved] Raspberry Pi USB Boot

Solved. Needed update-rc.d to actually run it. Thanks for the suggestion Dougie, I'll try that out if I have time.
by clix
Thu Aug 28, 2014 2:06 pm
Forum: Advanced users
Topic: [Solved] Raspberry Pi USB Boot
Replies: 2
Views: 867

[Solved] Raspberry Pi USB Boot

Basically I have code in init.d to check at boottime that a certain memory pen is plugged in. Once I see that it works, I'll configure it to shutdown again if the pen is not detected. Unfortuantely it won't work. I have made it executable and tested it with bash usbboot start, when it works then, bu...
by clix
Tue Aug 26, 2014 9:43 pm
Forum: Python
Topic: [Solved] Goto Decorator
Replies: 10
Views: 1484

Re: Goto Decorator

paddyg wrote:One of the comments on your link points out that the goto as described isn't fully fledged as it won't allow jumps into nested loops
Missed that, thanks paddyg, that could be it. Thanks everyone, if I can't get goto to work I'll try to recode it with your suggestions.
Thanks again
Clix
by clix
Tue Aug 26, 2014 11:20 am
Forum: Python
Topic: [Solved] Goto Decorator
Replies: 10
Views: 1484

Re: Goto Decorator

Thanks for all the replies. Before I change the code a lot with the while loops and functions, any last clues on why the decorator isn't working and how I could get it to work? I'm running Python 2.7 and the decorator is pasted at the top of my code.
by clix
Mon Aug 25, 2014 1:44 pm
Forum: Python
Topic: [Solved] Goto Decorator
Replies: 10
Views: 1484

Re: Goto Decorator

Sorry, I forgot! Very basically, I'm trying to achieve something like this: 1) Pick a random number 2) If the number is 1 got back to step 1, otherwise multiply it by 3 3) If it is now divisible by 4, go back to step 1, if the number is 6 skip straight to end, else divide by... etc... Basically perf...
by clix
Mon Aug 25, 2014 11:53 am
Forum: Python
Topic: [Solved] Goto Decorator
Replies: 10
Views: 1484

[Solved] Goto Decorator

The goto decorator is a delicate subject, but basically I NEED it, or a very simple and easy workaround. I found this: http://code.activestate.com/recipes/576944-the-goto-decorator/ but am unsure on how to use it, and it hasn't worked so far, returning NameError: name 'label' is not defined to me us...
by clix
Thu Aug 21, 2014 5:06 pm
Forum: General discussion
Topic: [SOLVED] My Raspberry Pi is under attack!
Replies: 11
Views: 1765

Re: My Raspberry Pi is under attack!

Thanks guys. I've gone overkill now with a 4096-bit RSA key and no password authentication allowed while disallowing root and changing default ssh port. Should be quite safe now and I've had no more attacks since.
by clix
Thu Aug 21, 2014 1:01 pm
Forum: General discussion
Topic: [SOLVED] My Raspberry Pi is under attack!
Replies: 11
Views: 1765

Re: My Raspberry Pi is under attack!

Thanks, that was quick!
Installling fail2ban now but am unsure about using keys only and disabling root and stuff, could you give a guide link or something?
Thanks
by clix
Thu Aug 21, 2014 12:45 pm
Forum: General discussion
Topic: [SOLVED] My Raspberry Pi is under attack!
Replies: 11
Views: 1765

[SOLVED] My Raspberry Pi is under attack!

Title says it all. I set up ssh with port forwarding on my Pi and network, linked this with a no-ip domain and changed the account password so I can access it from anywhere. This was about a month ago but today I found how you can check the failed login history and now I'm worried. A quick IP lookup...
by clix
Thu Jul 24, 2014 9:10 pm
Forum: Python
Topic: [Solved] QuTiP
Replies: 5
Views: 1739

Re: [Solved] QuTiP

The package list is available on QuTiP's website (link above) in the documentation in the downloads section. It's step by step and I used the manual install but it requires extra steps/edits to get working. I downloaded the files from their Github and installed Numpy (which has some dependancies) fi...
by clix
Tue Jul 22, 2014 4:58 pm
Forum: Python
Topic: [Solved] QuTiP
Replies: 5
Views: 1739

Re: [Solved] QuTiP

It works! Running tests and most are passing. Nice to see the Pi simulating next-gen hardware. Might post up an image if anyone's interested, after I can make a new cleaner image. At the moment mine is around 6Gb but I might be able to squeeze it onto a 4Gb card.
by clix
Sun Jul 20, 2014 4:41 pm
Forum: Python
Topic: [Solved] QuTiP
Replies: 5
Views: 1739

Re: QuTiP

Got it installed, don't know what was wrong, but still facing Cython outdated errors and int32/64 errors, possibly unrelated. I will try to solve these before posting another reply. It might be due to incompatibility with the ARM architecture. If so, I may try to set up some form of QEMU.
by clix
Sat Jul 19, 2014 11:53 am
Forum: Python
Topic: [Solved] QuTiP
Replies: 5
Views: 1739

Re: QuTiP

Anyone? I don't need help with the quantum code (yet), if that's why no-one's replying, just advice on how to install the packages (they're listed in the documentation on the website downloads section). APT experts?
by clix
Tue Jul 15, 2014 9:45 pm
Forum: Python
Topic: [Solved] QuTiP
Replies: 5
Views: 1739

[Solved] QuTiP

I should start by mentioning that I'm a complete Linux noob. I have been given the chance to take part in a science fair competition and after playing around in Google's Quantum Computung Playground and looking into quantum mechanics theory, I decided that turning my Pi into a python-based quantum c...
by clix
Sun Jun 29, 2014 6:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Lucky Bag of LCD and LED Displays
Replies: 3
Views: 1713

Re: Lucky Bag of LCD and LED Displays

Thanks for your replies. I was just wondering if anyone had experience with these types of screen. I'll search a bit harder for datasheets (found links to foreign websites which might have something) and if I find anything I'll post back here.
by clix
Fri Jun 27, 2014 5:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Lucky Bag of LCD and LED Displays
Replies: 3
Views: 1713

Lucky Bag of LCD and LED Displays

Hi guys! A trip to Maplin resulted in a bargain, a couple of 7 segment displays (not pictured here), a few generic screens and the LCD from an oven for £3.99. http://i60.tinypic.com/2r7vyno.jpg http://i58.tinypic.com/2a82i3p.jpg http://i57.tinypic.com/1zn7o28.jpg http://i61.tinypic.com/2dj8ok5.jpg h...

Go to advanced search