Ubuntu :: Telnet Session Hanging On 9.04?
Apr 25, 2010
I am running Ubuntu 9.04 on a wireless networked host machine. The wireless NIC is usb based. Its running inetd for network based servers (telnet, ftp etc).For some reason telnet, ssh or any application specific connection, hangs for a few seconds and then comes back. This happens after every few minutes. I do not loose any sessions or any data flowing across but it is sort of very annoying.It is a dual boot machine and I have also got Windows XP 64-bit. When am running on windows this does not happen, hence am not sure if it is something to do with the wirless nic or something else
View 2 Replies
ADVERTISEMENT
Apr 12, 2010
hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?
View 4 Replies
View Related
Dec 5, 2010
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.
View 2 Replies
View Related
Apr 23, 2011
I have done some tcp stream multiplexer. I'm using it as independent login proxy (user is once authenticated and then switched to hidden device (cisco)). But I need to reset session (no connection) configuration, because cisco supports xterm, ctr-c, etc... Am I able to do? Just restart negotiation? Using IAC codes?
View 2 Replies
View Related
Apr 22, 2010
I am moving my migration forward and am trying to get my expect scripts tested and found one that no longer works. Quite simply, it spawns a telnet session to a router.
#!/usr/bin/expect
set env(TERM) vt100
set timeout 3
set send_human {.1 .3 1 .05 2}
set timeout -1
#
spawn telnet 10.254.3.232
and that's it. The result of the script is that the command to spawn simply shows up on the screen like it is a puts command. On my older openSUSE system, it worked fine. I am running Ubuntu v9.10 desktop, and expect and its libs are patched to the latest rev, expect is 5.43.0.
View 1 Replies
View Related
Jun 22, 2011
I am using lxterminal to connect to a telnet session on another *nix box.
After I connect, I always have to enter the command
Code:
export TERM=xterm
is there anyway to automate this?
View 3 Replies
View Related
Oct 22, 2009
I want restrict telnet session to users.
That means the client login one user at a time. not multiple login.
For example:
I want restrict this. How to restrict one user to use multiple login.
View 4 Replies
View Related
Mar 15, 2010
On my ubuntu 9.10 pc i am not running a GUI.
Every thing is run from command line.
How do i start a second telnet session from command line.
Plus can i have 4 telnet session open and move from one to the next and back again.
View 5 Replies
View Related
Feb 22, 2010
where to set the telnet session timeout for the IDLE time in redhat linux.
View 2 Replies
View Related
Mar 28, 2011
I have ubuntu 10.04 & I telnet to windows vista. Even if I create a hidden process [URL].. from batch file . It seems the process gets killed when I end connection at port 23 to host. Maybe , the hidden process created is still child of current telnet session so tree is killed as session ends. Is there a way to keep process running even after telnet session has ended ?
View 6 Replies
View Related
Feb 7, 2010
finally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>
View 4 Replies
View Related
Dec 2, 2010
I have a TCL expect script that spawns a telnet session to a Nortel DMS100 to execute some commands. The strange thing is that the response in expect_out is not consistent. It sometimes contains a extra enter or newline. This results in differences in the expect out buffer. Here is a part of the script:
send "time
"
sleep 1
expect -re ">"
[code]...
This command displays the time. The correct output should be (with log_user=1):
>time
Time is 11:44:04
>
But sometimes the output is:
>timeTime is 11:45:04
>
As you can see here the is missing on the command that expect sends , or at least in the echo that is comming back. I use a split command to filter out the response in the expect_out buffer, but this fails when the is missing. Here is a example with the debug enabled:
[code]....
I suspect it has something to do with a slow response of the switch. I tried to send the time command slow and with the send_human but the result is the same. A timeout between the send and expect also doesn't help.
View 1 Replies
View Related
Aug 21, 2010
I have got three computers at my home[A,B,C] ( all connected to each other), now I connect to B from A using telnet( $telnet ip_B) , but when I try to connect to C using this telnet session( telnet > open ip_C) , I get this error, "already connected to xxx". Is it possible to connect A to B and then use that session to connect to C, so that C finds that the request is being asked by B.
View 7 Replies
View Related
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
Nov 1, 2010
Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.
View 1 Replies
View Related
Nov 10, 2010
I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.
All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.
[Code]...
View 2 Replies
View Related
Jan 22, 2010
I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.
Here's the code to setup the test files:
rm -f /tmp/BDtest/*
mkdir /tmp/BDtest
dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1
for NUM in {1..160}
[Code].....
View 2 Replies
View Related
Jun 30, 2010
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
View 1 Replies
View Related
Apr 11, 2010
The following message comes up when I boot up: Logging in user Warning: Cannot open ConsoleKit session: Unable to open session: Launch helper exited with unknown return code 0. When I press OK, the system completes the start up and everything looks normal. But when I try to connect to internet, I get the following message:
KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution. KNetworkManager will not start automatically in future. If I reboot the system, I logg in successfully. So far the problem has appeared approximately upon every second time I boot up. Rebooting the system seems to take care of it.
Don't know what info is of interest. I'm using
Opensuse 11.2
KDE 4.4.2 (Factory)
After upgrade from 4.4.1 to 4.4.2 it worked fine for a week or so.
View 9 Replies
View Related
May 11, 2010
Info about session timeout.
I use tmout = 15 min in my /etc/profile (along with readonly tmout). i have some issues i need to address, looking for ideas.
1. what is considered a idle "session" ?
2. if i & a process to the background and do nothing is this a idle session?
3. if user uses su to a higher level, are there now two sessions? is the tmout for user suspended until su user time outs or leaves su session?
4. i have some users who will run long sql queries. is there a workaround to have the session remain active until process has finished?
View 3 Replies
View Related
May 13, 2010
I do a clean install of slackware64 13.1 beta1 with KDE and switch default runlevel to 4 in /etc/inittab.
I try to login in kdm, I always come back to the login....
I try this with default runlevel 3 and an .xinitrc with "ck-launch-session startkde" .. works without problems, so I switch back to default runlevel 4, now i can login and only get the error "Cannot open ConsoleKit session: Unable to open session..."
Here are some logs
syslog
Code:
Code:
View 2 Replies
View Related
Jul 23, 2010
I'm trying to boot to install ubuntu 10.04 via a USB, and it keeps hanging on:
pciehp : PCI Express Hot Plug Controller Driver version : 0.4
and it sits there for a long time, and nothing happens..
This is an HP Pavilion dv5000 laptop with a 120 gb IDE hard drive, 2gb of ram, if you need any more info lmk, but I can't boot into windows.
View 2 Replies
View Related
Jan 1, 2011
Using the latest version of Ubuntu. Trying to ftp to an ftp server. Able to successfully login through terminal but when I try and list the contents of a folder I get "200 PORT command successful" and then it just hangs. I thought it might be the server but I've tried it on different Mac and Windows machines and was successful. I can only assume there's something in Ubuntu which is blocking it.
View 3 Replies
View Related
May 2, 2011
I have installed ubuntu 11.04 via wubi.My machine stuck while i was browsing internet.This is happening frequently.This happened with direct installation.Same thing happened when i tried 10.04,mint.
View 4 Replies
View Related
Mar 21, 2011
i am trying to install ubuntu 10.10 on an eee pc 1000H but the installer is hanging on the installation dialog that shows the check list for installation (min. disk space, connected to the net, plugged in to wall outlet, etc) i check all the options here and then click forward. this is where the installer is hanging.
i had successfully installed ubuntu on this machine before but then i replaced it with 11.4 open suse.now i am trying to replace the open suse with ubuntu because the open suse did not work well.
View 1 Replies
View Related
Jun 18, 2010
why it's hanging up.It hangs up 5 mins after startup whether or not any application is running.
View 2 Replies
View Related
Sep 14, 2010
I seem to have the following problem with Ubuntu. I have two PATA drives in my server. The OS is loaded on the first drive which is the master and the server functions fine. This is what I want to do is to have two 120 gig drives in the system and mirror them. When I put the second drive in set to be a slave the bios see's both drives. After the bios shows what is in the system it hangs with the cursor in the upper left hand corner and will not boot beyond that point. If I unplug that second drive it will boot up with no issues.
View 1 Replies
View Related
Sep 20, 2010
There's a strange problem, after installing ubuntu 10.04.1 using wubi.
The installation goes fine in Windows, unpacks to an empty 15gb ntfs partition. After restarting to complete the installation, it would'n find the grldr but fixed that by copying over the wubi* files installed in C:.
Now the problem, the boot screen shows for a few seconds, switches to the default ubuntu wallpaper, the mouse cursor is there and working, and that's it. The installation doesn't continue, the keyboard won't work; Also I've tried all the additional options the installation offers when it asks to press Esc.
The system:
Wubi installed size: 15gb
32bit Ubuntu 10.04.1
4gb installed ram
nVidia 9800gx2
Using ubuntu for a month on my netbook determined me to add it to my desktop so I hope this gets fixed
View 7 Replies
View Related
May 3, 2011
Recently I upgraded to Ubuntu 11.04 on my home server. Before this, SSH worked fine. Now, however, I get to 'Entering Interactive Session' and SSHD seems to hang. I'll post a debug view below.
dbicknel@spectre:~$ ssh -v -v -v -p XX 192.168.XX.X (masking port and IP for security)
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.XX.X [192.168.XX.X] port XXXX. (masking port and IP for security)
debug1: Connection established .....
View 5 Replies
View Related
May 28, 2011
Most of the time when using USB flash drives under Linux, the OS will lock up at 100% IOWAIT, with a load average of 12-18. Even my music stutters and stops. Using USB drives makes my Core I7 3.0GHz HyperThreaded act like a Pentium 2 running Vista. It's embarrassing. A client asks for a file, and it takes me 2 hours to copy it. This is a deal breaker. I've been trying to find a solution. If I can't, I'm sorry to say I'll be leaving Linux for something that can use USB drives. I've been using Ubuntu for 4 years, I'd hate to leave. Don't take that as threat, just a stark fact based on business decisions.
View 2 Replies
View Related