{"id":44,"date":"2007-08-13T20:32:54","date_gmt":"2007-08-14T04:32:54","guid":{"rendered":"https:\/\/www.wkiri.com\/today\/?p=44"},"modified":"2007-08-13T20:47:20","modified_gmt":"2007-08-14T04:47:20","slug":"44","status":"publish","type":"post","link":"https:\/\/www.wkiri.com\/today\/?p=44","title":{"rendered":"How to set up a Linksys wireless card with Ubuntu"},"content":{"rendered":"<p>My recent installation of Ubuntu went quite smoothly, with the notable exception of my Linksys WMP54G wireless card.  Despite the  <a href=\"https:\/\/help.ubuntu.com\/community\/HardwareSupportComponentsWirelessNetworkCardsLinksys\">Ubuntu wiki&#8217;s encouragingly optimistic assessment<\/a> of this card as &#8220;works out of the box&#8221;, this was not my experience.  However, in case others encounter this challenge, I can highly recommend the <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=132980\">RT61 HOWTO guide for Ubuntu<\/a>, which almost did the trick.  My Linksys card uses an RaLink RT61 chipset.  Now, the <tt>rt61<\/tt> kernel module does come with Ubuntu 6.0.6, and it was detected and loaded, but that wasn&#8217;t enough for my wireless card to make contact with my wireless router.  So here&#8217;s what I learned:<\/p>\n<blockquote>\n<ul>\n<li>Either the <tt>rt61<\/tt> kernel module shipped with Ubuntu 6.0.6 is defective (say some) or it simply needs additional configuration (say others).  The instructions at the above-noted HOWTO walk you carefully through the process of obtaining the RT61 driver source (but note that the link to that source is broken; try <a href=\"http:\/\/www.ralinktech.com.tw\/data\/IS_Linux_STA_6x_D_1.1.1.0.tar.gz\">http:\/\/www.ralinktech.com.tw\/data\/IS_Linux_STA_6x_D_1.1.1.0.tar.gz<\/a> instead) and building your own <tt>rt61<\/tt> kernel module.  This did result in a different .ko file, which I dutifully loaded, but this alone wasn&#8217;t enough, either.\n<li>The key step seems to be configuring your card to recognize the router, which isn&#8217;t that surprising (what is it supposed to be, a mind reader?).  However, I don&#8217;t see how you would do it without downloading the driver source package, which comes with the critical <tt>rt61sta.dat<\/tt> file you then edit to suit your network setup.  As to how exactly to specify that configuration, the HOWTO merely instructs: &#8220;Enter the necessary information to access your network. Refer to the readme file for options.&#8221;\n<li>The README claims that you can configure your card with the built-in <tt>iwconfig<\/tt> and\/or <tt>iwpriv<\/tt> commands.  This didn&#8217;t work at all for me.  For example, <tt>iwlist ra0 scan<\/tt> will return a list of networks your card can &#8220;see&#8221; &#8212; and mine saw two: my own network and my neighbor&#8217;s network.  But I couldn&#8217;t <tt>iwconfig<\/tt> or <tt>iwpriv<\/tt> it into joining my network no matter what I did; it just silently ignored my commands.\n<li>Should you instead go the config file route, the README instructs: &#8220;set NetworkType to &#8216;Adhoc&#8217; for using Adhoc-mode, otherwise using Infrastructure&#8221; (the README&#8217;s native language is seemingly not English).  Both of these turned out to be wrong.  I finally clued in (by looking at what <tt>iwlist<\/tt> was telling me) that my network type is &#8220;Managed&#8221;.  After stripping out the other weird defaults in the config file (like a SSID of &#8220;AP350&#8221; and a WPA key of &#8220;abcdefghijklmnopqrstuvwxyz&#8221;), I was finally able to get things up and running.\n<\/p><\/blockquote>\n<p>So, ultimately, if Ubuntu really does want them to work &#8220;out of the box&#8221;, then it would be nice to see a graphical config interface for wireless cards, in which you could specify these things without needing to know how to load, unload, and build kernel modules.  However, kudos to the HOWTO overall, which even includes instructions for how to make a startup script so that your system will use <tt>dhclient<\/tt> to snag an IP address automatically when you boot.<\/p>\n<p>By the way, I can confirm the unsettling behavior others have observed, which is that if you use the graphical &#8220;Networking&#8221; tool to configure your wireless card (at least this kind of wireless card), you will then reboot into oblivion.  Don&#8217;t do it. :)  (But if you do do it, then reboot into recovery mode, edit \/etc\/network\/interfaces to comment out all lines that reference ra0, and you should be able to reboot normally.)<\/p>\n<p>P.S. Yes, this was posted from astra, using the wireless card herein described. :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My recent installation of Ubuntu went quite smoothly, with the notable exception of my Linksys WMP54G wireless card. Despite the Ubuntu wiki&#8217;s encouragingly optimistic assessment of this card as &#8220;works out of the box&#8221;, this was not my experience. However, in case others encounter this challenge, I can highly recommend the RT61 HOWTO guide for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[23,2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts\/44"}],"collection":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}