Ubuntu Networking :: Doesn't "see" Broadcast SSID After A Few Days Of Inactivity

Oct 23, 2010

I'm not sure if this is a problem with Ubuntu or with my router(s).

When I first installed Ubuntu about 6 months ago, I was able to connect to my wireless network without any problems. Becaue it's a laptop, I turn it off when I'm not using it.

But, starting about a month ago, if I don't use my Ubuntu computer for a few days at a time, it won't "see" my broadcast SSID when I turn it on. The SSID for my network just doesn't show up on the list of SSIDs that it detects in the area (but it still detects other people's SSIDs).

If I connect Ubuntu to my wireless network every day, it will automatically connect to my network without a problem, but if I don't use my computer for a few days, then it stops being able to "see" my SSID.

In order to connect, I have to connect to my router from my hardwired Win 7 desktop PC via 192.168.1.1 and re-save the wireless settings without changing them (the router is set to broadcast my SSID). Then my Linux machine is able to see my SSID again and connect wirelessly.

The problem is obviously with the router, right? So I bought a new router, and have the exact same problem!So now I'm not sure any more if the problem is with Linux or with both routers.

View 1 Replies


ADVERTISEMENT

Fedora Networking :: SSID Broadcast Disabled - Cannot Connect To Wireless Network

May 6, 2010

I have just installed FC12 on my machine - and gone Windows free for the first time ever. Now I do use various flavours of Linux on a daily basis but not from an installation/sys admin point of view so my questions here may seem a little basic but pleas eindulge me if you will!

Now, my network connection works perfectly well under the following scenarios.

1) FC12, wired to router
2) FC12, wireless, SSID broadcast enabled
3) Ubuntu (laptop), wireless, SSID broadcast DISABLED

The only scenario that does not work is FC12, wireless with SSID broadcast disabled.

I can only assume that it is an issue with my USB modem (a linksys WUSB54GS) since the same set-up works fine from my laptop running Ubuntu with an internal wireless card.

Now, I know from reading the forums that it's pretty easy to get around a disabled SSID broadcast but this is an itch I just have to scratch....what the hell is causing this problem?

nm-tool ouput is as follows:

I have tried using wpa_supplicant but I am not sure which driver I am using here - is it ndiswrapper per chance?

(Driver: rndis_wlan)

How I can connect once again to my wireless router with SSID broadcast turned off.

View 5 Replies View Related

OpenSUSE Wireless :: LiveUSB Cannot Connect To Non-broadcast SSID Wireless Network

Sep 30, 2010

I've got openSUSE 11.3 running via liveUSB on a netbook and no matter how many times I try, I cannot get wireless to connect to my network.

My network is:

- non-broadcast
- WPA2 Personal
- G

The netbook is fairly recent from Asus and wireless works perfectly with Fedora 11 and Windows XP.

View 5 Replies View Related

Fedora Networking :: Sendmail Doesn't Send Email For Several Days In Spite Of Being Online?

Apr 27, 2011

I have the following problem with sendmail on F14 (had the same on F13 already):

I have a network setup using bridging which is controlled through traditional ifup/ifdown (because NetworkManager can't handle bridging). My sendmail configuration differs from the Fedora default only by having a SMART_HOST relay. The queueing interval in /etc/sysconfig/sendmail is the default (1h).

When my network connection is up, sendmail normally sends email through the relay immediately. Sometimes I have to interrupt the connection for a few minutes. When my network connection is down, sendmail starts queueing email (OK this far). When the network connection comes back up, I'd expect sendmail to restart sending mail through the relay again. But sometimes, that doesn't happen. Instead, sendmail keeps queueing my mail infinitely (I have seen it happen for several days) until I finally notice that my email isn't received, and run sendmail -q by hand (by that time, my boss is already angry that I'm not responding to his email). In that state, even new mail is queued rather than forwarded by sendmail. It appears that the only way to stop that behavior is to restart the sendmail service.

View 1 Replies View Related

Ubuntu :: Allow Auto-log Off Feature Either An Extended Inactivity Time Or To Disable Inactivity-logouts

Oct 18, 2010

I would like to allow the auto-log off feature either an extended inactivity time or to disable inactivity-logouts.

I use my PC strictly at home, and have no security issues. I've set my username to no-password so that I just click [twice] to log back on. But I must do that to see the screen display - say to see what's playing on Pandora.

Can I set the auto-logout-time somewhere or disable the function?

View 1 Replies View Related

Ubuntu Networking :: What Is SSID And What Is It Used For ?

Jun 10, 2010

I am setting up a netbook with linux.I need to edit a file and must know my SSID. What is a SSID and what is it used for how do I find out what mine is?

View 3 Replies View Related

Server :: Begin Online TV Broadcast - Can't Directly Broadcast From Country

Apr 1, 2010

Friends i have an idea to broadcast few local TV channels to the world via internet.But friends i can't directly broadcast from my country because of bandwidth.friends is there a way to do this through a remote server server? i just need to input my stream to a remote server and then broadcast it from the server.I can stream channels to the server from my country through a 10mbbs connection.

View 2 Replies View Related

Ubuntu Networking :: How To Choose Which Of Three Ap's To Connect To - Same Ssid ?

Jun 16, 2010

I have three routers (linksys wrt54gl, ddwrt). I'm trying to use wds bridging, got two of them linked, but not the third. All three routers have the same SSID. I'm using Ubuntu 10.04 netbook remix.

My problem is I need to choose which of these my laptop connects to. Right now it connects to the one router which isn't playing nice with wds. I need it to connect to one of my other routers. I see the other signals using nm-tool, but they don't show in nm-applet. I created a connection in NetworkManager specifying the SSID + mac address of the correct router, but the tray applet doesn't show any options for connecting to manually configured networks, and I can't find any other useful app. I suppose I could rtfm for iwconfig et al, but Ubuntu ought to have an easier way.

View 1 Replies View Related

Ubuntu Networking :: Can't Connect To Hidden SSID With 10.10

Oct 17, 2010

Wireless worked when I broadcasted the SSID, but now when I have hidden it it will not connect.

Edit: Enabled SSID broadcasting again, since hiding it means less security I read.

View 2 Replies View Related

Ubuntu Networking :: How To Choose Between Wifi Hotspots With The Same SSID

Jan 24, 2010

I access the internet through a hotspot with the SSID "OzoneBE.net Open Access". Unfortunately this hotspot is massively overused, and on top of that the signal is weak. There are other hotspots with the same SSID nearby. They have weaker signals, but it's possible they may not be so heavily used, or that I might be able to find a line of sight to one of them, so I would at least like to try connecting to them.

Unfortunately KNetworkManager doesn't give you any way of choosing between these different access points and it automatically selects the most powerful signal, as far as I can tell. RutilT can distinguish between them, but when you try to connect to the one you want, it seems that KNetworkManager intervenes and chooses the alternative with the strongest signal again. However if I kill KNetworkManager, RutilT just won't connect to anything. It fails without explanation.

How can I get proper control over my network management so that I can connect to the hotspot of my choosing, regardless of whether it shares an SSID with another?

View 1 Replies View Related

General :: Wireless Networking (SSID And WEP) In Debian

Jan 13, 2010

I have an intel 3945ABG wireless card. I installed "firmware-iwlwifi" with apt-get but I cannot enter in my network's SSID and wep. On Gnome, I click system, preferences, and networking, and I get that nice network menu, but it doesn't do anything!

It detects my wireless and wired card. I click on wireless, enter in my ssid, click WEP (hexadecimal), enter in my code. I choose auto DHCP. Then in the terminal I type iwconfig. It shows "wlan0" but the SSID field is blank. The wired works but I can't get wireless.

View 14 Replies View Related

Networking :: TCP Server Dies After Few Hours Of Inactivity ?

Jan 15, 2010

We have a NAS application which can be accessed by both HTTP and HTTPS connections.

The issue we are facing is that the tcp server instance that initiates the HTTP access dies after a few hours of inactivity(the NAS application was kept idle for around 10 hours). However, the tcpserver that launches HTTPS connections remained running.So the connection failed through HTTP access but the connection succeeded through HTTPS access.

The converse has also been observed where the tcpserver for HTTPS is dead but tcpserver for HTTP is running.

The version of tcpserver that we are using here is ucspi-tcp-0.88.tar.gz.

I have the following queries:

a)Has anyone faced the same problem before?

b)Is it an issue with this package version of tcpserver ?

c)Will upgrading to newer versions of tcpserver bail me out of the issue?

d)Also, could anyone let me know what are the possible causes for the tcpserver to die ?

View 3 Replies View Related

Ubuntu Networking :: What Is The Use Broadcast Address

Feb 28, 2011

all I get is the broadcast address can be used to send packets of information to all computers on a network simultaneously. Can that be used during MPI programming or anything of the such? What is the day to day use of the broadcast address?

View 3 Replies View Related

Ubuntu Networking :: Calculate Broadcast & Network?

Jul 13, 2010

i m setting up a linux server and i have to setup ip , in static mode. so i know everything except those two things. how do i calculate them?

example ip:200.49.142.91
submask 255.255.255.248
gateway 200.49.142.89

View 5 Replies View Related

Ubuntu Networking :: Broadcast Using VLC / Apache Server

Oct 28, 2010

I need to configure network. I have configured a labtop "1" as a wireless Access point. And connected 2 laptops. I want to broadcast from a labtop "2" a video and read it on labtop 3. This broadcast will be done first time using VLC server then using apache server.

View 2 Replies View Related

Ubuntu Networking :: How To Calculate Broadcast Address

Dec 13, 2010

How do I calculate broadcast adrress if the address space is 192.168.36.16/28 then what would be broadcast address.

View 7 Replies View Related

Ubuntu Networking :: Broadcom Wireless Don't Broadcast In 11.04?

May 2, 2011

I have a Dell Vostro 1400 with a BCM4311 Broadcom wireless card that I just reinstalled with 11.04 from 10.04. I have the drives installed and it seams to be working when i run the 'Additional Drives', but I can't get the wireless adapter broadcasting. I followed the instructions given in the knowledge base on installing Broadcom Wireless, to see if I could get it running and that is where I saw the difference between the example and my computer when writing the 'sudo lshw -C network' command. In the example it said it was broadcasting under configuration (just like my wired networks below) and in mine it does not (see below for copy past).

I can't find a tickbox in the systemtray to enable the wirless networking that I had before the update to 11.04 (the 'Enable Networking' tickbox is still there and the wired network works fine - that is how I got online to do this post). I have the hardware switch turned on and I have been in the BIOS and made sure that the Wireless is enabled.Anyone who knows what could be wrong? Where could I go from here?Quote:

morgan@morgan-Vostro-1400:~$ sudo lshw -C network
[sudo] password for morgan:
*-network UNCLAIMED

[code]....

View 1 Replies View Related

Fedora Networking :: Worthless Wireless Connection \ Works Well For A Few Minutes Then Has A Period Of Inactivity - Then Slow?

Nov 24, 2009

I'm running Fedora 12 on an Acer Aspire One with KDE. The built-in wireless works without a problem EVERYWHERE except at work. It's a shared wireless connection using WPA/WPA2 security.I can connect but it's "hit-and-miss" if I can do anything with it. Somedays it works well for a few minutes then has a period of inactivity - then slow - randomly receives...It worked flawlessly when the computer was running Windows7 no one else has connectivity issues but I'm the only one using Linux.

View 2 Replies View Related

Ubuntu Networking :: Send A Broadcast Message To All Users?

Jan 11, 2010

I'm looking for a solution to broadcast messages on the network. All systems are Linux / Ubuntu.

It would be used in case the server has to be rebooted. It saves me a walk to every office in the building.

View 9 Replies View Related

Networking :: Converting IP Multicast To MAC LLC Broadcast

Mar 5, 2010

This is not a linux specific question more of a general network issue with the hope that someone may have already done this under linux.My problem:I have a red hat linux machine transmitting IP multicast packets onto an ethernet gigabit network (cisco switch).Wireshark (running on a different red hat linux box confirms packets on network.

View 4 Replies View Related

Networking :: Get Debian To Broadcast Its Host Name To Router?

Dec 4, 2009

I have a router and when my Debian machine connects I get "null" as the host name. How can I get it to display the host name?

View 11 Replies View Related

Networking :: Relay UDP Broadcast Using Netcat/Socat?

May 7, 2010

Here is my problems :I have two networks :1. LAN (10.1.x.x subnet 255.255.0.0), and2. my internet public (IP 202.xx.xxx.xxxx subnet 255.255.255.240)I have an application in my LAN PC (10.1.2.240) which broadcast udp packet to its client. The client in my LAN can receive the udp packet, no problem.My question is how netcat/socat can RELAY the udp broadcast packet to one of my IP public address so the message can be received by other client from internet ?

View 5 Replies View Related

Networking :: Firewall - How To Block - Broadcast Storm

May 28, 2010

Link 1 = my network [url]

My network:

Subnet 1

Subnet 2

When someone creates a network loop (a cat 5 cable is plugged into two ports on a switch), the 2 subnet get flooded and become very slow.

How can I prevent subnet 1 from getting flood if someone create a loop on subnet 2.

- eth2 go offline automatically until the network loop is canceled.

View 2 Replies View Related

Networking :: Subnet - Network IP - Broadcast IP Calculation

Feb 14, 2010

I am basically from system side and often confused about the calculation of the IP addresses.Just i want to know that what how can i calculate the following of a IP Address:

(1) Available IP in a Network
(2) Broadcast IP
(3) Network Prefix or Net Mask

View 5 Replies View Related

Ubuntu Networking :: Wifi Tool - Broadcast Channels In Order To Set Modem

Dec 1, 2010

if there is a simple wifi scanner for Linux. I need only basic information such as access points in the neighbourhood, signal strength and their broadcasting channels. I want to know the broadcasting channels in order to set my modem in such a way to avoid interference.

View 9 Replies View Related

Fedora Networking :: Broadcast Addr Incorrect On Boot?

Aug 16, 2011

I'm using F15 with two nics, each on different subnets 192.168.1.0/25 and 192.168.1.128/25. My issue is that on boot my 192.168.1.2/25 interface sets a broadcast address of 192.168.1.255 which is incorrect I believe. Its broadcast should be 192.168.1.127. I've tried setting the broadcast param in ifcfg-p3p1 file "BROADCAST=192.168.1.127" with no benefit.I can change this after boot of course, but that removes my default gateway for some reason.

View 2 Replies View Related

Networking :: No Ping Broadcast Response Over Small Switch

Mar 24, 2010

So I just changed my network card settings recently, and I'm now getting no response when I ping the broadcast address for them... the cards are all connected through a switch with IP addresses 192.168.0.x, broadcast 192.168.0.255... ifconfig on all of them shows UP BROADCAST RUNNING MULTICAST, but nobody responds to a broadcast packet. Any thoughts?

EDIT: Pinging each machine individually works fine.

View 7 Replies View Related

Networking :: Interface Alias Does Not Receive Broadcast Traffic

Sep 25, 2010

When setting up an alias for eth0, the interface works as expected for normal traffic, but does not receive broadcast traffic.

Host 1's setup:

Code:

Pinging host 1's normal interface from host 2 works as expected:

Code:

Pinging host 1's alias interface from host 2 works as expected:

Code:

Broadcast pinging from host 2 only gets a reply from host 1's real interface (as well as some other uninteresting devices on the network):

Code:

I have confirmed by listening on both interfaces using netcat, and broadcasting using netcat, and again only the real interface receives data.

Is this by design, or is it possible to get interface aliases to receive broadcast traffic?

View 1 Replies View Related

Networking :: Subnetwork , Network And Broadcast Address / Difference Between Them?

Mar 31, 2009

I dont know the difference between these topics.

View 1 Replies View Related

Networking :: Broadcast Packets Failed To Receive - Socket Beginner

Feb 24, 2011

I am working on uClinux/almost same as Linux. I am new to socket programming. I have two micro controllers running on same code. Simple run with arguments mean send merged string.
run 1st micro controller (Send): ./Name "anystring"
run 2st micro controller (Recive):/Name

My code is:
int receive() {
// Create socket
int sock_fd;
struct sockaddr_in addr;
char buffer[kBufferSize];
int bytes_received=0;
int addr_len = sizeof(addr);
printf("receive start ");
sock_fd = socket(AF_INET, SOCK_DGRAM, 0);
if ( sock_fd == -1 ) {
printf("receive Create ");
// Error occurred return 0; }
printf("Res Create sucee ");
// Create address from which we want to receive, and bind it
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = INADDR_ANY;
addr.sin_port = htons(kPortNumber);
if ( bind(sock_fd, (struct sockaddr*)&addr, sizeof(addr)) < 0 ) {
printf("receive bind "); // Error occurred return 0; }
printf("Bind Succeful sucee ");
while ( 1 ) {
// Receive a message, waiting if there's nothing there yet
bytes_received = recvfrom(sock_fd, buffer, kBufferSize-0, 0,
(struct sockaddr*)&addr, &addr_len);
if ( bytes_received < 0 ) { // Error occurred
printf("receive bytes "); return 0; }
printf(" bytes_received succeful ");
printf("Ressocketstring : %s ",buffer);
memset(Ressocketstring,0x00 , sizeof(Ressocketstring));
strcpy(buffer,Ressocketstring); printf("Ressocketstring : %s
",Ressocketstring); printf(" ");
printf("Hello Receive finished");
// Now we have bytes_received bytes of data in buffer. Print it!
fwrite(buffer, sizeof(char), bytes_received, stdout); } }
int transmit(char * data, int length) {
int sock_fds[kMaxSockets];
// Obtain list of all network interfaces
/* struct ifaddrs *addrs;
if ( getifaddrs(&addrs) < 0 ) {
// Error occurred return 0; } */
// Loop through interfaces, selecting those AF_INET devices that support broadcast, but aren't loopback or point-to-point
struct sockaddr_in addr; int number_sockets = 0; struct hostent *he;
/* const struct ifaddrs *cursor = addrs;
while ( cursor != NULL && number_sockets < kMaxSockets ) {
if ( cursor->ifa_addr->sa_family == AF_INET
&& !(cursor->ifa_flags & IFF_LOOPBACK)
&& !(cursor->ifa_flags & IFF_POINTOPOINT)
&& (cursor->ifa_flags & IFF_BROADCAST) ) {
// Create socket*/
sock_fds[number_sockets] = socket(AF_INET, SOCK_DGRAM, 0);
if ( sock_fds[number_sockets] == -1 ) // Error occurred {
printf("Error Create "); return 0; }
he = gethostbyname((char *)BCASTADDRESS) ;
if (he==NULL ) {printf("Error gethostbyname ");
herror("gethostbyname"); printf("Error host "); exit(1);
} printf("Res He ");
// Create address from which we want to send, and bind it
memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET;
addr.sin_addr = *((struct in_addr *)he->h_addr);//((struct sockaddr_in *)cursor->ifa_addr)->sin_addr; addr.sin_port = htons(kPortNumber);
if ( bind(sock_fds[number_sockets], (struct sockaddr*)&addr, sizeof(addr)) < 0 )
{ // Error occurred printf("Error bind "); return 0; }
// Enable broadcast int flag = 1;
if ( setsockopt(sock_fds[number_sockets], SOL_SOCKET, SO_BROADCAST, &flag, sizeof(flag)) != 0 ) // Err occur { printf("Error Enable "); return 0; }
number_sockets =1; printf("Succes 1 "); printf("transmit Create ");
// Initialise broadcast address memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_BROADCAST;
addr.sin_port = htons(kPortNumber);
// Send through each interface int i;
for ( i=0; i<number_sockets; i++ ) {
if ( sendto(sock_fds[i], data, length, 0, (struct sockaddr*)&addr, sizeof(addr)) < 0 )
{ printf("Error Send "); // Error occurred return 0;
} printf("Succes 2 "); } return 1; } void MergeMessage( ) {
memset(socketstring,0x00,sizeof(socketstring));
sprintf(socketstring,"%s@%s@%s@%s@%s@%s@%s@%s@%s@%s@%s
",Tmeg.s1,Tmeg.s2,Tmeg.s3,Tmeg.s4,Tmeg.s5,Tm eg.s6,Tmeg.s7,Tmeg.s8,Tmeg.s9,Tmeg.s10,Tmeg.s11);
printf(" MergeSocketMessage : %s ",socketstring); }
int main (int argc, char** argv) {
int fd=0,bdc=0; struct ifreq ifr; printf("Tsarting man ");
fd = socket(AF_INET, SOCK_DGRAM, 0);
strncpy(ifr.ifr_name, "eth0", IFNAMSIZ-1);
ioctl(fd, SIOCGIFADDR, &ifr); close(fd);
memset(MYIP,'-',sizeof(MYIP));
memset(BCASTADDRESS,'-',sizeof(BCASTADDRESS));
strcpy(MYIP, inet_ntoa(((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr));
printf("Etho: %s ,len:%d ", MYIP,strlen(MYIP));
for(bdc=strlen(MYIP);MYIP[bdc-1]!='.';bdc--) {}
strncpy(BCASTADDRESS,MYIP,bdc-1); strcat(BCASTADDRESS,".255");
printf("BCASTADDRESS: %s ,len:%d
", BCASTADDRESS,strlen(BCASTADDRESS));
printf("Initial Broad Cast message "); {
/*s0"0" (id=76)
s1"500" (id=77)s2"100" (id=78)s3"100" (id=78)s4"startVD" (id=79)
s5"lighting" (id=80)s6"reading" (id=81)s7"Anna" (id=82)s8"0" (id=76)
s9"";s10"" (id=64)s11"" (id=64)*/
strcpy(Tmeg.s0,"0"); strcpy(Tmeg.s1,"500");strcpy(Tmeg.s2,"100");strcpy(Tmeg.s3,"100");
strcpy(Tmeg.s4,"startvd");strcpy(Tmeg.s5,"lighting");strcpy(Tmeg.s6,"reading");
strcpy(Tmeg.s7,"anna");strcpy(Tmeg.s8,"0"); }
MergeMessage (Tmeg); if( strlen(argv[1]) ) {
//strcpy(socketstring,Tmeg,sizeof(Tmeg));
if(transmit(socketstring, strlen(socketstring) ) ) {
printf(""%s" transmitted. ", socketstring); } else {
printf("Error occurred: %s ", strerror(errno)); return 1; } }
else { for( ; ; ) {
if ( argc < 2 ) // No argument: Just listen {
printf("Listening... "); if ( !receive() ) {
printf("Error occurred: %s ", strerror(errno)); return 1;
} return 0; } } } printf("Finished "); return 0;
} //////////////// .h file is /////////////
//#define WIN32_LEAN_AND_MEAN// Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <fcntl.h>
#include <netdb.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
#define SubLen50
//#include <ifaddrs.h>
#include <errno.h>
char MYIP[20];
char BCASTADDRESS[20];
typedef struct {
char s0[SubLen];
char s1[SubLen];
char s2[SubLen];
char s3[SubLen];
char s4[SubLen];
char s5[SubLen];
char s6[SubLen];
char s7[SubLen];
char s8[SubLen];
char s9[SubLen];
char s10[SubLen];
char s11[SubLen];
}msg_struct;
msg_struct Sendmsg;
msg_struct Tmeg; //Recivemsg;
Boolean pri[6];
char socketstring[SubLen*12];
char Ressocketstring[SubLen*12];
int kBufferSize = (SubLen*12);

View 2 Replies View Related







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