Go to advanced search

by SonOfAMotherlessGoat
Wed Aug 03, 2016 1:26 am
Forum: Beginners
Topic: Disabling TTY Switching
Replies: 3
Views: 3100

Re: Disabling TTY Switching

Since Jessie is Systemd, things moved around a little bit. If you just want to turn off the TTY's take a look at the solutions given here: http://crunchbang.org/forums/viewtopic.php?id=39757
by SonOfAMotherlessGoat
Wed Aug 03, 2016 12:18 am
Forum: Python
Topic: Gammu for Python
Replies: 5
Views: 3486

Re: Gammu for Python

Gammu for Python 3 is only available in Sid or later https://packages.debian.org/search?keywords=python3-gammu So, you have to use Python's package manager `pip3` to try to install it, as you probably don't want to go researching apt-pinning. Select one of the two options that elParaguayo has posted...
by SonOfAMotherlessGoat
Tue Aug 02, 2016 11:40 pm
Forum: General discussion
Topic: php/html
Replies: 5
Views: 906

Re: php/html

Yes, we know, you've posted and deleted your posts 3 times now. Please stop, someone will answer your question when they get to it.
by SonOfAMotherlessGoat
Tue Aug 02, 2016 1:11 pm
Forum: General discussion
Topic: Please add .onion domain for Raspberrypi apt update!
Replies: 6
Views: 1169

Re: Please add .onion domain for Raspberrypi apt update!

You want security? Air gap your Pi.
by SonOfAMotherlessGoat
Tue Aug 02, 2016 12:14 pm
Forum: Python
Topic: Conversion of Datatypes from received values
Replies: 12
Views: 2446

Re: Conversion of Datatypes from received values

If you've been trying for weeks and you're still stuck then how about coding the RasPi side in C as well? There's no rule that says all RasPi has to be in Python, and you've already got some of the code ready from your Arduino. Unless this is a practice in writing Python for the experience of it?
by SonOfAMotherlessGoat
Tue Aug 02, 2016 11:52 am
Forum: Beginners
Topic: Raspberry Pi3 and streaming question
Replies: 3
Views: 772

Re: Raspberry Pi3 and streaming question

FLAC / ALAC 192khz 24 bit. Not really a Pi question though, may be why you received no answers.
by SonOfAMotherlessGoat
Tue Aug 02, 2016 3:45 am
Forum: General discussion
Topic: CEED Universe
Replies: 1
Views: 1703

Re: CEED Universe

Minecraft? There's a few MagPi's about Physical Computing and the Pi with Minecraft.
by SonOfAMotherlessGoat
Tue Aug 02, 2016 3:22 am
Forum: Troubleshooting
Topic: Cannot boot
Replies: 2
Views: 484

Re: Cannot boot

Which Raspbian image did you download, regular or lite?
by SonOfAMotherlessGoat
Mon Aug 01, 2016 6:09 pm
Forum: Off topic discussion
Topic: Picture on posts
Replies: 10
Views: 2713

Re: Picture on posts

Best way would be to post the picture on an image hosting site and then link the image with BBCode tags. Otherwise you can end up with a massive picture that blows everything away. Thought you were talking about an image upload into a post, not to an avatar image. Apologies.
by SonOfAMotherlessGoat
Mon Aug 01, 2016 3:29 pm
Forum: Troubleshooting
Topic: boot problem with RPI2
Replies: 6
Views: 813

Re: boot problem with RPI2

If you have multiple SD cards and they are all doing solid red/solid green then I'd venture to say the image that you are burning on to them is bad. Download a new image and rewrite the card with the new image.
by SonOfAMotherlessGoat
Mon Aug 01, 2016 3:21 pm
Forum: Beginners
Topic: Printing a config file
Replies: 8
Views: 1054

Re: Printing a config file

My suggestion would be to print it to PDF and then process it from there. Unless you have CUPS already installed and you have the printer connected to the Pi. But that may be a personal preference from myself, liking a PDF that I can manipulate or print. And nano will open any file you throw at it, ...
by SonOfAMotherlessGoat
Mon Aug 01, 2016 2:57 pm
Forum: Beginners
Topic: getting 2 email addresses on pi
Replies: 10
Views: 1332

Re: getting 2 email addresses on pi

Either access your accounts via webbrowser, or install IceDove.
by SonOfAMotherlessGoat
Mon Aug 01, 2016 1:40 pm
Forum: Beginners
Topic: Printing a config file
Replies: 8
Views: 1054

Re: Printing a config file

Printing in what way? Printing to file, to screen, to paper? And is the config file formatted in any kind of structured way? (JSON, XML, YAML, etc.)
by SonOfAMotherlessGoat
Mon Aug 01, 2016 1:34 pm
Forum: Python
Topic: Trouble with IF ELSE
Replies: 8
Views: 1575

Re: Trouble with IF ELSE

Try a `continue` or a `break` in your `if` clause after you negate the flag, as the last line of the `if` clause.
by SonOfAMotherlessGoat
Mon Aug 01, 2016 1:30 pm
Forum: Python
Topic: getting bytes out of Hex-String in python
Replies: 3
Views: 3234

Re: getting bytes out of Hex-String in python

Split your string on spaces, then follow the StackOverflow post on converting hex to bin. http://stackoverflow.com/questions/1425 ... -to-binary
by SonOfAMotherlessGoat
Mon Aug 01, 2016 2:48 am
Forum: Beginners
Topic: Automount (USB) question.
Replies: 15
Views: 2588

Re: Automount (USB) question.

viewtopic.php?p=495156#p477570

Try that, and substitute /dev/sda1 in for /dev/mmcblk01
by SonOfAMotherlessGoat
Mon Aug 01, 2016 12:06 am
Forum: Beginners
Topic: Automount (USB) question.
Replies: 15
Views: 2588

Re: Automount (USB) question.

You eject it before removing the drive. Just like you would in Windows. Otherwise you risk corrupting files and such. Automount does not have a converse function of Autoremove, getting into the habit of just fscking it to make the error message go away is a very bad habit to get into if you'd like t...
by SonOfAMotherlessGoat
Sun Jul 31, 2016 11:15 pm
Forum: Beginners
Topic: Automount (USB) question.
Replies: 15
Views: 2588

Re: Automount (USB) question.

BDMV is a path for Blu-Ray discs. It's trying to find the index file from a Blu-Ray rip and not locating it. Other than that the logs look exactly as they should. (Other than the fsck request from pulling out the drive before un-mounting it, but that's not a system issue.)
by SonOfAMotherlessGoat
Sun Jul 31, 2016 9:05 am
Forum: General discussion
Topic: 3G mobile internet web browsing?
Replies: 6
Views: 1179

Re: 3G mobile internet web browsing?

And here is a 3G USA version of the FONA. https://www.adafruit.com/product/3147
by SonOfAMotherlessGoat
Sun Jul 31, 2016 8:06 am
Forum: General discussion
Topic: 3G mobile internet web browsing?
Replies: 6
Views: 1179

Re: 3G mobile internet web browsing?

If you're going to BYOD with T-Mob then as long as the dongle that you are using is recognized by linux you shouldn't have any issues. Most dongles that i know of still respond to the AT command set and are serial devices. Your other options are to use a product from someone like AdaFruit that resel...
by SonOfAMotherlessGoat
Sat Jul 30, 2016 5:48 pm
Forum: Raspbian
Topic: rpi2 constant sd curruption
Replies: 11
Views: 1936

Re: rpi2 constant sd curruption

If you're trying to fsck the live filesystem, it won't work. If you're trying to fsck on another linuxen boxen, then take the time to rsync the data to a new card and retire the old one. (Or wipe the partition table and start over and hope the card doesn't bork out on you later.)
by SonOfAMotherlessGoat
Sat Jul 30, 2016 5:42 pm
Forum: Python
Topic: Extracting numbers from series of numbers
Replies: 5
Views: 1065

Re: Extracting numbers from series of numbers

Yep, split will do it. Returns a list. Only sticky thing may be with the integer conversion. May have to wrap it as a

Code: Select all

int(float(var))
by SonOfAMotherlessGoat
Sat Jul 30, 2016 5:30 pm
Forum: Python
Topic: Extracting numbers from series of numbers
Replies: 5
Views: 1065

Re: Extracting numbers from series of numbers

Do you need the leading zero's? You could split on the "," and then index the list to your variables, converting to int on the way.

Go to advanced search