I come from more of a programming background but have been giving the task of sending backup results from a linux box in an email to external email addresses, I have spent days looking trough google for info but cant seem to find anything simple, I have looked at postfix but because I don't understand networks, hosts, nameservers etc. What I need to do to allow mail get sent from the linux box to external mail address. I have outlook connected to an exchange server on windows and I can ping the linux box from my windows command so surely it cant be to much involved.
I'm trying to do a find /photos/* -type f -mtime +365 to find all my pictures that are over a year old, but I keep getting argument list too long. How can I view what all the results are, even if it just dumps it to a file that I have to open?
I can easily surf along to the URL [URL] and click the submit button which pokes script.php and everyone's happy. Automating this in iMacros or Selenium - no problem.
I want to automate this in a bash cron on the same server - preferably as a one-liner.
When we copy a sector to a file like using dd command, the data in the file is of which format? and of which type of conversion is nesessary to see the data in read able formate. i have tryed the ASCII conversion in dd command but still the data is in un-readable format. and also tell that if i access hard disk sector's data using c language program and copy data to a file then which type of conversion should i do ?
Just trying some programming with PHP. I need to write javascript code that contains some PHP code. The page extension is .php. I need to get the values from the HTML form text boxes in PHP variables without the click of submit button. I know there are these $_REQUEST, $_POST and $_GET functions that can do this. But they need a server hit for that. I need to somehow do it without hitting the server or hitting the server from javascript.
i'm trying to create simple form that will also upload only xml data. first, the user will need to upload an xml document only by clicking submit, the data will be posted to the server and the user will be redirected to uploader.php. This PHP file is going to process the form data and do all the work.
I have Ubuntu server 11.04 (LAMP, SAMBA) installed with the ubuntu-desktop interface (I am not yet experienced enough to run without it).My problem is I am trying to share the www directory through samba so I can edit the site, but no matter what I do I get errors when I try and access the directory form the other machine.I did add it to the smb.conf file, and it does show up fine on teh network, however, when I try and open or change the contents of the directory it says I am unauthorized.I tried:
Code: sudo chown <sambausername> /var/www even tried
Whenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.
i have custom programs written in Basis pro5. Standard output to a pdf virtual printer works fine. Using pdftk to overlay on to a form is hit or miss.... There are products out there like Unform that are just too expensive for my company. i have purchased another product from a company that prints the forms to the laser perfectly but i am incapable of capturing them and saving them as pdf's for archiving/emailing/faxing and i don't much care for this company.
How is it done?Right now its just getting written in a local text file(not /var/../.., not using syslog at all).and every day a new file is being created
So I am trying to learn a little about Cygwin and rsync. I'd like to rsync some data from a Windows machine to a Linux machine. I've got Cygwin installed but I can't figure out how to tell Cygwin were rsync will be pulling the data from; basically, how to set the directories that I want to be rsnyc'd. I've googled and googled but I can't seem to find the answer to this exact question.
I've got a strange problem with my Hauppauge card; I've just undertaken a clean install of Mythbuntu 10.04, and the built in Hauppauge remote for my Nova S2 HD card is intercepting remote signals from the number and direction keys and sending them as keypresses to the terminal - even when lirc isn't running.I didn't have this issue under 9.04 - but it seems that whatever is intercepting the IR signal is preventing LIRC from getting a look-in as it makes no difference whether lirc is running or not.I found this thread: URL... but the link to the explanation is dead and my attempts to blacklist lirc_i2c and gpio_keys have made no difference.
Because of my English skills I'll try to explain this subject as best I can, thank you for understanding. Fisrt of all, I am running some program on my slackware in background (using standard method - &). I need to make a script, which allows sending command to this process on my machine from another one. Furthermore this program have to be logged out (standard output f.e. ./myprogram > log.out.txt).It might be a separate Program A which runs my Program B but it cannot be screen, because it is not working like I'd like to and it cannot be java, because it's slow and working not the best so to speak
I am coding a http server which has to send the file(s) such as images, .avi files, .mpeg, that the client is going to request. I have been trying of sending files through sockets.
I have a question regarding Bluetooth with Bluedevil. Finally I got a connection working in one direction: sending files from my mobile (Google Nexus One with Android 2.3.3) to the computer. But I can not send files from my computer to the phone. I also tried to send files from my desktop to my Laptop and it fails. I also tried it the other way around: from Laptop to Desktop... fail.
What is it? Is it still a bug in Bluedevil and all I can do is wait? Or is there some package missing? The following packages (regarding bluetooth) are installed:
I am using centos 5, want to send a sets of binary data to other bluetooth device I know how to sent a file but dont know how to sent raw data. My case is like this I have a bluetooth device I need to send data to then after it process I need to get it back, I plan to do this all using terminal is that possible?
shed some light on what I am doing. I am wondering if I just havehings back to front.Server (MESH):Fedora 13Firewall ports open tcp 22(ssh), tcp 873(rsync)sshd service started
I would like to send a data using one thread and receive a data using other thread by using a same socket connection using USD sockets. The calls i am using for sending and receiving are send(), recv(). let me know is it possible to send and receive the data parallel (Full duplex communication)?
I want to send raw data to a usart port of my board connected to linux box. i know the command
echo "abcxyz" > /dev/<usb_dev_file_name>
would write the raw bits for characters abcxyz to the usb device but the problem is how do i know which device file to write to?there are so many in my /dev.
I'm working on testing some software, and I have a question. We have several files of binary data that we need to push through our application to test. It communicates via simple TCP sockets. Is there a way I can send this data to the socket from the command line? I tried doing something like this, but telnet never picked up the data.
I have a desklet that, occasionally after toying with network stuff, will tell me that large amounts of data are being sent/received. What's a good way to determine what processes are occupying these resources?!
I am trying to redirect connection to port 8980 to execute a telnet command to a local machine by issuing the following command : In Server 1 : socat TCP-LISTEN:8980,fork EXEC:/myscript,reuseaddr
My script contains #!/bin/bash telnet 192.168.20.12 //local Server 2
I am sending Binary data from the client to Server 2 via Server 1. So it happens that I have some characters in Hex translated to special characters in ASCII like open brackets or Commas etc.. and that closed the socket between the two machines.
I am writing a code in Python where a socket client changes data with the server. That works nice if the connection is up. However it is also supposed to work offline. So I need to be able to detect if the connection is up before sending data, but I was not able to do so. A summary of the code is like that:
if connected: data = "some data byte" try: socket.send(data) except: connected=False socket.close()
If I unplug the cable after the connection is ready then the socket sends data and does not detect the connection failure. What is amazing is that the client detects the connection failure just after the cable has been plugged again. Of course there is a loop in the code above and always that connected==False a new connection is made. How could the program detect the connection failure before sending data and then lead the code to an exception?
Since today morning we are getting this error, could not track down the cause
We are running : Postfix Amavist and Clam
70A6C45A1CE: to=<actualemailid@yahoo.com>, relay=none, delay=0, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once).