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 strongm 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: *

  1. labnotes

    Net::Telnet output_log

    Thank you .. I have not used tcpdump before, it looks like it will give me what I am after. Again thank you
  2. labnotes

    Net::Telnet output_log

    Hello I am running perl and making telnet calls using the Net::Telnet module, overall Net::Telnet works great! One issue I am having is capturing what is coming back from some sites, when I do not know what to expect. Here is my telnet session set up: sub Telnet { #This function will...
  3. labnotes

    Adding multi-port serial cards on a slackware 12 server

    Thank you for your assistance. I am running the 2.6 kernel which by default only loaded 4 serial ports. I modified the kernel ".config" file that recompiled the kernel. Now I have all the serial ports I require working. Thank you again
  4. labnotes

    Adding multi-port serial cards on a slackware 12 server

    Looking at my system under /dev I have ttyS0 ==> ttyS3. These are symbolic link to /dev/tts/0 ==> 3. They are created by the system on boot up I guess from information in the /sys folder. I found references to them in /sys/class/tty/ttyS* which points to /sys/devices/pci0000:00/. I don't know...
  5. labnotes

    Adding multi-port serial cards on a slackware 12 server

    Thank you mrregan .. Looking at my system I need to create ttyS4, ttyS5 etc. I'll see if the inittab will do the trick
  6. labnotes

    Adding multi-port serial cards on a slackware 12 server

    The /etc/inittab has serial devices commented out, the devices are ttyS0 and ttyS1. Once I have the ports available they are used by terminal server program. The serial ports need to activated on bootup and stay available.
  7. labnotes

    Is there a Linux app something like Visual Basic?

    Good Afternoon I have found that PERL with CGI will probably do what you want. You will have to load modules. In my experience this would be just text base but perl works well and fast.
  8. labnotes

    Adding multi-port serial cards on a slackware 12 server

    Good Day I had a PC (server) running Redhat 7.3 with two 8 port serial cards installed. This PC ran for 7 years without a problem but finally failed. I am now trying to get an IBM NetVista PC to take it's place running Slackware12 but I can't figure out how to configure the serial port. Here's...
  9. labnotes

    net::telnet match statement

    Good morning I am working on a perl telnet script using module "net::telnet" and have multiple and different matches e.g: sub Telnet_Wait { my $timeout = shift; my ($before,$match) = (); ($before,$match) = $telnet->waitfor( timeout =>...
  10. labnotes

    Multiple ethernet connections on Slackware 10.0

    Good Day I have a server with 3 ethernet ports on it. ETH0 and ETH1 on the same subnet, eth2 is on a different subnet. When I have them all connected everything seems to work file. If I do ifconfig eth2 down I loose contact with the ip on eth2, when I do ifconfig eth2 up it's back on line. If...
  11. labnotes

    multiple nak strings

    Good Day!! I am creating a program to send and receive input from a telnet session in C/C++. I create the pipes, can send and receive and look for an "ack" string and "nak" string ok. Now I want to look for multiple naks strings coming in from the input pipe. Any suggestions ?? Here is my...
  12. labnotes

    Using C++ to work with Windows reg

    I am trying to look at the registry on a WINNT machine. I have the microsoft SDK loaded and am using it's lib and header files but can't seem to get the information I am expecting. Here's my simple code that I expect should provide the same response as from a dos prompt "reg query...
  13. labnotes

    using structires

    I corrected the problem I had an error in the header file.
  14. labnotes

    using structires

    I am working on a small program C++. I have information obtained in one function that will be used by many other functions. I am considering using a structure to store the information but I don't know how to share it between functions. here is an example: first the header file //...
  15. labnotes

    Using dev-C++ to query windows registry

    Good day I would like to write a C/C++ program to query and edit the registry on a windows NT and 2000 PC. There are functions to do this in windows platform SDK such as: LONG RegOpenCurrentUser( REGSAM samDesired, // access rights PHKEY phkResult // handle to open key ); The problem...
  16. labnotes

    ISO C++ forbids declaration of `CommandSetup' with no type

    Hi I am in the process of porting an 8 yr old program from a a Linux PC kernal 1.3.45 to a newer PC with RH 7.1. When I recompile the program I get the error "ISO C++ forbids declaration of `CommandSetup' with no type." I am not sure how to clear this problem, on the old compiler...
  17. labnotes

    crt0.o

    On a LINIX PC how do I create crt0.o? Thanks
  18. labnotes

    How to get the PID on WINNT & WIN2000

    You are correct sorry windows NT 4 Sp6. The "__leave" is part of the code on the MSDN web site.
  19. labnotes

    How to get the PID on WINNT & WIN2000

    Hi The above code doesn't work on a Win NT machine I tried using the EnumProcesses() function but I run into a road block with __leave and I don't understand the information I found on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndeepc/html/deep060399.asp. any ideas...
  20. labnotes

    Network or local drive

    When I access a drive using C or C++ on a windows machine can I determine if it is a local or network drive? If so how. Thanks and have a great day

Part and Inventory Search

Back
Top