<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-13919397</id><updated>2011-09-19T13:58:39.046+02:00</updated><title type='text'>jfc'log</title><subtitle type='html'>List of the things I have been hacking</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13919397.post-6885182391091825830</id><published>2010-12-23T10:33:00.002+01:00</published><updated>2010-12-23T10:37:31.181+01:00</updated><title type='text'>Tethering with Fedora 14 with iphone</title><content type='html'>It looks very easy now:&lt;br /&gt;yum install libimobiledevice (really needed?)&lt;br /&gt;dmesg tells:&lt;br /&gt;+++&lt;br /&gt;[ 3202.355929] ipheth 1-8.4:4.2: Apple iPhone USB Ethernet device attached&lt;br /&gt;[ 3202.355982] usbcore: registered new interface driver ipheth&lt;br /&gt;+++&lt;br /&gt;In network manager I am able to confgure it but not to activate it (may be I have something wrong in my box).&lt;br /&gt;&lt;br /&gt;Using dhclient wwan0&lt;br /&gt;gets it working :D&lt;br /&gt;&lt;br /&gt;Note that the iphone is running 4.2.1 and my provider is swisscom&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-6885182391091825830?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/6885182391091825830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=6885182391091825830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/6885182391091825830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/6885182391091825830'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2010/12/tethering-with-fedora-14.html' title='Tethering with Fedora 14 with iphone'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-2162713383766414769</id><published>2009-06-03T10:27:00.004+02:00</published><updated>2009-06-08T08:26:44.095+02:00</updated><title type='text'>mod_cluster 1.0.0.GA release</title><content type='html'>mod_cluster brings a dynamic configuration to mod_proxy. In fact mod_cluster is a replacement of mod_proxy_balancer and it uses some of the new features of httpd-trunk like slotmem.&lt;br /&gt;The improvements to mod_proxy/mod_jk are:&lt;br /&gt;- Dynamic configuration of contexts (no more 404 or 400 when an application is been redeployed).&lt;br /&gt;- Load information received from the node of the cluster.&lt;br /&gt;- Asynchronous cping/cpong via a STATUS message from the cluster.&lt;br /&gt;- Minimal configuration.&lt;br /&gt;Paul also blogged on the topic see &lt;a href="http://pferraro.wordpress.com/"&gt;http://pferraro.wordpress.com/&lt;/a&gt;&lt;br /&gt;For more see &lt;a href="http://www.jboss.org/mod_cluster/"&gt;http://www.jboss.org/mod_cluster/&lt;/a&gt; try it and join the growing community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-2162713383766414769?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/2162713383766414769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=2162713383766414769' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/2162713383766414769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/2162713383766414769'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2009/06/modcluster-100ga-release.html' title='mod_cluster 1.0.0.GA release'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-3996858919412025296</id><published>2009-04-14T17:11:00.004+02:00</published><updated>2009-04-14T17:26:52.204+02:00</updated><title type='text'>Using Tomcat with mod_heartmonitor (part 2)</title><content type='html'>This is the second blog on the topic using Tomcat with mod_heartmonitor, here it is using HTTP instead multicast sockets... Well no one like multicast sockets but everyone likes the HTTP protocol no?&lt;br /&gt;In the httpd.conf file add something like the following (to the httpd.conf the previous blog):&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;Location /HeartbeatListener&amp;gt;&lt;br /&gt;   SetHandler hearthbeat&lt;br /&gt;   Order deny,allow&lt;br /&gt;   Deny from all&lt;br /&gt;   Allow from 127.0.0.1&lt;br /&gt;   Allow from 10.33.144.4&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In the server.xml add ProxyList to the HeartbeatListener:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;Listener className="org.apache.catalina.ha.backend.HeartbeatListener" Port="8009" ProxyList="127.0.0.1:7779" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Have fun!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-3996858919412025296?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/3996858919412025296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=3996858919412025296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/3996858919412025296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/3996858919412025296'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2009/04/using-tomcat-with-modheartmonitor-part.html' title='Using Tomcat with mod_heartmonitor (part 2)'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-1783290708750061992</id><published>2009-04-09T09:31:00.004+02:00</published><updated>2009-04-09T09:50:06.448+02:00</updated><title type='text'>Using Tomcat with mod_heartmonitor</title><content type='html'>httpd-trunk contains a logic to receive hearth beats for backend servers.&lt;br /&gt;Associated with mod_proxy_balancer and the heartbeat Load balancing scheduler algorithm you can have a partially dynamic  load balancing behaviour.&lt;br /&gt;Configure httpd.conf with something like the following: (using httpd-trunk).&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;LoadModule proxy_module modules/mod_proxy.so&lt;br /&gt;LoadModule proxy_ajp_module modules/mod_proxy_ajp.so&lt;br /&gt;LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;br /&gt;LoadModule heartmonitor_module modules/mod_heartmonitor.so&lt;br /&gt;LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so&lt;br /&gt;LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so&lt;br /&gt;&lt;br /&gt;ProxyPass /myapp balancer://mycluster/myapp lbmethod=heartbeat&lt;br /&gt;HeartbeatStorage logs/hb.dat&lt;br /&gt;HeartbeatListen 224.0.1.105:23364&lt;br /&gt;&lt;br /&gt;&amp;lt;Proxy balancer://mycluster&amp;gt;&lt;br /&gt;   BalancerMember ajp://10.33.144.3:8009 route=jfpc ping=10&lt;br /&gt;   BalancerMember ajp://10.33.144.4:8009 route=neo3 ping=10&lt;br /&gt;&amp;lt;/Proxy&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Add the listener in server.xml of each tomcat: (using tc_trunk):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;Listener className="org.apache.catalina.ha.backend.HeartbeatListener" Port="8009"/&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Port is the Port of the AJP Connector where httpd is going to proxy the requests.&lt;br /&gt;&lt;br /&gt;Start httpd and the Tomcats and have fun with the "dynamic" cluster.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-1783290708750061992?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/1783290708750061992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=1783290708750061992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/1783290708750061992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/1783290708750061992'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2009/04/using-tomcat-with-modheartmonitor.html' title='Using Tomcat with mod_heartmonitor'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-8863388215592091602</id><published>2009-02-20T15:16:00.003+01:00</published><updated>2009-02-20T15:33:11.993+01:00</updated><title type='text'>Busy week</title><content type='html'>After a long time without blogging I have decided to include work activities in my blog.&lt;br /&gt;So this week has been a very busy one a &lt;a href="http://www.jboss.org/mod_cluster/"&gt;mod_cluster&lt;/a&gt; release and a &lt;a href="http://www.jboss.org/jbossweb/"&gt;JBossWEB&lt;/a&gt; release.&lt;br /&gt;I have also followed a first Aid with CPR and the &lt;a href="http://www.eu.apachecon.com/c/aceu2009/"&gt;ApacheCon Europe 2009&lt;/a&gt; planner activities are also taking a part of my time.&lt;br /&gt;I will speak at the &lt;a href="http://www.eu.apachecon.com/c/aceu2009/"&gt;ApacheCon Europe&lt;/a&gt;&lt;a href="http://www.eu.apachecon.com/c/aceu2009/"&gt; 2009&lt;/a&gt; too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZhuVnMHj7Vk/SZ6-0kBsjCI/AAAAAAAAAAM/Mtlg3460Y40/s1600-h/120x240+speaker.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 120px; height: 238px;" src="http://3.bp.blogspot.com/_ZhuVnMHj7Vk/SZ6-0kBsjCI/AAAAAAAAAAM/Mtlg3460Y40/s320/120x240+speaker.gif" alt="" id="BLOGGER_PHOTO_ID_5304887221322288162" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-8863388215592091602?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/8863388215592091602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=8863388215592091602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/8863388215592091602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/8863388215592091602'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2009/02/busy-week.html' title='Busy week'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_ZhuVnMHj7Vk/SZ6-0kBsjCI/AAAAAAAAAAM/Mtlg3460Y40/s72-c/120x240+speaker.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-1798254519724433681</id><published>2008-05-25T10:37:00.013+02:00</published><updated>2008-06-01T18:24:33.860+02:00</updated><title type='text'>fedora9 x86_64 with nvidia and centrino (d620)</title><content type='html'>In fact I am trying to move from F8-386 to F9-x86_64.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Upgrading:&lt;/h3&gt;&lt;br /&gt;- Via upgrade installation... It doesn't work (F8 i386 packages are not replaced)&lt;br /&gt;- Via install if you use the custom partitioning and don't change the partition&lt;br /&gt;layout and don't format you will keep your data but the F8 i386 packages are conflicting.&lt;br /&gt;- Remove the conflicting packages (via rescue installed system).&lt;br /&gt;rpm --root /mnt/sysimage/ -qa | grep i386 | xargs rpm --root /mnt/sysimage/ --nodeps --erase&lt;br /&gt;rpm --root /mnt/sysimage/ -qa | grep fc8 | xargs rpm --root /mnt/sysimage/ --nodeps --erase&lt;br /&gt;avahi (fc7.i386) has a broken postun scriptlet use --nopostun for it.&lt;br /&gt;- Redo the install as previous.&lt;br /&gt;- yum update (to use a 2.6.25.3-18 kernel).&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Fixing remaining problems&lt;/h3&gt;&lt;br /&gt;- Remaining problems (now investigating with a 4 Gbytes USB key as F9 disk)...&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Dual screen doesn't work (solution: Use nvidia 173.14.05)&lt;/h4&gt;&lt;br /&gt;    - default looks ok. But no dual screen.&lt;br /&gt;    - xorg-drv-nouveau: Give a bad resolution and strange (green colors) when randr12 on.&lt;br /&gt;    - nvidia: Doesn't work (X doesn't start, not the right ABI from http://www.nvidia.com/object/linux_display_amd64_173.08.html).&lt;br /&gt;   - nouveau from git (080525): See http://nouveau.freedesktop.org/wiki/InstallNouveau:&lt;br /&gt;     use the Fedora location (drm and xf86-video-nouveau).: ./configure --prefix=/usr --libdir=/usr/lib64).&lt;br /&gt;     restore the libglx.so if you tried nvidia before (yum reinstall xorg-x11-server-Xorg)&lt;br /&gt;- &lt;span style="font-weight: bold;"&gt;nvidia try 2: It works with&lt;br /&gt;&lt;a href="http://www.nvidia.com/object/linux_display_amd64_173.14.05.html"&gt; http://www.nvidia.com/object/linux_display_amd64_173.14.05.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;wifi (centrino) doesn't work (solution: use intel firmware 2.14.1.5 and stop NetworkeManager)&lt;/h4&gt;&lt;br /&gt;   - default doesn't work (well not well enough to use it).&lt;br /&gt;   - remove the firmwares that are installed and doesn't correspond to the 3945 board.&lt;br /&gt;     yum erase ipw2100-firmware&lt;br /&gt;     yum erase ipw2200-firmware&lt;br /&gt;     yum erase iwl4965-firmware&lt;br /&gt;    normally something like the following should be done:&lt;br /&gt;     yum search 3945&lt;br /&gt;     yum install iwl3945-firmware&lt;br /&gt;But in fact that doesn't help because the iwl3945 the driver complains (Do dmesg | grep iw) the firmware seems to be the same version (2.14.1.5-2?) than the F8 and I am using driver  iwl3945 too. After retest it seems that it also doesn't work now on F8.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;It is working using 2.14.1.5 firmware from &lt;a href="http://intellinuxwireless.org/?p=iwlwifi&amp;amp;n=downloads"&gt; http://intellinuxwireless.org/?p=iwlwifi&amp;amp;n=downloads&lt;/a&gt;&lt;br /&gt;on both Fedora versions in /lib/firmware/iwlwifi-3945-1.ucode)&lt;/span&gt;&lt;br /&gt;     It seems that stopping the NetworkManager service helps (even with 2.14.1.5-2).&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;PC speaker makes loud beeps:&lt;/h4&gt;&lt;br /&gt;In /etc/modprobe.d/blacklist add:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;install pcspkr /bin/true&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-1798254519724433681?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/1798254519724433681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=1798254519724433681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/1798254519724433681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/1798254519724433681'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2008/05/fedora9-x8664-with-nvidia-and-centrino.html' title='fedora9 x86_64 with nvidia and centrino (d620)'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-596392953027780780</id><published>2008-02-24T19:26:00.002+01:00</published><updated>2008-02-24T19:27:21.495+01:00</updated><title type='text'>wifi security :-(</title><content type='html'>cracking....&lt;br&gt;Using &lt;a href="http://aircrack-ng.org/doku.php?id=ipw3945"&gt;http://aircrack-ng.org/doku.php?id=ipw3945&lt;/a&gt;&lt;br&gt;(it uses ipwraw-ng &lt;a href="http://homepages.tu-darmstadt.de/~p_larbig/wlan/"&gt;http://homepages.tu-darmstadt.de/~p_larbig/wlan/&lt;/a&gt;)&lt;p&gt;cd /home/jfclere/modem/wifi/ipwraw-ng&lt;br&gt;make&lt;br&gt;make install&lt;br&gt;make install_ucode&lt;p&gt;Remove old driver:&lt;br&gt;+++&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/lsmod | grep 39&lt;br&gt;ipw3945               181024  0&lt;br&gt;ieee80211              30985  1 ipw3945&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/rmmod ipw3945&lt;br&gt;[root@jfcpc ipwraw-ng]# /etc/rc.d/init.d/ipw3945d stop&lt;br&gt;Stopping ipw3945d:                                         [  OK  ]&lt;br&gt;+++&lt;br&gt;Load the new one:&lt;br&gt;+++&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/modprobe ipwraw&lt;br&gt;+++&lt;br&gt;start it up:&lt;br&gt;+++&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/ifconfig wifi0 up&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/iwconfig wifi0 rate 1M&lt;br&gt;+++&lt;br&gt;set the right channel for example:&lt;br&gt;+++&lt;br&gt;[root@jfcpc ipwraw-ng]# /sbin/iwconfig wifi0 chan 1&lt;br&gt;+++&lt;p&gt;/sbin/iwconfig wifi0 works with it.&lt;br&gt;/sbin/iwconfig wifi0 rate 1M&lt;p&gt;kismet too.&lt;br&gt;edit /etc/kismet/kismet.conf add something:&lt;br&gt;source=ipw3945,wifi0,wifi0&lt;p&gt;start capture (to get the file.cap):&lt;br&gt;/usr/sbin/airodump-ng  -c 11 --bssid 00:C0:49:F1:XX:XX  -w XXXX rtap0&lt;p&gt;&lt;br&gt;use test to check it will work:&lt;br&gt;/usr/sbin/aireplay-ng -9 wifi0 -b 00:C0:49:F1:XX:XX&lt;p&gt;use fakeauth (-1) to check the AP likes us:&lt;br&gt;/usr/sbin/aireplay-ng  -1 0 -e XXXX -a 00:C0:49:F1:XX:XX -h &lt;br&gt;00:19:D2:AE:3B:9D wifi0&lt;p&gt;use -3 of aireplay-ng to inject (it takes times to get APR packets).&lt;br&gt;/usr/sbin/aireplay-ng -3 -b 00:C0:49:F1:XX:XX -h 00:19:D2:AE:3B:9D wifi0&lt;p&gt;the lastest step is:&lt;br&gt;aircrack-ptw file.cap&lt;br&gt;If it doesn&amp;#39;t work try the slower:&lt;br&gt;aircrack-ng file.cap&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-596392953027780780?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/596392953027780780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=596392953027780780' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/596392953027780780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/596392953027780780'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2008/02/wifi-security.html' title='wifi security :-('/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-776594896687944032</id><published>2007-11-30T20:24:00.000+01:00</published><updated>2007-11-30T22:56:16.717+01:00</updated><title type='text'></title><content type='html'>arranging broken F8. (after hardware disk problems):&lt;br /&gt;- Boot DVD (rescue system).&lt;br /&gt;- Don't mount the disk once the shell is started.&lt;br /&gt;- Check the lvm (LVM): lvm vgck&lt;br /&gt;- Create the /dev/mapper specials: lvm vgchange -a y&lt;br /&gt;- check the disk and force the correction: fsck /dev/mapper/VolGroup00-LogVol00 -f -y -c -c&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-776594896687944032?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/776594896687944032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=776594896687944032' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/776594896687944032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/776594896687944032'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2007/11/arranging-broken-f8.html' title=''/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-5976709416983365804</id><published>2007-06-24T16:43:00.000+02:00</published><updated>2007-06-24T16:51:14.238+02:00</updated><title type='text'>Upgrading from F6 to F7 on Dell Latitude D620</title><content type='html'>I have booted from the DVD and choose upgrade system after a long while&lt;br /&gt;the install process asks for reboot...&lt;br /&gt;But the box doesn't boot. It hangs here:&lt;br /&gt;+++&lt;br /&gt;TCP established hash table entries: 131072 (order: 8, 1572864 bytes)&lt;br /&gt;TCP bind hash table entries: 65536 (order: 7, 524288 bytes)&lt;br /&gt;TCP: Hash tables configured (established 131072 bind 65536)&lt;br /&gt;+++&lt;p&gt;I have rebooted from the DVD and choose recovery boot.&lt;br /&gt;Once booted I have copied the kernel/initrd/System.map and /lib/modules&lt;br /&gt;of another machine (2.6.21-1.3228.fc7) to the box edit the&lt;br /&gt;boot/grub/menu.lst add a new entry for the copied kernel and rebooted.&lt;/p&gt;&lt;p&gt;The reboot doesn't have X running so I accepted the reconfiguration and&lt;br /&gt;got X running (800x600 instead my expected 1440*900). From there I&lt;br /&gt;upgraded to the last version (using the Package Updater). Reboot and the&lt;br /&gt;expected resolution is now working (I have not yet tested the dual&lt;br /&gt;head). The improvement is that I don't need the ndivia driver.&lt;/p&gt;&lt;p&gt;Trying Suspend the machine suspends but never comes up (that was working&lt;br /&gt;in Fedora6) ;-(&lt;br /&gt;Trying Hibernate the machine stops correctly and comes up with problems.&lt;br /&gt;(that wasn't working with fedora6).&lt;/p&gt;&lt;p&gt;Network ethernet and wifi are working like in Fedora6.&lt;/p&gt;&lt;p&gt;Strange thing the Package Updater wants to upgrade to&lt;br /&gt;kernel-2.6.21-1.3228.fc7 even I have already done that.&lt;/p&gt;&lt;p&gt;In the Application menu I have a .hidden entry that contains k3b entries&lt;br /&gt;(2).&lt;/p&gt;&lt;p&gt;Evolution hangs like in Fedora6 (I am using imap) but hangs also the box&lt;br /&gt;(by eating all the memory).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-5976709416983365804?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/5976709416983365804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=5976709416983365804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/5976709416983365804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/5976709416983365804'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2007/06/upgrading-from-f6-to-f7-on-dell.html' title='Upgrading from F6 to F7 on Dell Latitude D620'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-116003689533749558</id><published>2006-10-05T10:17:00.000+02:00</published><updated>2006-10-06T11:08:20.826+02:00</updated><title type='text'>Wifi on Latitude D810 (Intel 2200BG)</title><content type='html'>On RHEL4 (and Fedora) only the firmware needs to be updated:&lt;br /&gt;To check you have the right board do /sbin/lspci the output should contain the following entry:&lt;br /&gt;03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)&lt;br /&gt;&lt;br /&gt;Get the firmware from http://ipw2200.sourceforge.net/firmware.php?fid=6&lt;br /&gt;extract it in /lib/firmware&lt;br /&gt;(cd /lib/firmware&lt;br /&gt;sudo tar zxvf /media/usbdisk/ipw2200-fw-2.4.tgz&lt;br /&gt;)&lt;br /&gt;For example.&lt;br /&gt;Reboot the machine the new firmware will be in use.  Configure it using System Settings + Network.&lt;br /&gt;&lt;br /&gt;If it does not work check dmesg for:&lt;br /&gt;+++&lt;br /&gt;ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection&lt;br /&gt;divert: allocating divert_blk for eth1&lt;br /&gt;ipw2200: Radio Frequency Kill Switch is On:&lt;br /&gt;Kill switch must be turned off for wireless networking to work.&lt;br /&gt;divert: freeing divert_blk for eth1&lt;br /&gt;+++&lt;br /&gt;Do /sbin/rmmod ipw2200 and press &lt;fn&gt; &lt;f2&gt; (blue key Fn and normal F2 where there is a  logo  like an antena).&lt;br /&gt;Do  /sbin/modprobe ipw2200 check again:&lt;br /&gt;+++&lt;br /&gt;ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.0.10&lt;br /&gt;ipw2200: Copyright(c) 2003-2005 Intel Corporation&lt;br /&gt;ACPI: PCI interrupt 0000:03:03.0[A] -&gt; GSI 17 (level, low) -&gt; IRQ 177&lt;br /&gt;ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection&lt;br /&gt;divert: allocating divert_blk for eth1&lt;br /&gt;+++&lt;br /&gt;&lt;br /&gt;note: @myhome the wifi id is: ATMEL and the mac: 00:16:6F:60:AE:67&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-116003689533749558?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/116003689533749558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=116003689533749558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/116003689533749558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/116003689533749558'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2006/10/wifi-on-latitude-d810-intel-2200bg.html' title='Wifi on Latitude D810 (Intel 2200BG)'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-115667763260436844</id><published>2006-08-27T13:20:00.000+02:00</published><updated>2006-08-30T21:50:08.356+02:00</updated><title type='text'>snoopying usb for 3342</title><content type='html'>&lt;p class="mobile-post"&gt;Trying to get my netopia 3342 working on linux.&lt;br /&gt;- install vmware + windoze + modem (manualy).&lt;br /&gt;- vmware use /dev/usb&lt;br /&gt;- echo 1 &amp;gt; /sys/module/usbcore/parameters/usbfs_snoop&lt;br /&gt;Get a trace like:&lt;br /&gt;+++&lt;br /&gt;Aug 27 13:05:03 wexpert last message repeated 3 times&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: SUBMITURB&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: SUBMITURB&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: REAPURBDELAY&lt;br /&gt;Aug 27 13:05:03 wexpert last message repeated 3 times&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: SUBMITURB&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: SUBMITURB&lt;br /&gt;Aug 27 13:05:03 wexpert kernel: usb 3-1: usbdev_ioctl: REAPURBDELAY&lt;br /&gt;Aug 27 13:05:03 wexpert last message repeated 3 times&lt;br /&gt;+++&lt;br /&gt;Not very helpfull...&lt;br /&gt;But printk() at the right places will quicky.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-115667763260436844?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/115667763260436844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=115667763260436844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/115667763260436844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/115667763260436844'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2006/08/snoopying-usb-for-3342.html' title='snoopying usb for 3342'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-114902302780471081</id><published>2006-05-30T23:03:00.000+02:00</published><updated>2006-05-30T23:09:02.723+02:00</updated><title type='text'>Blu-win Netopia 3342/3352</title><content type='html'>&lt;p class="mobile-post"&gt;I have recently moved in Switzerland and of the course the USB (A)DSL&lt;br /&gt;modem I get is not supported on Linux.&lt;br /&gt;After some investigations the ID 100d:3342 should be compatible with&lt;br /&gt;"Conexant AccessRunner USB modem".&lt;br /&gt;But this Conexant stuff works 2 differents ways depending on the firmware.&lt;br /&gt;Unlucky me the existing Linux driver is not for the way SWISSCOM uses the modem.&lt;br /&gt;After more investatigations the only thing that have a chance to work is a driver from Olitec. After downloading it from http://www.olitec.com/pub/USBADSLV151-1008fr.tar.gz.&lt;br /&gt;It appairs completly outdated and does not compile with my 2.6.13 vanilla kernel.&lt;/p&gt;&lt;p class="mobile-post"&gt;How to go on:&lt;br /&gt;1 - USB analyser + trace analysis.&lt;br /&gt;2 - Fix the driver and hope it works after that.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-114902302780471081?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/114902302780471081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=114902302780471081' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/114902302780471081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/114902302780471081'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2006/05/blu-win-netopia-33423352.html' title='Blu-win Netopia 3342/3352'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-114095042600219415</id><published>2006-02-26T11:40:00.000+01:00</published><updated>2006-03-02T23:39:27.453+01:00</updated><title type='text'>Build and testing harmony  jchevm JVM</title><content type='html'>&lt;p class="mobile-post"&gt;To build it on debian:&lt;br /&gt;1 - Install classpath, autoconf, automake, libtool libpopt, libz and&lt;br /&gt;Classpath.&lt;br /&gt;2 - Run autogen.sh --with-classpath=/usr&lt;br /&gt;3 - configure&lt;br /&gt;4 - make&lt;br /&gt;To test it write a small java program and start it using the JVM:&lt;br /&gt;+++&lt;br /&gt;jfclere@jfcexpert:~/harmony/enhanced/jchevm$ jc/jc toto&lt;br /&gt;java.lang.NoClassDefFoundError: org.dellroad.jc.vm.DebugThread&lt;br /&gt;       at java.lang.VMThrowable.fillInStackTrace(Native Method)&lt;br /&gt;       at java.lang.Throwable.fillInStackTrace(Throwable.java:498)&lt;br /&gt;       at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:159)&lt;br /&gt;       at java.lang.Error.&amp;lt;init&amp;gt;(Error.java:81)&lt;br /&gt;       at java.lang.LinkageError.&amp;lt;init&amp;gt;(LinkageError.java:72)&lt;br /&gt;       at&lt;br /&gt;java.lang.NoClassDefFoundError.&amp;lt;init&amp;gt;(NoClassDefFoundError.java:74)&lt;br /&gt;jc: failed to create VM&lt;br /&gt;+++&lt;br /&gt;Do the following (toto.class is a small java program):&lt;br /&gt;+++&lt;br /&gt;jc/jc -b /usr/share/classpath/glibj.zip:./java/jc.zip toto&lt;br /&gt;+++&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-114095042600219415?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/114095042600219415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=114095042600219415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/114095042600219415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/114095042600219415'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2006/02/build-and-testing-harmony-jchevm-jvm.html' title='Build and testing harmony  jchevm JVM'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-113363080068074213</id><published>2005-12-03T18:16:00.000+01:00</published><updated>2005-12-03T18:26:40.690+01:00</updated><title type='text'>Build harmony on linux 386</title><content type='html'>ant&lt;br /&gt;+++&lt;br /&gt;BUILD FAILED&lt;br /&gt;/home/jfclere/harmony/enhanced/trunk/sandbox/contribs/ibm_core/build.xml:41: The following error occurred while executing this line:&lt;br /&gt;/home/jfclere/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/build.xml:97: exec returned: 2&lt;br /&gt;&lt;br /&gt;Total time: 31 seconds&lt;br /&gt;+++&lt;br /&gt;Look in ./native-src/linux.IA32/build.log&lt;br /&gt;+++&lt;br /&gt;X86 -DHYPORT_LIBRARY_DEFINE -I../include     -c -o hyvmem.o hyvmem.c&lt;br /&gt;hyvmem.c: In function `hyvmem_reserve_memory':                                  hyvmem.c:311: `SHM_HUGETLB' undeclared (first use in this function)&lt;br /&gt;hyvmem.c:311: (Each undeclared identifier is reported only once                 hyvmem.c:311: for each function it appears in.)&lt;br /&gt;make[1]: Leaving directory `/home/jfclere/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/port'&lt;br /&gt;make[1]: *** [hyvmem.o] Error 1                                                 make: *** [_port] Error 2&lt;br /&gt;+++&lt;br /&gt;Oops my system does not support SHM_HUGETLB (libc is too old!).&lt;br /&gt;&lt;br /&gt;To fix use the patch:&lt;br /&gt;+++&lt;br /&gt;Index: native-src/linux.IA32/port/hyvmem.c&lt;br /&gt;===================================================================&lt;br /&gt;--- native-src/linux.IA32/port/hyvmem.c (revision 351912)&lt;br /&gt;+++ native-src/linux.IA32/port/hyvmem.c (working copy)&lt;br /&gt;@@ -35,6 +35,10 @@&lt;br /&gt; #include &lt;sys/shm.h&gt;&lt;br /&gt; #include &lt;unistd.h&gt;&lt;br /&gt;&lt;br /&gt;+#if !defined(SHM_HUGETLB)&lt;br /&gt;+#define SHM_HUGETLB     04000   /* segment will use huge TLB pages */&lt;br /&gt;+#endif&lt;br /&gt;+&lt;br /&gt; #if !defined(MAP_FAILED)&lt;br /&gt; #define MAP_FAILED -1&lt;br /&gt; #endif&lt;br /&gt;+++&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-113363080068074213?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/113363080068074213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=113363080068074213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/113363080068074213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/113363080068074213'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/12/build-harmony-on-linux-386.html' title='Build harmony on linux 386'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-112361217744927579</id><published>2005-08-09T20:29:00.000+02:00</published><updated>2005-08-09T20:29:37.466+02:00</updated><title type='text'>remastering knoppix 3.9</title><content type='html'>&lt;p class="mobile-post"&gt;You will need cloop I have used &lt;br /&gt;http://developer.linuxtag.net/knoppix/sources/cloop_2.01-5.tar.gz.&lt;br /&gt;To build it on linux 2.6.x arrange the Makefile, comment out:&lt;br /&gt;+++&lt;br /&gt;include $(KERNEL_DIR)/conf.vars&lt;br /&gt;+++&lt;br /&gt;and add -O2 to CKERNOPS&lt;/p&gt;&lt;p class="mobile-post"&gt;In advancecomp-1.9_create_compressed_fs/advfs.cc comment out:&lt;br /&gt;+++&lt;br /&gt;#include &amp;lt;netinet/in.h&amp;gt;&lt;br /&gt;+++&lt;/p&gt;&lt;p class="mobile-post"&gt;compressed_loop.c needs the following patch:&lt;br /&gt;++++++++++++++&lt;br /&gt;--- compressed_loop.c.org       2005-08-09 18:23:27.000000000 +0200&lt;br /&gt;+++ compressed_loop.c   2005-08-09 18:24:44.000000000 +0200&lt;br /&gt;@@ -202,7 +202,7 @@&lt;br /&gt;                           unsigned long offset, unsigned long size)&lt;br /&gt; {&lt;br /&gt;  char *kaddr;&lt;br /&gt;- struct clo_read_data *p = (struct clo_read_data*)desc-&amp;gt;buf;&lt;br /&gt;+ struct clo_read_data *p = (struct clo_read_data*)desc-&amp;gt;arg.buf;&lt;br /&gt;  unsigned long count = desc-&amp;gt;count;&lt;br /&gt;  if (size &amp;gt; count) size = count;&lt;br /&gt;  kaddr = kmap(page);&lt;br /&gt;@@ -228,7 +228,7 @@&lt;br /&gt;    read_descriptor_t desc;&lt;br /&gt;    desc.written = 0;&lt;br /&gt;    desc.count   = size;&lt;br /&gt;-   desc.buf     = (char*)&amp;amp;cd;&lt;br /&gt;+   desc.arg.buf     = (char*)&amp;amp;cd;&lt;br /&gt;    desc.error   = 0;&lt;br /&gt; #ifdef REDHAT_KERNEL /* Greenshoe Linux */&lt;br /&gt;    do_generic_file_read(f, &amp;amp;pos, &amp;amp;desc, clo_read_actor, 0);&lt;br /&gt;++++++++&lt;/p&gt;&lt;p class="mobile-post"&gt;Build it:&lt;br /&gt;+++&lt;br /&gt;make KERNEL_DIR=/home/jfclere/KERNEL/linux-2.6.10&lt;br /&gt;+++&lt;/p&gt;&lt;p class="mobile-post"&gt;Insert it in system:&lt;br /&gt;+++&lt;br /&gt;/sbin/modprobe zlib_inflate&lt;br /&gt;/sbin/modprobe zlib_deflate&lt;br /&gt;/sbin/insmod cloop.o file=/home/jfclere/tmp/knx/master/KNOPPIX/KNOPPIX&lt;br /&gt;+++&lt;br /&gt;Mount it:&lt;br /&gt;+++&lt;br /&gt;mount -r -t iso9660 /dev/cloop /mnt/test2&lt;br /&gt;+++&lt;/p&gt;&lt;p class="mobile-post"&gt;Copy the KNOPPIX/KNOPPIX contents (from the &lt;br /&gt;KNOPPIX_V3.9-2005-05-27-EN.iso) in one directory. (for example use cp &lt;br /&gt;-Rp /mnt/test2/* KNOPPIX). That takes a while ;-)&lt;br /&gt;Arrange the files  (remove and add) in the directory and rebuild the &lt;br /&gt;compressed file system with mkisofs for example:&lt;br /&gt;+++&lt;br /&gt;mkisofs -R -U -V "KNOPPIX.net filesystem" -publisher "KNOPPIX &lt;br /&gt;www.knoppix.net"      -hide-rr-moved -cache-inodes -no-bak -pad /home/jfclere/tmp/KNOPPIX   | nice -5 /home/jfclere/tmp/cloop-2.01/create_compressed_fs - 65536 &amp;gt; &lt;br /&gt;/home/jfclere/tmp/KNOPPIX/KNOPPIX&lt;br /&gt;+++&lt;/p&gt;&lt;p class="mobile-post"&gt;Copy the KNOPPIX from the orignal iso image and replace the file &lt;br /&gt;KNOPPIX/KNOPPIX by the new one (/home/jfclere/tmp/KNOPPIX/KNOPPIX here).&lt;/p&gt;&lt;p class="mobile-post"&gt;Build the iso image:&lt;br /&gt;+++&lt;br /&gt;(cd /home/jfclere/tmp/knx/master&lt;br /&gt;mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4    -boot-info-table -b boot/isolinux/isolinux.bin   -c boot/isolinux/boot.cat    -hide-rr-moved -o /home/jfclere/jfc.iso /home/jfclere/tmp/knx/master&lt;br /&gt;)&lt;br /&gt;+++&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-112361217744927579?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/112361217744927579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=112361217744927579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112361217744927579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112361217744927579'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/08/remastering-knoppix-39.html' title='remastering knoppix 3.9'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-112293321798260011</id><published>2005-08-01T23:53:00.000+02:00</published><updated>2005-08-14T17:34:57.960+02:00</updated><title type='text'>booting lunix on "strange" machines (using one floppy)</title><content type='html'>&lt;p class="mobile-post"&gt;Boot knoppix (on a machine with a bootable CD drive).&lt;br /&gt;In a console format and create the boot floppy using the following commands:&lt;br /&gt;mkfs.ext2 /dev/fd0&lt;br /&gt;fsck -f -t ext2 /dev/fd0&lt;br /&gt;mkboot -d /dev/fd0&lt;br /&gt;That doesn't work.... Too big!!!&lt;/p&gt;&lt;p class="mobile-post"&gt;Build a kernel small by removing and configuring most drivers as modules.&lt;br /&gt;+++&lt;br /&gt;ls -lt ./arch/i386/boot/bzImage&lt;br /&gt;-rw-r--r--    1 jfclere  users      835540 2005-08-01 22:40&lt;br /&gt;./arch/i386/boot/bzImag&lt;br /&gt;+++&lt;/p&gt;&lt;p class="mobile-post"&gt;Do the job:&lt;br /&gt;mkfs.ext2 /dev/fd0&lt;br /&gt;fsck -f -t ext2 /dev/fd0&lt;br /&gt;mount /dev/fd0 /mnt/test1&lt;br /&gt;mkdir -p /mnt/test1/boot/grub&lt;br /&gt;cp /home/jfclere/KERNEL/linux-2.6.10/arch/i386/boot/bzImage /mnt/test1&lt;br /&gt;cp /home/jfclere/tmp/initrd /mnt/test1&lt;br /&gt;cp /boot/grub/menu.lst /mnt/test/boot/grub&lt;br /&gt;cp /boot/grub/stage1 /mnt/test/boot/grub&lt;br /&gt;cp /boot/grub/stage2 /mnt/test/boot/grub&lt;/p&gt;&lt;p class="mobile-post"&gt;menu.lst contains:&lt;br /&gt;+++&lt;br /&gt;color white/blue black/light-gray&lt;br /&gt;timeout 8&lt;/p&gt;&lt;p class="mobile-post"&gt;title linuxtest&lt;br /&gt;  kernel (fd0)/bzImage root=/dev/hda1 vga=791&lt;br /&gt;  initrd (fd0)/initrd&lt;br /&gt;title floppy&lt;br /&gt;  root (fd0)&lt;br /&gt;  chainloader +1&lt;br /&gt;+++&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-112293321798260011?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/112293321798260011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=112293321798260011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112293321798260011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112293321798260011'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/08/booting-lunix-on-strange-machines.html' title='booting lunix on &quot;strange&quot; machines (using one floppy)'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-112060133759944017</id><published>2005-07-06T00:08:00.000+02:00</published><updated>2005-07-06T23:07:42.676+02:00</updated><title type='text'>hostap with Siemens I-GATE 11M PCI</title><content type='html'>&lt;p class="mobile-post"&gt;that is a PrismII based PCMCIA card in the PLX9052 *PCI*-PCMCIA adapter.&lt;br /&gt;follow the README of the hostap driver:&lt;br /&gt;make&lt;br /&gt;make install (as root)&lt;br /&gt;remove the orinoco modules:&lt;br /&gt;ifconfig eth1 down&lt;br /&gt;rmmod orinoco_plx&lt;br /&gt;rmmod orinoco&lt;br /&gt;try the new one:&lt;br /&gt;modprobe hostap_plx&lt;br /&gt;check it:&lt;br /&gt;ifconfig -a&lt;br /&gt;+++&lt;br /&gt;wifi0     Link encap:UNSPEC  HWaddr 00-90-D1-00-76-4E-00-00-00-00-00-00-00-00-00-00&lt;br /&gt;         BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;         collisions:0 txqueuelen:1000&lt;br /&gt;         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;br /&gt;         Interrupt:11 Base address:0x3000&lt;/p&gt;&lt;p class="mobile-post"&gt;wlan0     Link encap:Ethernet  HWaddr 00:90:D1:00:76:4E&lt;br /&gt;         BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;         collisions:0 txqueuelen:0&lt;br /&gt;         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;br /&gt;         Interrupt:11 Base address:0x3000&lt;br /&gt;+++&lt;br /&gt;configure it as below:&lt;br /&gt;+++&lt;br /&gt;ifconfig wlan0 inet 10.170.254.37&lt;br /&gt;ifconfig wlan0 netmask 255.255.255.0&lt;br /&gt;ifconfig wlan0 broadcast 10.170.254.255&lt;/p&gt;&lt;p class="mobile-post"&gt;iwconfig wlan0 essid ATMEL&lt;br /&gt;iwconfig wlan0 channel 1&lt;br /&gt;iwconfig wlan0 mode managed&lt;br /&gt;+++&lt;br /&gt;ping wexpert doesn't work, why?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-112060133759944017?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/112060133759944017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=112060133759944017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112060133759944017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112060133759944017'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/07/hostap-with-siemens-i-gate-11m-pci.html' title='hostap with Siemens I-GATE 11M PCI'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-112051415384055415</id><published>2005-07-04T23:55:00.000+02:00</published><updated>2005-07-05T23:06:10.476+02:00</updated><title type='text'>kismet</title><content type='html'>&lt;p class="mobile-post"&gt;Building:&lt;br /&gt;It needs ncurses: http://ftp.gnu.org/pub/gnu/ncurses&lt;br /&gt;(http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.4.tar.gz)&lt;br /&gt;Then everything easy&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install (well I build a rpm with ncurses staticly linked to&lt;br /&gt;kismet.&lt;br /&gt;Using it:&lt;br /&gt;My Siemens I-GATE 11M PCI uses the orinoco driver (that is a original&lt;br /&gt;kernel for www.kernel.org) of course that doesn't work.&lt;br /&gt;But the card is PrismII based PCMCIA card. So hostap should help.&lt;br /&gt;(http://hostap.epitest.fi/)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-112051415384055415?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/112051415384055415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=112051415384055415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112051415384055415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/112051415384055415'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/07/kismet.html' title='kismet'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-111962940334555703</id><published>2005-06-24T18:10:00.000+02:00</published><updated>2005-06-24T19:04:08.516+02:00</updated><title type='text'>boinc with http-proxy</title><content type='html'>&lt;p class="mobile-post"&gt;First:&lt;br /&gt;boinc_client -attach_project&lt;br /&gt;It will failed.&lt;br /&gt;Second:&lt;br /&gt;Edit the file client_state.xml, add something like the following:&lt;br /&gt;+++&lt;br /&gt;&amp;lt;proxy_info&amp;gt;&lt;br /&gt;   &amp;lt;use_http_proxy/&amp;gt;&lt;br /&gt;&amp;lt;http_server_name&amp;gt;wexpert&amp;lt;/http_server_name&amp;gt;&lt;br /&gt;&amp;lt;http_server_port&amp;gt;8888&amp;lt;/http_server_port&amp;gt;&lt;br /&gt;&amp;lt;/proxy_info&amp;gt;&lt;br /&gt;+++&lt;br /&gt;Thrid:&lt;br /&gt;boinc_client -attach_project&lt;br /&gt;That should work.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-111962940334555703?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/111962940334555703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=111962940334555703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/111962940334555703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/111962940334555703'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/06/boinc-with-http-proxy.html' title='boinc with http-proxy'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13919397.post-111960295251037607</id><published>2005-06-24T10:45:00.000+02:00</published><updated>2005-06-24T12:29:34.453+02:00</updated><title type='text'>boinc</title><content type='html'>First after download:&lt;br /&gt;+++&lt;br /&gt;jfclere@jfcexpert:~/BOINC&gt; boincmgr&lt;br /&gt;boincmgr: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by boincmgr)&lt;br /&gt;+++&lt;br /&gt;Now try to compile it...&lt;br /&gt;+++&lt;br /&gt;configure --disable-server&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;boinc_client -help&lt;br /&gt;boinc_client -attach&lt;br /&gt;+++&lt;br /&gt;Here next problem, where is the mail that contains the "account key"... Deleted already ;-(&lt;br /&gt;Not a big problem grep "Account Key" in  /.mozilla/jfclere/4dcgmgr3.slt/Mail/pop3.sinix.net/*&lt;br /&gt;+++&lt;br /&gt;AAAA-private:    Account Key:         _32_hex_char_string_&lt;br /&gt;+++&lt;br /&gt;Now the key is saved and boinc is running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13919397-111960295251037607?l=jfclere.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jfclere.blogspot.com/feeds/111960295251037607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13919397&amp;postID=111960295251037607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/111960295251037607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13919397/posts/default/111960295251037607'/><link rel='alternate' type='text/html' href='http://jfclere.blogspot.com/2005/06/boinc.html' title='boinc'/><author><name>jfclere</name><uri>http://www.blogger.com/profile/15666421446780951172</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://people.apache.org/~jfclere/images/Clere.jpg'/></author><thr:total>0</thr:total></entry></feed>
