Interference between mutliple SSLSocket

Hello,
I wrote a client and a server applications using SSLSocket and Channels.
A single communication from client to server is Ok but if a second connection is made by the same client, there is interference between both connection. The first input channel became wordless and bytes sent by server are received by the second SSLSocket.
Here is the code :
Client :
public static void main(String args[]) {
new Thread(new Runnable() {
public void run() {
check("1");
}).start();
try {
Thread.sleep(2000);
} catch (InterruptedException e) { e.printStackTrace(); }
new Thread(new Runnable() {
public void run() {
check("2");
}).start();
public static void check(final String name) {
try {
Preferences p = Preferences.userNodeForPackage(TestMain.class);
// .... filling preferences p
KeyManager[] kms = null;
if (keyStore != null)
kms = SSLHelper.getKeyManagers(keyStore, keySecret, keyPassword);
final TrustManager[] tms = SSLHelper.getTrustManagers(trustStore, trustSecret);
tms[0] = new X509TrustManagerWrapper(localStore, localSecret, (X509TrustManager) tms[0]);
final SSLContext context = SSLHelper.getSSLContext(kms, tms);
final SSLSocketFactory ssf = context.getSocketFactory();
final int port = 7000;
final String server = "distant server";
SSLSocket socket = (SSLSocket) ssf.createSocket(server, port);
socket.startHandshake();
final WritableByteChannel outputChannel = Channels.newChannel(socket.getOutputStream());
final ReadableByteChannel inputChannel = Channels.newChannel(socket.getInputStream());
System.out.println(name + " - Connected");
new Thread(new Runnable() {
public void run() {
final ByteBuffer buff = ByteBuffer.allocate(1000);
try {
int nbRead = 0;
int i = 0;
while ((i = inputChannel.read(buff)) > 0) {
nbRead = i;
while (nbRead != 12) {
i = inputChannel.read(buff);
nbRead += i;
nbRead = 0;
buff.flip();
System.out.print(name + " - Reception of ");
while (buff.hasRemaining()) {
System.out.print(buff.getChar());
System.out.println("");
buff.clear();
buff.putChar('h');
buff.putChar('e');
buff.putChar('l');
buff.putChar('l');
buff.putChar('o');
buff.flip();
outputChannel.write(buff);
buff.clear();
} catch (IOException e) { e.printStackTrace(); }
}).start();
} catch (IOException e) { e.printStackTrace();
} catch (GeneralSecurityException e) { e.printStackTrace();}
}Code for SSL Helper :
public final class SSLHelper {
     public final static KeyStore getKeyStore(String store, char[] secret) throws IOException, GeneralSecurityException {
          final KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
          final File f = new File(store);
          if (f.exists() && f.canRead()) {
               ks.load(new FileInputStream(f), secret);
          } else {
               ks.load(null,null);
          return ks;
     public final static KeyManager[] getKeyManagers(KeyStore ks, char[] keyPassword)  throws IOException, GeneralSecurityException {
          final KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
          kmf.init(ks, keyPassword);
          return kmf.getKeyManagers();
     public final static KeyManager[] getKeyManagers(String keyStore, char[] keySecret, char[] keyPassword) throws IOException, GeneralSecurityException {
          return getKeyManagers(getKeyStore(keyStore, keySecret), keyPassword);
     public final static TrustManager[] getTrustManagers(String trustStore, char[] trustSecret) throws IOException, GeneralSecurityException {
          return getTrustManagers(getKeyStore(trustStore, trustSecret));
     public final static TrustManager[] getTrustManagers(KeyStore ks) throws IOException, GeneralSecurityException {
          final TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
          tmf.init(ks);
          return tmf.getTrustManagers();
     public final static SSLContext getSSLContext(KeyManager[] kms, TrustManager[] tms) throws IOException, GeneralSecurityException {
          final SSLContext ctx = SSLContext.getInstance("SSL");
          ctx.init(kms, tms, null);
          ctx.getServerSessionContext().setSessionTimeout(1);
          return ctx;
     public final static SSLContext getSSLContext(String keyStore, char[] keySecret, char[] KeyPassword, String trustStore, char[] trustSecret) throws IOException, GeneralSecurityException {
          KeyManager[] kms = null;
          if (keyStore != null) {
               kms = getKeyManagers(keyStore, keySecret, KeyPassword);
          TrustManager[] tms = null;
          if (trustSecret != null) {
               tms = getTrustManagers(trustStore, trustSecret);
          return getSSLContext(kms, tms);
     public static SSLContext getSSLContext(String keyStore, char[] keySecret, char[] keyPassword) throws IOException, GeneralSecurityException {
          KeyManager[] kms = null;
          if (keyStore != null) {
               kms = getKeyManagers(keyStore, keySecret, keyPassword);
          return getSSLContext(kms, null);
     public static SSLContext getSSLContext(String trustStore, char[] trustSecret) throws IOException, GeneralSecurityException {
          TrustManager[] tms = null;
          if (trustStore != null) {
               tms = getTrustManagers(trustStore, trustSecret);
          return getSSLContext(null, tms);
Code for Server :
public static void main(String args[]) {
          Preferences p = Preferences.userNodeForPackage(ServerMainTest.class);
          p.put("port", "7000");
          // .... filling preferences p
          String keyStore = p.get("keyStore", "");
          char[] keySecret = p.get("keySecret", "keySecret").toCharArray();
          char[] keyPassword = p.get("keyPassword", "keyPassword").toCharArray();
          try {
               BoundConcurrent server = new BoundConcurrent(p);
               SSLContext ctx;
               SSLServerSocket ss;
               ctx = SSLHelper.getSSLContext(keyStore, keySecret, keyPassword);
               ss = (SSLServerSocket) ctx.getServerSocketFactory().createServerSocket();
               server.setServerSocket(ss);
               server.setService(new TestServer());
               String nbThread = "10";
               server.setThreadNumber(Integer.valueOf(nbThread));
               server.launch();
          } catch (GeneralSecurityException e) {      e.printStackTrace();
          } catch (IOException e) { e.printStackTrace(); }
public class TestServer implements Service {
     private final static int BUFF_SIZE = 10000;
     private final ByteBuffer readByteBuffer = ByteBuffer.allocateDirect(BUFF_SIZE);
     private final ByteBuffer writeByteBuffer = ByteBuffer.allocateDirect(BUFF_SIZE);
     private WritableByteChannel outputChannel;
     public void serve(Socket socketService) {
          try {
               final ReadableByteChannel inputChannel = Channels.newChannel(socketService.getInputStream());
               outputChannel = Channels.newChannel(socketService.getOutputStream());
               System.out.println(Thread.currentThread().getName() + " - Reception of new connection");
               SSLSocket s = (SSLSocket) socketService;
               s.getSession().invalidate();
               byte[] b = s.getSession().getId();
               final StringBuilder sb = new StringBuilder();
               for(int i = 0; i < b.length; i++) {
                    sb.append(b);
               System.out.println(sb.toString());
               new Thread(new Runnable() {
                    public void run() {
                         final ByteBuffer buff = ByteBuffer.allocate(1000);
                         try {
                              int nbRead = 0;
                              int i = 0;
                              while ((i = inputChannel.read(buff)) > 0) {
                                   nbRead = i;
                                   while (nbRead != 10) {
                                        i = inputChannel.read(buff);
                                        nbRead += i;
                                   nbRead = 0;
                                   buff.flip();
                                   System.out.print(Thread.currentThread().getName() + " - Reception of ");
                                   while (buff.hasRemaining()) {
                                        System.out.print(buff.getChar());
                                   System.out.println("");
                                   buff.clear();
                         } catch (IOException e) { e.printStackTrace(); }
               }).start();
               while (true) {
                    writeByteBuffer.clear();
                    writeByteBuffer.putChar('c');
                    writeByteBuffer.putChar('o');
                    writeByteBuffer.putChar('u');
                    writeByteBuffer.putChar('c');
                    writeByteBuffer.putChar('o');
                    writeByteBuffer.putChar('u');
                    writeByteBuffer.flip();
                    outputChannel.write(writeByteBuffer);
                    try {
                         Thread.sleep(3000);
                    } catch (InterruptedException e) { e.printStackTrace(); }
          } catch (IOException e) { e.printStackTrace(); }
public class BoundConcurrent extends Server {
     protected int threadNb = -1;     
     public BoundConcurrent(Preferences pref) {
          super(pref);
     public void setThreadNumber(int nb) {
          threadNb = nb;
     @Override
     public void launch() {
          try {
               bind();
          } catch (IOException e) { return;     }
          if (threadNb==-1)
               threadNb = getPreferences().getInt("threadNB", 10);
          final ThreadGroup group = new ThreadGroup("Service");
          for (int i=0; i<threadNb; i++) {
               final String name = "server"+i;
               try {
                    new Thread(group, new RunnableService(), name).start();
               } catch (NullPointerException e) { break; }
     public class RunnableService implements Runnable {
          public void run() {
               Socket serviceSocket;
               while (true) {
                    synchronized (serverSocket) {
                         try {
                              serviceSocket = serverSocket.accept();
                              final SSLSocket sslSocket = (SSLSocket)serviceSocket;
                              sslSocket.setEnableSessionCreation(true);
                              sslSocket.getSession().invalidate();
                         } catch (IOException e) { break;     }
                    try {
                         service.serve(serviceSocket);
                         serviceSocket.close();
                    } catch (IOException e) { e.printStackTrace(); }
Thanks.
Edited by: duncan55 on 21 juin 2012 03:08                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

It's not a mess, you don't understand that there is one instance of service (one thread) by client.Me case rests, m'lud. It's such a mess that you don't even understand your own code. You have:
public class TestServer implements ServiceIt has an instance member:
private final ByteBuffer writeByteBuffer = ByteBuffer.allocateDirect(BUFF_SIZE);You instantiate it here:
ss = (SSLServerSocket) ctx.getServerSocketFactory().createServerSocket();
server.setServerSocket(ss);
server.setService(new TestServer());and nowhere else. There is therefore only one instance of TestServer. It has a serve(Socket socketService) method, that is called with different values of 'socketService' where you reuse the 'writeByteBuffer' member for all sockets:
writeByteBuffer.clear();
writeByteBuffer.putChar('c');
writeByteBuffer.putChar('o');
writeByteBuffer.putChar('u');
writeByteBuffer.putChar('c');
writeByteBuffer.putChar('o');
writeByteBuffer.putChar('u');
writeByteBuffer.flip();
outputChannel.write(writeByteBuffer);QED. Try the tutorial I mentioned and see how it's done.

Similar Messages

  • Severe interference between Airport Extreme (802.11n) and my Cable Modem

    This post is in reference to http://discussions.apple.com/thread.jspa?threadID=897496&tstart=30
    The root cause of the problem reported in the above post was determined to be a case of severe electrical interference between the 802.11n device and a Motorola Cable modem supplied by Comcast. I can provide the modem model number for anyone wanting it.
    I found that at least 12" spacing is required between the 802.11n and the modem to avoid any significant interference.
    I also found that if these two devices are physically adjacent the data rate performance thru the modem can reduce to almost zero.
    I speculate that the 802.11n is radiating so much radio energy that it causes electrical interference with the modem's function.
    N.B. The Airport Snow does not exhibit this same electrical interference.

    I would connect the xbox 360 to the Airport Extreme with an ethernet cable and from the Airport Extreme back to my router would be wirelessly.
    If you intent to connect the 802.11n AirPort Extreme Base Station (AEBSn) wirelessly to the router, this router would have to be another AirPort or one of a very few non-AirPort products that will work in a Wireless Distribution System (WDS).
    Would this cause any latency problems?
    Most likely, but that will depend on the two routers used in the WDS. If both are AEBSns, then the throughput performance would be competitive with at least 10baseT or 100baseT Ethernet. If not, then using an Ethernet cable may be the better option.

  • How to prevent interference between multiple Kinect v2 sensors

    Hi,
    I have an application which used to use 3 Kinect v1 with partially overlapping field of views to have a large field of view of a scene. I am trying to upgrade this application to be able to use 3 Kinect v2, as the Kinect v1 is now discontinued.
    I am having problems dealing with interference on the depth stream. Every now and then, the light from one of the Kinect will give bad readings on another Kinect... This is not new, the Kinect v1 had interference problems too.
    To solve the interference problems with the v1, I used to simply toggle the IR emitters ON and OFF. Since my 3 Kinects don't need to acquire a frame at the same time, 2 of them would turn their emitters OFF and the one Kinect that would need to acquire a
    frame would turn its IR emitter ON.
    Now, since we can no longer control the IR emitter directly, can any one give me a good solution for preventing my Kinects from interfering each other ? My Kinects don't need to acquire a frame at the same time, but they may need to each acquire a frame
    on a short interval (about 100ms), so closing and opening the Kinects is not an option as up to 2 seconds can pass between the call to KinectSensor.Open() and the first non-null depth frame.
    Thank you.

    I've been pricing builds on Newegg that I could turn into a small Kinect cluster.  I need three for what I want to do.  this is what I have right now.  It's going to be a while before I can build up three grand so I don't know if I'll ever
    get to do it. But on the bright side I would be able to use it as a cluster for other projects as well, so...yeah.  I was thinking i5 but the linked conversation is deterring me from that. Would you be willing to let me know some more of your system's
    specs? Would love some input from anyone willing to offer any!
    Link to conversation that deterred me from i5, specifically the post from "Carmine Si - MSFT":
    https://social.msdn.microsoft.com/Forums/en-US/dbaeb6a9-2af2-49f9-8cdb-07aff309d5ce/insufficient-frame-rate-detected-from-kinect-kinect-sensor-v2?forum=kinectv2sdk

  • Interference between the MBA and the airplane in-seat power plug

    I wanted to check if some of you had a similar problem recently:
    Comfortably sitting on a 15+ hours Air Canada flight between Vancouver, Canada and Sydney, Australia, I was looking forward to experiencing my MacBook Air for a longer period of time. After a few hours of usage, I needed to recharge the battery. Good news, there was a 110V power plug in the seat, so I connect my power adapter. And then, I get a huge surprise… the multi-touch trackpad starts behaving in a very strange way… the cursor starts jumping across the screen, when in the finder, the desktop icons change sizes… and as soon as I disconnect the power, everything is back to normal. I was therefore able to watch a movie on the Air, but every time I needed to move the cursor, I had to disconnect the power cord first???
    I tried this again on my flight back, and if the problem is still there. I reported it to Apple Support in Canada earlier today. It sounds really strange that a sub-notebook designed for road-warriors could have problems when used in a typical scenario for the target audience.
    (Originally posted on my blog - http://blog.metrailler.net)

    Yes, I've seen those symptoms. My Air only arrived yesterday, and the trackpad behaved this way from the first time I turned it on - jumpy or non-responsive when plugged in, but fine when running from battery. Long story short, I called Apple and we spent about an hour testing various things to prove it wasn't a software problem. Apple pronounced it DOA and advised me to bring it to the nearest service center for repair/replacement.
    But after I called Apple, I plugged it in somewhere else, and it works fine even when plugged in. It was originally plugged into a UPS. Any other plug in the house and it works fine -- indeed, it even works fine when plugged into my other UPS. So there's something wrong with the power that UPS is putting out, and the same thing must be wrong with the plane you were on. (Or all planes?)
    My dilemma now is that I don't know if this is just a characteristic of the trackpad, or if it's a hardware defect and I should get this one replaced after all. I did have an MBP (and other laptops) plugged into the same UPS before and none of them had any trackpad issues.
    I found some posts elsewhere that suggest there's a grounding problem that can mess with the trackpad, so maybe this is a hardware problem? But I also found something from Apple that warns that third-party power supplies can mess up the trackpad, so maybe my UPS, these third-party power supplies, and your planes all have the same problem.
    I'm going to call Apple back tomorrow and see if second- or third-level support has any advice given this new information.

  • Interference between multiple SocketConnections (mostly on closing), 6230i

    Hello,
    I'm writing an application that uses several sockets (MIDP SocketConnections), each operating in a different worker thread. My target model is 6230i.
    The weird thing is that, even though the workers are clearly separate, socket operations seem to have "interference" on each other. For example, abruptly closing a socket (e.g. to implement cancellation) can simultaneously cause another socket to fail in some of its operation.
    One extremely absurd thing I found (which I suspect to be a bug on the behalf of 6230i) is that if socket LINGER is greater than zero (i.e. turned on), quick disconnect/reconnect from/to the same address can fail sporadically (read: randomly). With LINGER set to zero this never happens.
    The question then is, has anyone experienced this kind of weird behaviour on apps with multiple SocketConnections, either on 6230i or some other model?
    Below are some further assumptions my app makes about MIDP sockets,
    + The underlying input/output streams are not synchronized, except for their corresponding close() methods. I protect against this by doing all reading inside the worker thread (so that only the worker thread can read()), and allowing only one thread to write() at a time.
    + It's a good manner to flush() after each write.
    + Basically, everything else (Connector.open & SocketConnection's methods) should be perfectly safe to invoke from arbitrary threads.
    Millions of thanks in advance, at least it was therapeutic to write down some thoughts :)
    -- Mikko

    Your screenshot shows that the content of that Preferences window is quite large.
    That might be the cause of the disappearance of that button (i.e. it drops off out of view).
    Did you make changes on the OS level to get such a large font size?

  • Blue Tooth interference between two IMacs

    I just purchased the 27" retina IMac last week and I moved the old IMac #1 with same Yosemite 10.10 to another room 30 feet away.
    The new IMac #2 goes crazy when the old iMac #1 is turned on. The mouse will freeze up and the keyboard gets dis-connected.
    From the new IMac I tried to disconnect IMac #1 from bluetooth devices but it comes back. I tried to pair keyboards but they are not found? I have paired each mouse in blue tooth settings on each computer.
    When I shut down the old IMac #1 all is fine on the new IMac. Not the answer but have on order wired mouse and keyboard for old and will turn off blue tooth on that computer.
    I spoke with Apple tech and he didn't know what was wrong.

    jcbear:
    I've had the exact same problem that started about the same time as your post (Nov/2014).  I was finally able to speak with a great senior level tech at Apple that understood the issue and who walked me through some steps that appear to have solved the problem.  You will need a USB mouse to do it because you have to turn the bluetooth off temporarily but still be able to use a mouse.  Basically he said it seems to be a pairing issue that doesn't normally occur because once a mouse or trackpad is paired, it should not be discoverable to other bluetooth signals (like my other iMac).  So my understanding of what we did is turn the bluetooth off, erase all the bluetooth settings, reset the computer by unplugging the power cord for a while, and then start it up again to let my mouse and trackpad re-pair.  Neither one has dropped the connection since and my other iMac has been on all day.  Here are the steps we did:
    1. Attach a USB mouse.
    2. In System Preferences, go to Bluetooth Preferences and turn Bluetooth OFF.
    3. In Finder, go to Macintosh HD>Library>Preferences and delete the file named: com.apple.Bluetooth.plist
    4. Turn OFF the Magic Mouse and/or Trackpad
    5. Shut down the computer.
    6. Unplug the power cord from the computer and wait a least 10 seconds.
    7. Turn ON the Magic Mouse and/or Trackpad.
    7. Plug in the power cord and start up the machine.  The Magic Mouse and/or Trackpad should automatically pair as a new connection.
    This is all we did and it seems to be working like new again.  You should know that I use the Apple USB Keyboard (not their Bluetooth Keyboard) so it wasn't an issue when I turned off the Bluetooth.  You may need a USB Keyboard to do this as well. 
    Hope this helps.  I know how frustrating it is to deal with this issue.

  • Interferences between ipod nano 5G and nike +.

    I have an ipod nano 5th Generation and a pair of nikes with nike   included. When I go to run and I listen the songs with noise, jumps, bad. But If I listen songs in my room I can hear songs perfectly. What is the problem with nike   and ipod nano 5thG

    Sorry guys, the nike + ipod watchremote IS NOT an Apple product. My bad. Cheers! ^_^

  • I believe iMac is freezing because of interference between my Wifi/router combo unit and my Network Card.  What should I do?

    My mid-2010 iMac (Snow Leopard) has been freezing with a spinning wheel within 10 minutes of startup for about a week.  I can only force it to shut down by holding the power button - nothing else functions at that point.
    I've been to the Genius Bar 3 times, with no findings.  They did an overnight diagnostic, and found nothing wrong.  They reinstalled Mac OS X, and before I even restored, it was still misbehaving.  I can't recreate it at the Apple Store, but it does it without fail at home.  At length, I believe I've narrowed it down to the Wifi/router combo unit and the iMac network card.  When I turn off the router (entirely or just "turn off" the wifi), it oeprates normally.  If I turn off the ethernet (BOTH en 0 and en 1 - if either of them is on, I have problems), it operates normally.  If I have them both on, it will freeze.  What on earth?
    It doesn't matter whether the iMac is actually CONNECTED by wifi or ethernet.  Merely having them both TURNED ON is enough to cause the freezing.  Has anyone heard of this?  I can't seem to find anything on it.  My only recourse seems to be asking my DSL provider for a new router and seeing if that helps. 
    Any other suggestions?  Thanks!

    I can't recreate it at the Apple Store, but it does it without fail at home.
    That's because when troubleshooting no devices should be connected except for the keyboard.
    You seem to have narrowed it down to your router.  Suggest that you call the router manufacturer to find out what the problem is.  If the router came from your ISP, call their tech support dept.

  • Best Router for the least interference?

    I am helping a friend out that owns a small bar. She is trying to let a few people in her place have wireless access to her internet connection, so they can help her out with some bookeeping, do some webpage stuff, let her do orders, etc while out at the bar.  
    She Had DSL put in that had a wirelss router built in. Somtimes it worked, sometimes it didn't. (the DSL was terrible wired even) She went cable modem, and bought a cheap router from someone else (not my choice!). No one seems to be able to get the wirelss to connect to the thier computer.
    Since this is a bar, there is neon everywehre, coolers, and old wireless phone, a couple of wireless camers, but even with your computer right next to the router, people can't get connected.  With all of the other things, pushing oput signals in the area, it seems that the inerference mught just be to high. Most of the technology is pretty old, so I don't think anything is in the 2.4ghz band , but i could be wrong.
    Could all the neon, etc be cuaing the interference (I tried shutting it off) would  an N router working in the 5.8 ghz make a difference?
    Essentially, what is the best linksys router in an environement like this that would provide the best signal?
    thanks,
    Wirelessless

    As you have mentioned in the post, so many device installed in the bad, its obevious that there will be an interference between the routers wireless signal and other deviceses. I think N series router will be the best suitable router in that environment. I think you can for WRT160N v3 or WRT400N (As this WRT400N is a Duab Band router) and its a Latest router launched by Linksys recently.

  • Losing signal between WDS stations when Time Capsule backing up

    I have the most odd problem and I can't figure it out.
    Summary:
    I have a WDS network set up using three Apple Airport routers. They work perfectly and internet signal and signal between routers is fine. However, as soon as Time Capsule begins to backup, the wifi signal between two other routers (also within this WDS network) slows to a crawl and essentially disabling me from getting to the internet. This ONLY happens when Time Capsule's internal hard drive is backing up with Time Machine.
    *Device Details*
    I have three Apple Airport routers:
    a) Airport Extreme (the older space ship model that only runs on G or B)
    b) Airport Express (the older model that runs only on G or B)
    c) Time Capsule (the older model that runs a single G, B, or N network. No multiple networks)
    This is how the WDS network is set up:
    *dsl <==> Extreme (main) <-> Express (relay) <-> Time Capsule (remote) <-> laptop*
    dsl modem is wired to the Extreme. Everything else is connected by wifi signal
    Problem
    This WDS network setup works and I do not have problems accessing the internet until my laptop (MacBook Air) activates Time Machines and backsup on the Time Capsule. As soon as that happens, the speed rate between the Extreme and Express drop dramatically. That's right! The speed rate between the Extreme and Express drops dramatically to a rate of 1Mbps (according to Airport Utility) rendering it impossible to access the internet using this network. Meanwhile, the Time Machine backup is going well at a very fast speed. The signal rate between Express and Time Capsule is normal.
    Here is a schematic diagram of the connection that has problem (marked with XX) when the Time Capsule hard drive is running:
    *dsl <==> Extreme (main) <XX> Express (relay) <-> Time Capsule (remote) <-> laptop*
    I do not know why the speed rate between Extreme and Express would drop. Why should the hard drive of the Time Capsule be affecting the signal rate two routers down? It is not even directly connected to the connection between Extreme and Express.
    Anyone have any idea what is going on? Is this an indication that my Time Capsule is dying? Or, that somehow the hard drive when working creates serious interference such that router signal is affected? If so, it is still odd that the router signal between Time Capsule and Express is not affected.
    _*Actions Taken*_
    I have spent many hours trying to solve this problem. Actions I have tried:
    • disable wireless client access to all routers EXCEPT Time Capsule. I was thinking maybe somehow the MacBook Air was connecting to multiple routers when the backup was taking place.
    • decrease signal strength of Extreme to 50%. I was thinking maybe the signal of the Extreme was somehow getting messed up with the signal of the Time Capsule and thus affecting the connection between Extreme and Express.
    • set network to run as b/g compatible mode, and g only mode. Makes no difference. Connection between Extreme and Express goes down when Time Capsule hard drive is backing up
    • change the name of the WDS network to something different. Makes no difference
    • turn off MacBook Air wifi and directly connect it to Time Capsule by USB ethernet. When back up happens, there is apparently no interference and I can continue to use the internet. So somehow, backing using wifi from MacBook Air to Time Capsule is creating interference between the other two routers. Makes no sense, but it is what I observe.
    • oh yeah, I've also hit the Time Capsule a few times and banged the Express a couple time in hopes that a little bit of thuggish threat would straighten up these two imbeciles. No go. They won't listen
    Okay folks! IF you have gotten through this far in my message, you deserve a gold star and a membership in the Last Supper Club. Please help if you have any ideas what I should try besides throwing the Express and Extreme and replacing them with something that runs on N.
    =======================
    P.S. I should say that I've used this setup for over a year and never a problem until well, yesterday.
    Message was edited by: Conal Ho

    Here is another oddity, when my other laptop, a MacBook Pro 15" (first generation) activate Time Machine and backs up to the same Time Capsule, it DOES NOT lead to the degradation of wifi signal! I can still access the internet without problem.
    Now I'm wondering if this is something about my MacBook Air.
    Note that both machines are running 10.6.2. My 15" MBP is a first generation and so the highest wifi speed it does is G speed.

  • What would cause the screen to swith between backgrounds as if it is being controlled remotely? the system had created 7 new folders on it's own.

    System is currently switching between mutliple screens without me touching it. The system has created several new folders. The system is performing as if it is being remotely controlled.

    How recently did you switch?  If it's less than 60 days, then Verizon simply reinstates your previous account.  The fact that you were on the EDGE plan and mailed the devices back, and they apparently are somewhere in the system, could cause complications, and it might just work out that you just go back on the same plan and they set you up with the same devices.  I'm not sure how it will go - but since you are still being billed for the devices... 

  • IPhone Wifi and Bluetooth interference when used simultaneously

    I am presently using AirFoiI to stream audio from my PC to my iPhone. AirFoil uses the same protocols as AirPlay. AirFoil/AirPlay streams an Alac audio codec using a bandwith of 1,50 Mbs on average irrespective of the audio codec and bit rate of the source file.
    The audio stream received on my iPhone through WiFi is send over simultaneously to my Bluetooth speaker.
    When using AirFoil/AirPlay, I regularly hear distortions at the beginning of a track and also randomly when a track is playing. The distortions are a lot more when I move the iPhone around.  I am almost 100% sure that these sound distortions are because of Bluetooth interference on the iPhone itself when simultaneously receiving an audio stream from AirFoil/AirPlay and sending an audio stream over bluetooth to my speaker.
    I also have done some tests using "Net Meter" and "TCP-view" from Sysinternals on my Windows 7 PC.  On "Net Meter" I have never seen any WiFi drop outs or distortions regarding my home network.
    My bluetooth speaker supports the A2DP AAC audio codec. This was an important feature for me before I bought the device because the AAC audio codec provides normally a relatively good audio quality over Bluetooth. At the time it did not occur to me that there might be a possible Bluetooth interference coming from my iPhone itself. I presumed that the Bluetooth on the iPhone would use a 2,4 Ghz RF channel not in use by WiFi so that WiFi and Bluetooth used on the same device simultaneously could never distort each other. I was clearly wrong.  Put shortly, the problems I encounter are presumably solely caused by the firmware/software on my iPhone. I hope this will eventually be resolved with some future iOs 8 updates. There were indeed many people having Bluetooth issues since iOs 8.
    I know the best solution would be to wire my speaker optically with an AirPort Express or an Apple TV.  I have not yet decided between the two.
    Even when there exists a "wired" solution, I think an expensive device such as an iPhone should be able to make sure that there is never interference between WiFi and Bluetooth when used simultaneously on the SAME device/iPhone.  
    I hope that some specialists will give their views on my "nonprofessional" analysis and some more in-depth information.

    Now will this work:
    Airport extreme set to BOTH frequencies and my older wifi stuff like Iphone and printer will automatically connect via 2.4GHz and Macbook will connect to 5GHz so that it will not longe be disruppted by bluetooth?
    Unfortunately, no one can predict exactly what will happen in advance with wireless and interference issues. Your chances will improve, though. It might be a good idea to understand the store's return policy before you buy.
    What if the Macbook will not connect automatically to the 5Ghz network because the 2.4 stream may be slightly stronger. Is there a way to force macbook to connect to 5Ghz?
    Yes, use the option to assign a separate wireless network name to the 5 GHz band, and then "point" your MacBook to that network.  The other 2.4 GHz devices will connect to the 2.4 GHz band.

  • IPhone 3G Interference with Playstation 3 PlayTV

    I don't know if anyone else is having this issue but please post if you are.
    I set up my PlayTV box on my PS3 yesterday and everything is running nice and smooth as it should. However, whenever I recieve a text message on my iPhone 3G it makes my PS3 bring up some of the PlayTV menu windows, freezes the screen for about 10 seconds as the message downloads (obviously as I'm watching PlayTV) and then returns to normal once the text message has been delivered. If I'm watching something I don't want interrupting it's rather frustrating when this happens. Is there some kind of interference between the iPhone and PlayTV??
    Anyone else having this issue??
    BravoLima on Playstation Network and XBOX LIVE
    Message was edited by: BravoLima so he could put his PS3 and Xbox 360 gamertag in.

    I've tried placing the iPhone in my kitchen and put it on silent, the next time i had PlayTV interference i checked my phone and sure enough I had recieved a message.
    It doesn't interfere with my other tv that has a standard freeview inbuilt, it only interferes with PlayTV.
    This is very strange indeed.

  • Safari Communication interference: modem, router & airport extreme?

    Safari Communication interference: modem, router & airport extreme?
    I am using:
    Connection: aonSpeed ADSL (AUSTRIA)
    Modem: Thomson Speedtouch 546i
    Router: Zyxel Prestige 334
    Wireless: Airport Extreme
    Computers:
    MacBookPro 2.33 GHz Intel Core 2 Duo 3GB 667 MHz DDR2 SDRAM running OSX version 10.4.9
    Dual 2.3 Ghz PowerPC G5 with 2GB DDR SDRAM running OSX version 10.4.9
    Since I am using a MacBook Pro and a NON-Intel G5 I selected 801.11n(802.11b/g compatible) setting.
    Wireless security: WPA/WPA2 Personal
    Connection Sharing: Off (Bridge Mode)
    Ethernet WAN Port: 100 Mbps/Full Duplex
    My Internet (Safari) problems kept recurring. Slow and incomplete loading of pages, especially special pages - banks etc. I tried all the recommended solutions - delete lists, etc, etc.
    Various times the pages would load (usually after reconfiguration with restarts).
    After some time (within 24 hours) the problem would resurface.
    When the pages don't load it occurred both on the powerPC and the Intel machines.
    Also with wireless as well as ethernet cable. Also with Safari and Firefox.
    Also with my original Airport express and the new Airport extreme.
    I bought am Airport Extreme and connected it. First everything was OK.
    The next day same problem.
    I restarted modem, router, airport and computer. Worked again!
    Today same problem. Tried restart scenario but no go.
    I finally realized that the amber light was on on the airport. Message was NO INTERNET CONNECTION because no valid IP address for the airport.
    I was however connected! Only some pages didn't load.
    I did the restart with router and airport FIRST and then the modem. GREEN LIGHT and the pages loaded! CRAZY.
    By evening the problem gradually began again.
    This morning I restarted again router and airport FIRST and then the modem then computer.
    Low and behold GREEN LIGHT and the pages loaded!
    Today I plugged the power of modem, router and Airport extreme into the same power strip, thus starting them all at the same time.
    All the pages loaded normally.
    Could there be an incompatibility or communication interference between modem, router, airport extreme and computer?
    Any suggestion?
    Regards,
    TOM from Innsbruck
    see also Safari thread: http://discussions.apple.com/thread.jspa?threadID=963686&start=0&tstart=0

    I now have the Airport Extreme, apparently I have to turn off the wi fi on my netgear router, I was wondering how you do that,
    I have logged in to my netgear smart wizard, I have chosen wireless settings, and in there i have a heading
    Wireless Access Point
    Under that heading I have 2 box's checked, The first box checked is   Enable Wireless Access Point.
    The other box checked is Allow Broadcast of Name ( SSID )  And the third box which is unchecked is Wireless Isolation
    Is it just a case of unchecking the box Enable Wireless Access Point,  or is the off switch somewhere else.
    Thanks
    M

  • New 500 GB DVR Multi Room Not working!

    I received the new 500 GB DVR this past Friday and set it up over the weekend. I'm having issues with viewing the new content on the new DVR with other STBs.
    I've tried rebooting all the boxes and unplug each one but still get the same message that There was error connecting to the DVR STB. It's almost like the boxes are trying to still access the previous DVR. I tried to submit to Verizon Support on Twitter and it's been 3 days without hearing back if they had a solution. They tell me the same cut and paste message they give everyone to DM them on Twitter and here is the link to the form but then you don't hear back at all.
    Has anyone else experienced issues with the new 500 GB DVR and Multi Room access?
    Solved!
    Go to Solution.

    I switched from a 7216 MR-DVR to a 7232 and had tech support switch the MR feature to the new box, and have no problems. The STBs and DVRs talk to each other on their own little MoCA network. COAX or splitter issues can cause problems. Router not involved. I have MRDVR running and all routing functions are turned off on the Actiontec, and the the WAN ports are not even connected. The Actiontec is bridge LAN to MoCA. My router is a Linux box. The Actiontec does filter STB broadcast traffic from my LAN. It sees no MoCA traffic except for VOD and guide updates. All other UDP broadcast traffic is blocked on the bridge.
    The hub errors people were seeing on the older 1.7 img were not HUB as in router related. The hub acts as the master on the MoCA network. Looking at the STB diagnostic menu D16 for "Connected Home" my DVR shows as the hub and is verified by the MAC address my Linux box assigns an IP address to. If you are having Multi Room DVR issues I can almost guarantee that it is not a router issue. Check and make sure you have good quality RG-6 coax and the proper splitter(s). Make sure there is no line loss or interference between the boxes. Also make sure Multi Room is assigned properly only to the DVR wanting to be the Multi Room DVR. It can not be assigned to more than one DVR. Now with the 1.9 image the rules may change, but I am not sure. Right now it is my understanding that only one DVR can be the HUB. Now that may be changing, we will need to wait and see. I believe it will change.
    Now back to removing the old DVR and having Multi Room Enabled on your new DVR. You may want to have both DVRs connected so the feature can be disabled on the old DVR and enabled on the new. If you do not do this and reconnect the old DVR you may end up with two trying to act as HUBs. May not work well with 1.8. Not saying I know for sure, and my assumptions are only based on observations. But when I had Multi Room moved from old to new, both my DVRs were connected, and my system works great.

Maybe you are looking for