{"id":109,"date":"2007-10-15T00:00:00","date_gmt":"2007-10-15T00:00:00","guid":{"rendered":"http:\/\/netexpertise\/en\/?p=109"},"modified":"2021-10-12T22:32:00","modified_gmt":"2021-10-12T20:32:00","slug":"atheros-wireless-interface-on-linux-redhat","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html","title":{"rendered":"Atheros Wireless Interface on Linux Redhat"},"content":{"rendered":"<div style=\"float:left; margin-right:15px; margin-top:0px;\">\n<script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- 200x200, Netexpertise --><br \/>\n<ins class=\"adsbygoogle\" style=\"display:inline-block;width:200px;height:200px\" data-ad-client=\"ca-pub-6495750100906580\" data-ad-slot=\"1946825373\"><\/ins><br \/>\n<script><br \/>\n(adsbygoogle = window.adsbygoogle || []).push({});<br \/>\n<\/script><\/div>\n<p>Got an old PC or server you want to leave running in a remote place? Don&#8217;t want to bother with cables?<br \/>\nAdd a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots.<br \/>\nWe&#8217;ve chosen a Netgear because it integrates an Atheros based chipset. They&#8217;re well supported under Linux.<\/p>\n<p>&nbsp;<\/p>\n<h3>Card detection<\/h3>\n<p>Once the card is installed and the system rebooted, check the card has been detected with the command lspci.<br \/>\nYou should get the following line in the result set:<\/p>\n<pre># lspci\n...\n00:0d.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)\n...\n<\/pre>\n<p>&nbsp;<\/p>\n<h3>Driver Installation<\/h3>\n<p>Unfortunately, most Linux distributions do not provide any driver for Atheros chipset-based wireless cards, out of the box.<br \/>\n<a href=\"http:\/\/madwifi.org\">Madwifi.org<\/a> have developped and provide a standard Atheros driver for Linux.<br \/>\nTo install madwifi, you will need the kernel development and header packages. On Redhat, install these rpms<\/p>\n<ul>\n<li>kernel-header and<\/li>\n<li>kernel-devel<\/li>\n<\/ul>\n<p>Download <a href=\"http:\/\/sourceforge.net\/projects\/madwifi\/\">madwifi<\/a>, untar and compile it:<\/p>\n<pre>tar xfz madwifi-0.9.4.tar.gz\ncd madwifi-0.9.4\/\nmake\nmake install\n<\/pre>\n<p>&nbsp;<br \/>\nBe aware the module has been installed in your kernel modules directory \/lib\/modules\/`uname&nbsp;-r`\/net meaning, if you upgrade your kernel, you&#8217;ll have to reinstall appropriate modules (kernel header and devel) and recompile madwifi.<br \/>\n&nbsp;<br \/>\nMake the kernel module available:<\/p>\n<pre>modprobe ath_pci\n<\/pre>\n<p>&nbsp;<\/p>\n<h3>Configuration<\/h3>\n<p>The last thing to do is to configure the wireless network interface.<br \/>\nOn Redhat-like systems, create a file named ifcfg-ath0 in the same way you would for a classic network interface,<br \/>\nin \/etc\/sysconfig\/network-scripts\/. Extra parameters need to be added for wireless values.<\/p>\n<pre># cat \/etc\/sysconfig\/network-scripts\/ifcfg_ath0\nDEVICE=ath0\nBOOTPROTO=static\nBROADCAST=192.168.1.255\nIPADDR=192.168.1.2\nNETMASK=255.255.255.0\nNETWORK=192.168.1.0\nONBOOT=yes\ntype=WIRELESS\nESSID=YourESSID\nMODE=managed\nKEY=F...A\nCHANNEL=6\nRATE=Auto\nIWPRIV=\"authmode 2\"\nGATEWAY=192.168.1.1\n<\/pre>\n<p>&nbsp;<br \/>\nFrom now on, your wireless interface will be managed by the &#8220;network&#8221; service.<br \/>\nThe card is activated after each reboot;<br \/>\nYou can turn off and on your access point, the card will reconnect with no manual intervention.<br \/>\nYou can also use the iw commands such as iwlist and iwconfig to get more features out of it.<br \/>\nThis configuration file only works for WEP but <a href=\"\/en\/linux\/configure-wpa-on-linux-howto.html\">WPA<\/a> which is more secure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got an old PC or server you want to leave running in a remote place? Don&#8217;t want to bother with cables? Add a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots. We&#8217;ve chosen a Netgear because it integrates an Atheros based chipset. They&#8217;re well supported under [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[11],"tags":[94,386,99,76,97],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Atheros Wireless Interface on Linux Redhat<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Atheros Wireless Interface on Linux Redhat\" \/>\n<meta property=\"og:description\" content=\"Got an old PC or server you want to leave running in a remote place? Don&#8217;t want to bother with cables? Add a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots. We&#8217;ve chosen a Netgear because it integrates an Atheros based chipset. They&#8217;re well supported under [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2007-10-15T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-12T20:32:00+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html\",\"name\":\"Netexpertise - Atheros Wireless Interface on Linux Redhat\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2007-10-15T00:00:00+00:00\",\"dateModified\":\"2021-10-12T20:32:00+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atheros Wireless Interface on Linux Redhat\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Atheros Wireless Interface on Linux Redhat","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Atheros Wireless Interface on Linux Redhat","og_description":"Got an old PC or server you want to leave running in a remote place? Don&#8217;t want to bother with cables? Add a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots. We&#8217;ve chosen a Netgear because it integrates an Atheros based chipset. They&#8217;re well supported under [&hellip;]","og_url":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html","og_site_name":"Netexpertise","article_published_time":"2007-10-15T00:00:00+00:00","article_modified_time":"2021-10-12T20:32:00+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html","url":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html","name":"Netexpertise - Atheros Wireless Interface on Linux Redhat","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2007-10-15T00:00:00+00:00","dateModified":"2021-10-12T20:32:00+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/linux\/atheros-wireless-interface-on-linux-redhat.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Atheros Wireless Interface on Linux Redhat"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/109"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}