<?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>Gregory Colpart's blog &#187; Debian</title>
	<atom:link href="http://gcolpart.evolix.net/blog21/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://gcolpart.evolix.net/blog21</link>
	<description>Labor omnia vincit improbus</description>
	<lastBuildDate>Wed, 12 Oct 2011 23:38:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Capture input/output of a process with gdb</title>
		<link>http://gcolpart.evolix.net/blog21/capture-inputoutput-of-a-process-with-gdb/</link>
		<comments>http://gcolpart.evolix.net/blog21/capture-inputoutput-of-a-process-with-gdb/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 19:57:54 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gdb]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=392</guid>
		<description><![CDATA[My tip of day. When you lose control of a process (for example with a process launched with disown or, another example, when you close your SSH terminal with &#8220;unsynced&#8221; mutt), thanks gdb. $ tty /dev/pts/13 $ gdb --pid=`pidof mutt` (gdb) call close(0) (gdb) call close(1) (gdb) call close(2) (gdb) call open("/dev/pts/13", 2, 0) (gdb) [...]]]></description>
			<content:encoded><![CDATA[<p>My tip of day. When you lose control of a process (for example with a process launched with <a href="http://www2.research.att.com/~gsf/man/man1/disown.html">disown</a> or, another example, when you close your SSH terminal with &#8220;unsynced&#8221; mutt), thanks gdb.</p>
<pre>$ tty
/dev/pts/13
$ gdb --pid=`pidof mutt`
(gdb) call close(0)
(gdb) call close(1)
(gdb) call close(2)
(gdb) call open("/dev/pts/13", 2, 0)
(gdb) call dup(0)
(gdb) call dup(0)
(gdb) detach
Detaching from program: /usr/bin/mutt-org, process 2932</pre>
<p>Thanks to <a href="http://superuser.com/questions/50058/after-the-fact-remote-nohup-with-tcsh/50077#50077">this comment on superuser.com</a> for the original idea.</p>
<p>Edit: correction on dup() calls. Thanks to Peter Pentchev for his explanation in comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/capture-inputoutput-of-a-process-with-gdb/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Network connection with HTC Hero and Debian</title>
		<link>http://gcolpart.evolix.net/blog21/network-connection-with-htc-hero-and-debian/</link>
		<comments>http://gcolpart.evolix.net/blog21/network-connection-with-htc-hero-and-debian/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 14:53:52 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=343</guid>
		<description><![CDATA[I have an HTC Hero, an Android phone, for one year. But I never tried to share his network connection with my Debian laptop. To prepare my trip to Debconf10, I try it today and&#8230; I&#8217;m surprised because it&#8217;s so easy! 1. Plug your phone on USB 2. Active &#8220;Share your phone network&#8221; on phone [...]]]></description>
			<content:encoded><![CDATA[<p>I have an HTC Hero, an Android phone, for one year. But I never tried to share his network connection with my Debian laptop. To prepare my trip to <a href="http://debconf10.debconf.org/">Debconf10</a>, I try it today and&#8230; I&#8217;m surprised because it&#8217;s so easy!</p>
<p>1. Plug your phone on USB<br />
2. Active &#8220;Share your phone network&#8221; on phone (in french: &#8220;Partage du réseau mobile&#8221;)<br />
3. You see now an <i>usb0</i> ethernet device:</p>
<pre>usb0      Link encap:Ethernet  HWaddr a2:17:af:4f:fa:da
BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</pre>
<p>4. Configure <i>usb0</i> to have the network configuration 192.168.100.100/24 with your favorite tool (<i>ifconfig</i> for example).<br />
5. Now you can ping your phone with 192.168.100.254. Use it as gateway and enjoy: your laptop is now connected with Wi-Fi, GPRS or 3G+!</p>
<p>Note: I use HTC Hero with Android 1.5 (build number: 2.73.61.5) and the french mobile phone provider Orange.</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/network-connection-with-htc-hero-and-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SFR Huawei 3G+ USB key with Debian</title>
		<link>http://gcolpart.evolix.net/blog21/sfr-huawei-3g-usb-key-with-debian/</link>
		<comments>http://gcolpart.evolix.net/blog21/sfr-huawei-3g-usb-key-with-debian/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 23:20:28 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[huawei]]></category>
		<category><![CDATA[SFR]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=273</guid>
		<description><![CDATA[After Orange GPRS with Nokia 6630 and SFR GPRS with Nokia E65, I use now mainly Huawei 3G+ USB key with SFR (french mobile phone provider). lsusb info about this Huawei 3G+ USB key: Bus 003 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem And dmesg info: [208765.818448] [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://gcolpart.evolix.net/blog21/orange-gprs-with-debian/">Orange GPRS with Nokia 6630</a> and <a href="http://gcolpart.evolix.net/blog21/sfr-gprs-with-debian/">SFR GPRS with Nokia E65</a>, I use now mainly Huawei 3G+ USB key with SFR (french mobile phone provider).</p>
<p>lsusb info about this Huawei 3G+ USB key:</p>
<pre>Bus 003 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem</pre>
<p>And dmesg info:</p>
<pre>[208765.818448] option 3-1:1.0: GSM modem (1-port) converter detected
[208765.818448] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
[208765.830451] usb-storage: probe of 3-1:1.1 failed with error -5
[208765.830451] option 3-1:1.1: GSM modem (1-port) converter detected
[208765.830451] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB4
[208765.830502] scsi12 : SCSI emulation for USB Mass Storage devices
[208765.834458] usb 3-1: New USB device found, idVendor=12d1, idProduct=1003
[208765.834458] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[208765.834458] usb 3-1: Product: HUAWEI Mobile
[208765.834458] usb 3-1: Manufacturer: HUAWEI Technologies
[208765.834458] usb-storage: device found at 3
[208765.834458] usb-storage: waiting for device to settle before scanning
[208770.863868] usb-storage: device scan complete
[208770.866850] scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[208770.887881] sr0: scsi-1 drive
[208770.887881] sr 12:0:0:0: Attached scsi CD-ROM sr0
[208770.887881] sr 12:0:0:0: Attached scsi generic sg1 type 5</pre>
<p>For connecting, I tried an infamous GUI distributed by Vodafone in Debian package. Too buggy, too complex. The best solution is using a PPP chatscript.</p>
<p>Then, plug USB key, sleep 20 and unlock it:</p>
<pre>echo 'at+cpin="1234"' &gt; /dev/ttyUSB3</pre>
<p>Note: 1234 is PIN code (or not) and /dev/ttyUSB3 is modem device.</p>
<p>Create these 2 files:</p>
<p><em>/etc/ppp/peers/gprs</em>:</p>
<pre>noauth
debug
nodetach
connect "/usr/sbin/chat -v -f /etc/ppp/peers/huawei-e220.chat"
/dev/ttyUSB3
230400
crtscts
defaultroute
noipdefault
user ignored
remotename whatever
ipparam whatever
usepeerdns</pre>
<p><em>/etc/ppp/peers/huawei-e220.chat</em>:</p>
<pre># Chat file for Huawei E220 HSDPA USB modem
ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO ANSWER' ABORT DELAYED
'' AT
OK ATZ
OK 'ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0'
OK 'AT+CGDCONT=1,"IP","websfr"'
OK ATDT*99***1#
CONNECT ""</pre>
<p>Finally you can:</p>
<pre>pppd call gprs</pre>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/sfr-huawei-3g-usb-key-with-debian/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New GPG key</title>
		<link>http://gcolpart.evolix.net/blog21/new-gpg-key/</link>
		<comments>http://gcolpart.evolix.net/blog21/new-gpg-key/#comments</comments>
		<pubDate>Mon, 11 May 2009 01:27:38 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=256</guid>
		<description><![CDATA[With last attacks against SHA-1 digest algo, I create a new GPG key (following instructions from Daniel Kahn Gillmor): pub   4096R/B8612B5D 2009-05-10 uid                  Gregory Colpart &#60;reg@gcolpart.com&#62; uid                  Gregory Colpart (Evolix) &#60;reg@evolix.fr&#62; uid                  Gregory Colpart &#60;reg@debian.org&#62; sub   4096R/7D40310B 2009-05-11 A good excuse for beer^Wkey exchange next weeks :-)]]></description>
			<content:encoded><![CDATA[<p>With last attacks against SHA-1 digest algo, I create a new GPG key (following <a href="http://www.debian-administration.org/users/dkg/weblog/48">instructions from Daniel Kahn Gillmor</a>):</p>
<pre>pub   4096R/B8612B5D 2009-05-10
uid                  Gregory Colpart &lt;reg@gcolpart.com&gt;
uid                  Gregory Colpart (Evolix) &lt;reg@evolix.fr&gt;
uid                  Gregory Colpart &lt;reg@debian.org&gt;
sub   4096R/7D40310B 2009-05-11</pre>
<p>A good excuse for beer^Wkey exchange next weeks :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/new-gpg-key/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Migration from GNU Arch to Git for Horde packages</title>
		<link>http://gcolpart.evolix.net/blog21/migration-from-gnu-arch-to-git-for-horde-packages/</link>
		<comments>http://gcolpart.evolix.net/blog21/migration-from-gnu-arch-to-git-for-horde-packages/#comments</comments>
		<pubDate>Sun, 03 May 2009 01:39:35 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[horde]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=239</guid>
		<description><![CDATA[All Horde packages (horde3, imp4, kronolith2&#8230;) were in GNU Arch repository. After Lenny release, we decided to migrate to Git. Git has a lot cool features, and I was convinced by Pierre Habouzit talk about Packaging with Git. Technically, I used git-archimport to keep all history of packaging. Each package has a Git repository with [...]]]></description>
			<content:encoded><![CDATA[<p>All Horde packages (horde3, imp4, kronolith2&#8230;) were in GNU Arch repository. After Lenny release, we decided to migrate to Git. Git has a lot cool features, and I was convinced by <a href="http://archive.fosdem.org/2008/schedule/events/debian_packaging_with_git">Pierre Habouzit talk about Packaging with Git</a>. Technically, I used <a href="http://www.kernel.org/pub/software/scm/git/docs/git-archimport.html">git-archimport</a> to keep all history of packaging. Each package has a Git repository with some branches: upstream, upstream+patches, upstream+repack (if needed), pristine-tar, debian-sid (imported from GNU Arch) and debian-&lt;release&gt;. The hardest step was to set up a common ancestor for debian-sid and upstream branches: I found <a href="http://wingolog.org/pub/git-merge-unrelated-branch">git-merge-unrelated-branch</a> script to do it automagically. I write <a href="http://wiki.debian.org/Horde/GitUsage">guidelines for packaging Horde with Git</a> on Debian Wiki with some notes about migration from GNU Arch to Git. Comments welcome!</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/migration-from-gnu-arch-to-git-for-horde-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete facsimileTelephoneNumber attribute</title>
		<link>http://gcolpart.evolix.net/blog21/delete-facsimiletelephonenumber-attribute/</link>
		<comments>http://gcolpart.evolix.net/blog21/delete-facsimiletelephonenumber-attribute/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 23:41:14 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[ldapvi]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=190</guid>
		<description><![CDATA[ldapvi is so wonderful. No Java/Python/PHP for &#8220;browsing&#8221; LDAP trees and the power of vi for LDAP administration. Nevertheless, today I had difficulty for deleting a facsimileTelephoneNumber attribute: $ ldapvi Action? [yYqQvVebB*rsf+?] y ldap_modify: Inappropriate matching (18) additional info: modify/delete: facsimileTelephoneNumber: no equality matching rule Here is the LDIF change tried by ldapvi: dn: uid=foo,ou=people,dc=evolix,dc=net [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lichteblau.com/ldapvi/">ldapvi</a> is so wonderful. No Java/Python/PHP for &#8220;browsing&#8221; LDAP trees and the power of vi for LDAP administration. Nevertheless, today I had difficulty for deleting a facsimileTelephoneNumber attribute:</p>
<pre>$ ldapvi
Action? [yYqQvVebB*rsf+?] y
ldap_modify: Inappropriate matching (18)
additional info: modify/delete: facsimileTelephoneNumber: no equality matching rule</pre>
<p>Here is the LDIF change tried by ldapvi:</p>
<pre>dn: uid=foo,ou=people,dc=evolix,dc=net
changetype: modify
delete: facsimileTelephoneNumber
facsimileTelephoneNumber: 0000</pre>
<p>After a little search on the web, I find the reason on <a href="http://www.openldap.org/lists/openldap-bugs/200304/msg00008.html">openldap-bugs list archives</a>:</p>
<pre>Since the schema definition of facsimileTelephoneNumber has no matching rule
defined, the only modifications you can make are Replace or Delete w/ no
values.</pre>
<p>facsimileTelephone attribute actually doesn&#8217;t have SYNTAX definition. See in core.ldif file:</p>
<pre>Number olcAttributeTypes: ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
  DESC 'RFC2256: Facsimile (Fax) Telephone Number'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )</pre>
<p>By default, ldapvi tries to delete a specific value (even if there is only one value) for an attribute. But according documentation, it&#8217;s impossible to delete only one of values for facsimileTelephoneNumber attribute!</p>
<p>Note: for deleting all values of facsimileTelephoneNumber attribute, the LDIF change must be:</p>
<pre>dn: uid=foo,ou=people,dc=evolix,dc=net
changetype: modify
delete: facsimileTelephoneNumber</pre>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/delete-facsimiletelephonenumber-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set up IPv6 in Xen domU with nat-mode</title>
		<link>http://gcolpart.evolix.net/blog21/set-up-ipv6-in-xen-domu-with-nat-mode/</link>
		<comments>http://gcolpart.evolix.net/blog21/set-up-ipv6-in-xen-domu-with-nat-mode/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 19:13:58 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=130</guid>
		<description><![CDATA[I have a Xen dom0 with nat-mode and IPv6 enabled. Set up IPv6 in Xen domU is like a classical IPv6 network: add IPv6 addresses on vif interfaces on dom0 and IPv6 addresses on domU (manually or with radvd on dom0). The only tip is how adding IPv6 addresses on vif interfaces which are dynamically [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Xen dom0 with nat-mode and IPv6 enabled. Set up IPv6 in Xen domU is like a classical IPv6 network: add IPv6 addresses on vif interfaces on dom0 and IPv6 addresses on domU (manually or with radvd on dom0). The only tip is how adding IPv6 addresses on vif interfaces which are dynamically created by Xen. Here is my dirty hack to do it on <em>/etc/xen/scripts/vif-nat</em> file:</p>
<pre>        [ "$dhcp" != 'no' ] &amp;&amp; dhcp_up
        +# Add IPv6 addresses
        +[ "$vif_ip" = '192.168.0.1' ] &amp;&amp; ifconfig "$vif" add 2001:6f8:143d:1::101:1234/64
        +[ "$vif_ip" = '192.168.0.2' ] &amp;&amp; ifconfig "$vif" add 2001:6f8:143d:2::101:1234/64
        ;;
    offline)</pre>
<p>Where <em>$vif_ip</em> is the IP address from domU configuration : <em>vif=['ip=192.168.0.1]</em>. </p>
<p>I think the best solution is adding ipv6 option to domU configuration. I will consider to open a wishlist bug for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/set-up-ipv6-in-xen-domu-with-nat-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>History of my NM application</title>
		<link>http://gcolpart.evolix.net/blog21/history-of-my-nm-application/</link>
		<comments>http://gcolpart.evolix.net/blog21/history-of-my-nm-application/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 18:24:47 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[NM]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=67</guid>
		<description><![CDATA[I apply (2007-07-26) I am advocated (2007-07-26) Mail from FD(myon) (2007-08-12) I reply (2007-08-15) FD(myon) says OK (2007-08-17) AM assigned (2007-12-05) First mails from my AM(white) (2007-12-06) ID check done (2007-12-07) P&#38;P1 check done (2007-12-21) P&#38;P2 check done (2008-01-17) T&#38;S1 check done (2008-05-04) T&#38;S2 check done (2008-05-13) AM report (2008-05-13) FD(wouter) check done (2008-07-23) DAM(myon) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.debian.org/GregoryColpart">I</a> apply <em>(2007-07-26)</em><br />
I am advocated <em>(2007-07-26)</em><br />
Mail from FD(myon) <em>(2007-08-12)</em><br />
I reply <em>(2007-08-15)</em><br />
FD(myon) says OK <em>(2007-08-17)</em><br />
AM assigned <em>(2007-12-05)</em><br />
First mails from my AM(white) <em>(2007-12-06)</em><br />
ID check done <em>(2007-12-07)</em><br />
P&amp;P1 check done <em>(2007-12-21)</em><br />
P&amp;P2 check done <em>(2008-01-17)</em><br />
T&amp;S1 check done <em>(2008-05-04)</em><br />
T&amp;S2 check done <em>(2008-05-13)</em><br />
<a href="http://lists.debian.org/debian-newmaint/2008/05/msg00026.html">AM report</a> <em>(2008-05-13)</em><br />
FD(wouter) check done <em>(2008-07-23)</em><br />
DAM(myon) approval <em>(2008-09-03)</em><br />
Account created by DSA(weasel)  <em>(2008-09-08)</em><br />
Debian Beer/<a href="http://en.wikipedia.org/wiki/Pastis">Pastis</a> Party in <a href="http://en.wikipedia.org/wiki/Marseille">Marseille</a> <em>(2008-09-15)</em></p>
<p>Thanks to all Debian people in particular opal, lmamane, white, madcoder, myon, wouter and weasel.</p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/history-of-my-nm-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SFR GPRS with Debian</title>
		<link>http://gcolpart.evolix.net/blog21/sfr-gprs-with-debian/</link>
		<comments>http://gcolpart.evolix.net/blog21/sfr-gprs-with-debian/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 18:17:34 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[GPRS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[SFR]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/?p=55</guid>
		<description><![CDATA[I use Nokia E65 phone and SFR (french mobile phone provider). Note there is at least two possibilities for access: wapsfr (for WAP browsing and AFAIK illimited) and websfr (less restricted but with high-cost level). I will only speak about wapsfr here. For connecting, it&#8217;s the same method like Orange SFR with Debian excepted you [...]]]></description>
			<content:encoded><![CDATA[<p>I use Nokia E65 phone and SFR (french mobile phone provider). Note there is at least two possibilities for access: <span style="font-style: italic;">wapsfr</span> (for WAP browsing and AFAIK illimited) and <span style="font-style: italic;">websfr </span>(less restricted but with high-cost level). I will only speak about wapsfr here. For connecting, it&#8217;s the same method like <a href="http://gcolpart.evolix.net/blog21/orange-gprs-with-debian/">Orange SFR with Debian</a> excepted you set <span style="font-style: italic;">wapfr</span> instead of <span style="font-style: italic;">orange.fr</span> in /etc/ppp/peers/gprs-wvdial.conf file. Then you are now connected but access seems restricted to 80 and 443 ports via proxy (NetApp/6.0.7 NetCache appliance announced by HTTP headers). For HTTP browsing, you must change your User-Agent to <span style="font-style: italic;">Vodafone/1.0/HTC_Mercury/1.23.163.5/Mozilla/4.0</span> for HTTP browsing. Of course, no problem for HTTPS browsing. And for SSH (for example SSH tunnel to have a full Internet access), you can use <a href="http://www.agroman.net/corkscrew/">corkscrew</a> and a SSH server reachable on tcp/443 to bypass the proxy. Just &#8220;apt-get&#8221; it and launch:</p>
<pre>ssh -o "ProxyCommand /usr/bin/corkscrew %h %p %h %p" -p 443 login@your_ssh_server</pre>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/sfr-gprs-with-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Please don&#8217;t manage permissions of libnss-ldap.conf file with debconf</title>
		<link>http://gcolpart.evolix.net/blog21/please-dont-manage-permissions-of-libnss-ldapconf-file-with-debconf/</link>
		<comments>http://gcolpart.evolix.net/blog21/please-dont-manage-permissions-of-libnss-ldapconf-file-with-debconf/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:24:21 +0000</pubDate>
		<dc:creator>Gregory Colpart</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Evolix]]></category>

		<guid isPermaLink="false">http://gcolpart.evolix.net/blog21/please-dont-manage-permissions-of-libnss-ldapconf-file-with-debconf/</guid>
		<description><![CDATA[During a random security upgrade on Debian : # ls -l libnss-ldap.conf -rw-r--r-- 1 root root 9863 2008-02-15 18:40 libnss-ldap.conf # dpkg -l nscd &#124; grep un un nscd &#60;none&#62; (no description available) # aptitude upgrade [...] Preparing to replace libnss-ldap 251-7.5 (using .../libnss-ldap_251-7.5etch1_i386.deb) ... Unpacking replacement libnss-ldap ... Setting up libnss-ldap (251-7.5etch1) ... # [...]]]></description>
			<content:encoded><![CDATA[<p>During a random security upgrade on Debian :</p>
<pre># ls -l libnss-ldap.conf
-rw-r--r-- 1 root root 9863 2008-02-15 18:40 libnss-ldap.conf
# dpkg -l nscd | grep un
un  nscd           &lt;none&gt;         (no description available)
# aptitude upgrade
[...]
Preparing to replace libnss-ldap 251-7.5 (using .../libnss-ldap_251-7.5etch1_i386.deb) ...
Unpacking replacement libnss-ldap ...
Setting up libnss-ldap (251-7.5etch1) ...
# ls -l libnss-ldap.conf
-rw------- 1 root root 9863 2008-02-15 20:55 libnss-ldap.conf</pre>
<p>Oops! With this permissions on the <em>libnss-ldap.conf</em> file, some services will be broken. For example, in Postfix/LDAP configuration, Postfix local mail delivery will fail because he can&#8217;t find homeDirectory of local user. And Postfix error message isn&#8217;t very explicit:</p>
<pre>postfix/qmgr[12063]: warning: transport local failure --
see a previous warning/fatal/panic logfile record for the problem description</pre>
<p>For more details, see <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455907#30">my post</a> on <a href="http://bugs.debian.org/455907">#455907</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gcolpart.evolix.net/blog21/please-dont-manage-permissions-of-libnss-ldapconf-file-with-debconf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

