<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>t+1 - Latest Comments in How to connect to a wireless network from the Ubuntu command line</title><link>http://tplus1.disqus.com/</link><description></description><atom:link href="http://tplus1.disqus.com/how_to_connect_to_a_wireless_network_from_the_ubuntu_command_line_73/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 20 Mar 2012 18:20:23 -0000</lastBuildDate><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-470649606</link><description>&lt;p&gt;Thanks so much!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Tue, 20 Mar 2012 18:20:23 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-470605565</link><description>&lt;p&gt;Now that was perfect - There are so many who are good with linux but cannot communicate - Thankfully, it's not you. Please write a linux basics book. It will sell. Very well.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fixt</dc:creator><pubDate>Tue, 20 Mar 2012 17:25:41 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-462982226</link><description>&lt;p&gt;My pleasure!  I hope it helped you out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Sun, 11 Mar 2012 18:46:16 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-462955066</link><description>&lt;p&gt;Aaahhh... hacking with a cup of coffee, this is life! Haha good blog post, easy to read and straightforward.. Thanks for posting it&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anon11869</dc:creator><pubDate>Sun, 11 Mar 2012 18:03:09 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-369338963</link><description>&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Mon, 21 Nov 2011 09:30:13 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-369192736</link><description>&lt;p&gt;Excellent writing about a wireless network..It is actually useful for me. keep writing and happy blogging.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.trispec.com/en/about-us.php" rel="nofollow"&gt;Wireless network point to point&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">victorianixon</dc:creator><pubDate>Mon, 21 Nov 2011 01:51:54 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-367574595</link><description>&lt;p&gt;Wonderful!  Glad it helped.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Fri, 18 Nov 2011 10:15:19 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-367572210</link><description>&lt;p&gt;Another Linux Noob here - just wanted to say what I've found here has been very helpful.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Mike G&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Goodison</dc:creator><pubDate>Fri, 18 Nov 2011 10:11:08 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-360166943</link><description>&lt;p&gt;happy to help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Thu, 10 Nov 2011 12:22:56 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-359888380</link><description>&lt;p&gt;Thank you!!! this helped me a lot. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel</dc:creator><pubDate>Thu, 10 Nov 2011 03:14:06 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-153455027</link><description>&lt;p&gt;Thanks so much for putting this together!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Mon, 21 Feb 2011 12:26:16 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-153309892</link><description>&lt;p&gt;How to connect to a wireless network from the Ubuntu command line using a WPA/WPA2 Personal key.&lt;br&gt;For this to work.. you need to have WPA-Supplicant installed ... Ubuntu comes with WPA-Supplicant installed by default.&lt;br&gt;if not present, install it using this command:    sudo apt-get install wpasupplicant&lt;br&gt;Ubuntu doesn't use a root password by default ...so we need to use the sudo command here.&lt;/p&gt;

&lt;p&gt;Now we need to create 2 files: &lt;a href="http://wireless-wpa.sh" rel="nofollow"&gt;wireless-wpa.sh&lt;/a&gt; + wireless-wpa.conf using the vi command.  For those who are not familiar with vi , I will guide you through this. &lt;/p&gt;

&lt;p&gt;OK ..lets start: first we gonna create the &lt;a href="http://wireless-wpa.sh" rel="nofollow"&gt;wireless-wpa.sh&lt;/a&gt;&lt;br&gt;type:   sudo vi &lt;a href="http://wireless-wpa.sh" rel="nofollow"&gt;wireless-wpa.sh&lt;/a&gt;&lt;br&gt;press the "i" button ones and insert text below.&lt;br&gt;#!/bin/sh &lt;br&gt;iface=eth1&lt;/p&gt;

&lt;p&gt;#shut down interface&lt;br&gt;ifconfig $iface down&lt;/p&gt;

&lt;p&gt;#set ad-hoc/management of wireless device&lt;br&gt;iwconfig $iface mode Managed&lt;/p&gt;

&lt;p&gt;#enable interface&lt;br&gt;ifconfig $iface up&lt;/p&gt;

&lt;p&gt;#stop any persistent wireless wpa2 sessions&lt;br&gt;killall wpa_supplicant&lt;/p&gt;

&lt;p&gt;#apply WPA/WPA2 personal settings to device&lt;br&gt;wpa_supplicant -B -Dwext -i $iface -c ./wireless-wpa.conf -dd&lt;/p&gt;

&lt;p&gt;#obtain an IP address&lt;br&gt;dhclient $iface&lt;/p&gt;

&lt;p&gt;Now we need to save this file and quit vi.... press "esc" button ones ... then type..   :wq  ( you need to type the : also )&lt;br&gt;Thats done ... now we gonna make the wireless-wpa.conf&lt;/p&gt;

&lt;p&gt;type:   sudo vi wireless-wpa.conf&lt;br&gt;press the "i" button ones and insert text below.&lt;/p&gt;

&lt;p&gt;# config file using WPA/WPA2-PSK Personal key.&lt;/p&gt;

&lt;p&gt;ctrl_interface=/var/run/wpa_supplicant&lt;/p&gt;

&lt;p&gt;network={&lt;br&gt;        ssid="my_router_id" &lt;br&gt;        scan_ssid=1&lt;br&gt;        key_mgmt=WPA-PSK&lt;br&gt;        psk="1234567890"&lt;br&gt;}&lt;/p&gt;

&lt;p&gt;Now we need to save this file and quit vi.... press "esc" button ones ... then type..  :wq  ( you need to type the : also )&lt;br&gt;That's also done ... now we need to set the permissions for these 2 files.&lt;/p&gt;

&lt;p&gt;sudo chmod 755 &lt;a href="http://wireless-wpa.sh" rel="nofollow"&gt;wireless-wpa.sh&lt;/a&gt;&lt;br&gt;sudo chmod 644 wireless-wpa.conf&lt;/p&gt;

&lt;p&gt;Make sure you put these 2 files in the same directory anywhere you like...else it will not work.&lt;br&gt;Run the following command to make a connection to your wireless Router/Accespoint/&lt;br&gt;sudo ./&lt;a href="http://wireless-wpa.sh" rel="nofollow"&gt;wireless-wpa.sh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all .... have fun!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Savage</dc:creator><pubDate>Mon, 21 Feb 2011 04:30:53 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-152826258</link><description>&lt;p&gt;Absolutely.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Sat, 19 Feb 2011 20:13:00 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-152779931</link><description>&lt;p&gt;Hi Matt ... do you still need some tips for handling WPA-PSK connections ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Savage</dc:creator><pubDate>Sat, 19 Feb 2011 18:15:54 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-152673603</link><description>&lt;p&gt;Thanks for the tip!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Sat, 19 Feb 2011 16:17:18 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-152672823</link><description>&lt;p&gt;Very good article mate !&lt;/p&gt;

&lt;p&gt;For those who can't get it to work ... remember to set your wireless card to the correct channel on wich the accespoint is running at.&lt;/p&gt;

&lt;p&gt;iwconfig wlan0 channel 6  (example)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Savage</dc:creator><pubDate>Sat, 19 Feb 2011 16:15:03 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-131199591</link><description>&lt;p&gt;Your article is really helpful!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">remove Palladium Antivirus</dc:creator><pubDate>Wed, 19 Jan 2011 03:20:05 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-87833188</link><description>&lt;p&gt;Thank you for this blog post. The commenter, then, becomes the critic who shapes the writer's next content. So I want to encourage you to keep on blogging in the same style as you writing style is really perfect.&lt;/p&gt;

&lt;p&gt;_________________________&lt;br&gt;&lt;a href="http://www.eworld.am/ " rel="nofollow"&gt;SEO Armenia &lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asbestos Lawyer</dc:creator><pubDate>Mon, 18 Oct 2010 08:30:25 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-32621092</link><description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;I was very interested to test out your tutorial on my home laptop that connects to my wireless router.  My router requires that you enter in a long numerical wep key.  I typed in the following:&lt;/p&gt;

&lt;p&gt;sudo iwlist wlan0 scan (it found the ESSID for my wireless router.  That was nice)&lt;br&gt;sudo iwconfig wlan0 essid "myssid" key 12345678912345678912345 (obviously not my key.  When I typed this in it gave me no complaints)&lt;br&gt;sudo dhclient wlan0&lt;/p&gt;

&lt;p&gt;The dhclient command started looking for DHCPs using the netmask 255.255.255.255 and port 67.  I thought this was weird so I tried to tell dhclient to look for a dhcp using my normal netmask 255.255.255.0.  I typed in 'sudo dhclient -s 255.255.255.0'.  It still wouldn't work!&lt;/p&gt;

&lt;p&gt;I also tried setting up iwconfig to translate my numeric key into hex by typing in 'sudo iwconfig wlan0 key s:12345678912345678912345' after telling it my SSID.  That still didn't work.&lt;/p&gt;

&lt;p&gt;Oh well, maybe some day i'll get wireless working from the command line without too much hassle!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">inkhorn</dc:creator><pubDate>Thu, 04 Feb 2010 13:31:19 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-13287792</link><description>&lt;p&gt;Cool! Thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fernando</dc:creator><pubDate>Fri, 24 Jul 2009 15:39:00 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-9188087</link><description>&lt;p&gt;how about using wlan0 instead of wlano&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dazed</dc:creator><pubDate>Sun, 10 May 2009 16:56:02 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-6294648</link><description>&lt;p&gt;how do i connect to a point if it dosnt have an essid i can connect to it in windows but ubuntu wont connect without a essid but it still picksit up in a servey&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">andrew</dc:creator><pubDate>Mon, 16 Feb 2009 00:12:18 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-5393288</link><description>&lt;p&gt;Hi Andreas, use sudo iwlist eth1 scan to find out if your wireless&lt;br&gt;card can see the network.  Then use sudo iwconfig eth1 to see what&lt;br&gt;your card's essid and key settings are, then set them.&lt;/p&gt;

&lt;p&gt;Some bad news -- I haven't been able to connect to a&lt;br&gt;WPA2-authenticated wireless network yet.&lt;/p&gt;

&lt;p&gt;Good luck!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Tue, 20 Jan 2009 09:36:21 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-5381343</link><description>&lt;p&gt;aargh,   Ive got the same problem..  Installed Ubuntu Server edition 8.10 using no gui, and cant connect to the wireless network.  I have tried the things explained over, and get the same results.. &lt;/p&gt;

&lt;p&gt;If you find it out, please tell :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">andreas</dc:creator><pubDate>Mon, 19 Jan 2009 22:32:49 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/index.php/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-4208195</link><description>&lt;p&gt;Hi -- I think that you'll get better feedback if you post your problem&lt;br&gt;to some mailing lists.&lt;/p&gt;

&lt;p&gt;Also, after you run ifconfig wlan0 up, run iwconfig wlan0 to see what&lt;br&gt;ESSID you are pointing at.&lt;/p&gt;

&lt;p&gt;Good luck!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Fri, 05 Dec 2008 13:25:59 -0000</pubDate></item></channel></rss>
