{"id":20,"date":"2011-05-19T21:34:25","date_gmt":"2011-05-19T20:34:25","guid":{"rendered":"http:\/\/www.phillips321.co.uk\/?p=20"},"modified":"2011-07-14T11:23:03","modified_gmt":"2011-07-14T10:23:03","slug":"wireless-setup-from-command-line","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2011\/05\/19\/wireless-setup-from-command-line\/","title":{"rendered":"Setup linux wireless from a terminal"},"content":{"rendered":"<p>Make sure wireless-tools is installed and then edit \/etc\/network\/interfacese<\/p>\n<div class=\"codecolorer-container bash vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/><\/div><\/td><td><div class=\"bash codecolorer\">auto eth1<br \/>\niface eth1 inet dhcp<br \/>\nwpa-driver wext<br \/>\nwpa-ssid <span class=\"br0\">&#91;<\/span>ssid here<span class=\"br0\">&#93;<\/span><br \/>\nwpa-ap-scan <span class=\"nu0\">1<\/span><br \/>\nwpa-proto WPA<br \/>\nwpa-pairwise TKIP<br \/>\nwpa-group TKIP<br \/>\nwpa-key-mgmt WPA-PSK<br \/>\nwpa-psk <span class=\"br0\">&#91;<\/span>result of wpa_passphrase essid phrase<span class=\"br0\">&#93;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>#or<\/p>\n<div class=\"codecolorer-container bash vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"bash codecolorer\">auto eth1<br \/>\niface eth1 inet dhcp<br \/>\nwireless-essid <span class=\"br0\">&#91;<\/span>ssid here<span class=\"br0\">&#93;<\/span><br \/>\nwireless-key <span class=\"br0\">&#91;<\/span>network key<span class=\"br0\">&#93;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>And to improve your wireless performance if you&#8217;re getting dropped packets use<\/p>\n<div class=\"codecolorer-container bash vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"bash codecolorer\">iwconfig <span class=\"br0\">&#91;<\/span>interface<span class=\"br0\">&#93;<\/span> rate 5.5M auto<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Make sure wireless-tools is installed and then edit \/etc\/network\/interfacese 12345678910auto eth1 iface eth1 inet dhcp wpa-driver wext wpa-ssid &#91;ssid here&#93; wpa-ap-scan 1 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk &#91;result of wpa_passphrase essid phrase&#93; #or 1234auto eth1 iface eth1 inet dhcp wireless-essid &#91;ssid here&#93; wireless-key &#91;network key&#93; And to improve your wireless performance [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4],"tags":[27,5,24,25,26,23],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/20"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":3,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/20\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}