Networking :: Function Of TCP Backlog Queue
Aug 3, 2010I want to know the basic function of TCP Backlog queue.
View 3 RepliesI want to know the basic function of TCP Backlog queue.
View 3 RepliesIm running Ubuntu/Gnome and have been using Wine to run Total Commander, an App that a truly love but has its limitations under Wine. So Im looking for a native replacement for it, but it has to have the queue function of Total Commander. I have tried Tux commander and Gnome Commander and neigther of them seam to have it?
Krusader supposedly has it but needs about 300MB of KDE librarys and such. Are there any other alternatives?
Since I changed my System from openSUSE 11.3 x86_64 to openSUSE 11.4 x86_64 my printer (Samsung ML-2850 via USB) seizes to function (clean installation). The printer connects to two machines via a KVM-switch. On the other machine (Windows 7 x64/Windows XP x64) the printer is working fine. This did not change when I switched the Cables/KVM-ports. In addition, when I was using openSUSE 11.3 x86_64 the printer also worked fine. All necessary CUPS-packages are installed:
[code]...
is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...
Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?
How do I use the drop-trace command in NS2 to create a trace file of all of the packets dropped over the course of a simulation? If drop-trace is the wrong command to use, which command should I use to monitor the number of packets dropped at a certain queue in a link?
View 2 Replies View RelatedI am a windows programmer. There I wrote a firewall and VPN System. It was easy. Simply, I USED WINPKFilter by ntkernel.com.What I need is to GET, Edit, and Send the raw Layer 2 packet before reaching to IP Stack.My friends were saying that linux is Ideal for Networking purposes. But for now I say that Linux is very bad in this field and I should say that windows is much better (I beg your pardon)After tens of hours for searching I got nothing good. The hook system of IPtables is not GOOD for me because it has not Ethernet header and also the packets are defragmented when I caught them.
I tried ebtables but it has no user space queue like IPTABLES. What I exactly need is to be able to reach to the chain of raw Ethernet packets and be able to modify them and resend or inject some ethernet packet packet. I Dont Want to go inside the KERNEL. (As windows I want a userspcae library). Dear linux expert I beg your help. Do not let me turn back to windows.
Can the SFQ queue be used to divide bandwidth not only per connections but also per computer? E.g. if two computers download something each computer gets half of the bandwidth. I'm trying to do my own script based on wondershaper and would want to divide the bandwidth between all devices so that one device can't saturate the uplink.
View 2 Replies View RelatedIn my Solaris tcp client server program, In server side I am checking the size of recv buffer, based on different listen queue size.
I was expecting this size to be increased due to the increase in receive queue size. why the value is same ?
As is known, there is a queue lies between the kernel subsystem and the network driver for incoming data. And if data come when this queue has no space for it, the data got dropped by kernel. Is there some way to see how many packets are dropped due to this buff penury? I tried netstat -s but could not find something useful. On the other hand, I found this 12176 packets collapsed in receive queue due to low socket buffer from netstat -s. I think this is something related to the per-socket buffer, but not the incoming queue between the network driver and kernel. Is this right?
View 1 Replies View RelatedWhen doing bit torrent downloads, I eventually lose the wired network connection in about 5-15 minutes. This only happens when Deluge is running. I can surf for hours, our connect up the the work WAN for hours and this does not seem to happen.Until these last two weeks, Deluge has been fast and solid. Here is the error from the log:
Code:
Jul 31 18:20:06 marcs-desktop kernel: [ 1539.020039] ------------[ cut here ]------------
Jul 31 18:20:06 marcs-desktop kernel: [ 1539.020060] WARNING: at /build/buildd/linux-2.6.38/net/sched/sch_generic.c:256 dev_watchdog+0x2a0/0x2b0()
[code]....
I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.
View 9 Replies View RelatedCode:
#include <iostream>
using namespace std;
[code]...
I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.
View 2 Replies View RelatedI'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)
That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?
the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:
-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).
Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?
I want to enable a function which is called clone mac...see in the picture. while, some systems don't support such a function... such as centos, the picture was taken in ubuntu 11.04... so, if i want to enable the function in centos or some other distributions which doesn't support this originally, what should i do? is upgrading the network manager functional?
View 4 Replies View RelatedI'm using Ubuntu desktop 10.10 on an Hp Pavilion dv2700 laptop. Most of the time I have had no issues, however on two separate occasions the wifi and bluetooth have been disabled, the switch on the front of the computer has no effect.the enable wireless function is grayed out, so I was not able to enable it. The first time it happened, (I didn't have an Ethernet cord at the time), I booted into windows Vista, thinking I could connect to the internet and find an answer. Low and behold I had the same problem in windows, however I was able to enable the wifi and blue tooth in windows. Now, rebooting into Ubuntu, the problem was resolved. The second time around the same thing happened, and I booted into Windows to fix the problem. I have done a search for known bugs on this issue, but none seem to relate to my exact problem. Is there a way to enable the wifi when it is grayed out? like in windows?Like I said this has only happened twice, but I had to boot into windows to fix the problem. I really want to delete windows all together, but if I have to keep it around awhile to fix this issue I guess I will.
View 5 Replies View RelatedHow do I get internet connection through mobile broadband (internet stick Nokia CS 15) for my laptop (Fujitsu Siemens) with encrypted hard disc (LVM)? I have set up LVM using Ubuntu 10.04 Alternate install.
Earlier when I installed the ordinary desktop version (Ubuntu 10.04 desktop) using no encrypted disc the internet connection worked fine. Before I installed the software from the internet stick an image appeared (Nokia Modem) on the desktop. I dubbel clicked the image and through the files that appeared I installed the software. After that I clicked the Eject Volume and after some input I had my connection.
But now I dont get that image on my desktop when the stick is plugged in. I can imagine that I have to mount the stick some how. I can further imagine that the encrypted hard disc through its protection now stop me from this action.
I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.
#!/bin/bash
addelementtoarray()
{
local arrayname=$1
[code]....
i'm using ASUS K40IE laptop, installed Ubuntu 10.10 and online upgraded to 11.04 (natty), and i have a problem about my wifi.This laptop using Fn+F2 to enable/disable wifi (using Windows work properly with driver from asus) and have a Led that trigger on/off.Using ubuntu, that's shortcut it's useless. i press Fn+F2 many times, but that led indicator never turn off. Is there a way to make that shortcut can function properly? Actually, i'm not often using wifi, so i want to make it default disable on start up. Both ubuntu 10.10 or 11.04 can't using this shortcut.
View 1 Replies View RelatedI am needing help with two things:
Does anyone have sample 'c' code for a browser basic function, get an address and display the contents? Want to learn bout how it's done.
Second, can anyone point me to the source for "webcam", a webcam capture program? I spent a day on the internet trying to find a home page or source listing.
Sorry if these are "dumbassed" questions, but I am new back to Linux. Been out of the Unix world since 1989.
I've recently bought a Samsung R580 laptop. It is now configured as a dual boot system with Ubuntu 10.10 and Windows 7 (64bit). The wireless network functions correctly under Win7, but I have encountered problems with Ubuntu. The native drivers do not function and having identified the driver used by Win7 (net819xp.inf) that works, I have tried to install it using ndisgtk, but get the message "incorrect hardware". I have followed the ndiswrapper howto carefully without being able to get the wireless network going.
View 4 Replies View RelatedAm wondering if looking at the CPU process queues, vs CPU% busy, are a better indication of whether an upgrade is needed.
Afterall, processes can still queue up to be processed even if "top" doesn't shown CPU 100%. Say if it's indicating 50% busy within the top output, it's only saying that 5 out of 10 times sampled, the CPU was busy. But a process may arrive to be processed at any time, and if it arrives just when the CPU is processing something it needs to wait in the queue. Am I making senses?
How many processes queued up would suggest an upgrade is required of the CPU? I've read online (believe it's Microsoft) that 2 is the figure.
Is there a more convenient way or function call to submit a job to a queue than the following in Linux?
Code:
#include <stdlib.h>
...
system( "at -f /var/myproj/task_starter.sh now" );
...
I have an HP printer for my Lenny which has worked for some year. But I don't remember what method I used to install it. So this is one piece of the puzzle that I can't see. But like I said the printer works. One day I accidentally printed more than I had papers in the printer-machine. Then I kind of stacked a lot of print jobs in the queue out of frustration. So whenever I reboot the PC/Lenny then it waste some paper by printing things that got stuck in the printer queue. It's not very environmental this weird behavior.
So next time this happens how do I flush the Printer queue so Lenny doesn't remember what happened before the reboot? I followed these instructions earlier but it only switched one weird behavior with another weird behavior. So it didn't work for my Lenny, and I couldn't find any better solutions on the Internet. [URL]...
I installed fedora 15 from a live CD distro. everything works great except --add/remove software application. Applications for intallation or installed application do not appear at all. Is like an empty add/remove software application.
View 2 Replies View RelatedI'm wondering if it's possible to create mail packages and put them into the postfix queue simply by writing files to the hard drive.Currently I have a script which uses a socket connection to dump the data in, but if I could write it directly to the hard drive this would speed things up considerably. Is this possible?
View 3 Replies View Relatedhave a big print job sitting in the queue which I don't need (the print job that is) .. QUESTION: how do I clear the print queue in Ubuntu 8.04
View 6 Replies View RelatedI recently started using Transmission torrent client. I love it! The light weight and web interface feature is compelling. I am not able to figure out how to queue torrents.
View 3 Replies View RelatedThe Gnome Print Manager found the printer with no problems. The correct driver was available - so I installed it. The printer shows up when called by a print job I want to send. The queue pretends to process it. The queue states "completed." Then Nothing comes out of the printer. XP shows the print job as pending. Still nothing comes out of the printer. And I can't delete the job from the Ubuntu queue (because that lying SOB tells me the job is completed). I can't print from XP to that printer until I delete or cancel the Ubuntu job (from the XP queue) - or clear the XP print queue (by deleting spool files). Permissions on that printer are not an issue. Printing from Ubuntu to that printer worked OK on earlier versions of Ubuntu.
View 1 Replies View Related