<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning On Demand &#187; Unix</title>
	<atom:link href="http://www.rasyid.net/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rasyid.net</link>
	<description>Learning anything from anywhere</description>
	<lastBuildDate>Sun, 12 Feb 2012 18:07:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Find out which lan card device is active</title>
		<link>http://www.rasyid.net/2012/02/12/find-out-which-lan-card-device-is-active/</link>
		<comments>http://www.rasyid.net/2012/02/12/find-out-which-lan-card-device-is-active/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 02:43:19 +0000</pubDate>
		<dc:creator>alamster</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.rasyid.net/?p=3119</guid>
		<description><![CDATA[I used to work with FreeBSD till I resign after working for 10 years. Not touch server for long time make bit nervous when a client ask me to install and configure new server using various OS but mainly still in Linux or BSD environment. When client change lan card position or change rj45 location [...]]]></description>
			<content:encoded><![CDATA[<p>I used to work with FreeBSD till I resign after working for 10 years. Not touch server for long time make bit nervous when a client ask me to install and configure new server using various OS but mainly still in Linux or BSD environment.</p>
<p>When client change lan card position or change rj45 location system will get error message and not working.</p>
<p>Identify lan card and its ip address in Linux</p>
<p># ifconfig -a | more</p>
<p>eth0 Link encap:Ethernet HWaddr 00:21:5e:6b:f6:76<br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
Memory:91a80000-91aa0000</p>
<p>eth1 Link encap:Ethernet HWaddr 00:21:5e:6b:f6:77<br />
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0<br />
inet6 addr: fe80::221:5eff:fe6b:f677/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:4607 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:7707 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:100<br />
RX bytes:394554 (394.5 KB) TX bytes:10255745 (10.2 MB)<br />
Memory:91980000-919a0000</p>
<p>lo Link encap:Local Loopback<br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:226 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:226 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:36231 (36.2 KB) TX bytes:36231 (36.2 KB)</p>
<p>usb0 Link encap:Ethernet HWaddr 02:21:5e:6b:f6:79<br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</p>
<p># ifconfig -s<br />
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg<br />
eth1 1500 0 4627 0 0 0 7724 0 0 0 BMRU<br />
lo 16436 0 226 0 0 0 226 0 0 0 LRU</p>
<p>How about FreeBSD??</p>
<p># ifconfig -a<br />
re0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br />
options=9b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM&gt;<br />
ether 00:16:3e:9f:46:a1<br />
inet 216.24.200.111 netmask 0xfffffff8 broadcast 216.24.200.199<br />
media: Ethernet autoselect (100baseTX &lt;full-duplex&gt;)<br />
status: active<br />
plip0: flags=108810&lt;POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT&gt; metric 0 mtu 1500<br />
lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu 16384<br />
inet6 fe80::1%lo0 prefixlen 64 scopeid 0&#215;3<br />
inet6 ::1 prefixlen 128<br />
inet 127.0.0.1 netmask 0xff000000</p>
<p>another FreeBSD machine</p>
<p>$ ifconfig -a<br />
em0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br />
options=219b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC&gt;<br />
ether 5c:f3:fc:2a:53:35<br />
inet 118.97.168.200 netmask 0xffffff00 broadcast 118.97.168.255<br />
media: Ethernet autoselect (100baseTX &lt;full-duplex&gt;)<br />
status: active<br />
em1: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br />
options=219b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC&gt;<br />
ether 5c:f3:fc:2a:53:36<br />
inet 10.36.2.9 netmask 0xffffff00 broadcast 10.36.2.255<br />
media: Ethernet autoselect (100baseTX &lt;full-duplex&gt;)<br />
status: active<br />
lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu 16384<br />
options=3&lt;RXCSUM,TXCSUM&gt;<br />
inet6 fe80::1%lo0 prefixlen 64 scopeid 0&#215;3<br />
inet6 ::1 prefixlen 128<br />
inet 127.0.0.1 netmask 0xff000000<br />
nd6 options=3&lt;PERFORMNUD,ACCEPT_RTADV&gt;</p>
<p>Message from this post :</p>
<p>1. use <strong>ifconfig -s</strong> in linux to check which lan card device connected with cable.</p>
<p>2. See <strong>status</strong> in FreeBSD to check which lan card connected with lan cable.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.rasyid.net">Learning On Demand</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact alamster@gmail.com so we can take legal action immediately.<br/><span style="float: right;font-size: 7pt"><a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fblog.taragana.com%2Findex.php%2Farchive%2Fwordpress-plugins-provided-by-taraganacom%2F&sref=rss" rel="external nofollow">Plugin</a> by <a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fwww.taragana.com%2F&sref=rss" rel="external nofollow">Taragana</a></span><p><a href="http://redirectingat.com?id=23616X850408&xs=1&url=https%3A%2F%2Fplus.google.com%2F111076104099093236158%3Frel%3Dauthor&sref=rss" rel="author"><img src="http://www.google.com/images/icons/ui/gprofile_button-16.png" title="gprofile button 16 photo" alt="gprofile button 16 Find out which lan card device is active" /></a></p>
<div class="skimlinks-disclosure-button"><p><script class="skimlinks_ref_script" type="text/javascript" src="http://static.skimlinks.com/api/ref.js?p=23616&amp;d=850408&amp;t=1"></script></p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rasyid.net/2012/02/12/find-out-which-lan-card-device-is-active/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sender address rejected: Domain not found</title>
		<link>http://www.rasyid.net/2011/08/01/sender-address-rejected-domain-not-found/</link>
		<comments>http://www.rasyid.net/2011/08/01/sender-address-rejected-domain-not-found/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 03:54:24 +0000</pubDate>
		<dc:creator>alamster</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[dkim]]></category>
		<category><![CDATA[email server]]></category>
		<category><![CDATA[resolv.conf]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://www.rasyid.net/?p=2929</guid>
		<description><![CDATA[I have an order for reinstall email server. I accept the job and finish it in one day ( I use FreeBSD 8.2 release for OS and Postfix for MTA but the longest session during reinstall is backup and migrating mailbox). Everything seem ok until mail server deployed, local delivery work well except sending to [...]]]></description>
			<content:encoded><![CDATA[<p>I have an order for reinstall email server. I accept the job and finish it in one day ( I use FreeBSD 8.2 release for OS and Postfix for MTA but the longest session during reinstall is backup and migrating mailbox).</p>
<p>Everything seem ok until mail server deployed, local delivery work well except sending to outside. Any email to other email server rejected with &#8216;domain not found&#8217; message.</p>
<p>I&#8217;ve change /etc/resolv.conf to use opendns and google public ip but still not work, the error message still appear and make me little confuse.</p>
<p>After look around finally I got the solution. Its about postfix local resolv.conf file. Postfix has its own resolv.conf file located in /var/spool/postfix/etc.</p>
<blockquote><p>mail# ls<br />
hosts           localtime       resolv.conf     services</p></blockquote>
<p>Yes, that resolv.conf file is still holding the value of local dns server I use during installation process.</p>
<p>Change the ip to isp dns server clear my problem and everything seem fine.</p>
<p>Time to set spf record and dkim.</p>
<p>See you.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.rasyid.net">Learning On Demand</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact alamster@gmail.com so we can take legal action immediately.<br/><span style="float: right;font-size: 7pt"><a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fblog.taragana.com%2Findex.php%2Farchive%2Fwordpress-plugins-provided-by-taraganacom%2F&sref=rss" rel="external nofollow">Plugin</a> by <a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fwww.taragana.com%2F&sref=rss" rel="external nofollow">Taragana</a></span><p><a href="http://redirectingat.com?id=23616X850408&xs=1&url=https%3A%2F%2Fplus.google.com%2F111076104099093236158%3Frel%3Dauthor&sref=rss" rel="author"><img src="http://www.google.com/images/icons/ui/gprofile_button-16.png" title="gprofile button 16 photo" alt="gprofile button 16 Sender address rejected: Domain not found" /></a></p><ul><li>Sender address rejected: Domain not found</li><li>www datasender tk</li><li>php mail sender address rejected: domain not found</li><li>wordpress php mail domain not found</li><li>unix \sender address rejected: domain not found\</li></ul>
<div class="skimlinks-disclosure-button"><p><script class="skimlinks_ref_script" type="text/javascript" src="http://static.skimlinks.com/api/ref.js?p=23616&amp;d=850408&amp;t=1"></script></p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rasyid.net/2011/08/01/sender-address-rejected-domain-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

