[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wifi configuration Debian Lenny Ibook G3

My idea is create a little xdialog program to conect with my home, my work, or open wireless networks, also like run the command for study and learn in one future I want help more people... =)

Thanks Geoff for your patiente and attention!!! Also to the rest of the list, your help is great.

2009/2/20 Geoff Simmons <gsimmons@gsimmons.org>
Hi Esteban,

On Wed, Feb 18, 2009 at 10:58:23AM -0600, Esteban Monge wrote:
> Hello again I checked the process again and have the next problem, I run the
> next command:
> mimaquina:/# wpa_supplicant -ieth1 -c/etc/wpa_supplicant.conf -Dwext

The wpa_supplicant output you provided looks fine, as your device is associated
to a WPA-protected access point.  I am not sure why you are executing this
command directly, instead of just using "ifup eth1".

> My wpa_supplicant.conf file is:
> network
> {
>         ssid="linksys"
>         key_mgmt=WPA-PSK
>         proto=WPA
>         pairwise=TKIP
>         group=TKIP
>         psk="laclave"
> }

This configuration block is invalid.  Executing wpa_supplicant directly would
have complained to you about it:

   Line 7: Invalid configuration line 'network'.
   Line 8: Invalid configuration line '{'.
   Line 9: Invalid configuration line 'ssid="linksys"'.
   Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

It should use the following syntax (note the first line):


> My /etc/network/interfaces is:
> iface eth1 inet dhcp
>         wpa-driver wext
>         wpa-conf /etc/wpa_supplicant.conf
> I need help...

You need help with what, exactly?  wpa_supplicant - and the orinoco driver, by
extension - appear to be working correctly.

I'm assuming because you executed wpa_supplicant manually, you didn't run
"dhclient eth1" to obtain a DHCP lease after association, in order for an IP
address to be assigned to this wireless interface.

Run "ifup eth1" instead, as this will call both wpa_supplicant and dhclient as
necessary.  See also interfaces(5).


Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

"No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior"
José Figueres Ferrer, 1952.

Reply to: