OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Wpa-gui Backported To Sharprom
enodr
post Dec 28 2006, 02:45 PM
Post #1





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



I have been looking for this one for ages, so I did it myself! It's really a pain to backport QT3 apps to QPE but when it works it's so cool (took me the afternoon...).

So here it is, the first real GUI for easy Wifi under Sharprom!



I still need to make a few tweakings so that everything fits on a the Zaurus display, then I'll post the file.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
harvell
post Jan 3 2007, 05:33 PM
Post #2





Group: Members
Posts: 242
Joined: 11-May 06
From: Silicon Valley, CA
Member No.: 9,831



I noticed the cacko rom had wpa_supplicant preloaded with the rom. However it's not in "/var/run/wpa_supplicant". It's in /home/root/usr/bin/wpa_supplicant

Should I link it? Sorry if it sounds dumb sometimes the newb in me comes out. biggrin.gif
Go to the top of the page
 
+Quote Post
enodr
post Jan 4 2007, 02:51 AM
Post #3





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



QUOTE(harvell @ Jan 3 2007, 05:33 PM)
I noticed the cacko rom had wpa_supplicant preloaded with the rom.  However it's not in "/var/run/wpa_supplicant".  It's in /home/root/usr/bin/wpa_supplicant

Should I link it? Sorry if it sounds dumb sometimes the newb in me comes out. biggrin.gif
*


/var/run/wpa_supplicant/ is a directory created when you launch wpa_supplicant. In this directory there is one socket for each Wifi card (eg wlan0). So no do not link anything here. Just:
- create a blank /etc/wpa_supplicant.conf file (sudo mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.sample && touch /etc/wpa_supplicant.conf)
- launch wpa_supplicant (wpa_supplicant -Dhostap -c/etc/wpa_supplicant.conf -iwlan0 -cool.gif
- you can optionally create a script to launch wpa_supplicant at startup (put in /etc/rc.d/init.d and link to /etc/rc.d/rc5.d/)
- launch wpa-gui
- Enjoy!

PS: I noticed that dhcpcd would not give me a new IP address when connecting with wpa-gui unless I had disabled and enabled the wifi card before. Sending a dhcpcd -N should do this, but it's not working. Maybe I overlooked some easy step here.
Go to the top of the page
 
+Quote Post
harvell
post Mar 7 2007, 11:42 PM
Post #4





Group: Members
Posts: 242
Joined: 11-May 06
From: Silicon Valley, CA
Member No.: 9,831



QUOTE(enodr @ Jan 4 2007, 02:51 AM)
QUOTE(harvell @ Jan 3 2007, 05:33 PM)
I noticed the cacko rom had wpa_supplicant preloaded with the rom.  However it's not in "/var/run/wpa_supplicant".  It's in /home/root/usr/bin/wpa_supplicant

Should I link it? Sorry if it sounds dumb sometimes the newb in me comes out. biggrin.gif
*


/var/run/wpa_supplicant/ is a directory created when you launch wpa_supplicant. In this directory there is one socket for each Wifi card (eg wlan0). So no do not link anything here. Just:
- create a blank /etc/wpa_supplicant.conf file (sudo mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.sample && touch /etc/wpa_supplicant.conf)
- launch wpa_supplicant (wpa_supplicant -Dhostap -c/etc/wpa_supplicant.conf -iwlan0 -cool.gif
- you can optionally create a script to launch wpa_supplicant at startup (put in /etc/rc.d/init.d and link to /etc/rc.d/rc5.d/)
- launch wpa-gui
- Enjoy!

PS: I noticed that dhcpcd would not give me a new IP address when connecting with wpa-gui unless I had disabled and enabled the wifi card before. Sending a dhcpcd -N should do this, but it's not working. Maybe I overlooked some easy step here.
*



Thanks for the help so far. I also appreciate your new Sharp feed.

I noticed that in cacko the wpa_supplicant version is at 0.3.8. It was giving me problems when with the wpa_supplicant.conf file when I tried to start it.


CODE
$ sudo wpa_supplicant -Dhostap -c /etc/wpa_supplicant.conf -i wlan0
wpa_supplicant v0.3.8
Copyright © 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)

usage:
 wpa_supplicant [-BddehLqqvw] -i<ifname> -c<config file> [-D<driver>] \
     [-N -i<ifname> -c<conf> [-D<driver>] ...]

drivers:
 hostap = Host AP driver (Intersil Prism2/2.5/3)
 wext = Linux wireless extensions (generic)
options:
 -B = run daemon in the background
 -d = increase debugging verbosity (-dd even more)
 -K = include keys (passwords, etc.) in debug output
 -t = include timestamp in debug messages
 -h = show this help text
 -L = show license (GPL and BSD)
 -q = decrease debugging verbosity (-qq even less)
 -v = show version
 -w = wait for interface to be added, if needed
 -N = start describing new interface

No networks (SSID) configured.


So I noticed in your feed that you compiled a newer version of wpa_supplicant of 0.4.9. When I tried to start it I got this

CODE
$ sudo /home/root/usr/sbin/wpa_supplicant -D hostap -c /etc/wpa_supplicant.conf -i wlan0
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
SIOCSIFFLAGS: No such device
Could not set interface 'wlan0' UP
ioctl[SIOCGIWRANGE]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
l2_packet_receive - recvfrom: Network is down
ioctl[SIOCSIWSCAN]: No such device
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: No such device

blink.gif

Could this be from having the older version that's built into the Cacko ROM? Or am I just a knuckle head that's missing something obvious. When this process is running it does not create anything in /var/run/ .

Thanks in advance for the help smile.gif
Go to the top of the page
 
+Quote Post

Posts in this topic
enodr   Wpa-gui Backported To Sharprom   Dec 28 2006, 02:45 PM
HoloVector   QUOTE(enodr @ Dec 28 2006, 04:45 PM)I have be...   Dec 28 2006, 04:58 PM
harvell   This is huge!!!! no more editing w...   Dec 29 2006, 12:37 AM
Hrw   Can you share patches/sources? wpa-gui for opie wo...   Dec 29 2006, 09:34 AM
enodr   QUOTE(Hrw @ Dec 29 2006, 09:34 AM)Can you sha...   Dec 29 2006, 03:36 PM
jfv   Could we get an ipk including the wpa supplicant a...   Dec 29 2006, 11:54 PM
harvell   I noticed the cacko rom had wpa_supplicant preload...   Jan 3 2007, 05:33 PM
enodr   QUOTE(harvell @ Jan 3 2007, 05:33 PM)I notice...   Jan 4 2007, 02:51 AM
harvell   QUOTE(enodr @ Jan 4 2007, 02:51 AM)QUOTE(harv...   Mar 7 2007, 11:42 PM
speculatrix   the way I normally do this (in cacko) do this is t...   Jan 4 2007, 07:00 AM
bolbit   Hi, anychance to get an ipk of this gui ? Thanks.   Jan 9 2007, 01:32 PM
Jon_J   QUOTE(bolbit @ Jan 9 2007, 03:32 PM)Hi, anych...   Jan 9 2007, 01:38 PM
alijames   enodr, Have you uploaded the ipk of this anywhere...   Feb 16 2007, 02:36 AM
alijames   In fact , if enodr is not around at the moment, ca...   Feb 16 2007, 02:37 AM
speculatrix   to make WPA work in Cacko is easy but not obvious....   Mar 8 2007, 02:08 AM
harvell   Thanks for the heads up Speculatrix. I've set...   Mar 8 2007, 12:52 PM
speculatrix   wpa supplicant has options to wait for the device ...   Mar 8 2007, 03:17 PM
harvell   Has any one achieved success with this gui besides...   Mar 21 2007, 09:06 PM
Jon_J   "Bump" Was there ever an IPK made for th...   Apr 25 2007, 08:44 AM
harvell   QUOTE(Jon_J @ Apr 25 2007, 08:44 AM)"Bum...   Apr 27 2007, 02:26 PM
danboid   Where can I download an .ipk of this cacko wpa set...   May 3 2007, 12:57 AM
sdjf   QUOTE(danboid @ May 3 2007, 01:57 AM)Where ca...   May 19 2007, 08:47 PM
gaarder   There is no ipk but a compiled binary file for wpa...   Jul 11 2007, 11:45 PM
gaarder   I have prepared an ipkg. http://168weedon.com/zau...   Jul 13 2007, 08:04 AM
jfv   Thanks for the ipk. If I want to install this on a...   Jul 13 2007, 08:08 AM
mikew   Speculatrix Just retired & decided to see if ...   May 30 2008, 11:33 AM
speculatrix   QUOTE(mikew @ May 30 2008, 07:33 PM) Spec...   Jun 6 2008, 09:02 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2013 - 05:10 PM