LinkSys WAG160N - AP Isolation Issue
Posted: 2010-05-24  Author: John Homewood

I've experienced an issue with LinkSys' Wireless-N ADSL2+ Gateway (WAG160N - Version 1.0) where while connected to it via wireless it is unable to connect to another wireless device on the network. What makes this stranger is that when the router is restarted the device allows connections between wireless devices but only a few hours. Obviously it is not ideal to continually restart the router to restore connection.

I actually have two of these routers (Both Version 1.0) that I brought at different times from different manufactures and both experience this issue and so it does not seem to be an isolated hardware issue or bad batch of routers.

On researching I found that other users of this router have also discovered this issue however no real permanent solution existed and the latest firmware V1.00.15 also experiences this issue.

After several support chats with LinkSys they gave me some settings to try and change and so far this seems to be working. These are the changes they suggested:

- Login into the router via your web browser (Default http://192.168.1.1)

- Go to the Wireless --> Advanced Wireless Settings tab.

- Change the Beacon Interval to 50.

- Change the Fragmentation Threshold to 2304.

- Change the RTS Threshold to 2304.

- Click on Save Settings.

Please let me know if you find this is also working for you. I connect to other systems on the wireless network infrequently so I would be interested to know if this change completely stabilises the issue.

Top

Microsoft LINQ - C# - Left Outer Join Example
Posted: 2010-05-24  Author: John Homewood

I couldn't find many examples of left outer joins in Microsoft LINQ where the where-clause was made up from using values within the two ArrayList Objects being joined. Most examples had the where-clause being made up from retrieving a variable external to the LINQ query and ArrayLists.

So here's an example:

The two object classes being joined and the combined object

/// <summary>

/// Position Class

/// </summary>

public class Position

{

// Field

public string date { get; set; }

public string portfolio { get; set; }

public string currency { get; set; }

public string ISIN { get; set; }

public string quantity { get; set; }

}

/// <summary>

/// Mapping Class

/// </summary>

public class Mapping

{

// Field

public string ISIN { get; set; }

public string currency { get; set; }

}

/// <summary>

/// CombinedMapping Class

/// </summary>

public class CombinedMapping

{

// Field

public string date { get; set; }

public string portfolio { get; set; }

public string currency { get; set; }

public string ISIN { get; set; }

public string quantity { get; set; }

public string ISINMatch { get; set; }

public string currencyMatch { get; set; }

}


Left Outer Join of positions array list and mapping array list

var results = from ps in positionsList.Cast<Position>()

join ms in mappingsList.Cast<Mapping>()

on ps.ISIN equals ms.ISIN into psTemp

from ms in psTemp.DefaultIfEmpty()

select new CombinedMapping

{

date = ps.date,

portfolio = ps.portfolio,

currency = ps.currency,

ISIN = ps.ISIN,

quantity = ps.quantity,

ISINMatch = ms == null ? "(No ISIN)" : ms.ISIN,

currencyMatch = ms == null ? "" : ms.currency

};


Top

Copyright © John Homewood 2003 - 2010.

Last Updated: 24/05/2010 18:21