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

Re: Wifi configuration Debian Lenny Ibook G3

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).


Reply to: