I have a web application that runs through thousands of IP addresses and checks if they're online. Basically, if a server uses more than 250ms to respond, it's considered offline in our case. It would be an enormous timesaver if we could get the ping command to give up after about 300 ms, instead of what seems to be the minimum value of the -W parameter, 1 second.
when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes
I am trying to set up the IRCD-IRC2 server to allow local chat between users connected to my Ubuntu server through SSH. I have port forwarding all set up to the point when I open port 6667 on the localhost it immediately comes back with":My.Irc.Com 020 * lease wait while we process your connection." Sounds promising. But it's not. It hangs for over a minute, then comes back with "ERROR :Closing Link: [unknown@127.0.0.1] (Ping timeout)" and closes the connection.
I don't want IRC2 to connect to any other servers. I just want it to facilitate chat between other users logged in through SSH as I said. Here is my ircd.conf file
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
send pings test for hours to my router 10.0.1.1 and the ping test is perfect, never fail. 8024 send packages, 8024 packages received. Now but when make the same ping tests for hours to my linux CPU, i saw that sometimes the ping test say timeout Whan can i do? Can i edit the timeout value for in my linux cpu? what you think? This is making me crazy because me linux cpu is loosing packages..
Code: [root@TornadoR3 ~]# ifconfig eth1 Link encap:Ethernet HWaddr 00:08:02:F9:AB:FF[code].....
I am geting a bit confused regarding the autologin of a user , and in need of help desperately. Could anybody please help me with the below queries :
How can we set autologin for any normal user in RHEL5 ? Also, How can we then logout such a user later, as we can't logout such user normally ? How to set timeout for such autologin users ?
Running openSUSE 11.2 with Gnome. After a relatively short period of time, screen goes blank, and when I click on it, I get presented with password prompt, and when I enter it, I'm back where I left off. I don't see how to change this, and all the time I've spent so far in YaST trying to find out where this setting is kept and how to change it has been wasted effort. So now I'm asking: how do you change this to something a little more reasonable?
I'm taking an online SuSE LINUX class, and as they cover different topics, I jump over to the Linux system (which I have running in a vm under VMWare server on W2K3) and try stuff out, and most of the time I have to enter my password because I was away too long.
I want to kill a process when timeout where 2 processes are running parallel or simultaneous in a same user witout effecting the another process,i have used the command
ps -ef |grep user kill -9
but its killing another process suppose if i try to kill with processname sub processes in that process converting as daemon process and its not killing sub processes when killing parent process.
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
I have two machines on this network, one running Ubuntu and the other running Fedora.
When I'm using the Wireless network on the Ubuntu machine, I cannot ping the Fedora machine. Everything else works. I can browse the net fine.
If I switch over to the Wired Network then I can ping the other machine.
I don't understand why ping doesn't work only over the Wireless. I can ping the router so I'm guessing it's getting blocked by the router but I didn't block ICMP traffic.
I tried asking on IRC and they ran out of ideas too to find out where the problem is.
I have written simple TCP server-client programs in 'C' on my RHEL 5 64 bit.I want to add SEND and RECEIVE timeout for this socket; so that if server is not responding in given time, request will get timeout instead of waiting in "recv" call.But I failed to do so.
I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name
I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.
I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.
I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.
Configs below:
Ping by hostname - there is a 5-6 second delay between each one of the responses:
Code:
Ping by IP - the responses come VERY quickly one after the other:
So, I have an Virtual Machine running CentOS 5.4. It sits behind a hardware firewall which also does NAT'ing. I've set up plenty of these, so I know for sure the firewall and NAT rules are set up correctly. From the host, I can ping anything in my subnet and the gateway. But I can't ping anything else beyond the gateway. I can perform DNS queries and when I try to ping, it finds the appropriate IP address.But from the outside, I can ping the PUBLIC address (It's a 1 public to 1 private address NAT, not 1 public to multiple private). I've tried it with IPTABLES on and off, with no change.
I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.
Aboard TinyCore 2.7 and opting to run without Xorg. I'm needing either a pointer or syntax example. Seems my monitor supports dpms after executing a quick one-two with:
$ xset s blank $ xset s 150
Yet I'm unsure how it would look placed in Tinys .xsession:
I get the following error if i try and send to my mailserver. I'm running SuSe 11 with sendmail and dovecot. I can send emails no problem. I have looked around and looks like it's not my diskspace on the machine i don't have any quota's on mailboxes.
I am trying to use Tiny Core as the OS for a fairly old embedded device using a Pentium 100 with 64MB Ram.
I managed to get the Tiny Core image loaded onto a 128MB CF card. When I turn the box on, it presents me the Grup screen and I can select the bootup option (tinycore). However, soon after I am getting a DMA Timeout Error. Also in this link: http://www.linuxquestions.org/questi...ble-it-734489/
Now, I am not familiar with Tiny Core all that well, and neither am I sure of how to modify the initramfs to include: hdparm -d0 /dev/hdb.
I'm using timeout core utility in my bash shell script. The problem I'm facing is I want the PID of the command which is supplied to timeout. Let me explain with the code I'm using:
Owned linux laptop (running UBUNTU) for 1.5 yrs. Love it. No problems... until:
1. I changed my password, via System - Admin - User & Groups - Properties. (I just typed 2 characters on the end of the old User Password and the Confirmation password and OK'd it all. 2. Shut down laptop. Upon restarting it (only minutes later), neither the new pw or the old one worked. 3. Googled for help on another machine. Booted linux laptop up in recovery mode and used the passwd <?> command to reset pw (back to the original one!). 4. Shut down. Started laptop up again... forever more firefox runs like a dog. Normally (90% of the time) it times out before reaching a page, though it is trying to transfer the data.
Let's be clear about this. It was fine. The very next time I used firefox - minutes after the password debarcle, it was cac, and has remained cac ever since.
I've been whizzing around on firefox for over a year without any issues. There have been no changes to the router. My microsoft laptop has no issue with the internet so it cant be router or telco related. Though I did reset the router (power and phone line) just to be sure. It didn't help.
I clear the private data (Tools menu) in firefox regularly (daily-ish). That is the only housekeeping I do on this machine. (It only gets used for mail, internet and the odd simple OpenOffice document). There is stacks of space left (70 Gig). I'm not sure how to check memory.
Googled for help and tried some command to purge temp files. That didn't help.
I love my linux laptop, but currently I'm having to resort back to my windows one.
I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying "Timeout error occurred trying to start MySql Daemon".
I have connected xp and fedora through crossover cable . xp has ip address 192.168.0.1/24 (manually assigned) fedora has 192.168.0.2/24 with default route equal to 192.168.0.1
I can ping fedora from xp computer but i can't able to ping xp from fedora computer.
I have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.
Now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.