<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: IPv6 and Python question</title>
	<atom:link href="http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/</link>
	<description>Free Software Chicago Style: letting proprietary solutions sleep with the fishes</description>
	<pubDate>Sun, 20 Jul 2008 22:56:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Bernhard</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-1028</link>
		<dc:creator>Bernhard</dc:creator>
		<pubDate>Sat, 30 Jun 2007 23:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-1028</guid>
		<description>I would recommend 

ip -6 addr &#124; grep "scope global"

to check for IPv6 connectivity. That is basically the solution Dennis suggested, as soon as your IPv6 stack is loaded you get link-local addresses assigned to your interface (scope link), but to get connectivity outside your network you need a global address.</description>
		<content:encoded><![CDATA[<p>I would recommend </p>
<p>ip -6 addr | grep &#8220;scope global&#8221;</p>
<p>to check for IPv6 connectivity. That is basically the solution Dennis suggested, as soon as your IPv6 stack is loaded you get link-local addresses assigned to your interface (scope link), but to get connectivity outside your network you need a global address.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: animefan</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-960</link>
		<dc:creator>animefan</dc:creator>
		<pubDate>Thu, 28 Jun 2007 09:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-960</guid>
		<description>I would never want whatever program to modify my .bashrc or .bash_profile!
Please force the user to add
  source ~/.foo.rc
to his .bashrc and modify your environment in the sourced file.</description>
		<content:encoded><![CDATA[<p>I would never want whatever program to modify my .bashrc or .bash_profile!<br />
Please force the user to add<br />
  source ~/.foo.rc<br />
to his .bashrc and modify your environment in the sourced file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rusty</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-956</link>
		<dc:creator>rusty</dc:creator>
		<pubDate>Wed, 27 Jun 2007 19:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-956</guid>
		<description>an alternative to 'ip -6 nei sho' would be 'route -6' then cut the 'Next Hop' column out and search for [0-9a-f]. Looks something like:

route -6 &#124; cut -c 45-86 &#124; sort -u &#124; grep -v Next &#124; grep [0-9a-f]

The 'ip -6 nei sho' command may work just as well, but I suspect it is possible that the neighbors will eventually time out of the neighbor table. (Just as your syslog file may logrotate before you search it, or may show a message for no router from boot up, which changes later on.)

It may also be a message from an earlier boot when the network didn't come up properly for some reason.

Route should be valid as long as there is an IPv6 router advertizing in the local network. Agreeded that if one is, then it should show up in the 'ip -6 nei sho' results.</description>
		<content:encoded><![CDATA[<p>an alternative to &#8216;ip -6 nei sho&#8217; would be &#8216;route -6&#8242; then cut the &#8216;Next Hop&#8217; column out and search for [0-9a-f]. Looks something like:</p>
<p>route -6 | cut -c 45-86 | sort -u | grep -v Next | grep [0-9a-f]</p>
<p>The &#8216;ip -6 nei sho&#8217; command may work just as well, but I suspect it is possible that the neighbors will eventually time out of the neighbor table. (Just as your syslog file may logrotate before you search it, or may show a message for no router from boot up, which changes later on.)</p>
<p>It may also be a message from an earlier boot when the network didn&#8217;t come up properly for some reason.</p>
<p>Route should be valid as long as there is an IPv6 router advertizing in the local network. Agreeded that if one is, then it should show up in the &#8216;ip -6 nei sho&#8217; results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-955</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 27 Jun 2007 19:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-955</guid>
		<description>Personally I think I'd attack the first problem by creating a simple file (say ~/.setenvs) of the form:
export FOO=bar
export BAZ=boo
....

Which should be relatively easy to parse and modify in Python. This file could then be sourced in the .bashrc with a line like:
. ~/.setenvs</description>
		<content:encoded><![CDATA[<p>Personally I think I&#8217;d attack the first problem by creating a simple file (say ~/.setenvs) of the form:<br />
export FOO=bar<br />
export BAZ=boo<br />
&#8230;.</p>
<p>Which should be relatively easy to parse and modify in Python. This file could then be sourced in the .bashrc with a line like:<br />
. ~/.setenvs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixternal</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-954</link>
		<dc:creator>nixternal</dc:creator>
		<pubDate>Wed, 27 Jun 2007 18:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-954</guid>
		<description>Dennis, thank you sir, but I think using strip() will help me locate and change the variable in .bash_profile.

Niall, ip -6 neigh show is better than grepping syslog, thanks for that one. If there are no ipv6 neighbors it would == 0 which is perfect.</description>
		<content:encoded><![CDATA[<p>Dennis, thank you sir, but I think using strip() will help me locate and change the variable in .bash_profile.</p>
<p>Niall, ip -6 neigh show is better than grepping syslog, thanks for that one. If there are no ipv6 neighbors it would == 0 which is perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niall</title>
		<link>http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-953</link>
		<dc:creator>Niall</dc:creator>
		<pubDate>Wed, 27 Jun 2007 18:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nixternal.com/2007.06.27/ipv6-and-python-question/#comment-953</guid>
		<description>The command
&lt;code&gt;ip -6 neigh show&lt;/code&gt;
should show you any ipv6 neighbours. It's not perfect, but it's probably good enough.</description>
		<content:encoded><![CDATA[<p>The command<br />
<code>ip -6 neigh show</code><br />
should show you any ipv6 neighbours. It&#8217;s not perfect, but it&#8217;s probably good enough.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.302 seconds -->
