[raspberry-vi] Re: Wifi

  • From: "Michael A. Ray" <mike.ray@xxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Wed, 20 Mar 2013 02:01:44 +0000

Glenn,

I'm using wpa-psk.  wep isn't strong enough for here.

Mike


On 20/03/2013 01:32, Glenn wrote:
> Mike,
> That command works in Raspbian as well I think.
> I had an error with that dhclient part too, I seemed to have better luck
> without that last part, the dhclient and what comes after.
> Try it like that, and maybe you will have success if you are using WEP.
> Glenn
> ----- Original Message -----
> From: "Michael A. Ray" <mike.ray@xxxxxxxxxxxxxx>
> To: <raspberry-vi@xxxxxxxxxxxxx>
> Sent: Tuesday, March 19, 2013 8:11 PM
> Subject: [raspberry-vi] Re: Wifi
>
>
> Hello Glenn,
>
> I am not sure what the dhclient bit was in that command but that
> produced an error for me.
>
> I seem to be having more luck with Arch Linux.  It has a 'wlist' command
> which scans for access points and reports loads of details about each.
> Protocols etc.
>
> Mike
>
>
>
> On 20/03/2013 00:45, Glenn wrote:
>> Mike,
>> What I have done this week is to use my old router, and plug my RPI into
>> it,
>> and I plugged my laptop into the old router too.
>> So I SSH into the RPI this way.
>> Next I have a Belkin USB NIC and my RPI recognized it, and it seems to be
>> working too, as when I issue the iwconfig command you mentioned, I see my
>> network printer, my router, and some of the neighborhood routers.
>> Mine shows the SSID as hidden, and it is indeed hidden.
>> If you are only using WEP encryption, you can get your RPI to log into the
>> router with the following command, and it should all be on one line,
>> although it will wrap around  on this example, and I will put a $ at the
>> beginning and end, but you will not use that:
>>> $sudo iwconfig wlan0 essid ? key s:?  dhclient
>>> wlan0$
>> Note, I put question marks in place of the ESSID and the key, and the s:
>> needs to precede your key.
>> HTH.
>> Glenn
>> ----- Original Message -----
>> From: "Michael A. Ray" <mike.ray@xxxxxxxxxxxxxx>
>> To: <raspberry-vi@xxxxxxxxxxxxx>
>> Sent: Tuesday, March 19, 2013 7:26 PM
>> Subject: [raspberry-vi] Re: Wifi
>>
>>
>> Hello Glenn,
>>
>> I'm tearing my hair out here.  I thought maybe the essid was the name of
>> my AP, I've called mine MIKES_AP.
>>
>> I think it is sort of working because when I do this:
>>
>> sudo iwconfig wlan0
>>
>> I get reports of 100% signal strength etc but it never appears on my
>> router and I can't SSH to it if I pull out the network cable.
>>
>> I am amazed at the small size of these things.  I'm glad they are going
>> to stay plugged into the Raspis because otherwise I'd lose them.  The
>> business end is smaller than the bit that plugs in.
>>
>> Mike
>>
>>
>> On 20/03/2013 00:11, Glenn wrote:
>>> Mike,
>>> The ESSID is the SSID of your home network, like maybe it is called
>>> MikesPlace.
>>> And it seems to me that you need to edit a wpa_supplicant file with the
>>> SSID
>>> and router key, which is the pass key you use the first time you log into
>>> your home network with a new computer.
>>> I would like to be able to use the wpa_supplicant, with a command line
>>> string of the log-in data.
>>> I also discovered another tool that is already on your RPI called:
>>> wpa_cli
>>> This one seems to have command-line options, but I don't understand it.
>>> Glenn
>>> ----- Original Message -----
>>> From: "Michael A. Ray" <mike.ray@xxxxxxxxxxxxxx>
>>> To: <raspberry-vi@xxxxxxxxxxxxx>
>>> Sent: Tuesday, March 19, 2013 4:55 PM
>>> Subject: [raspberry-vi] Wifi
>>>
>>>
>>> Hello list,
>>>
>>> I got a couple of wifi dongles through the post today in an effort to
>>> reduce the amount of spaghetti that lays across my desk.
>>>
>>> But I'm having a lot of trouble with getting the things to work.
>>>
>>> The two Raspis are no more than a foot away from the access point here
>>> because the hub is on the windows sill just to the right of my desk.
>>>
>>> One thing I am confused about is whether the 'essid' argument to
>>> iwconfig should be the name of my access point?
>>>
>>> And I have yet to understand wpa_supplicant and how I can get my Raspis
>>> to connect to my wifi AP automatically on boot.
>>>
>>> Mike
>>>
>>
>

-- 
Michael A. Ray

Analyst/Programmer
Witley, Surrey, South-east UK

github username: cromarty
raspberrypi.org username: cromarty
Ham Radio Call-sign: G4XBF, licensed since 1982

'Entia non sunt multiplicanda praeter necessitatem' - Ockham's razor


Raspberry VI:
http://www.raspberryvi.org/
NVDA, the best free screen-reader in the world:
http://www.nvda-project.org/




=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: