11-09-2015
9 More Discussions You Might Find Interesting
1. Programming
I have a class with an integer pointer, which I have not initialized to NULL in the constructor. For example:
class myclass
{
private:
char * name;
int *site;
}
myclass:: myclass(....)
: name(NULL)
{
.....
}
other member function “delete “ the variable before... (2 Replies)
Discussion started by: sureshreddi_ps
2 Replies
2. Solaris
anyone know of a FREE logfile checker that they would recommend?
looking to scan thru syslog, sulog, messages, etc... looking for security type related entries., thanks,
brian (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
3. UNIX for Dummies Questions & Answers
Hello, I hope somebody can help me. I have a new scanner, that says this:
"EPSON Scan does not support the UNIX File System (UFS) for Mac OS X. You must install EPSON Scan on a disk or in a partition that does not use UFS."
I have UFS.. is there anything I can do? How do I create/find such a... (0 Replies)
Discussion started by: Hannako
0 Replies
4. Shell Programming and Scripting
Just started to create my own small content scanner that searches all the visible files on my server, but now I got stuck. It should be used to scan the files for phrases like in the following example.
What I tried is the following code:
#!/bin/bash
find /home/userid*/public_html/ -size... (18 Replies)
Discussion started by: medic
18 Replies
5. Programming
I have a batch programme which will load the Spreadsheet into database..
When the DISPLAY is set and X11 window server is running, there is no issue in reading the spreadsheet and loading into database without lauching UI.
But if the display is not set, then there is an issue... Any ideas... (3 Replies)
Discussion started by: shafi2all
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I just updated /etc/passwd so that my default shell is zsh. After I save and make a new connection I can echo $SHELL and see /usr/bin/zsh, but my prompt still looks like bash and some env var that I setup in my local .zshrc file are not set. If I type zsh, then my prompt changes and I have my... (7 Replies)
Discussion started by: yankee428
7 Replies
7. Linux
epson microfilm 500 scsi:
Is there any way to make this work under linux ? I'm using pclinuxos, it shows the machine in the device panel as sg2 and lists the machine , so Im guessing the kernel knows what it is, but I can't view it as a scanner or capture or input device . What catagory does... (4 Replies)
Discussion started by: tom1200
4 Replies
8. Red Hat
Hey guys..
What is the best tool that can be used on Linux for IP scanning tool that can bring ping status, hostname, and any other open service. I wish I can find a tool like "The Dude" from Mikrotik, but that works only under Windows.
Thanks (4 Replies)
Discussion started by: leo_ultra_leo
4 Replies
9. Hardware
Running Debian 8.5 on a Dell Laptop
I have an Epson V39 scanner. Simple scan cannot detect it.
Here is what I have:
root@server1:/home/server1# sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first... (2 Replies)
Discussion started by: Meow613
2 Replies
LEARN ABOUT DEBIAN
twinstar
TWINSTAR(8) User Contributed Perl Documentation TWINSTAR(8)
NAME
twinstar - Control the Twinstar feature of a Xorcom Astribank
SYNOPSIS
twinstar {status|jump|enable-wd|disable-wd|ports}
DESCRIPTION
twinstar is a tool to control the Twinstar (dual USB port) of a Xorcom Astribank. There is a single and mandatory argument which is the
command to run. That command operates on all the Astribanks connected to the system.
Technically all the commands are implemented using Dahdi::Xpp::Mpp which in turn uses astribank_tool. Thus using thus tool will require
root permissions or otherwise read/write permissions to the USB device.
The twinstar may be in watchdog mode, which means that it will jump to the remote host if it loses contact with the local host. This can
happen if the machine is powered down or hangs or even if the xpp drivers are unloaded. Which is why the standard twinstar scripts put the
Astribanks in twinstar mode on startup and remove it on normal shutdown.
An Astribank will only jump to the other host (either if asked explicitly or by the watchdog) only if there is a different Astribank
connected to the other port and running. Which is why all of this has no effect on systems that don't need this functionality.
The command are:
status
Shows the current status of all Astribanks. Note that it only shows Astribanks whose current active USB port is the one connected to this
computer.
Example output:
DEVICE PORT WATCHDOG POWER0 POWER1
usb:001/010 0 on yes yes
usb:001/011 0 on yes yes
For each Astribank on the system that has Twinstar support we get:
Device
The address of the device. This is the bus address, e.g. the address you see in lsusb / dahdi_hardware.
Port
The active USB port on the Astribank. This should be always '0' on the master and always 1 on the slave.
Watchdog
on if the watchdog is triggered in the Atribank or off otherwise.
Power0, Power1
Shows which ports of this Astribank are connected to a USB port of a running computer. This only shows whether or not the USB host
provides power.
ports
Shows the same 'Port' column of the status command.
jump
Command all the Astribanks to jump to the other port. This works regardless the watchdog mode is enabled or not. But requires that there is
power on the other port.
enable-wd
Enables watchdog mode.
disable-wd
Disables watchdog mode.
FILES
twinstar mostly uses astribank_tool which in turn mostly uses USB files under /dev/bus/usb .
perl v5.14.2 2010-07-28 TWINSTAR(8)