Networking :: Enable The Option Of Keep-alives On A TCP Socket?
Apr 18, 2010
Have a question regarding the implementation of TCP keep alives.
If I enable the option of keep-alives on a TCP socket, is there any way that my application can get the response to the keep-alive back from the kernel. Basically, I have a 'select' blocking on a socket on which I have enabled keep-alives. I need to know if select would unblock if a response to a keep-alive sent by the kernel is received on the socket.
View 3 Replies
ADVERTISEMENT
Mar 24, 2010
I want to create the following network:
I have a Belkin 54g ADSL Router/Modem connected to ADSL
I connect my laptop (Ubuntu 8.04) wirelessly to this router
I have a Netgear DGN2000 Router/Modem with NO connection to ADSL
I connect my desktop to the Netgear using a wired connection
I want to bridge the two routers and use the internet on the desktop
The Belkin 54g Router setup has options for Wireless Bridge.. I have selected "Enable Wireless Bridging"; as far as I can tell there is no corresponding option in the Netgear DGN2000's settings to act as a wireless bridge. I have changed the ESSID, Security, and Channel all to the same settings and when I turn on the Netgear router the signal strength of the network dramatically increases. I am unsure whether this is the "Bridge" connected... or if the Netgear's signal is just drowning out the Belkin's signal. In any case I cannot use the internet when connected to the network with the Netgear turned on. What do I do?
Or is there some way I can share internet like this:
wireless wired
ADSL--->Belkin54g----------->Laptop-------------->Desktop
View 1 Replies
View Related
May 29, 2010
I am using Ubuntu Lucid Lynx (10.04)I have a wireless card in my PC that I only use very occasionally so I uncheck the Enable Wireless option on the network tool icon to stop the system attempting to connect to my wireless network. That works fine for that session, but the system does not seem to remember this setting and attempts to connect the wireless each time I log in! Is this a feature or a bug? and does anyone know a way of defaulting the wireless option to off
View 1 Replies
View Related
Jun 4, 2010
I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.
Any command, link or man-page anything will be helpful.
I browsed a lot but unable to find it.
View 1 Replies
View Related
May 5, 2009
I had installed Fedora 10
Below is the output of uname -a
Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux
I need to enable telnet service on it, then found xinetd and telnet-server not installed,
Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm
After installation I executed below commands
Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F
After I had tried telnet localhost ----IT FAILED
when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]
I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.
View 1 Replies
View Related
Jan 31, 2010
I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error
I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?
View 1 Replies
View Related
Feb 27, 2010
My wireless broadband connection was working fine until this morning. I am running UNR 9.04 on an acer aspire one. For some reason i have no option to enable wireless and i don't know what i have done. When i right click all that shows up is "enable networking" but there is no optiont to "enable wireless" anymore. I tried flicking the switch on my netbook to see if that had caused the problem but after doing it and rebooting its still the same.
View 1 Replies
View Related
May 6, 2011
I'm running 11.04 on a Compaq presario CQ56. The network dropdown menu doesn't even show "Enable wireless" as an option, which makes me think that the wireless card's driver and/or firmware isn't installed. The network card is a Ralink, but I can't figure out which model/chipset
Here is the relevant output for lspci -vnnk:
02:00.0 Network controller [0280]: Ralink corp. Device [1814:5390]
Subsystem: Hewlett-Packard Company Device [103c:1636]
[code]...
View 4 Replies
View Related
Jan 15, 2010
I want router catch the ip packet which mark router alert label, change it and send to the next hop. Not just forward it immediately.
So I set IP_ROUTER_ALERT and IPV6_ROUTER_ALERT option for ipv4 and ipv6 socket. IP_ROUTER_ALERT was just fine and I can do what I expect. However when I set on IPV6_ROUTER_ALERT, it tells me "Protocol not available" (errno = 92). And This option can be found in "$Kernel/net/ipv6/ipv6_sockglue.c"
View 2 Replies
View Related
Mar 31, 2011
Using Mysql binary log we can able to take incremental backup perfectly, like that we can able to create binary log for normal directory (or) is there any option to enable binary log for normal directory.?
View 1 Replies
View Related
Dec 28, 2010
I am new to linux world, recently installed ubuntu desktop 10.10 on old laptop (fujitsu-siemens amilo). When installed, I noticed that the
1. Enable wireless is grayed out
2. Wireless is disabled
Recently acquired a d-link dwl-g122 ver. C1 USB wireless, didn't want to fiddle with original. I am totally new to linux, this is my first installation.
Tried the gksudo gedit /etc/network/interfaces added these lines: auto wlan1
iface wlan1... IT CHANGES to device not managed, tried /etc/NetworkManager/nm-system-settings.conf:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
Changing it to true the d link is again disabled?
3. When d link is plugged, ubuntu boots but stuck after login screen?
On Vista, home network I use wpa2 psk protection, essid not broadcasting, hidden.
View 8 Replies
View Related
Dec 30, 2010
In firefox, I try to check the box in Edit → Preferences → Advanced → General which says 'submit crash report', but everytime I close this and open it again it remains unchecked. Why is that so?
View 4 Replies
View Related
Apr 9, 2010
I wanna see the wifi signal strength.But when i run the command iwconfig , it tells me 'no wireless extensions'.By googling I found that I need to enable config option CONFIG_NET_RADIO.I see that this has to be done in boot which has config files.So I typed the command grep CONFIG_NET_RADIO /boot/<config-2.6.31.5-127.fc12.i686> (my fedora version is 2.6.31.5-127.fc12.i686).But I got the error as "bash: syntax error near unexpected token `newline' ".I dont know the reason.I also want to know if I have to install driver(ndiswrapper)for viewing wireless signal strength. I thought that the drivers will present default.
View 8 Replies
View Related
Aug 21, 2011
When I try to enable any options in the Debian software, Software Sources immediately crashes. I'd like to enable official supported software downloadable from the internet.
View 3 Replies
View Related
Sep 2, 2010
I was just playing with Fedora 13 and found that when I try to watch any AVI file it searches all required Codecs from RPM Fusion repository and install it. I was just wondering if this can be done on the openSUSE because what I know about Fedora is, it doesn't customize the products and uses as it is. If someone know how to enable such Autodetecting in Totem.
View 6 Replies
View Related
May 24, 2010
I want to copy a file from folder A to folder B using the GUI
But the paste button is grayed out.
I realise this is because I've logged in as a user rather than root, so how do I enable the paste option on this occasion so that I can paste these files?
View 10 Replies
View Related
Dec 7, 2010
Anyone knows the difference between a socket and TCP connection for connecting to an external system?
View 1 Replies
View Related
Jul 6, 2010
i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...
Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....
the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.
View 4 Replies
View Related
Mar 30, 2009
im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:
Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....
View 7 Replies
View Related
Sep 15, 2009
We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.
View 1 Replies
View Related
Aug 17, 2010
If I make one NTFS partition and on other install ubuntu and enable option "disable save to disk", is it worth also for NTFS partition or just for Linux partition(s)?
View 5 Replies
View Related
Feb 21, 2011
is there any way i can make my sound card go 5.1 and enable a "fill speakers" option? I have an onboard via hd 1705 sound codec as it's listed in my mainboard manual. The sound card it's self appears in the system as aa nvidia hda, and so it's listed in the manual. So my question is, shouldn't it be a via since it has a via hd chip? Anyway, apparently my kmix volume control has very vew options for it. I also have a via tremor pci sound card, but it's not hd. That one has all the options available in the kmix, but the via hd doesn't. I'd prefer using the via hd since it's "high definition". Is there any way i can enable the 5.1 on it?
View 9 Replies
View Related
Dec 26, 2010
I'm using openSUSE 11.3 with Xfce 4.7.0 and I want to enable automatic login. What I have tried so far:
1) YaST -> User and Group Management -> Expert Options -> Login Settings. This didn't work because I have no "Login Settings" option in this menu.
2) Editing variables "DISPLAYMANAGER_AUTOLOGIN" and "DISPLAYMANAGER_PASSWORD_LESS_LOGIN" via YaST -> /etc/sysconfig Editor. This didn't work too and xdm was still asking about name and password no matter what I set here.
3) I don't know how to configure xdm, so I tried to replace xdm with gdm. Gdm worked, but application "gdmsetup" was missing from my installation (YaST simply don't offer this package) and I don't know how to set up gdm manually, so I ended without autologin again.
View 3 Replies
View Related
Nov 20, 2009
Can we open TCP and UDP socket on same port number?
View 1 Replies
View Related
Aug 26, 2010
I am facing some problem with loopback on UDP sockets. is there anyway by with we could avoid loopbacking of a UDP datagram destined to same IP address, and instead force it to go all the way till NIC and then come back to the socket.
The problem is, we have some piece of code written at driver level, and we want each and every packet to hit that code on its TX and RX path. But if src and dest IPs are same, packet loops back from the IP stack itself, without hitting the driver code.
Can we modify the characteristics of a UDP socket, such that each and every packet has to go through NIC interface, thus avoiding loop backing when the src and dest IPs are same?
View 1 Replies
View Related
Mar 14, 2010
I am trying to create the IPV6 socket and was wondering if anybody has any code strip which I can reuse ?
View 1 Replies
View Related
Oct 22, 2010
I want to reuse a socket without closing the same. I am running a client and it connects to a server. The server shuts down in between and comes up. So after this I want to reconnect to server without closing my socket and creating another one. Is there any way?
View 3 Replies
View Related
Nov 20, 2008
how can i send an array of string to the client from the server side?
View 2 Replies
View Related
Feb 10, 2010
I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
View 3 Replies
View Related
Mar 8, 2011
iam just trying to connect to server which accepts one client and server will read(blocking operation) infinitely, but After closing the client socket the server "read operation" is returning zero and "errno variable(in errno.h)" value is also zero. how can i detect whether a client socket is closed/active..?
client.c
Serv_Addr.sin_family = AF_INET;
Serv_Addr.sin_addr.s_addr = inet_addr("127.0.0.1");
Serv_Addr.sin_port = htons(26553);
if( 0 > connect (Serv_Fds,&Serv_Addr,sizeof(Serv_Addr)) )
{
perror("connect");
return 0;
[Code]....
View 3 Replies
View Related