<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Marcin Juszkiewicz - authorization</title><link href="https://marcin.juszkiewicz.com.pl/" rel="alternate"/><link href="https://marcin.juszkiewicz.com.pl/tag/authorization/feed/" rel="self"/><id>https://marcin.juszkiewicz.com.pl/</id><updated>2007-04-25T11:25:00+02:00</updated><entry><title>WPA in Debian and Poky</title><link href="https://marcin.juszkiewicz.com.pl/2007/04/25/wpa-in-debian-and-poky/" rel="alternate"/><published>2007-04-25T11:25:00+02:00</published><updated>2007-04-25T11:25:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2007-04-25:/2007/04/25/wpa-in-debian-and-poky/</id><summary type="html">&lt;p&gt;During last week I switched my home WiFi from insecure &lt;span class="caps"&gt;WEP&lt;/span&gt; to &lt;span class="caps"&gt;WPA2&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Why not used &lt;span class="caps"&gt;WPA&lt;/span&gt; before? My x86 test machine was ProGear which use Orinoco &lt;span class="caps"&gt;PCMCIA&lt;/span&gt; card (no &lt;span class="caps"&gt;WPA&lt;/span&gt; support) and I also used Tosa with that crap called wlan-ng (also no &lt;span class="caps"&gt;WPA&lt;/span&gt; support). Now I have &lt;span class="caps"&gt;USB …&lt;/span&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;During last week I switched my home WiFi from insecure &lt;span class="caps"&gt;WEP&lt;/span&gt; to &lt;span class="caps"&gt;WPA2&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Why not used &lt;span class="caps"&gt;WPA&lt;/span&gt; before? My x86 test machine was ProGear which use Orinoco &lt;span class="caps"&gt;PCMCIA&lt;/span&gt; card (no &lt;span class="caps"&gt;WPA&lt;/span&gt; support) and I also used Tosa with that crap called wlan-ng (also no &lt;span class="caps"&gt;WPA&lt;/span&gt; support). Now I have &lt;span class="caps"&gt;USB&lt;/span&gt; Ethernet card and &lt;span class="caps"&gt;PCMCIA&lt;/span&gt;-&amp;gt;&lt;span class="caps"&gt;CF&lt;/span&gt; adapter so both can be connected via wire or with &lt;span class="caps"&gt;CF&lt;/span&gt; WiFi card (Prism2 with 1.8.4 firmware so &lt;span class="caps"&gt;WPA&lt;/span&gt;&amp;nbsp;out-of-box).&lt;/p&gt;
&lt;p&gt;But since I use Dell D400 as x86 test machine ProGear is not powered &amp;#8212; I will probably put it on shelf to get some desk space free (there is no such thing as big enough desk &amp;#8212; just ones that are not cluttered&amp;nbsp;yet).&lt;/p&gt;
&lt;p&gt;But how to get &lt;span class="caps"&gt;WPA&lt;/span&gt; working in Debian, Poky, Ångström, OpenZaurus or other distros? You basically need few&amp;nbsp;things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="caps"&gt;WPA&lt;/span&gt;-Supplicant&lt;/li&gt;
&lt;li&gt;card with good driver (so no Orinoco or wlan-ng&amp;nbsp;crap)&lt;/li&gt;
&lt;li&gt;proper&amp;nbsp;configuration&lt;/li&gt;
&lt;li&gt;network with &lt;span class="caps"&gt;WPA&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;First I configured &amp;#8220;maluch&amp;#8221; (D400).&amp;nbsp;Installed &lt;code&gt;wpasupplicant&lt;/code&gt; package and discovered that it is not supported out-of-box. &lt;span class="caps"&gt;README&lt;/span&gt; propose two&amp;nbsp;methods:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use only one network and configure network&amp;nbsp;in &lt;code&gt;/etc/network/interfaces&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Roaming networks with extra&amp;nbsp;scripts&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I decided to follow 3rd way where you need to&amp;nbsp;edit &lt;code&gt;/etc/network/interfaces&lt;/code&gt; just to tell wpa-supplicant which config it has to use and which&amp;nbsp;driver:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;iface eth1 inet dhcp
        wpa-driver wext
        wpa-conf /etc/wpa_supplicant/config
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This way wpa-supplicant is started automatically&amp;nbsp;with &lt;code&gt;/etc/wpa_supplicant/config&lt;/code&gt; file as configuration. This file also contain all networks which you want to connect. It can be edited by hand or using external tools&amp;nbsp;&amp;#8212; &lt;code&gt;wpa_cli&lt;/code&gt; or &lt;code&gt;wpa_gui&lt;/code&gt; (&lt;span class="caps"&gt;QT3&lt;/span&gt;/&lt;span class="caps"&gt;QT4&lt;/span&gt;). Have to check does it works ok with other networks then my home one but it should&amp;nbsp;work.&lt;/p&gt;
&lt;p&gt;Then same configuration on Zaurus C760 running Poky &amp;#8212; Prism2 card in CompactFlash slot. Connecting to network works out-of-box now. On Nokia 770 all I need to to was entering &lt;span class="caps"&gt;WPA&lt;/span&gt;-&lt;span class="caps"&gt;PSK&lt;/span&gt;&amp;nbsp;key.&lt;/p&gt;
&lt;p&gt;The worst part was &lt;span class="caps"&gt;MS&lt;/span&gt; Windows laptop &amp;#8212; I had to remove all networks from list of preferred ones, reboot and then enter &lt;span class="caps"&gt;WPA&lt;/span&gt;-&lt;span class="caps"&gt;PSK&lt;/span&gt; key to get it&amp;nbsp;working.&lt;/p&gt;
&lt;p&gt;Now it should be harder to connect to my network&amp;nbsp;;)&lt;/p&gt;</content><category term="authorization"/><category term="debian"/><category term="dell"/><category term="free drivers"/><category term="nokia"/><category term="tosa"/><category term="wlan"/><category term="wlan-ng"/><category term="wpa"/></entry><entry><title>Instant messaging^W^WGaduGadu crap</title><link href="https://marcin.juszkiewicz.com.pl/2006/07/11/instant-messagingwwgadugadu-crap/" rel="alternate"/><published>2006-07-11T11:15:00+02:00</published><updated>2006-07-11T11:15:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2006-07-11:/2006/07/11/instant-messagingwwgadugadu-crap/</id><summary type="html">&lt;p&gt;Many people use &lt;span class="caps"&gt;IM&lt;/span&gt; (Instant Messaging) each day. There are many protocols available: &lt;span class="caps"&gt;AIM&lt;/span&gt;, GaduGadu, GroupWise, &lt;span class="caps"&gt;ICQ&lt;/span&gt;, &lt;span class="caps"&gt;IRC&lt;/span&gt;, Jabber, Meanwhile, &lt;span class="caps"&gt;MSN&lt;/span&gt;, WinPopup, Yahoo and probably some&amp;nbsp;other&amp;#8230;&lt;/p&gt;
&lt;p&gt;I use &lt;span class="caps"&gt;IRC&lt;/span&gt; since my usage of Internet began, then &lt;span class="caps"&gt;ICQ&lt;/span&gt; started to be popular (and my Amiga was connected to academic network …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many people use &lt;span class="caps"&gt;IM&lt;/span&gt; (Instant Messaging) each day. There are many protocols available: &lt;span class="caps"&gt;AIM&lt;/span&gt;, GaduGadu, GroupWise, &lt;span class="caps"&gt;ICQ&lt;/span&gt;, &lt;span class="caps"&gt;IRC&lt;/span&gt;, Jabber, Meanwhile, &lt;span class="caps"&gt;MSN&lt;/span&gt;, WinPopup, Yahoo and probably some&amp;nbsp;other&amp;#8230;&lt;/p&gt;
&lt;p&gt;I use &lt;span class="caps"&gt;IRC&lt;/span&gt; since my usage of Internet began, then &lt;span class="caps"&gt;ICQ&lt;/span&gt; started to be popular (and my Amiga was connected to academic network via Ethernet), about year later people started switching to GaduGadu and some time later I started using Jabber. Today I use &lt;span class="caps"&gt;IRC&lt;/span&gt; each day (you can catch me&amp;nbsp;on &lt;code&gt;freenode&lt;/code&gt; and &lt;code&gt;IRCnet&lt;/code&gt;), two Jabber accounts, one &lt;span class="caps"&gt;ICQ&lt;/span&gt; and two GaduGadu (one for private contacts, one for coworkers). My favorite method of &lt;span class="caps"&gt;IM&lt;/span&gt; contact is Jabber, then &lt;span class="caps"&gt;ICQ&lt;/span&gt; (I do not count &lt;span class="caps"&gt;IRC&lt;/span&gt; here as it is not so one-to-one chat). I dislike GaduGadu for its lack of normal features, ignoring privacy and such&amp;nbsp;stuff.&lt;/p&gt;
&lt;p&gt;For example &amp;#8212; today I added contact of coworker to be able to send some infos to her instead of writing it in email or on sheet of paper. As usual she had to ask someone which number she has (&lt;span class="caps"&gt;GG&lt;/span&gt; use numbers like &lt;span class="caps"&gt;ICQ&lt;/span&gt; does &amp;#8212; not names like Jabber or &lt;span class="caps"&gt;IRC&lt;/span&gt;). So I added her just to notice that she has a status &amp;#8216;not available&amp;#8217;. In this shit called &lt;span class="caps"&gt;GG&lt;/span&gt; it does not have to mean that you are not available &amp;#8212; it can be that user defined status as &amp;#8216;hidden&amp;#8217;. In &lt;span class="caps"&gt;ICQ&lt;/span&gt; or Jabber this stuff is handled by authorization &amp;#8212; if I want someone to be able to see my status I can authorize contact. When I told her that I do not &lt;span class="caps"&gt;IM&lt;/span&gt; with &amp;#8216;not available&amp;#8217; people she replied &amp;#8216;Why? I prefer this way and will not change it &amp;#8212; you can send me&amp;nbsp;emails.&amp;#8217;&lt;/p&gt;
&lt;p&gt;Other GaguGagu crap is called &amp;#8216;conferencies&amp;#8217; which are just few people chat not chatroom/channels. Anyone can start conference with other people &amp;#8212; but all people got request &amp;#8216;do you want to enter conference with &lt;span class="caps"&gt;NUM1&lt;/span&gt;, &lt;span class="caps"&gt;NUM2&lt;/span&gt;, &lt;span class="caps"&gt;NUM3&lt;/span&gt;, &lt;span class="caps"&gt;NUM4&lt;/span&gt;. &lt;span class="caps"&gt;NUM5&lt;/span&gt;&amp;#8217; &amp;#8212; lack of any method to block of showing own number to people which I would like to avoid (if &lt;span class="caps"&gt;NUM3&lt;/span&gt; does not want &lt;span class="caps"&gt;NUM5&lt;/span&gt; knowing his number he cannot hide after such conference&amp;nbsp;request).&lt;/p&gt;</content><category term="authorization"/><category term="gadugadu"/><category term="icq"/><category term="im"/><category term="irc"/><category term="jabber"/></entry></feed>