General :: Automated Telnet For Testing Servers

Aug 20, 2009

So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`

This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`

The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit

View 4 Replies


ADVERTISEMENT

Programming :: Toolkits To Do Automated GUI Testing?

May 13, 2010

I am involved in a project where some regression tests are to be automated. Could you please tell me what are the testing tools that are available for doing automated GUI testing in Linux?

View 2 Replies View Related

Networking :: Automated Way Of Loging Into Servers By Netbios Name Instead Of Ip's

Sep 18, 2010

In recent days, (today is September 18, 2010) I've been surfing the web trying to learn how to access nodes in my soho lan by netbios names instead of having to connect through the ip number, because ip's change every time according to DHCP assignments. I do not know what has happened to the "new" command mount.cifs, but things seem to have become a bit more complicated with the new version. Security problems, they say, and surely that's the reason.

I show here an automated way of loging into servers by netbios name instead of having to resort to the use of IP numbers, hosts files, wins servers and all that jazz. This is especially useful if your soho lan have five or more network nodes, and you do not want to go finding out the ip numbers assigned to the machines you want to connect to (temporarily or permanently).

This output is piped to gawk to isolate the line containing <00>, and gawk outputs the first element (print $1) of that line, which happens to be the ip of the server ServerName. I tested the script in my soho network, which now has Linux, Windows XP and Windows 7 nodes, and it worked perfectly for both tipes of servers.I'm using GNU's gawk, but I'm pretty sure that awk would do the job just as well.

View 1 Replies View Related

Ubuntu Servers :: BEST 10.04lts Desktop Automated Deployment

Aug 25, 2010

vote on the best automated deployment for 10.04 lts desktop! have 50units identical pc's, one pdc (openldap, bind, dhcp) and one fs (nfs server). thinking of installing just one pc with all the updates, program addons and stuff, then thinking of: disk image the disk and copy to the rest of the 49units and just edit the host name and activate the etho by sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old would this be ok? i mean there will be no problem if users authenticate an stuff?

View 7 Replies View Related

Ubuntu Servers :: Stop Responding: Goes Into An Automated Scanning Mode

Jul 14, 2010

I just installed ubuntu as a learning tool. It was going fine until the next day after the install. This happened on two reinstall of ubuntu server 10.4. All was installed was lamp, squid, privoxy, tor, shorewall, and phpmyadmin. I have added 3 websites to the server.

Today, I noticed my internet stopped responding on my other pc which is linked to my server for internet access( privoxy). When I turned on the server, I noticed the screen was purging out random lines. I don't know what they mean, but it was a never ending series of lines filling the whole screen. To stop it, I ctrl+c. Some of these lines read usb, keyboard, mouse, etc. I am guessing the system went hay-wired.

When I reboot the machine, it did it again. This time I don't have the cmd prompt. I didn't know another other way to properly shutdown so I just cold reboot the machine. The next time it booted up, all seems normal like it always have been. My sites, internet is working.

I probably didn't provide enough info to diagnose this behavior. As mentioned before, it happened the first time I installed the server and it is happening again with the same applications installed.

Edited: It happened again. Some of the lines I could make out are these.

Code:
Bug: unable to handle kernal NULL pointer deference
Kernal panic-not syncing: Attempted to kill the idle task!
Error panic occured: Switching back to text console.
The server froze at this point.

View 1 Replies View Related

Ubuntu Servers :: Can't Bypass ISCSI Prompt During Automated Installation?

Sep 28, 2010

I'm trying to jump Ubuntu Server 10.04.1 x86_64 on an HP DL360 G5. After loading the modules for install, I'm greeted with an iSCSI prompt that cannot be bypassed. Hitting Finish brings me right back to the same iSCSI prompt.The issue seems to be identical to y kickseed file is as follows:

Code:
#platform=x86, AMD64, or Intel EM64T
# System authorization information

[code]....

View 4 Replies View Related

Ubuntu Servers :: Fully Automated Network - Host Name Configure And DNS Register In The First Boot

Jul 29, 2011

My organization is running a VMware vSphere based platform. On top of that we have a Sun Gridengine cluster consists of a number of ubuntu VMs.At the moment, we deploy new cluster nodes from the VM template. Although it already saves us lots of time, we still need to configure the network, host name, register DNS record manually.In a near future, we will need to add 100+ more hosts to the cluster. So we are seeking a automated deployment so that a VM does the following during its first boot:

1)configure the network for the correct IP with DHCP or manual.

2)request a designate host name (maybe from a pre-defined datasource?) and configure host name.

3)register itself to our DNS servers.

We don't really have experiences for running big cluster. So welcome to share your opinions and experiences.Specially I'd very keen to find out if there is any well-proven solution right there or I will need to implement from the scratch.

View 7 Replies View Related

Ubuntu Servers :: Telnet Localhost 110 Says Trying ::1?

Aug 14, 2010

I am trying to set up postfix on my ubuntu server.When I try to login to the pop accounts through telnet

Code:
user@ubuntu1:/$ telnet localhost 110
Trying ::1...

[code]....

View 3 Replies View Related

Ubuntu Servers :: Telnet Service Not Running?

Aug 27, 2010

I have telnet service intalled(apt-get install telnetd), but when I type telnet, I'm getting the following error:

bash: /usr/bin/telnet: No such file or directory

View 9 Replies View Related

Ubuntu Servers :: Can Connect Via Squirrelmail And Telnet But Not Through Mail

Apr 11, 2010

I setup my mail system on a clean install of Postfix and Dovecot from URl...on the:URL... part everything checks out yet when i input the details into Apple Mail it tells me That it Can't connect.I can Connect via Squirrelmail and telnet but not through mail.also my /var/log/mail.log s not recording anything and my mail.log.1 only goes up to april 6

View 2 Replies View Related

Ubuntu Servers :: Telnet After Upgrade - Receive Error

Oct 7, 2010

We have a sever on which we made an upgrade from Ubuntu 8.04 to Ubuntu 10.04

We use telnet to access from one local machine to another in our local LAN, but after the upgrade, when we try to connect to our server from a client on LAN we receive the following error:

Is there any known issue about problems in telnetd and Ubuntu 10.04?

View 1 Replies View Related

Networking :: Difference Between Krb5-telnet And Ekrb5-telnet

Feb 18, 2010

I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)

View 1 Replies View Related

Fedora Servers :: Allow Users To Connect To Virtual Server Using Telnet?

Mar 9, 2010

I've a Windows 7 host OS and I've installed Fedora 11 as a Virtual OS using Virtualbox.I want a friend of mine to connect to my Fedora server using telnet from internet. What I would like to know is how do i configure my Virtualbox to allow my friend to connect to my server. Also, is there any setting I need to change in Fedora to allow this?

View 9 Replies View Related

Fedora Servers :: Able To Telnet To The Server Via A Remote Connection \ Will Not Accept Mail?

Feb 18, 2009

I am able to telnet to the server via a remote connection, but for some reason, it will not accept mail. ere is the bounce back email I am getting.Quote:This is the mail system at host smtp.mydomain.net.I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmaster.If you do so, please include this problem report. You candelete your own text from the attached returned message.The mail system

<root@mydomain.net>: temporary failure. Command output: pipe: fatal: pipe_command:
execvp /usr/bin/perlbin/vendor/spamc: No such file or directory
Reporting-MTA: dns; smtp.mydomain.net

[code]....

View 11 Replies View Related

Networking :: Failed Http And Telnet Connections To Dns Round Robin Servers

Dec 2, 2008

So we have DNS round robin set up for 4 servers. If we ping dns name (basically an alias) server_connect it resolves with different IP address in round robin format. I.E. x.x.x.1 x.x.x.2 for the 4 different server IP addresses. When we do nslookup server_connect it will come back first time as server1_connect server2_connect through server4_connect so the server is able to resolve through ping and nslookup resolving the initial dns name (alias) to the dns name associated in the round robin. Problem is when we try to connect with http or telnet it comes back host unrecognized. I can put one of the 4 round robin servers in /etc/hosts and it connects fine so I'm thinking that either one of three things.
1) ttl
2) It does double connection first to identify itself to the round robin server and then handshake but second time it hits for the handshake the IP and dns name is different than what it expected so it fails.
3) Since we are trying to telnet to dns alias and it is returning different dns name it fails.

2 and 3 seem most promising but now I'm at a stand still.Anyone else come across this issue and if so how did you resolve.

View 1 Replies View Related

Ubuntu Servers :: Testing Website - How To Hide PHP Code And Files

Mar 12, 2010

I have just set up my web server for the first time in Linux (used to be Windows 2003). I have a web site [URL], could someone with experience please check this web site to see if the PHP files are hidden (and therefor my PHP code can't be seen). If they can be seen then how do I hide the PHP files?

View 6 Replies View Related

General :: Automated Installation With Perl?

May 21, 2011

I am making some scripts to automaticly install linux-software.gcc,kernel,binutils, etc.) I have made a command to extract the packages, but how can I check if I can re-use my already extracted source-archives?

View 3 Replies View Related

General :: Automated User Loggin?

Feb 6, 2010

how to automate user's loggin ?can we do something like the user get automatically looged in without displaying the welcome screen..?

View 6 Replies View Related

General :: Create An Automated Shell Script?

Sep 16, 2010

I am a complete newbie to linux. I am currently taking a course at Devry university called netw240. I am in my 2nd week of class and am required to turn in a paper at the end of the coures were I write an automated shell script. I am currently using Fedora 12 on a Vmware player and want to try to write a script that automates the process of Logging user login activity to detect unauthorized remote access attempts.I am looking for pointers on were to start, examples, ect.. anything that can get me started. Also, is this type of script to much for a beginner?

View 11 Replies View Related

General :: Disable Automated Updates (and Notifications) In Kde Debian

Apr 6, 2011

I am using Kde 4.5 in Debian and I get some notifications after start that I need to update something. How can I disable it (I often don't want to waste bandwidth for such things)? I am using Debian Wheezy and Kde 4.5

View 1 Replies View Related

General :: Fully Automated From Boot To Loading File?

Nov 18, 2009

While I have been using Linux for many years (Slackware), I have found myself facing a special need that I can't quite figure out.I work at a club where I use iMovie on my Mac to create a DVD that plays on all of our TV's displaying our upcoming lineup of bands.In order to save on DVD's, I would like to create a very small form factor PC running Linux with the following requirements: the computer must boot into Linux and log itself in, the computer will boot up with a thumb drive attached containing a movie file of the most Linux compatible video format. After booting up and logging itself in, the video on the thumb drive must start playing automatically in full screen mode and in a continuos loop.So the whole thing needs to be automated from boot to playing movie; only the power button should ever need to be touched.

View 3 Replies View Related

General :: Automated Printing From PHP/MySQL Web Form Information?

Mar 22, 2011

I am learning PHP to take information submitted in a web-form and store it in a MySQL database, but I also need it to automatically print to the laser printer I have setup. So that a notice or printout is produced of the information.

My question is... what route do I go to automate printing from web-based information in a PHP/MySQL database?

Is it PERL ? or does PHP have a feature to do this?

View 2 Replies View Related

General :: Automated Remote Installs Of Ubuntu Using Kickstart?

Apr 18, 2010

I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.

How do I create the boot CD (or USB)?

How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?

View 4 Replies View Related

General :: Ubuntu Server 10.4.1 Automated Full Backup?

Sep 27, 2010

This is my first post and I am a linux newbie.. took on the challenge of setting up an ubuntu server with proxy and firewall with vpn access as well.. sounds good? While messing with things, I installed ebox server, know called Zentyal and perform backups, however, when performing a full restore, following instructions and all it does not restore correctly. I ran many attempts with verious configurations and still allways got some errors, such as eboc-ebackup failing to start, etc. most noteably wa sthe ldap error, which i figured out how to fix by restarting once logged into and then rebooting.

I say the Clonezilla options for a full backup, and it sounds great, but does require me to perform a full abckup, while bring the server down to perform. What I wanted to know, was what do you recommend for performing a full backup (possibly to NTFS partition or USB key with FAT32) with automation or even if i had to perform the trigger, just without needing to bring the server down, so when i go into production i dont have any issues backing up anytime?

View 2 Replies View Related

Ubuntu Servers :: Setup A Local Mail Server For Internal Testing On Development Work?

Dec 10, 2010

how to setup a local mail server for internal testing on my php development work. For example if I sent an email using php script to [url]....I should be able to check the mailbox of 'someone' either in Outlook or SquirrelMail.I have done some reading about this. All I know is that I need Postfix with Courier. But I just don't know to get it working.

View 3 Replies View Related

General :: Script For Automated Torrent Downloads (from Announce Urls In IRC)

Oct 12, 2010

Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar script?

View 1 Replies View Related

General :: Automated Way Of Installing The Latest Version Of Flash For Firefox ?

Jun 13, 2011

I'm using Ubuntu 11.04. I'm searching for an automated way of installing the latest version of Flash for Firefox. We are using our machine as a testing server and it would be nice to be assured we always have the latest version of Flash instead of having to manually update it whenever Adobe comes out with an incremental update.

View 6 Replies View Related

General :: Automated Save/redirect Files From Client Into PXE Server?

May 26, 2011

I just finished set up a PXE server, and was wondering is it possible to automated save/redirect files from the client into server? Basically, test will be running on client, and wanted to save the result(text file) into server after done testing.

View 1 Replies View Related

General :: Allow Telnet From One Ip Segment?

Mar 8, 2010

I want to allow only ip segment(212.154.75.0/24) to telnet the server(RHEL-7.3).How this can be done using iptables?In the server i gave this command:

# iptables -I FORWARD -s 212.154.75.0/24 -p tcp --dport 23 -j ACCEPT
output is
0 0 ACCEPT tcp -- * * 212.154.75.0/24 0.0.0.0/0 tcp

[code]....

View 3 Replies View Related

General :: Can Ssh Into Ubuntu But Cannot Telnet

Aug 21, 2010

i set up a MAC power pc with ubuntu. i can ssh into it, but i cannot telnet. this is what i get when i telnet to the host i can only telnet to port 80

[Code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved