Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: scienzia
  • Content: Threads
  • Order by date
  1. scienzia

    ssl connection

    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...
  2. scienzia

    fork leads to double release of device

    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...
  3. scienzia

    Recovery from files

    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...
  4. scienzia

    close all file descriptors using fork

    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...
  5. scienzia

    SD card raw writing

    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...
  6. scienzia

    disable daylight saving

    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
  7. scienzia

    FTP server permissions questions

    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...
  8. scienzia

    Serial port overflow

    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...
  9. scienzia

    Timers in linux

    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...
  10. scienzia

    simple ppp howto

    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...
  11. scienzia

    using .a libraries in c++

    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)...
  12. scienzia

    chroot + execl

    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...
  13. scienzia

    scandir - distinguish files and dirs

    I use scandir to parse a directory's content. How can I distinguish the files and the directories in the dirent structs? Thanks in advance
  14. scienzia

    inverted text on tty

    Hi, I have a simple question: is it possible to write in a tty some text inverted as if it was highlighted? Thanks in advance
  15. scienzia

    gksu problem

    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...
  16. scienzia

    DLL howto

    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...
  17. scienzia

    Rounded division

    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
  18. scienzia

    SMTP server

    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...
  19. scienzia

    DNS and DHCP

    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...
  20. scienzia

    Remove "My DSC-3 Camera"

    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

Part and Inventory Search

Back
Top