Hardware :: Send High Signal Or Low Through A Specific Pin?
Mar 30, 2010
If I wanted to control a small circuit, how would I send a +5 voltage signal to a specific pin, either it be a parallel port, com port, or maybe a specific pin on a ide (or floppy pin's) wire? My distro of choice would be debian.
View 1 Replies
ADVERTISEMENT
Sep 20, 2010
I got to establish an OpenVPN connection between two server and I have dhcpd on the client server which feeds a few SIP phones. All these phones are supposed to the register server through the tunnel.Here is the network structure:
Client CentOS:
eth0: 192.168.0.0/24
eth1:192.168.100.0/24
tun0:172.15.0.0/24
DHCPD: feeding above eth1 and all the phones with 192.168.100.0/24
If I ping 172.15.0.1 from the the Client CentOS it works all fine. Everything pings and I can even do SSH. However, the phones which obtain their ip through eth1 on the same server can not reach the 172.15.0.1. I think it's a route issue here. Can you please guide me to the right direction as to how to forward certain traffic through tun0 and leave the rest of the traffic to go through eth0?
I don't want to turn on IPTABLES as this is time consuming for me now and there is VPN setup. It has to do with setting up the routing but I am not sure.
View 4 Replies
View Related
Jun 9, 2011
I use a server with 3 nics,
eth0 192.168.2.100 (internal Web, Mail)
eth1 192.168.3.100 (Default Gateway nic for clients)
eth2 192.168.3.110 (should be default Gateway for all outgoing traffic not belonging to 192.168.2.100 and 192.168.3.100)
They are all on the same machine
i cannot set eth1 or eth2 as default gateway, as outside requests to eth0 would be handled in a false manner (somehow)
is there an easy iptables-rule to say, that outgoing traffic, not belonging to my networks can be redirected to a specific NIC (eth2)?
View 3 Replies
View Related
Jul 15, 2010
I have installed the package mailutils by following command:
sudo apt-get install mailutils
Now I want to send mail using the following format:
$mail <username>@gmail.com
I am doing the normal procedures but the mail is not sent.
View 1 Replies
View Related
Jun 8, 2010
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies
View Related
Jul 24, 2010
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
View 5 Replies
View Related
Jun 9, 2010
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies
View Related
Dec 2, 2010
for example
else {
for fileDOC in $location/*.doc
do
[code]...
View 12 Replies
View Related
Oct 1, 2009
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
View 6 Replies
View Related
Jul 19, 2010
I want to replace specific character in a file after every specific line. example as follows.
O 000000000000000000
A 111111111111111111
C 222222222222222222
[code]...
View 2 Replies
View Related
Jul 1, 2009
I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log
src blacklist {
ip 10.0.0.5
}
[code]...
View 1 Replies
View Related
Aug 17, 2011
I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.
I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.
View 14 Replies
View Related
Jan 20, 2011
in the middle of script, i need to send the output of (send command on line 8) to a file
#!/usr/bin/expect
spawn telnet 172.20.64.133
expect "ENTER USERNAM <"
[cod]....
i treid the below on line 8 :
1- send "show command;
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
View 2 Replies
View Related
Apr 8, 2010
How long normaly keep the mail server send mails on the outbox queue and try to send? What about hotmail, gmx and gmail mail server?
View 1 Replies
View Related
May 18, 2010
I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.
View 12 Replies
View Related
Jul 19, 2011
I am running 10.10 on a netbook (1.6Ghz Atom N270, 2GB RAM). Because it has limited resources, I am currently testing to see which apps I want to use.
Which should take more priority -- an application that uses less RAM or an application that uses less CPU?
View 2 Replies
View Related
Mar 25, 2011
I am using a Hauppauge HVR-950Q and have the device installed and setup in Linux. I cannot however watch over-the-air broadcasts. If I reboot to Windows, I can watch tv (about 15 - 20 stations).I am using tvtime and get 'No Signal'.The device node /dev/video0 is created, what else am I missing?
View 1 Replies
View Related
Jan 16, 2010
When I start Ubuntu, the Ubuntu logo appears, then the screen goes black and "No Signal" appears on the monitor screen.
Earlier today, I installed a new processor, a dual-channel AMD from a single channel AMD. I decided to put the entire computer into a new case since I was dismantling everything. I have two hard drives: one for Ubuntu and one for Windows XP.
When I started it up, I got errors 13 and 17. I went into the BIOS and changed the disk order. Now Grub appears and I can get into Windows, but I cannot get into Ubuntu.
View 7 Replies
View Related
Apr 13, 2010
About 50% of the time when I boot my 64 bit Ubuntu 9.10 machine, while Ubuntu is loading, my screen will go black and my monitor tells me it is receiving no signal. From here, I have about a 20% chance of getting signal back if I pound my keyboard to death or turn my monitor off/on multiple times.
View 2 Replies
View Related
Jan 3, 2011
Ok, first off I installed the disc after having to holed select for the language to come up then selected the nomodeset option before installing, then I installed, restarted and got no signal. After that I tried to edit the grub like a thread said by changing splash or whatever to nomodeset and it won't allow me to edit.
View 2 Replies
View Related
Aug 16, 2011
I've read in multiple places that to signal the end of file in the bash command shell is Ctrl-d, but this does nothing at all for me. here is my code:
[Code].....
View 2 Replies
View Related
Feb 15, 2011
I have been trying unsuccessfully to load Debian on my desktop. I have tried both live and otherwise. Both AMD64 and i386. It seems to be loading fine and then all of a sudden the monitor quits with a sign Input signal out of range. I have tried lots of other live disks and they have worked fine. My monitor is a Hanns G and my video card is NVIDIA GeForce8200. All other stuff very normal. 4 Gigs of RAM. What?
View 4 Replies
View Related
Aug 31, 2011
[URL]X.org gives me a no signal error message on my screen.(I did move to a new motherboard/integrated graphic card when the old one crashed)
View 3 Replies
View Related
Mar 29, 2010
I recently installed Fedora 12 -- a brand new install, not an upgrade. The system was previously using Fedora 11 without any problems. Fedora 12 installed without any issues, and I haven't really done any customization to it. I am running KDE. The system is hooked up a KVM switch.
When I am on system #2 (a Windows system) and I switch back to system #1 (Fedora) after a few minutes of time, the Fedora screen will be blank and the monitor will present an "input signal out of range" error. I can SSH into the box and kill X to get the screen back. This has not happened on this system with any previous versions of Fedora that had been running on it (everything since Fedora 7).
View 3 Replies
View Related
Oct 3, 2010
I connect my HP nx6325 to my TV set and press fn+F4, no signal output to TV. Did someone know how to fix this problem. My OS is OpenSuse Linux 11.1.
View 1 Replies
View Related
Mar 19, 2011
I use my old computer as an NAS, so I remove the monitor after I installed linux on it (disconnect vga cable). I use ssh to control the machine and it works fine. Until some day, after kernel/softare upgrade or messing up some configs, I cannot connect to it through ssh, then I have to plug the monitor back, but the monitor says "No input signal". So I have to restart the computer WITH the monitor connected, and the monitor's back!
I think the computer/linux kernel doesn't detect the monitor plug-in event. So how can I start my linux box without a monitor, but when it goes wrong I can still plug my monitor (vga) back and use the console.
Edit: just one pci-e video card, has dvi, vga, tv/out (s-video)
Edit2: Xorg is not running. I just need the console (CTRL+ALT+F1). The problem is, if the machine booted without a monitor connected, it won't give me a pseudo terminal after I attach the vga cable while it's running. Clearly the monitor is not auto detected as usb device. I'm wondering how to let the monitor auto detected.
View 2 Replies
View Related
Jan 15, 2010
I was running windows vista 32 bit (NOW UBUNTU 9.10) on my custom built pc with a TP-LINK TL-WN353GD wireless pci card, before on vista my wifi signal strength would be in the low 70% range with a speed of 54 Mbps from a access point roughly 250 yards away, now with ubuntu 9.10 signal strength in the 15-20% range with a speed of 1 Mbps. My question is, what is the best way to overcome this wifi signal strength and speed problem, it is a noticable performance disadvatange easily seen on a website like ..... where as before videos would play 95% of the time without having to stop and catch up, would a different wireless pci card be a better choice than what I have, or is the problem in the software as in a driver incompatability or lack of correct driver, not sure how to remedy the problem.
View 4 Replies
View Related
Apr 23, 2010
in my work computer i put ubuntu, i had to install the version8.4 then i had to upgrade one by one to 9.10 because the computer was not able to detect it via a usb live instalation. in my wlan signal when i had 8.4 it had the 4 stripes that mean the signal was like 90% but every time i upgraded the signal became weaker, and now that i upgraded to 9.10 the signal is 14% it takes forever to DL the updates and aplications. and the connection is 2mbps
i have a really old laptop a toshiba sa30-3-3 with 512 in ram and a pentium 4 a3.06ghz.
does anybody have an idea of whats going on and how to get ti fixed.
View 2 Replies
View Related
Jun 22, 2010
I have installed Lucid on my G4 Cube and it works fine except that I only get a video signal on the VGA connector. I would like to use my 15" Apple Studio LCD, but cannot get a signal on the ADC connector. If I boot the the original OS 9 CD, it works, so I don't think it is a hardware problem. I have tried creating an xorg.conf file with many different setting - still no signal to the LCD.
View 5 Replies
View Related
Jan 9, 2011
I installed 10.04 1st by making a partition with bootcamp on MacOSX.Then I formatted the partition according to Ubuntu's instructions. I didn't install rEFIt, because I prefer to just hit the alt (option) key.I made the necessary adjustments according to URL...Community Ubuntu Documentation - and everything seemed to be working fine.I upgraded to Maverick and everything seemed to be working fine aswell.But then I noticed, that the wireless signal keeps failing and I'm asked to put the password again and again..
I don't think this is due to the upgrade from 10.04 to 10.10, but I just noticed it recently, maybe because of the air humidity, the signal was stronger a few days a go.. don't know!!Is there anything I can do?Perhaps install a new driver, or another wificlient, like Wifi-Radar??
View 6 Replies
View Related