<?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>Sébastien Wains &#187; Hardware</title>
	<atom:link href="http://www.wains.be/index.php/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wains.be</link>
	<description>Linux, Open Source, VoIP and other stuff</description>
	<lastBuildDate>Fri, 03 Sep 2010 21:31:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Overscan problem connecting a MacBook unibody to Sony Bravia LCD HDTV ?</title>
		<link>http://www.wains.be/index.php/2009/05/05/overscan-problem-connecting-a-macbook-unibody-to-sony-bravia-lcd-hdtv/</link>
		<comments>http://www.wains.be/index.php/2009/05/05/overscan-problem-connecting-a-macbook-unibody-to-sony-bravia-lcd-hdtv/#comments</comments>
		<pubDate>Tue, 05 May 2009 19:37:11 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Apple/Mac OS]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.wains.be/?p=652</guid>
		<description><![CDATA[Today I connected a MacBook Unibody (13&#8243; and 2,4 Ghz CPU) into a 40&#8243; LCD HDTV (Sony Bravia KDL40L4000) using a MiniDisplay Port to DVI connector, a DVI to HDMI converter and a 5 meter long HDMI cable. I ran into an &#8220;overscan&#8221; problem. Overscan means edges of the image are not viewable on the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I connected a MacBook Unibody (13&#8243; and 2,4 Ghz CPU) into a 40&#8243; LCD HDTV (Sony Bravia KDL40L4000) using a MiniDisplay Port to DVI connector, a DVI to HDMI converter and a 5 meter long HDMI cable.</p>
<p> I ran into an &#8220;overscan&#8221; problem. Overscan means edges of the image are not viewable on the HDTV, which is pretty bad when you maximize a window.</p>
<p>Found the answer online here :</p>
<p><a href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/1113758.html">http://forums.whirlpool.net.au/forum-replies-archive.cfm/1113758.html</a></p>
<p>Basically :</p>
<p>On the Bravia I selected MENU > Settings > Setup > Screen Settings > Display Area</p>
<p>It was set to NORMAL<br />
I changed it to FULL PIXEL</p>
<p>Done !</p>
<p>And for those doubting (you know who you are <img src='http://www.wains.be/wp-content/plugins/tango/face-wink.png' alt=';)' class='wp-smiley' />  ), the MacBook can play full HD (1080p) videos on the LCD without troubles (the MacBook comes with a Nvidia 9400M 256MB).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2009/05/05/overscan-problem-connecting-a-macbook-unibody-to-sony-bravia-lcd-hdtv/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nokia E71</title>
		<link>http://www.wains.be/index.php/2009/02/23/nokia-e71/</link>
		<comments>http://www.wains.be/index.php/2009/02/23/nokia-e71/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 00:22:25 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.wains.be/?p=595</guid>
		<description><![CDATA[I got myself a new cell phone, the Nokia E71. In the process I&#8217;m putting my old but faithful Sony Ericsson T610 to retirement. In order of importance, here are the reasons why I went with that particular phone : 1. Built-in GPS My wife landed a new job so she had to give her [...]]]></description>
			<content:encoded><![CDATA[<p>I got myself a new cell phone, the Nokia E71. In the process I&#8217;m putting my old but faithful Sony Ericsson T610 to retirement.</p>
<p>In order of importance, here are the reasons why I went with that particular phone :</p>
<p><strong>1. Built-in GPS</strong></p>
<p>My wife landed a new job so she had to give her GPS back to her old company.<br />
I went with Sygic McGuider Europe 2009. So far, I&#8217;m pleased with it, it&#8217;s very customizable and compares to Tomtom and is better than Mio GPS, but I guess anything is better than Mio <img src='http://www.wains.be/wp-content/plugins/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Yesterday, as I fired up McGuider, it locked my GPS position immediately ! This is maybe Google Maps had been busy updating my location a few moments before ? Usually it&#8217;ll take from 30 seconds to 1 minute to pick up the GPS signal.</p>
<p><a href="http://navigation.teleatlas.com/en/shop/hotitem/sygic-mcguider-europe-2009-sd-card-pr6648.html">http://navigation.teleatlas.com/en/shop/hotitem/sygic-mcguider-europe-2009-sd-card-pr6648.html</a></p>
<p><strong>2. VoIP SIP</strong></p>
<p>VoIP will work over WiFi or the data network of your carrier (GPRS or 3G), as long as they don&#8217;t block SIP.</p>
<p>I run a small Asterisk PBX at home with friends and family connected to it.<br />
I also use a SIP provider (poivy.com) allowing me to call 35 countries for free (including US cell phones).<br />
Basically, I can call friends and family and 35 countries for free from my cell, as long as I have network coverage.<br />
Secondly, I now send SMS through the PBX for 6 cents instead of 12 cents through the carrier.<br />
Plus, Poivy will let me display any confirmed (cell or landline) phone number to the people I call.</p>
<p>For those wondering, I&#8217;m on BASE data network, which is EDGE and not 3G (yet). They don&#8217;t block SIP but&#8230; read on.</p>
<p>For some reason the Nokia SIP client is not able to register on my PBX. Well, I see the phone registered on the PBX (it somehow reports huge latencies between 500-2000 ms) but the phone acts like it&#8217;s not registered, so I can&#8217;t place calls.<br />
Instead, I have to use Fring, which acts as a proxy. I haven&#8217;t sniffed the traffic from the phone to Fring servers yet but I guess they obfuscated SIP/RTP traffic to allow VoIP on carriers blocking SIP. To be confirmed.<br />
Fring SIP client works okay but latencies can be annoying. This is still fine when calling relatives. For important calls, I&#8217;d try finding a wifi hotspot around, or using the GSM network as a last resort (this is the point of a cell phone in the first place right ? <img src='http://www.wains.be/wp-content/plugins/tango/face-smile.png' alt=':)' class='wp-smiley' />  ).</p>
<p>When I&#8217;m back home, my phone will automatically register to my PBX over WiFi (this time using the Nokia client). When someone calls my PBX, I can pick up my cell and be on WiFi instead of GPRS.</p>
<p><a href="http://www.fring.com">http://www.fring.com</a><br />
<a href="http://www.poivy.com">http://www.poivy.com</a></p>
<p><strong>3. SSH client</strong></p>
<p>Don&#8217;t expect to only use your cell to manage your servers.. but this is definitely nice to be able to connect to your boxes from anywhere.</p>
<p><a href="http://s2putty.sourceforge.net">http://s2putty.sourceforge.net</a></p>
<p><strong>4. Full keyboard</strong></p>
<p>I don&#8217;t like touchscreen keyboards, and I can&#8217;t imagine exchanging IM&#8217;s typing on a regular phone keypad. I can be very good at typing on a computer keyboard, but I totally suck on a cell phone.</p>
<p><strong>5. WiFi</strong></p>
<p>I&#8217;ll always try to see if there&#8217;s a WiFi network available before using the GPRS connection, unless for mails and sensitive stuff.</p>
<p><strong>6. Modem</strong></p>
<p><del datetime="2009-03-13T15:18:18+00:00">I haven&#8217;t tried the feature yet. </del><br />
I can surf the internet from anywhere by connecting my Macbook to the phone using Bluetooth or USB, and using the GPRS connection.</p>
<p>I&#8217;ve set up my Macbook to use the phone as modem, using Bluetooth. It works perfectly. I didn&#8217;t have to use some hacked script to get it working, since my carrier only does GPRS, so it just worked out of the box.</p>
<p><strong>7. VPN</strong></p>
<p>A bit of a disappointment here, I just wish the phone would be able to connect to OpenSSL/OpenVPN vpns..<br />
It only does IPsec and there&#8217;s no OpenVPN port under Symbian in the horizon.<br />
Someday I need to set up an IPsec VPN on my home server.. Ugh.</p>
<p><strong>Custom applications</strong></p>
<p>- Gmail client<br />
- Fring : MSN, AIM, Jabber, SIP and more. I prefer Nimbuzz (better interface) but I use Fring because it&#8217;s the only client that works decently with SIP.<br />
- Opera Mini : since the web browser that comes with the phone is not perfect<br />
- Qik : share live video from your phone on the internet<br />
- WorldMate : every morning, get the weather forecast<br />
- JaikuSpot : turn your cellphone into a wireless access point<br />
- Google Maps + Latitude : it works very well and will do a better job finding restaurants (thanks to reviews and budget info) or stuff like that, compared to a regular GPS. Latitude will tell you where your friends are.<br />
- Sports Tracker : Nokia Beta Labs app. Nokia Sports Tracker is a GPS-based activity tracker that runs on compatible Nokia mobile devices. Information such as speed, distance, and time are automatically stored in your training diary. <a href="http://sportstracker.nokia.com">http://sportstracker.nokia.com</a><br />
- Location Tagger : another Nokia Beta Labs app. With Nokia Location Tagger, you can automatically tag your location data to your pictures. As you take a picture, your GPS coordinates are saved to the EXIF header of the JPEG file. You can use this data later, for example, to locate your pictures on a map. <a href="http://betalabs.nokia.com/betas/view/location-tagger">http://betalabs.nokia.com/betas/view/location-tagger</a></p>
<p><strong>Other neat stuff</strong></p>
<p>- You can encrypt the memory of your phone. I did so on the phone memory but not on the 2GB SD card.<br />
- The phone has an IMAP/POP client. I set it to check my mails every 15 minutes between 7am and 2am.<br />
- You can sync your phone with Google Contacts. Very handy since I use Google Contacts as my main address book (make backups before playing with Google Sync !).</p>
<p><strong>Problems</strong></p>
<p>- I used to save phone numbers in international format (+32&#8230;). The Nokia SIP client will not accept calls on that kind of number. I had to convert my whole address book back to the national format and to 001&#8230; for US numbers.<br />
- If you store two or more contacts with the same number, when that number calls you the phone will only display the number but no name. My T610 used to display the first name it found, alphabetically.<br />
- I&#8217;m sure battery life can be very good, but don&#8217;t expect it to be huge if, like me, you keep the phone connected to GPRS/3G and let stuff running in background constantly (Fring and Google Maps + Latitude for me).<br />
- Don&#8217;t run both Nimbuzz and Fring at the same time, SIP was not working under Fring while Nimbuzz was running.<br />
- When on SIP (be it Nokia SIP client or Fring) the volume is not very high.</p>
<p><strong>What I&#8217;ll buy soon</strong></p>
<p><del datetime="2009-03-13T15:21:56+00:00">- Brodit Proclip cradle for my car</del> Way too expensive<br />
- Charger/Holder on eBay<br />
<del datetime="2009-03-13T00:20:31+00:00">- 4GB SD card</del> </p>
<p><strong>Edit : After a few weeks of use&#8230;</strong></p>
<p>This is what I use the phone for on pretty much a daily basis (in order of importance) :<br />
- <strong>Calling</strong> : but mainly over <strong>SIP</strong>, which makes me save a <strong>LOT</strong> of money<br />
- <strong>GPS</strong> : I use the GPS application (<strong>Sygic McGuider</strong>) almost daily.. even for short rides, I don&#8217;t need to remind when to turn right, the GPS just let me know <img src='http://www.wains.be/wp-content/plugins/tango/face-smile.png' alt=':-)' class='wp-smiley' /><br />
- <strong>Finding businesses</strong> : I&#8217;m often on the road, and use <strong>Google Maps</strong> to find restaurants, gas station or stores<br />
- <strong>IM</strong> : using <strong>Fring</strong><br />
- <strong>Email</strong> : I gave up with the Gmail client and use the <strong>built-in IMAP client</strong>. The Gmail client is very limited and won&#8217;t grab email addresses.. from your phone addressbook OR Gmail addressbook (shame !). Also, with the built-in IMAP client, you can just select a picture and click option > send > email. You can&#8217;t do that with the Gmail app.<br />
- <strong>Managing contacts</strong> : you can sync your Google addressbook with your phone using the SyncML protocol. See http://www.google.com/support/mobile/bin/answer.py?answer=98230&#038;topic=15015<br />
My Google addressbook is now my only addressbook.. syncing takes 5 seconds. Awesome ! (caution : iSync under Mac OS X tends to mess up with your addressbook.. It&#8217;s losing half of your contacts info)<br />
- <strong>Calendar</strong> : I use Google Calendar. I use <strong>CalSync</strong> for&#8230;. syncing with my phone and get nice notifications on my homescreen<br />
- <strong>Internet Radio</strong> : using <strong>Mobbler</strong>, I can listen to Last.fm radios, but also scrobble my tunes played with the built-in radio player<br />
- <strong>SSH</strong> : I don&#8217;t use it for day-to-day sysadmin but it&#8217;s handy when you need to check something quick (<strong>Putty</strong>)<br />
- <strong>Photo</strong> : the quality is not great but decent enough if I need to snap something quick, plus I can tag the picture with GPS coordinates using <strong>Location Tagger</strong>.<br />
- <strong>Publishing photos online</strong> : I use Picasa Web for publishing pictures online.. you can upload your pictures from your phone by sending them to an email address you specify in Picasa Web settings. Specify the album name in the subject field of your email, if you don&#8217;t set a subject, pictures will go in a &#8220;Dropbox&#8221; album.<br />
- <strong>Live video</strong> : from time to time I stream some video live on the web using <strong>Qik</strong><br />
- <strong>Sport assistant</strong> : I don&#8217;t use it right now, but plan on doing so in the future <img src='http://www.wains.be/wp-content/plugins/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Annoyances :<br />
I&#8217;m off from 2 Nokia updates for my phone so maybe it&#8217;s fixed in the latest firmware updates.<br />
- Can&#8217;t call international numbers (+32&#8230;) using SIP client. This is a major issue, if someone calls me and I miss the call, I&#8217;ll see the number +32, which I can&#8217;t call back. I need to go in the addressbook and call from there.<br />
- When I&#8217;m on a call, the phone just displays &#8220;call 1&#8243;. Not the phone number, not how long I&#8217;ve been on the call. I used to have a sound playing every minutes on my old T610, and the call duration. This would be nice and welcomed here.<br />
- Given my particular PBX set up, I may get an incoming call coming on both SIP client and Fring SIP client. This tends to render the phone a bit unstable. It once crashed too. Please Fring, let me disable SIP without deleting the config !<br />
- Yesterday, I fired up Sygic, looking for a gas-station. Sygic takes around 10-15 seconds to load. Meanwhile I received a call. The call got disconnected when Sygic started.<br />
- Fring issue : when I receive a SIP call on Fring, I need to unlock my phone first ! It goes without saying that I missed every calls so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2009/02/23/nokia-e71/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Unlocking the &#8220;Belgacom Wireless/VoIP/ADSL&#8221; Router aka Philips SNV6520/18</title>
		<link>http://www.wains.be/index.php/2009/01/17/unlocking-the-belgacom-wirelessvoipadsl-router-aka-philips-snv652018/</link>
		<comments>http://www.wains.be/index.php/2009/01/17/unlocking-the-belgacom-wirelessvoipadsl-router-aka-philips-snv652018/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 23:58:04 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.wains.be/?p=542</guid>
		<description><![CDATA[THE BORING PART : For the impatients out there, just skip to &#8220;Mandatory warnings&#8221;. A while back, Belgacom, the major ISP in Belgium used to sell the router mentionned above along with their &#8220;triple-play&#8221; offer. My dad just got a DSL connection and I got him that model on eBay. Not that I wanted that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://img181.imageshack.us/img181/303/picture3fl6.png" alt="Belgacom Philips SNV6520/18" /></p>
<p><strong>THE BORING PART :</strong></p>
<p>For the impatients out there, just skip to &#8220;Mandatory warnings&#8221;.</p>
<p>A while back, Belgacom, the major ISP in Belgium used to sell the router mentionned above along with their &#8220;triple-play&#8221; offer.</p>
<p>My dad just got a DSL connection and I got him that model on eBay. Not that I wanted that particular model or anything, I needed a wireless DSL router quick and for a reasonable price.</p>
<p>I figured I could set up VoIP so my dad could call me on my Asterisk SIP PBX at home using his brand new DSL connection, using an actual phone (the unit comes with two FXS ports which you can plug two analog phones in).</p>
<p>The thing is.. Belgacom locked the router with a proprietary firmware which restricts VoIP to their SIP servers only.<br />
(if you specify sip.example.org as server, it will actually try to register on voip.belgacom.be)</p>
<p>This howto explains how to unlock the unit and not only get unlocked VoIP but also new features (like embedded DynDNS client) .</p>
<p><strong>MANDATORY WARNINGS :</strong></p>
<p><strong>You must understand that the following will void your warranty.<br />
If you install the unlocked firmware, you&#8217;ll not be able to come back to Belgacom firmware.<br />
I don&#8217;t have Belgacom TV, so I can&#8217;t tell if the new firmware works with it.<br />
If the upgrade fails for some reason, you&#8217;ll probably end up with a paperweight, a quite original one I must say.<br />
In case of power outage during the upgrade, the unit will probably get bricked.<br />
DO NOT HOLD ME ACCOUNTABLE FOR ANY BRICKED ROUTER. I&#8217;M NOT PUTTING A GUN ON YOUR FOREHEAD TELLING YOU TO UPGRADE YOUR ROUTER. WHAT YOU ARE DOING, YOU&#8217;RE DOING IT AT YOUR OWN RISK. IF YOU ARE NOT COMFORTABLE WITH THE PROCESS, JUST DON&#8217;T DO IT.</strong></p>
<p><strong>THE HOWTO : </strong></p>
<p><strong>1. Download</strong></p>
<p>Grab the following file : <a href="http://www.wains.be/pub/SNV6520unlocking.zip">http://www.wains.be/pub/SNV6520unlocking.zip</a></p>
<p><code>Important : The package above comes with firmware 2.09.<br />
Here's the link to the latest firmware (version 2.15) which fixes known wireless issues (which my dad had) : <a href="http://www.wains.be/pub/SNV6520-FW2_15.zip">http://www.wains.be/pub/SNV6520-FW2_15.zip</a>.<br />
I've upgraded from v2.09 to v2.15 without issue.<br />
It has been reported in the comments that jumping directly to 2.15 was causing problems.<br />
I recommend you upgrade to 2.09 and then to 2.15 to avoid troubles, so just proceed with 2.09 and then repeat the steps from step 5 for version 2.15.</code></p>
<p><strong>2. Unzip the file</strong></p>
<p>Untip SNV6520unlocking.zip, it contains two files :<br />
- the boot loader : iad-boot_v0.69d.0<br />
- the firmware : FW_7908VoWBRA_v2.09.bin</p>
<p>Just make sure you write down all your settings before starting, as the unit will be reset to factory settings.</p>
<p><strong>3. Enable the &#8220;recovery&#8221; mode of your unit</strong></p>
<p>Read and make sure your understand before proceeding :</p>
<p><code>1. Turn off the unit<br />
2. Press the reset button located on the back while turning the unit on<br />
3. Keep the button pressed for 2 seconds after power on<br />
4. Release and then immediately press the reset button 3 times again (short press are fine)<br />
5. WLAN and DSL LEDs should blink, this means the router is in recovery mode.</code></p>
<p><strong>4. Upgrade the boot loader</strong></p>
<p>Make sure your computer has an IP in the 192.168.2.0/24 range.<br />
Go to http://192.168.2.1<br />
Upgrade target : select boot loader<br />
Select iad-boot_v0.69d.0 and upgrade</p>
<p>When done, click on reboot then reset<br />
It should take a minute or so.</p>
<p><strong>5. Upgrade the firmware</strong></p>
<p>When done, go back to http://192.168.2.1, you should see that you&#8217;re now running v0.69 (upper right corner of the screen)</p>
<p>Upgrade target : select runtime code<br />
Select FW_7908VoWBRA_v2.09.bin (or SMC7908VoWBRA-FW2_15.bin) and upgrade</p>
<p>When done, click on reboot then reset.</p>
<p>You should be done now, your unit should be running the SMC firmware after reboot.</p>
<p><strong>6. Enjoy</strong></p>
<p>Go to http://192.168.2.1<br />
Password is &#8220;smcadmin&#8221;</p>
<p>You can now enjoy unlocked VoIP settings, dynamic DNS and probably other niceties.</p>
<p><strong>CONCLUSION : </strong></p>
<p>My dad now enjoys his internet connection wirelessly, and also calls me and belgian landlines for free through my home PBX <img src='http://www.wains.be/wp-content/plugins/tango/face-smile-big.png' alt=':D' class='wp-smiley' /> </p>
<p><strong>In the comments, it is reported that Belgacom TV works after upgrade, but NOT AS NICELY AS BEFORE THE UPGRADE. You&#8217;ve been warned <img src='http://www.wains.be/wp-content/plugins/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2009/01/17/unlocking-the-belgacom-wirelessvoipadsl-router-aka-philips-snv652018/feed/</wfw:commentRss>
		<slash:comments>85</slash:comments>
		</item>
		<item>
		<title>Checking for bad blocks on your drive</title>
		<link>http://www.wains.be/index.php/2008/08/15/checking-for-bad-blocks-on-your-drive/</link>
		<comments>http://www.wains.be/index.php/2008/08/15/checking-for-bad-blocks-on-your-drive/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 22:18:55 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wains.be/?p=459</guid>
		<description><![CDATA[If your partition is /dev/sda1 e2fsck -cc /dev/sda1 From the man pages : -c This option causes e2fsck to use badblocks(8) program to do a read-only scan of the device in order to find any bad blocks. If any bad blocks are found, they are added to the bad block inode to prevent them from [...]]]></description>
			<content:encoded><![CDATA[<p>If your partition is /dev/sda1</p>
<p><code>e2fsck -cc /dev/sda1</code></p>
<p>From the man pages :</p>
<pre><code>       -c     This  option  causes  e2fsck to use badblocks(8) program to do a
              read-only scan of the device in order to find  any  bad  blocks.
              If  any  bad  blocks  are found, they are added to the bad block
              inode to prevent them from being allocated to a file  or  direc‐
              tory.   If  this  option  is specified twice, then the bad block
              scan will be done using a non-destructive read-write test.</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2008/08/15/checking-for-bad-blocks-on-your-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu on Dell XPS M1330</title>
		<link>http://www.wains.be/index.php/2008/01/21/ubuntu-on-dell-xps-m1330/</link>
		<comments>http://www.wains.be/index.php/2008/01/21/ubuntu-on-dell-xps-m1330/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 20:02:46 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2008/01/21/ubuntu-on-dell-xps-m1330/</guid>
		<description><![CDATA[Ubuntu 7.10 Desktop Edition Laptop specs : Dell XPS M1330 WLED screen Webcam 0.3 Mpixels Fingerprint scanner Media Card Reader Ricoh Wireless Intel iwl4965 AGN Cpu : T7500 2.2 Ghz Memory : 3 GB RAM 667 Mhz HDD : Seagate 200 GB 7200 RPM Sound : SigmaTel STAC9228 lspci : 00:00.0 Host bridge: Intel Corporation [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Ubuntu 7.10 Desktop Edition</strong></p>
<p><strong>Laptop specs :</strong><br />
Dell XPS M1330<br />
WLED screen<br />
Webcam 0.3 Mpixels<br />
Fingerprint scanner<br />
Media Card Reader Ricoh<br />
Wireless Intel iwl4965 AGN<br />
Cpu : T7500 2.2 Ghz<br />
Memory : 3 GB RAM 667 Mhz<br />
HDD : Seagate 200 GB 7200 RPM<br />
Sound : SigmaTel STAC9228</p>
<p><strong>lspci :</strong><br />
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)<br />
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02)<br />
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)<br />
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)<br />
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)<br />
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)<br />
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)<br />
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)<br />
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)<br />
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)<br />
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)<br />
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)<br />
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)<br />
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)<br />
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)<br />
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)<br />
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)</p>
<p><strong>lsusb :</strong><br />
Bus 007 Device 004: ID 05a9:7670 OmniVision Technologies, Inc.<br />
Bus 007 Device 001: ID 0000:0000<br />
Bus 001 Device 001: ID 0000:0000<br />
Bus 004 Device 002: ID 045e:007d Microsoft Corp. Notebook Optical Mouse<br />
Bus 004 Device 001: ID 0000:0000<br />
Bus 006 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader<br />
Bus 006 Device 001: ID 0000:0000<br />
Bus 005 Device 001: ID 0000:0000<br />
Bus 003 Device 001: ID 0000:0000<br />
Bus 002 Device 005: ID 0a5c:4503 Broadcom Corp.<br />
Bus 002 Device 004: ID 0a5c:4502 Broadcom Corp.<br />
Bus 002 Device 003: ID 413c:8126 Dell Computer Corp.<br />
Bus 002 Device 002: ID 0a5c:4500 Broadcom Corp.<br />
Bus 002 Device 001: ID 0000:0000  </p>
<p><strong>webcam :</strong> works out of the box (if not, see links)</p>
<p><strong>sound :</strong> microphone doesn&#8217;t work out of the box</p>
<p>1. Enable gutsy-proposed repository<br />
2. Install linux-backports-modules-2.6.22-14-generic<br />
3. Disable gutsy-proposed repository</p>
<p>In sound preferences, enable every channels, in the option tab select &#8220;Digital Mic 1&#8243; as Digital Input Source</p>
<p>I set my hardware volume keys to control the &#8220;front&#8221; channel (don&#8217;t forget to set the tray volume icon to display the front volume as well : right click, preferences).</p>
<p>2nd front headset jack isn&#8217;t working properly, see <a href="http://linux.dell.com/wiki/index.php/Ubuntu_7.10/Issues/Second_Headphone_Jack_Does_Not_Work">http://linux.dell.com/wiki/index.php/Ubuntu_7.10/Issues/Second_Headphone_Jack_Does_Not_Work</a></p>
<p><strong>Temperature probes :</strong> install sensors-applet, the ACPI CPU sensor is available out of the box</p>
<p>Install hddtemp and make it run at boot.. sensors-applet will then be able to monitor the HDD sensor.</p>
<p>Other sensors can be used :<br />
• with i8kutils and &#8220;modprobe i8k force=1&#8243;<br />
• with coretemp, &#8220;modprobe coretemp&#8221; and cat /sys/devices/platform/coretemp.?/temp1_input </p>
<p>sensors-applet doesn&#8217;t support nvidia probes in Ubuntu 7.10</p>
<p><a href="http://aldeby.wordpress.com/2007/10/26/compiling-gnome-sensors-applet-with-nvidia-support/">http://aldeby.wordpress.com/2007/10/26/compiling-gnome-sensors-applet-with-nvidia-support/</a></p>
<p>I&#8217;ve built sensors-applet with nvidia support for i386 : <a href="http://www.wains.be/pub/sensors-applet_2.2.1-1_i386.deb">http://www.wains.be/pub/sensors-applet_2.2.1-1_i386.deb</a></p>
<p><a href="http://imageshack.us"><img src="http://img141.imageshack.us/img141/760/sensorsyi7.jpg" border="0" alt="Image Hosted by ImageShack.us"/></a><br/><br />
<em>After installing sensors-applet with nvidia support (CPU, HDD, nvidia)</em></p>
<p>With the default nvidia restricted drivers installed by ubuntu, the sensor said the graphic card is always around 68-70°C</p>
<p>After installing version 169.07 using envy, the sensor reports values anywhere between 52°C and 60°C.. not sure if it&#8217;s the old drivers reporting the wrong value or anything.. can&#8217;t hear a difference from the fan.</p>
<p><strong>Screen :</strong> the monitor dims automatically when not using the computer for 1 minute (apparently a problem with gnome power saving thing, if I set the brightness to 100 % and access Gnome Power settings, the monitor dims immediately).</p>
<p><strong>Hibernation : </strong>After hibernation, CPU cores are always running at 2.2 Ghz (there&#8217;s a fix, see links)</p>
<p><strong>Dell keyboard shortcuts :</strong> working. I configured the dell &#8220;home&#8221; key to open my home directory in nautilus (gnome keyboard settings)</p>
<p><strong>Wireless : </strong>works out of the box<br />
Wifi Catcher apparently doesn&#8217;t work when Ubuntu is installed</p>
<p>Wifi LED doesn&#8217;t turn on under Linux (Bluetooth does)</p>
<p><strong>Fingerprint scanner :</strong> can work with thinkfinger (see links)</p>
<p><strong>Card Reader :</strong> SD works out of the box, Memory stick doesn&#8217;t, other media not tested</p>
<p><strong>Useful links :</strong></p>
<p><a href="http://https://wiki.ubuntu.com/InstallingUbuntuOnADellXPSM1330">https://wiki.ubuntu.com/InstallingUbuntuOnADellXPSM1330</a><br />
<a href="http://intr.overt.org/blog/?page_id=56">http://intr.overt.org/blog/?page_id=56</a><br />
<a href="http://doc.ubuntu-fr.org/dell_xps_m1330">http://doc.ubuntu-fr.org/dell_xps_m1330</a><br />
<a href="http://doc.ubuntu-fr.org/thinkfinger">http://doc.ubuntu-fr.org/thinkfinger</a><br />
<a href="http://blog.higherthings.org/borghardt/article/3077.html">http://blog.higherthings.org/borghardt/article/3077.html</a><br />
<a href="https://wiki.ubuntu.com/ThinkFinger">https://wiki.ubuntu.com/ThinkFinger</a><br />
<a href="http://www.atlas95.com/blog/tag/xps-m1330/">http://www.atlas95.com/blog/tag/xps-m1330/</a><br />
<a href="http://linux.dell.com/wiki/index.php/Ubuntu_7.10#Dell_OS_Reinstallation_7.10_DVD_ISO">http://linux.dell.com/wiki/index.php/Ubuntu_7.10#Dell_OS_Reinstallation_7.10_DVD_ISO</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2008/01/21/ubuntu-on-dell-xps-m1330/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing Debian on a Linksys NSLU2</title>
		<link>http://www.wains.be/index.php/2008/01/10/installing-debian-on-a-linksys-nslu2/</link>
		<comments>http://www.wains.be/index.php/2008/01/10/installing-debian-on-a-linksys-nslu2/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 11:41:43 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Debian/Ubuntu]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NSLU2]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2008/01/10/installing-debian-on-a-linksys-nslu2/</guid>
		<description><![CDATA[1. Grab firmware : http://www.slug-firmware.net/d-dls.php 2. (optional) Install UpSlug2 on your computer : http://www.nslu2-linux.org/wiki/Main/UpSlug2 UpSlug2 is a tool to flash your NSLU2 from a computer on the same network. This is required if you are reinstalling an already Debianized NSLU2, otherwise you can use the web management on a new unit. 3. Install Debian : [...]]]></description>
			<content:encoded><![CDATA[<p>1. Grab firmware : <a href="http://www.slug-firmware.net/d-dls.php">http://www.slug-firmware.net/d-dls.php</a></p>
<p>2. (optional) Install UpSlug2 on your computer : <a href="http://www.nslu2-linux.org/wiki/Main/UpSlug2">http://www.nslu2-linux.org/wiki/Main/UpSlug2</a></p>
<p>UpSlug2 is a tool to flash your NSLU2 from a computer on the same network.</p>
<p>This is required if you are reinstalling an already Debianized NSLU2, otherwise you can use the web management on a new unit.</p>
<p>3. Install Debian : <a href="http://www.cyrius.com/debian/nslu2/">http://www.cyrius.com/debian/nslu2/</a></p>
<p>In order for the install to complete as fast as possible, unselect any package group (even base).. took less than 1 hour to complete that way.</p>
<p><strong>When done (optional) :</strong></p>
<p>4. Reducing memory usage : <a href="http://www.cyrius.com/debian/nslu2/reducing-memory.html">http://www.cyrius.com/debian/nslu2/reducing-memory.html</a></p>
<p><code>/etc/inittab and comment "T0:23:respawn:/sbin/getty -L ttyS0 115200 linux"</code></p>
<p>5. Follow the useful hints from (scroll halfway down) : <a href="http://svn.debian.org/wsvn/pkg-nslu2-utils/trunk/debian/README.Debian?op=file">http://svn.debian.org/wsvn/pkg-nslu2-utils/trunk/debian/README.Debian?op=file</a></p>
<p><code>/etc/default/rcS and set FSCKFIX=yes<br />
/etc/default/bootlogd and enable bootlog</code></p>
<p>6. In case you&#8217;re running the OS from a USB drive (limited write cycles) : <a href="http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive">http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive</a></p>
<p><code><a href="http://www.wains.be/index.php/2008/01/09/debian-etch-disable-the-mark-log/">disable MARK logs</a> : /etc/defaults/syslogd and set SYSLOGD="-m 0"<br />
mount / with noatime : /etc/fstab and add option noatime for the / mount point</code></p>
<p>7. In case the NSLU2 uses a static IP</p>
<p><code>apt-get remove dhcp*</code></p>
<p>8. Generate UTF-8 locales</p>
<p>Accents in the filesystem are not displayed correctly (while OK when accessing files remotely)</p>
<p><code>apt-get install locales<br />
dpkg-reconfigure locales</code></p>
<p>Select an UTF-8 locales to fix the problem (had to reboot for changes to be taken in account, not sure if there&#8217;s a way to avoid rebooting)</p>
<p>9. Emit 3 beeps when NSLU2 has started</p>
<p>apt-get install beep</p>
<p>Edit /etc/rc.local and add :<br />
/usr/bin/leds beep; sleep 1; /usr/bin/leds beep; sleep 1; /usr/bin/leds beep</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2008/01/10/installing-debian-on-a-linksys-nslu2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Function key on your laptop not controlling sound ?</title>
		<link>http://www.wains.be/index.php/2007/11/24/function-key-on-your-laptop-not-controlling-sound/</link>
		<comments>http://www.wains.be/index.php/2007/11/24/function-key-on-your-laptop-not-controlling-sound/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 21:12:39 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2007/11/24/function-key-on-your-laptop-not-controlling-sound/</guid>
		<description><![CDATA[OK, this one is dumb. Until a few months ago, I was able to control the sound volume on my laptop using the dedicated function key (controlling the master output). Then, all messed up. Along with the dead function key, the master volume no longer had any effect on volume. Volume could only be controlled [...]]]></description>
			<content:encoded><![CDATA[<p>OK, this one is dumb.</p>
<p>Until a few months ago, I was able to control the sound volume on my laptop using the dedicated function key (controlling the master output).</p>
<p>Then, all messed up.</p>
<p>Along with the dead function key, the master volume no longer had any effect on volume.<br />
Volume could only be controlled by the PCM switch. And the function key was controlling the master output !</p>
<p>Today again, I tried to manually install the latest alsa-drivers to see if it was fixing the master volume issue. Was a no go.</p>
<p>Finally tonight, Google came up with an answer !</p>
<p><a href="https://help.ubuntu.com/community/MacBook#head-d374bb9e1b7183c133759a8c6877a34c50c4ba7d">https://help.ubuntu.com/community/MacBook#head-d374bb9e1b7183c133759a8c6877a34c50c4ba7d</a></p>
<p>Gnome actually has a setting allowing you to choose which input the function key should control. Gosh.</p>
<p><strong>Solution :</strong></p>
<p>- Go to preferences menu<br />
- Devices tab<br />
- Default mixer tracks<br />
- Select the track you want to control (PCM for me)</p>
<p>This doesn&#8217;t solve the master volume issue but I couldn&#8217;t care less now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2007/11/24/function-key-on-your-laptop-not-controlling-sound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Belgian eID under Ubuntu 7.10</title>
		<link>http://www.wains.be/index.php/2007/10/28/belgian-eid-under-ubuntu-710/</link>
		<comments>http://www.wains.be/index.php/2007/10/28/belgian-eid-under-ubuntu-710/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 21:48:11 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2007/10/28/belgian-eid-under-ubuntu-710/</guid>
		<description><![CDATA[I had almost forgotten that I was offered an eID card reader by our Federal Public Service FINANCE, a few months ago when I went up to their offices to get some info. I decided to give it a try tonight. The sticker on the back of the reader says &#8220;ACR38U-SPC-FDT (FW104)&#8221;. I first blindly [...]]]></description>
			<content:encoded><![CDATA[<p>I had almost forgotten that I was offered an <a href="http://eid.belgium.be">eID card</a> reader by our Federal Public Service FINANCE, a few months ago when I went up to their offices to get some info.</p>
<p>I decided to give it a try tonight.</p>
<p>The sticker on the back of the reader says &#8220;ACR38U-SPC-FDT (FW104)&#8221;.</p>
<p><img src="http://img222.imageshack.us/img222/8284/beiddn9.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></p>
<p>I first blindly tried to install some packages (beidgui to read my card info) but ran into several problems.</p>
<p><strong>beid :</strong></p>
<p>When running beidgui, it was not even listing the card reader in the options tab.</p>
<p>Running from the CLI, I was getting the following error message :<br />
Error: can&#8217;t open /var/run/openct/status: No such file or directory</p>
<p>If I was starting beidgui using sudo, the card reader was listed correctly.</p>
<p>At some point I also got the following error in beidgui :<br />
&#8220;Error : Wrong Root Certificate&#8221;</p>
<p>The card reader was also detected as another reader for a while.</p>
<p>I removed every packages and was about to give up when I finally found the answer that made things work out of the box at<br />
<a href="http://doc.ubuntu-fr.org/materiel/acr38">http://doc.ubuntu-fr.org/materiel/acr38</a></p>
<p>Packages to install :</p>
<p><code>sudo apt-get install libacr38u libacr38ucontrol0 beid-tools pcscd libpcsclite-dev beidgui libbeid2 libbeidlibopensc2</code></p>
<p>After installing these, I was able to read my card under beid.</p>
<p><strong>Firefox : </strong></p>
<p>In order to access websites working with the eID, you need to load the PKCS#11 module.</p>
<p>Edit > Preferences > Advanced > Encryption > Security Devices > Load</p>
<p>Module name : &#8220;Belgium Identity Card PKCS#11&#8243;<br />
Module filename : &#8220;/usr/lib/libbeidpkcs11.so.2&#8243;</p>
<p>Restart Firefox when done.</p>
<p>The card reader MUST be plugged before starting Firefox if you intend to access a website requiring access to your eID.</p>
<p><strong>Interesting links :</strong></p>
<p><a href="http://users.pandora.be/mydotcom/howto/linux/ubuntubelpic.htm">http://users.pandora.be/mydotcom/howto/linux/ubuntubelpic.htm</a><br />
<a href="https://www.mijndossier.rrn.fgov.be/">https://www.mijndossier.rrn.fgov.be/</a></p>
<p>This last link is interesting and requires your eID, you can see a lot of stuff the government stores about you (driving licence, passport delivery, etc.).</p>
<p>I even found a mistake in my file, I&#8217;m living in an apartment and the previous tenant is listed in my family description&#8230; Our public services are not at the edge in every fields.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2007/10/28/belgian-eid-under-ubuntu-710/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>DHCP snooping on Cisco Catalyst 2950</title>
		<link>http://www.wains.be/index.php/2007/10/05/dhcp-snooping-on-cisco-catalyst-2950/</link>
		<comments>http://www.wains.be/index.php/2007/10/05/dhcp-snooping-on-cisco-catalyst-2950/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 19:56:50 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2007/10/05/dhcp-snooping-on-cisco-catalyst-2950/</guid>
		<description><![CDATA[I&#8217;ll explain the few commands used to enable DHCP snooping on our Catalyst switch at work. The users aren&#8217;t really tech savvy or anything, but it is painless to configure so it is worth having it enabled. switch1>enable First, we need to know which VLAN the DHCP server belongs to, &#8220;show arp&#8221; has that info [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll explain the few commands used to enable DHCP snooping on our Catalyst switch at work.<br />
The users aren&#8217;t really tech savvy or anything, but it is painless to configure so it is worth having it enabled.</p>
<p>switch1>enable</p>
<p><strong>First, we need to know which VLAN the DHCP server belongs to, &#8220;show arp&#8221; has that info :</strong></p>
<p>switch1#show arp<br />
Protocol  Address          Age (min)  Hardware Addr   Type   Interface<br />
Internet  192.168.1.3           1   0004.75XXXXXX  ARPA   Vlan1</p>
<p><strong>Then we enable configuration mode :</strong></p>
<p>switch1#conf term</p>
<p><strong>Enabling DHCP snooping on VLAN 1 :</strong></p>
<p>switch1(config)#ip dhcp snooping<br />
switch1(config)#ip dhcp snooping vlan 1<br />
switch1(config)#ip dhcp snooping information option</p>
<p><strong>The DHCP server is connected to the second port, we will add that interface to the trusted list  :</strong></p>
<p>switch1(config)#interface fastEthernet 0/2<br />
switch1(config-if)#ip dhcp snooping trust</p>
<p><strong>Let&#8217;s review the config :</strong></p>
<p>switch1#show ip dhcp snooping<br />
Switch DHCP snooping is enabled<br />
DHCP snooping is configured on following VLANs:<br />
1<br />
Insertion of option 82 is enabled<br />
Interface                    Trusted     Rate limit (pps)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;     &#8212;&#8212;-     &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
FastEthernet0/2              yes         unlimited</p>
<p>DHCP snooping is enabled on VLAN 1 for interface 2 !</p>
<p><strong>Saving the config :</strong></p>
<p>switch1#copy running-config startup-config</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2007/10/05/dhcp-snooping-on-cisco-catalyst-2950/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Exporting your config from a Cisco device to a TFTP server</title>
		<link>http://www.wains.be/index.php/2007/07/09/exporting-your-config-from-a-cisco-device-to-a-tftp-server/</link>
		<comments>http://www.wains.be/index.php/2007/07/09/exporting-your-config-from-a-cisco-device-to-a-tftp-server/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:40:58 +0000</pubDate>
		<dc:creator>Sébastien Wains</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.wains.be/index.php/2007/07/09/exporting-your-config-from-a-cisco-device-to-a-tftp-server/</guid>
		<description><![CDATA[This has been tested under Ubuntu and a Cisco switch model Catalyst 2950 (IOS 12.1) 1. Set up your TFTP server # Install the packages $ sudo apt-get install xinetd tftpd tftp # Create the TFTP config file for xinet $ sudo vi /etc/xinetd.d/tftp service tftp { protocol = udp port = 69 socket_type = [...]]]></description>
			<content:encoded><![CDATA[<p>This has been tested under Ubuntu and a Cisco switch model Catalyst 2950 (IOS 12.1)</p>
<p><span id="more-256"></span></p>
<p><strong>1. Set up your TFTP server</strong></p>
<p># Install the packages</p>
<p><strong>$ sudo apt-get install xinetd tftpd tftp</strong></p>
<p># Create the TFTP config file for xinet</p>
<p><strong>$ sudo vi /etc/xinetd.d/tftp</strong></p>
<p><code>service tftp<br />
{<br />
protocol = udp<br />
port = 69<br />
socket_type = dgram<br />
wait = yes<br />
user = nobody<br />
server = /usr/sbin/in.tftpd<br />
server_args = /tftpboot<br />
disable = no<br />
}</code></p>
<p># Create the TFTP directory</p>
<p><strong>$ sudo mkdir /tftpboot<br />
$ sudo chmod 777 /tftpboot<br />
$ sudo chown nobody /tftpboot</strong></p>
<p># Start xinetd</p>
<p><strong>$ sudo /etc/init.d/xinetd start</strong></p>
<p><strong>2. Dump your config file from the Cisco switch to your TFTP directory</strong></p>
<p>switch1#<strong>copy system:running-config tftp://192.168.1.1/switch1-confg</strong><br />
Address or name of remote host [192.168.1.1]?<br />
Destination filename [switch1-confg]?<br />
!!<br />
3028 bytes copied in 1.976 secs (1532 bytes/sec)</p>
<p><strong>3. We make sure the file is on the TFTP server</strong></p>
<p>user@ubuntu:/tftpboot$ ls -l<br />
total 20<br />
-rw&#8212;&#8212;- 1 nobody nogroup  3028 2007-07-09 17:39 switch1-confg</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wains.be/index.php/2007/07/09/exporting-your-config-from-a-cisco-device-to-a-tftp-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
