Hi,
I need to make an SSL connection between 2 applications. On the server side I will use stunnel. On the client side I cannot use stunnel, the SSL connection must be made directly by the application.
I found some examples, but they don't work.
If you could give me the code to do the...
Hi,
I am working with a device driver.
When I close the device file I start the release procedure in the module.
The problem is that if the application that opened the device file makes a fork, I have 2 releases, since after the fork both the processes have the device file open.
When one of...
Hi,
I had a mysql server installed on a debian pc. Now the pc OS is corrupted and doesn't start correctly any more. I am still able to recover the files from the pc, but if I put the files on another mysql server it hangs.
I would like to know the procedure to transfer the db to another pc...
Hi,
I have an application that uses a fork and and the execv function to start an application.
The problem is that I don't want the child process to inherit the open files of the parent.
I found out that the child is able to access the files opened by the parent before the fork.
Is there a...
Hi,
I would like to make an application to write raw data to an SD card.
I found some freeware applications that lets you do this, but using them it is too easy to make a mistake and write on your hard disk instead of the SD card.
I don't need this application to use it myself, but to...
Hi,
I am working on an embedded linux.
I need to manage the clock myself and I don't want to have any daylight saving feature.
How can I set the timezone to do this?
Thanks in advance
Hi,
I'm not sure this is the right forum to post in...
I will have to configure an ftp server.
I would like to know if I will be able to configure it in a way that will let users upload files, but they should not be able to delete,rename, or overwrite the files they uploaded.
Using...
Hi,
I'm making a linux application that makes a lot of small writings on the serial port.
What I notice is that after 1 kB I have nonsense data transmitted, looks like I have an overflow on the output buffer.
I would like to know if there is a function that flushes the serial port, or if...
Hi,
Working in linux, I need to put some timers in a program I am making.
Actually I would like the timers to be independent from one another (as I could do in VisualC++ applications), so I would like to know if there is a better solution than using SIGALRM based functions (alarm...
Hi,
I have a linux pc connected to an embedded linux throught a serial connection (RS232).
I would like to configure the connection so that the embedded can download files, ping, etc...
So I think I should set up a ppp server on the pc , and a ppp client on the embedded. I don't need any...
Hi,
I made some C applications that use a statically linked library I made in C (libMy_lib.a).
Now I would like to know if it is possible to use that library in a C++ application.
I used a Makefile equal to the one I used in my C applications, by I got an error:
/tmp/ccGnH5yD.o(.text+0x46)...
Hi, I would like to make a program that chroots into a directory, gives up rights, and executes a program inside the chrooted directory. But it seems not to work.
My program is able to open the file to execute with an open() , but the execl gives the "no such file or directory error".
This is...
I installed debian from scratch. Everything is fine, except that I can't run any appliation that needs root access with gksu.
Here is the error I have:
@:/tmp$ gksu xterm
/usr/X11R6/bin/xauth: (argv):1: bad display name ":0" in "list" command
Xlib: connection to ":0.0" refused by server
Xlib...
Hi,
I would like to know how to create a DLL with some classes, and I would like to know how to use the classes in the DLL from another project (now I keep copying and pasting files from one project to another.......).
Do you know about any sample project I can donload from the web that shows...
Is there an operator that gives as a result a rounded division.
I mean that 100 / 6 must give 17
(using floats is 16.66666.... , using int gives 16)
Thanks in advance
Hi,
I have an hardware firewall that is able to send info by email. I need to specify an SMTP server, the address to send to, and the address "from".
How can I configure my linux server to have SMTP active, to accept the connection from the firewall (without login/password) and to send it to...
Hi,
I manage a LAN with windoz clients and a linux that is the gateway to internet, firewall , dhcp server and runs named.
I would like to update my dns inside my lan with dhcpd.
I saw some examples about this, but they all talk about a domain name (usually "example.com"....) . I don't have a...
Hi,
I installed a digital camera driver to take pictures from a digital camera. I removed the drivers, but I still have "My DSC-3 Camera" icon in the pc resources (C:\ , d:\ , ....).
How can I remove it?
thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.