<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Wed, 20 Feb 2013 15:56:00 +0000</lastBuildDate><item><title>Cisco ISE, Andriod: 'network setup assistant' unable to detect server</title><link>https://www.linickx.com/cisco-ise-andriod-network-setup-assistant-unable-to-detect-server</link><description>&lt;p&gt;The title should just about cover it, \^that\^ is the error message I
saw when trying to provision an Android Tablet using Identity Services
Engine.&lt;/p&gt;
&lt;p&gt;The answer is hidden on &lt;a href="http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns742/ns744/docs/howto_61_byod_provisioning.pdf"&gt;pg36 of the provisioning
guide&lt;/a&gt;,
you see that there http request..&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2013/02/howto_61_byod_provisioning_PG36.png"&gt;&lt;img alt="howto_61_byod_provisioning_PG36" src="https://www.linickx.com/files/2013/02/howto_61_byod_provisioning_PG36-300x131.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The client software sends a http request to it's default gateway, which
for me was the Ciso WLC (&lt;em&gt;Wireless LAN Controller&lt;/em&gt;); what is supposed to
happen is that http request is re-directed to the ISE, BUT that will
only happen if the ACL pushed down blocks it.&lt;/p&gt;
&lt;p&gt;So block http to the ip address of the WLC, assuming that you are
sending the correct AV pair down the WLC will re-direct the android to
ISE and the rest of the provisioning process should work.&lt;/p&gt;
&lt;p&gt;It took me ages to find that, hopefully this will help you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 20 Feb 2013 15:56:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2013-02-20:cisco-ise-andriod-network-setup-assistant-unable-to-detect-server</guid><category>Android</category><category>BYOD</category><category>Cisco</category><category>error</category><category>ISE</category><category>WLC</category></item><item><title>Delicious's Bad Behavior</title><link>https://www.linickx.com/delicious-bad-behavior</link><description>&lt;p&gt;Recently I've been having &lt;a href="http://wordpress.org/support/topic/212397"&gt;this
problem&lt;/a&gt; with my
&lt;a href="http://wordpress.org"&gt;WordPress&lt;/a&gt;+ &lt;a href="http://www.bad-behavior.ioerror.us/"&gt;Bad
Behavior&lt;/a&gt; +
&lt;a href="http://delicious.com"&gt;Delicious&lt;/a&gt; blog posting combo, in a nut shell,
delicious was showing an error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[10/22/08 05:00:03 AM -0700] Creating blog post at http://correct_url.com/xmlrpc.php ...ERROR: Failed due to General Exception: Curl returned non 200 HTTP code: 417. Response body:&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And I couldn't work out why, after some digging/googling, I thought to
look in my bad behaviour logs, and found a match for my apache log...&lt;/p&gt;
&lt;p&gt;&lt;code&gt;76.13.6.189 - - [19/Oct/2008:23:00:29 +0100] "POST /xmlrpc.php HTTP/1.1" 417 796 "-" "PEAR_XML_RCP2/0.0.x"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I've contacted both yahoo (&lt;em&gt;who now own delicious&lt;/em&gt;)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hello Nick,&lt;/p&gt;
&lt;p&gt;Thank you for writing to del.icio.us Customer Care.&lt;/p&gt;
&lt;p&gt;I understand that the Delicious blog posting feature is not working&lt;br /&gt;
 properly for you. I apologize for any inconvenience.&lt;/p&gt;
&lt;p&gt;Our engineers are aware of this issue and are investigating possible&lt;br /&gt;
 solutions, but since this is not and "official" feature, we do not
have&lt;br /&gt;
 any specific time frame when this will be fixed.&lt;/p&gt;
&lt;p&gt;Please let me know if you have any further questions or concerns.&lt;/p&gt;
&lt;p&gt;Thank you again for contacting del.icio.us Customer Care.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
 Alessandra&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and Michael Hampton (&lt;em&gt;Bad Behavior Developer&lt;/em&gt;)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Looks like they are sending an unexpected Expect: header and they are&lt;br /&gt;
 failing to retry the request without Expect:. You should report this
to&lt;br /&gt;
 them so they can fix it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;as you can see they have confirmed that there is indeed a problem .....
But as you may have noticed &lt;a href="https://www.linickx.com/archives/629/links-for-2008-10-24"&gt;delicious posted on my
blog&lt;/a&gt;, no the
problem hasn't been fixed, but there is a work around.&lt;/p&gt;
&lt;p&gt;In \~/wp-content/plugins/bad-behavior/bad-behavior/whitelist.inc.php you
can add delicious's IP address, it's not a perfect solution as it'll be
overwritten everytime BB is updated, but it'll do for now :)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: I've had many requests for this...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OLD&lt;/strong&gt;: whitelist.inc.php&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// IP address ranges use the CIDR format.

        // Includes four examples of whitelisting by IP address and netblock.
        $bb2_whitelist_ip_ranges = array(
                "64.191.203.34",        // Digg whitelisted as of 2.0.12
                "208.67.217.130",       // Digg whitelisted as of 2.0.12
                "10.0.0.0/8",
                "172.16.0.0/12",
                "192.168.0.0/16",
//              "127.0.0.1",
        );
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;NEW&lt;/strong&gt;: whitelist.inc.php&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// IP address ranges use the CIDR format.

        // Includes four examples of whitelisting by IP address and netblock.
       $bb2_whitelist_ip_ranges = array(
                "64.191.203.34",        // Digg whitelisted as of 2.0.12
                "208.67.217.130",       // Digg whitelisted as of 2.0.12
                "76.13.6.189",          // Delicious
                "10.0.0.0/8",
                "172.16.0.0/12",
                "192.168.0.0/16",
//              "127.0.0.1",
        );
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sun, 26 Oct 2008 11:00:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-10-26:delicious-bad-behavior</guid><category>bad-behavior</category><category>Blog</category><category>del.icio.us</category><category>error</category><category>WordPress</category></item><item><title>We're a bit Mashed!</title><link>https://www.linickx.com/were-a-bit-mashed</link><description>&lt;p&gt;My Apologies to all, the transition to the my new theme hasn't gone as
smoothly as I'd have liked, images are off line, and the adverts are all
in the wrong place. Normal service will be resumed as soon as possible.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sat, 24 May 2008 20:26:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-05-24:were-a-bit-mashed</guid><category>error</category><category>linickx</category></item><item><title>Call to undefined function: register_sidebar_widget</title><link>https://www.linickx.com/call-to-undefined-function-register_sidebar_widget</link><description>&lt;p&gt;So &lt;a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/"&gt;WP2.5 is
out&lt;/a&gt;,
and I figured it was about time I squashed &lt;a href="http://wordpress.org/support/topic/150908"&gt;that load
bug&lt;/a&gt; on
&lt;a href="http://wordpress.org/extend/plugins/phpbb-recent-topics/"&gt;phpbb_recent_topics&lt;/a&gt;,
while I'm at it I figure I'll
&lt;a href="http://automattic.com/code/widgets/"&gt;wigetize&lt;/a&gt; it.&lt;/p&gt;
&lt;p&gt;The problem is that &lt;a href="http://automattic.com/code/widgets/plugins/"&gt;the example on the automattic
site&lt;/a&gt; doesn't actually
work! If you paste...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;function widget_myuniquewidget($args) {
    extract($args);
?&amp;gt;
        &amp;lt;?php echo $before_widget; ?&amp;gt;
            &amp;lt;?php echo $before_title
                . 'My Unique Widget'
                . $after_title; ?&amp;gt;
            Hello, World!
        &amp;lt;?php echo $after_widget; ?&amp;gt;
&amp;lt;?php
}
register_sidebar_widget('My Unique Widget','widget_myuniquewidget');
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Into a blank plugin you get this in your logs...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PHP Fatal error:  Call to undefined function:  register_sidebar_widget()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now I've not been bothered to dig out the exact reason why yet,
something to do with the sidebar loading, but you need to wrap the whole
lot up in an init function, so try this instead...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;function widget_init_myuniquewidget() {
    // Check for required functions
    if (!function_exists('register_sidebar_widget'))
        return;

    function widget_myuniquewidget($args) {
        extract($args);
    ?&amp;gt;
            &amp;lt;?php echo $before_widget; ?&amp;gt;
                &amp;lt;?php echo $before_title
                    . 'My Unique Widget'
                    . $after_title; ?&amp;gt;
                Hello, World!
            &amp;lt;?php echo $after_widget; ?&amp;gt;
    &amp;lt;?php
    }
}

// Delay plugin execution until sidebar is loaded
add_action('widgets_init', 'widget_init_myuniquewidget');
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I just need to work out now, how to add wiget options to the wp-admin
panel and the next verions of my plugin will be done :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 08 Apr 2008 13:57:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-04-08:call-to-undefined-function-register_sidebar_widget</guid><category>error</category><category>PHP</category><category>plugin</category><category>WordPress</category></item></channel></rss>