Go to advanced search

by topguy
Thu Mar 06, 2014 1:53 pm
Forum: Gaming
Topic: Super Mario War
Replies: 13
Views: 10005

Re: Super Mario War

Code: Select all

sudo apt-get install dos2unix
Second error is cause by wrong line endings in a bash-script. dos2unix fixes line-endings.
by topguy
Thu Mar 06, 2014 11:34 am
Forum: C/C++
Topic: visual c++
Replies: 4
Views: 2016

Re: visual c++

Do you want to design a GUI or just have a graphical IDE for development ?

A GUI design tool will depend on the GUI framework you will use.

QtCreator is what you need if you want to use Qt as GUI framework for example.
GTK has Glade, WxWindows has WxWidgets.
by topguy
Tue Mar 04, 2014 11:37 am
Forum: Other projects
Topic: RFID Programming
Replies: 5
Views: 2789

Re: RFID Programming

Some simple RFID-readers can be configured to only output the UID as a string (over serial (UART) or as a keyboard). The PN532 is not one of those readers, it is a little more complex but it is well supported by libnfc. Is this the device you have bought ? http://www.adafruit.com/products/364#Techni...
by topguy
Tue Mar 04, 2014 9:50 am
Forum: Beginners
Topic: [HELP!] Setting up a SFTP server accessible to the Internet
Replies: 7
Views: 17693

Re: [HELP!] Setting up a SFTP server accessible to the Inter

1. Are you sure that its "/home" and not "/home/pi" if you log in as "pi" ?
There should be some options in "/etc/ssh/sshd_config" related to sftp. The may not be there as standard so some googling might be necessary.

2. Can be tricky.....
by topguy
Mon Mar 03, 2014 3:50 pm
Forum: Beginners
Topic: [HELP!] Setting up a SFTP server accessible to the Internet
Replies: 7
Views: 17693

Re: [HELP!] Setting up a SFTP server accessible to the Inter

Does windows even support urls with sftp ?? Have you tried FileZilla or WinSCP ?

SFTP uses ssh so you need to port-forward port 22 in your router to the Pi.
by topguy
Mon Mar 03, 2014 3:44 pm
Forum: Beginners
Topic: Can't connect over TCP, but SSH works
Replies: 6
Views: 4045

Re: Can't connect over TCP, but SSH works

Is that netstat from when your server is running ? Because its not showing anything listening on 8800.

Have you tried to connect to the port from localhost with netcat ("nc") ? (or is it called "socat" in Raspbian ?)
by topguy
Fri Feb 28, 2014 4:18 pm
Forum: Raspberry Pi OS
Topic: command: migration?
Replies: 2
Views: 702

Re: command: migration?

You are saying that a program (process) called "migration" has 99% CPU ? My ubuntu has four "migration" processes. ps -ef | grep mig root 8 2 0 15:06 ? 00:00:01 [migration/0] root 14 2 0 15:06 ? 00:00:02 [migration/1] root 19 2 0 15:06 ? 00:00:01 [migration/2] root 24 2 0 15:06 ? 00:00:01 [migration...
by topguy
Fri Feb 28, 2014 4:06 pm
Forum: Beginners
Topic: XBMC prepacked card won't boot to bash prompt...
Replies: 16
Views: 3030

Re: XBMC prepacked card won't boot to bash prompt...

am I right in assuming you still need to shutdown and reboot each one or is there a facility to quick swap? You are right, you will need to reboot. An other way is to find a release of XBMC that can be installed on top of Raspbian, but those versions can have some performance issues compared to the...
by topguy
Fri Feb 28, 2014 3:40 pm
Forum: Beginners
Topic: XBMC prepacked card won't boot to bash prompt...
Replies: 16
Views: 3030

Re: XBMC prepacked card won't boot to bash prompt...

Is this some sort of dummy pack preventing access to the main guts of the thing?? Yes and no, the whole point of raspbmc/openelec is to have a small, simple and stable release of XBMC for the PI with minimal fuzz for the people installing it and with minimal chances for the same people breaking it....
by topguy
Fri Feb 28, 2014 11:24 am
Forum: Troubleshooting
Topic: Open webbrowser on pi through putty
Replies: 3
Views: 1169

Re: Open webbrowser on pi through putty

"wget" or "curl" would probably do the job if I understand you correctly.

wget just sends the request to the http-server and saves the page into a file. As long as its the request that triggers the music (and not some code in the html-page) then it should work.
by topguy
Fri Feb 28, 2014 11:19 am
Forum: General discussion
Topic: Is there a Web Interface to setup Wi-Fi?
Replies: 2
Views: 1331

Re: Is there a Web Interface to setup Wi-Fi?

I'm pretty sure the answer is "no". Raspbian doesnt have any web-services enabled as standard afaik.

And using a web-interface for network initialization seems illogical since it will be unavailable if you have no network.

You are better of using putty/ssh and the terminal.
by topguy
Fri Feb 28, 2014 10:02 am
Forum: Advanced users
Topic: RESTful Web Service
Replies: 6
Views: 19727

Re: RESTful Web Service

A simple tutorial http://rest.elkstein.org/2008/02/what-is-rest.html can probably explain it better than me.

If your friend has integrated Salesforce with other REST interfaces before he should probably give you a guideline on how the API could look.
by topguy
Thu Feb 27, 2014 12:35 pm
Forum: Advanced users
Topic: RESTful Web Service
Replies: 6
Views: 19727

Re: RESTful Web Service

I'm a little unsure what is client and what is server in your setup. Are you going to "poll" Salesforce via REST to detect a state change ( High Priority Support Caes present or not) ? (Then your friend has to specify the REST API so you can use it.) Or is the Salesforce going to use REST to trigger...
by topguy
Wed Feb 26, 2014 12:46 pm
Forum: Graphics, sound and multimedia
Topic: how to make a mp3 player using raspberry?
Replies: 1
Views: 1480

Re: how to make a mp3 player using raspberry?

You could look at the work done here:
http://www.raspberrypi.org/phpBB3/viewt ... 3&p=489257

There is probably more examples here on the forum if you search.
by topguy
Tue Feb 25, 2014 2:14 pm
Forum: General discussion
Topic: Raspberry Pi and acr122u NFC reader.
Replies: 33
Views: 44403

Re: Raspberry Pi and acr122u NFC reader.

Whats vague about "Step 1: Installing RFIDIOt" ?
by topguy
Thu Feb 20, 2014 12:29 pm
Forum: Beginners
Topic: (SOLVED)Connect pi to internet through ethernet cable
Replies: 12
Views: 58071

Re: Connect pi to internet through ethernet cable

You have to tell us more about the setup. How is your lap-top connected to the internet ? Is the Pi connected to the same router ? The output from the command "ifconfig" on the Pi is always useful for debugging such problems. There is a decent article about debuggin such problems here: http://www.tu...
by topguy
Wed Feb 19, 2014 3:37 pm
Forum: General programming discussion
Topic: Accelerated Framebuffer Webkit
Replies: 70
Views: 46644

Re: Accelerated Framebuffer Webkit

someone has managed it work qt5.2 with the example of topguy ?? You can checkout the webkit examples and compile them, that works for me. (using the same Makefile hack as before) https://qt.gitorious.org/qt/qtwebkit-examples/source/0a23233f9c074e107a783b9522341259ce0e567e: The examples has two brow...
by topguy
Mon Feb 17, 2014 9:54 am
Forum: C/C++
Topic: Stupid, rookie question
Replies: 4
Views: 1156

Re: Stupid, rookie question

Yes, you can do that with most languages on Linux.

There is a standard function called "system" ( http://linux.die.net/man/3/system or just write "man system" on the pi) that will allow you to run programs the same way as from commandline.
by topguy
Mon Feb 17, 2014 9:47 am
Forum: General programming discussion
Topic: Display Album Artwork + Music Frequency
Replies: 3
Views: 1001

Re: Display Album Artwork + Music Frequency

Why would you have a display on the side of your headphone ? so other people can see what you are listening to ?

Are the Raspberry Pi going to play the music also ? From where does it get the music files ?

Do you have the "display" or is that also something you need to get ?
by topguy
Mon Feb 17, 2014 9:30 am
Forum: Beginners
Topic: Code to SSH in & start VNC in one line?
Replies: 3
Views: 1264

Re: Code to SSH in & start VNC in one line?

If the Pi is configured to automatically start X and log-in on the terminal, you can use x11vnc (instead of vncserver) to connect to the existing X-session. vncserver creates a new X-session, different from the one running on the display, so what you see seems exactly like a X-session without window...
by topguy
Fri Feb 14, 2014 4:12 pm
Forum: General discussion
Topic: Other OS's on raspi?
Replies: 2
Views: 441

Re: Other OS's on raspi?

There is even an own Puppy sub-frum here: http://www.raspberrypi.org/phpBB3/viewforum.php?f=52

( under "Operating Systems" -> "Other" )
by topguy
Fri Feb 14, 2014 3:13 pm
Forum: General programming discussion
Topic: Accelerated Framebuffer Webkit
Replies: 70
Views: 46644

Re: Accelerated Framebuffer Webkit

darkladen wrote: Anyone can guide me ??
Lately has failed me anything qt5.2.

Code: Select all

I have: Linux rpiqt5 3.10.29+ #636 PREEMPT Sun Feb 9 19:58:58 GMT 2014 armv6l GNU/Linux
I hope someone can help me.
Thanks all.
Is this Raspbian ? I dont know this kernel, how is it built? How have you built Qt5.2 ?
by topguy
Thu Feb 13, 2014 7:58 pm
Forum: Off topic discussion
Topic: Easy/Hard Programming Tasks
Replies: 18
Views: 2586

Re: Easy/Hard Programming Tasks

Word !
by topguy
Wed Feb 12, 2014 12:03 pm
Forum: Networking and servers
Topic: View Raspberry Pi over a network with XBMC
Replies: 7
Views: 1469

Re: View Raspberry Pi over a network with XBMC

I am running XBMC on Raspbain. I was wanting to be able to watch movies of my laptop (Windows 7), and also be able to add movies to my Raspberry Pi over the network, instead of plugging in a USB or Hard Drive every time I want to update my library. What you really want is to have the Pi work as a N...
by topguy
Tue Feb 11, 2014 9:27 am
Forum: General programming discussion
Topic: Accelerated Framebuffer Webkit
Replies: 70
Views: 46644

Re: Accelerated Framebuffer Webkit

Hi guys, i have try to compile the "test.qml" example and I get the error "module "QtQuick" is not installed". I have installed qt5.2 from "twolife.be" and search in google, this error is a bug in qt5.2. Anyone know how I could fix this?? Thank you. You should at least verify that you have the foll...

Go to advanced search