Lint-wifi

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(+cat)
(Beta Testing)
Line 7: Line 7:
 
It will be released ''soon''.
 
It will be released ''soon''.
  
===Beta Testing===
+
===Installation===
lint-wifi now has a project page[http://lint-wifi.projects.openmoko.org/] (or [http://projects.openmoko.org/projects/lint-wifi/]).  Those who wish to beta test, please go to there and look at [[http://projects.openmoko.org/scm/?group_id=167 svn]].  Please submit all bug reports to the trac there.
+
  
svn help <br>http://projects.openmoko.org/scm/?group_id=167
+
'''Lint-wifi''' has a [http://projects.openmoko.org/projects/lint-wifi2/ project page].
 +
You can download the source tarball or the '''OpenMoko package''' from the [http://projects.openmoko.org/frs/?group_id=304 Files page], or browse the source tree from the [http://projects.openmoko.org/scm/?group_id=304 Subversion page].
  
There's also an unofficial [[http://github.com/timabell/lint-wifi git repo]].<br><br>
+
You are encouraged to install the program and report any issue via the [http://projects.openmoko.org/tracker/?group_id=304 Tracker page].
i made a new pkg last i checked you need some things in the scaredycat repo like pygtk http://wiki.openmoko.org/wiki/Repositories <br>
+
http://we.trekbeyond.org/~kd8ikt/moko/buildz/lint-wifi_0.1_armv4t.ipk <br>
+
also added a few easter egg addons like wifiweasel ;) accelxranr.py, gta02.py and tree
+
  
 
====wpa_supplicant.conf====
 
====wpa_supplicant.conf====

Revision as of 15:00, 11 October 2009

Contents

Introduction

Description

lint-wifi is a relatively simplistic application written in PyGTK for the Neo FreeRunner. It aims to create a GUI-based method for associating with wireless networks, and provide various bits of connection-related information and control. It is designed to work without a stylus, except when entering passwords (which are normally stored). It is at the moment intended to do nothing unless a button is pushed.

It will be released soon.

Installation

Lint-wifi has a project page. You can download the source tarball or the OpenMoko package from the Files page, or browse the source tree from the Subversion page.

You are encouraged to install the program and report any issue via the Tracker page.

wpa_supplicant.conf

lint-wifi requires /etc/wpa_supplicant/wpa_supplicant.conf to be present. This works for me (tm)

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant
ap_scan=1

The first line is probably not necessary. It would allow lint-wifi to save its configuration back to wpa_supplicant.conf, which I believe it doesn't do ATM. I needed the third one to get scanning to work.

compiling wpa_lint

lint-wifi is a python script, you can just copy lint-wifi.py to your phone and make it executable. It relies on wpa_lint however wich is written in C, so you need to compile it.

On Debian/Ubuntu grab openmoko-toolchain_0.20080521-ubuntu6_i386.deb (see [1]). Edit the Makefile for wpa_lint, at the top comment out the line starting with gcc= and add the line gcc = arm-angstrom-linux-gnueabi-gcc

Now just do make and copy the resulting wpa_lint to your phone. Don't forget to make it executable. It has to go in /home/root (hardcoded in lint-wifi).

Requirements

There are several requirements needed to run lint-wifi:

Known bug

If launching 'lint-wifi.py' fails with NameError: name 'init' is not defined, then edit the file /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, go to line 82 and add an underscore in front of the "init()" so that it reads "_init()". Reference [2].

Tour

Layout

lint-wifi is broken into pages, each page offering various bits of information or control. Below are the pages, as they exist at version .1A

AP List

Aplist.png (image outdated)

AP List will show APs that can currently be seen. They will initially be ordered by how wpa_supplicant feels are best. Columns include:

  • essid
  • Enc -- Consisting of "WPA", "WEP" and "off"
  • Signal
  • Chan
  • S -- indicating State or Status:
    • C: Connected
    • K: Known/configured (eg, password is stored) and enabled
    • D: Known/configured and disabled
    • -: Unknown
  • Mode -- At present is unused, will indicate Managed/Infrastructure vs Ad-Hoc

Buttons:

  • Scan
  • Edit -- Edits the settings of APs configured or visible
  • Exit

Status

Status.png (image outdated)

The Status page will primarily indicate the configured status of eth0.

The Renew DHCP button can be used to nudge udhcpc into renewing. An "Enable All APs" button enables all that APs set to disabled.

Conn

Conn.png

The Conn page shows information related to the associated AP.

Config

Config is at present empty, but will contain various lint-wifi configuration options, such as support for hiding certain columns in the AP List.



A couple other screenshots: (outdated)

Aplist pass.png Aplist disc.png

Personal tools

Introduction

Description

lint-wifi is a relatively simplistic application written in PyGTK for the Neo FreeRunner. It aims to create a GUI-based method for associating with wireless networks, and provide various bits of connection-related information and control. It is designed to work without a stylus, except when entering passwords (which are normally stored). It is at the moment intended to do nothing unless a button is pushed.

It will be released soon.

Beta Testing

lint-wifi now has a project page[1] (or [2]). Those who wish to beta test, please go to there and look at [svn]. Please submit all bug reports to the trac there.

svn help
http://projects.openmoko.org/scm/?group_id=167

There's also an unofficial [git repo].

i made a new pkg last i checked you need some things in the scaredycat repo like pygtk http://wiki.openmoko.org/wiki/Repositories
http://we.trekbeyond.org/~kd8ikt/moko/buildz/lint-wifi_0.1_armv4t.ipk
also added a few easter egg addons like wifiweasel ;) accelxranr.py, gta02.py and tree

wpa_supplicant.conf

lint-wifi requires /etc/wpa_supplicant/wpa_supplicant.conf to be present. This works for me (tm)

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant
ap_scan=1

The first line is probably not necessary. It would allow lint-wifi to save its configuration back to wpa_supplicant.conf, which I believe it doesn't do ATM. I needed the third one to get scanning to work.

compiling wpa_lint

lint-wifi is a python script, you can just copy lint-wifi.py to your phone and make it executable. It relies on wpa_lint however wich is written in C, so you need to compile it.

On Debian/Ubuntu grab openmoko-toolchain_0.20080521-ubuntu6_i386.deb (see [3]). Edit the Makefile for wpa_lint, at the top comment out the line starting with gcc= and add the line gcc = arm-angstrom-linux-gnueabi-gcc

Now just do make and copy the resulting wpa_lint to your phone. Don't forget to make it executable. It has to go in /home/root (hardcoded in lint-wifi).

Requirements

There are several requirements needed to run lint-wifi:

Known bug

If launching 'lint-wifi.py' fails with NameError: name 'init' is not defined, then edit the file /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, go to line 82 and add an underscore in front of the "init()" so that it reads "_init()". Reference [4].

Tour

Layout

lint-wifi is broken into pages, each page offering various bits of information or control. Below are the pages, as they exist at version .1A

AP List

Aplist.png (image outdated)

AP List will show APs that can currently be seen. They will initially be ordered by how wpa_supplicant feels are best. Columns include:

  • essid
  • Enc -- Consisting of "WPA", "WEP" and "off"
  • Signal
  • Chan
  • S -- indicating State or Status:
    • C: Connected
    • K: Known/configured (eg, password is stored) and enabled
    • D: Known/configured and disabled
    • -: Unknown
  • Mode -- At present is unused, will indicate Managed/Infrastructure vs Ad-Hoc

Buttons:

  • Scan
  • Edit -- Edits the settings of APs configured or visible
  • Exit

Status

Status.png (image outdated)

The Status page will primarily indicate the configured status of eth0.

The Renew DHCP button can be used to nudge udhcpc into renewing. An "Enable All APs" button enables all that APs set to disabled.

Conn

Conn.png

The Conn page shows information related to the associated AP.

Config

Config is at present empty, but will contain various lint-wifi configuration options, such as support for hiding certain columns in the AP List.



A couple other screenshots: (outdated)

Aplist pass.png Aplist disc.png