Server :: SUSE 11.2 Minicom And Expect Not Sending Backspaces

May 31, 2011

I am writing an expect script that will automate flashing an embedded device through minicom using a serial connection and am running into problems sending backspaces.The script catches the configuration prompt on startup and can flash the device, but setting the MAC addresses in the fconfig are being problematic.For example, when I run the script, I can set the variables that are defaults by just pressing enter or enter new directives when prompted.. the problem arrises when I need to enter a new MAC address and there is already one set - I need to overwrite it somehow.

If I manually go through fconfig using minicom (minicom version 2.3 (compiled Dec 3 2008)), I can use backspace on my keyboard to remove the old MAC address and enter a new one - no problem.. but with expect.. I am having issues.I tried sending , ^H,10 177. These do not work. Minicom has BS set for the backspace key though.I tried setting it to DEL - no luck.On the other hand, I can send control-C with send "send 03".

View 1 Replies


ADVERTISEMENT

Software :: What Is Different From Sending Call Command Within Minicom 2.5 And Echo It?

Jun 11, 2011

I have a router with linux firmware and attached to it a USB modem with which I can do both data and voice.Any other command send through echo method works ok. I was able to send SMS, edit phonebook and many many other stuff, but not make a call.So what is different from sending the call command within Minicom 2.5 and echo it?

View 1 Replies View Related

Programming :: /usr/bin/expect : Script To Check Server Load Using Both Expect And Bash?

Jul 27, 2010

I am trying to make a script that can be used to check server load on a remote server and produces sound on our local machine, when server load exceeds a particular limit.1. I want to execute command uptime or uptime | awk '{print$10}'on the remote server and store the result in a variable(say x), and later use it in the bash script.

Bash Part
#!/bin/bash
x=$(/root/Desktop/exp)

[code]...

View 1 Replies View Related

Ubuntu :: Good Expect Tutorial For Programing With Expect?

Nov 2, 2010

I'm trying to Use Expect to automate a curl function. basically I don't want to type enter for my script to run. Can anyone point me to a good Expect tutorial?

View 1 Replies View Related

General :: Expect: Line Seems To Match Exactly However Expect Thinks Not?

Jun 16, 2010

I am writing an expect script. At a certain point there is a rule that produces this debugging output:

Code:

expect: does " Address or name of remote host [x.x.x.x]? " (spawn_id exp8) match glob pattern " Address or name of remote host [x.x.x.x]? "? no This just times out When I use -exact for the expect keyword it does work What am I doing wrong? THe first should also match in my opinion because it is equal as well. Even if I remove the I still have the same issue if I try without -exact. I don't understand. I tried removing the but still got the same.

View 5 Replies View Related

Server :: Minicom When Connecting To A Sun V120?

May 3, 2010

I have a Sun V120 server, and I connected to it via minicom from a linux machine. The problem is that when I connect, immeadiatly starts to receive the letter m as a command and it returns "Unrecognized command", so it is impossible to configure anything ot to give any command whatsoever. Also, sometimes receives all kind of letters, dots and characters, resulting the same and blocking my keyboard. When I connect from a Windows machine via HyperTerminal all is fine.

View 3 Replies View Related

Server :: Automating Multiple Minicom Sessions Simultaneously

Oct 5, 2010

Here's the setup: One x86 server (Red Hat 4) with two serial connections to an embedded linux device. One serial connection is to a power control so the device can the restarted, and the other is used for a console to this device. Both serial connections use minicom. People on my team VNC to the x86 server, where they find the two minicom sessions waiting for them as they are left open. I would like to automate connecting to the server and communicating over the serial lines.

Supposing I use ssh to the x86 server, could minicom be used over the serial lines without terminating the minicom processes seen through VNC? If not, is there a way to re-open those windows from within the ssh session, so a user who VNCs to the server won't have to reopen them? Could a single ssh connection control two minicom terminals simultaneously, or would there need to be two ssh connections? It is assumed a user and the automated process will *not* try to access the device at the same time; the automation would trigger during off hours.

View 2 Replies View Related

Server :: Minicom And Cu Not Talking To Sunfire V210/V240

Aug 27, 2010

I picked up two free Sunfires a couple of days ago (Sunfire V210 and Sunfire V240). Obviously, these are RISC machines, so no video, mouse, or keyboard ports. The only way of connecting to them that I know of is through the ALOM interface. I was hoping to use the minicom program that's on my Linux (Slackware 13.1) box to do this. I connected an RJ-45 straight through cable to the serial management port on the Sunfire V240, connected the other end to a Sun 530-3100-01 RJ45 to DB9 adapter, and then plugged the female end of the adapter into the serial port on the Linux box. I set the minicom port settings to the following:

A - Serial Device: /dev/ttyS0
B - Lockfile Location: /var/lock
C - Callin Program:
D - Callout Program:
E - Bps/Par/Bits: 9600 8N1
F - Hardware Flow Control: Yes
G - Software Flow Control: No

...and relaunched minicom hoping that it would connect. It does not. It just sits there with a blinking cursor and an "Offline" status.I also attempted to use cu to connect to the Sunfire using the following:# cu -l /dev/ttyS0 -s 9600.I just get the "Connected" message. No prompt, no anything. It just sits there. Same situation on the Sunfire V210.

View 10 Replies View Related

Programming :: Expect Script: Send Function Key F12 In An Expect Script?

Nov 19, 2008

I'am new to expect how do i send function key F12 in an expect script?

View 1 Replies View Related

Software :: Getting EXPECT Package For RHEL 5 To TELNET A Server?

May 6, 2011

find and install EXPECT package in RHEL5 to TELNET servers.

View 2 Replies View Related

SUSE :: SUSE Warm Reset Generated Uncorrectable Error On Server

Jul 22, 2010

I am running memory test on SUSE, Memory test is just writing some patterns into a memory and reading it back in all CPU threads. After a while, when memory test is running in the background , I am trying to reset the system by echo b> /proc/sysrq-trigger command, Upon SUSE warm reset , I am seeing some UNCORRECTABLE MEMORY ERROR in model specific register (MSR : 0x421),

I am seeing this behavior on one of my server which has huge amount of memory.,Have you ever seen this UCECC error when SUSE generates warm reset when memory test in the background ?

View 4 Replies View Related

Server :: Nis Client On Centos Not Working With Suse Server / But Works With Suse Nis Client

Jun 25, 2009

I have a Nis server on Suse 11 which is configured using Yast and nis clients on Suse and CentOs .All clients which is on the Suse Os is working fine. But on CentOs , users couldn't login using nis username.I have mounted home directory using nfs in fstab . I can switch to nis users homedirectory only when i am root. But nis users could'nt login on reboot.' ypcat passwd username ' is showing the output . No selinux is enabled in the client .Is there is any problem with Suse server to Centos Client in nis ??

View 2 Replies View Related

Server :: VPN Is Being Used In Sending Spam

Jul 3, 2011

We have a vpn that is accessible to anyone. We already block port 25, 587 and 465. But I am still receiving spam reports. I believe that the users of my vpn is infected by a virus or something that sends spam. Are there any other ways that spammer send spam mails without using the smtp ports?

My guess is that they are trying to send it by accessing a webmail. Have you heard of anything like that? how to block spam?

View 1 Replies View Related

Security :: Server Is Sending Spams

Jun 29, 2010

Currently I'm having a problem with a box which keep sending spams all over the world. yesterday we upgraded some drupal modules (which can send email), and the spam quantity reduced. But still some spams keep on going out from our server. Some of them even have attachment.

Some of them sent using accounts that never exist at our server (e.g. strager@mydomain.com), and some of them are from 'nobody'. what to check, or where to look. I've check the MX-Records and there was no strange forwarders. Really stuck here...

View 9 Replies View Related

Server :: Postfix Don't Sending / Receiving Anything?

Nov 8, 2010

Yesterday i run a postfix everything works fine and today it hangs up. if i dial "telnet localhost 25" i get (before day i get 220 answer and ordinary hello):

Code:
Trying 62.197.207.43...
Connected to trons.sk.
Escape character is '^]'.
and nothing go far.

[Code]....

View 2 Replies View Related

Server :: Sending Mails To Yahoo

Jul 4, 2010

i have setup a mail sending server using which i am able to send mail to gmail's ids but when user is having yahoo or rediffmail mail id these mails are not getting delivered either these are blocked or bounced back. what should be done to send multiple mails. just to add more details, i am using sendmail to send these mass emails.

View 6 Replies View Related

Server :: Sendmail Sending To Root

May 10, 2011

I've searched high and low for an answer. This seems so simple...

Domain = chadmccan.com
Server 1 = admin.mo.chadmccan.com
Server 2 = leroy.mo.chadmccan.com

Email for my domain is handled by Google Apps. MX records point there, I receive a ton of email there.I have 2 systems. admin.mo.chadmccan.com, which is designed to be the "gateway" for all services, including email.On the same network, is leroy.mo.chadmccan.com. It's just an application server, for random apps, including a webserver.I just want all of my systems to email anything that goes to "root" to blahblah@chadmccan.com relaying via admin.mo.chadmccan.com. Is this impossible?

View 4 Replies View Related

Ubuntu Servers :: 10.04.1 Server Not Sending Out Emails

Oct 12, 2010

I have wordpress installed on my VPS, which is running 10.04.1 LTS. I appear to be having an issue whereby the server isn't sending out emails to new users, nor to myself when I get comments on the blog.I'm at a dead end for where to look next, because the settings are exactly the same as they were with my previous VPS (and they were always pretty generic), but yet it doesn't work.

View 5 Replies View Related

Ubuntu Servers :: 10.04 Web Server Not Sending Images?

Nov 7, 2010

I have been messing around with a template from Dreamweaver and went and uploaded it to my web server last night to see if it worked. the template works when i view it both on Dreamweaver and locally through windows explorer but when i visit go to the actual website either on the same network or elsewhere it shows up but is missing the background image.

my skills in html and css are good enough to try and troubleshoot this if it were a problem with the source code but as i have come up empty handed i believe it to be a problem with the server. mind you i could have missed something, if i did please let me know so i can smack my self in the head.

the domain is [URL].. should you want to view it. this is a new server only set up about a week ago and it is my first linux server. i have only ever had to deal with 2 windows servers and only a few linux desktops so i may need a few things explained.

View 2 Replies View Related

Red Hat / Fedora :: IP Sending Spam Via Squid Server

Oct 16, 2010

I just saw that my network is slowed so I watches the /var/log/squid/access.log where I get this line continuously....

[Code]....

I thought that someone running any script so I disconnect all my LAN connection (simply removed the local lan cable) but I saw the connections is going on....so I watch the processes on proxy server but nothing suspicious....So I change my static IP and the spamming stops (I say it is spam b'coz the IP 203.188.197.10 is of yahoomail.com ) but I when I am putting my OLD ip back the connection starts again......I want to put back my old static IP b'coz I have configured it for many services. Is there any spyware on my machine or someone configured my IP?

View 3 Replies View Related

Server :: Dovecot Mailserver Sending But Not Receiving?

Jan 22, 2011

I have followed the guide for "The Perfect Server - Debian Lenny (Debian 5.0) With BIND & Dovecot [ISPConfig 3]" and all is well, except.

I can send mail (to GMail) from commandline. I can send mail (to GMail) from any of the domains configured in ISPConfig3 through SquirrelMail (how ever terrible that looks, but functions) or IMAP/POP.

but....

I can't receive mail (from GMail) on any of the domains configured in ISPConfig3 in SquirrelMail or IMAP/POP.

I have my domains configured with proper MX records (just like I have them configured at work). I have all ports (80, 143, 110, 25, 22, etc) forwarded on my router that are needed.

I can Telnet to localhost and all checks are fine. I can send and receive from and to local domains on the same server, which makes sense. but

I can't Telnet from any external server to my server behind NAT.

Conclusion:

I figured it MUST be a network/port-forwarding problem as the external Telnet requests fails to my machine on port 25.

Tested my router if it would let met communicate through port 25 and it would.

So it must be my ISP, as I read in different posts.

Question:

Maybe I'm a n00b, but in all other posts the problems were with receiving AND sending.

My ISP responded that port 25 is blocked because of spam issues.

But I can mail (and even spam if I would like to) to external domains while I didn't do anything weird to make that happen.

The only thing I wish for is to receive mails and if you'd ask me, port 25 would be solely for outgoing mails, not for incoming mail deliveries throught MX?

An ISP surely wouldn't disable their customers in having a mail-server for incoming mails, as long as they would send out through their own smtp server to make sure they wouldn't spam the world?

View 1 Replies View Related

Server :: Sending Email To Hotmail With Fedora?

Mar 8, 2010

How to configure my home linux server, as an email server, and be able to send email to hotmail, please?. I have done this before, but I never managed to do it so hotmail accept emails coming from my linux server.

View 5 Replies View Related

Server :: Postfix As Sending MTA For Multiple Domains?

Jun 7, 2010

I am setting up a Postfix MTA that will be only sending mail for 10 different domains. We have other servers that will be receiving the mail for the domains so I only need to set up for sending on Postfix.

What my issue is I am trying to configure Postfix so that when it sends mail the header shows what domain the mail came from and not the domain the Postfix server is set to. For example....

[URL]

When I send mail from domain2.com I want it to show in the header it was sent from domain2.com and not from domain1.com. What do I need to set in postfix so that this happens? Right now no matter what domain the mail is from the header always shows the server domain and I can't have that.

View 5 Replies View Related

Server :: Postfix - Sending SMTP Mail ?

Oct 27, 2010

I have the following config with Postfix:

Quote:

But it keeps coming up with:

Quote:

Is there any reason from these configs as to why this should be occuring?

This was the guided step by step tutorial I followed: [url]

View 2 Replies View Related

Server :: Sending Email From Mobile Phones?

Mar 23, 2011

So I have Postfix working great and I've always used webmail if I needed to send email from PC's outside of $mynetworks. So fast forward to today where I got my 1st Android powered mobile phone and I can configure the Android mail client to send/receive IMAP email but my question is do I need to become an open relay to allow my random wireless providers dynamic range of IP's to send mail via Postfix? Seems extremely vulnerable and scary to think I would have to allow my providers IP range to relay mail via my MTA. I started reading a bit and I think I need SASL authentication and since both Postfix 2.8.1 & Dovecot 2.0.11 are both configured / using TLS, is there anything else I would need or you recommend for sending email from my Android powered mobile?

View 2 Replies View Related

Server :: Sending Mail From Shell Script?

Jul 5, 2011

I tried the command echo "Test" | mailx -s "Test subject" reciever@test.com -- -f Tester@gmail.com

But in the mailbox of reciever, i can find the sender name as Tester@gmail.com. My requirement is to show the sender as 'Tester' alone, without the domain name.

View 3 Replies View Related

Server :: Sending Mails Through Cron Jobs?

Jun 13, 2011

i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..

View 1 Replies View Related

CentOS 5 :: Postfix Not Sending Email To Right Server?

Jul 23, 2009

I have postfix sort of working correctly. postfix can send email to the internet but it doesn't want to send email to my local exchange server. What I need is for postfix to send emails directed to @xyz.com to my exchange server instead of itself.

My setup
mail.xyz.com - exchange 2003 server
www.xyz.com - centos 5.3 server with postfix

www.xyz.com can send emails to my hotmail.com account so that part works correctly. www.xyz.com can't send email to username@xyz.com. postfix seems to be delivering the email to itself and not the exchange server.

How can I tell postfix to send the @xyz.com emails to my exchange server?

Here is a sample of my /var/log/maillog
Jul 22 15:43:43 list postfix/smtpd[9802]: D63168604A3: client=localhost.localdomain[127.0.0.1]
Jul 22 15:43:53 list postfix/cleanup[9805]: D63168604A3: message-id=<20090722204343.D63168604A3@www.xyz.com>

[Code].....

View 3 Replies View Related

Software :: Minicom For Different OS

Sep 20, 2010

Well, upto now i have been using minicom on linux platform.Can any one tell me whether minicom is meant only for linux or is it platform independent?Actually i'm connecting 2 PC's using RS-232 and then passing and viewing the messages using minicom. Both the PC's use Fedora11. Now suppose i want to do the same thing between 2 pc's where one uses linux and other uses windows. So, if minicom is meant only for linux then how to do this?Can some one also suggest some useful links or tutorials regarding this serial communication between to different OS?

View 1 Replies View Related

Ubuntu :: Using The Postfix SMTP Server For Sending Emails?

Dec 13, 2010

I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.

View 2 Replies View Related







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