Re: wpasupplicant_0.4.8-1 problem

2006-04-05 Thread Christopher Nelson
On Tue, Apr 04, 2006 at 04:33:59PM -0700, L.V.Gandhi wrote:
> On 4/4/06, Christopher Nelson <[EMAIL PROTECTED]> wrote:
> 
> > Just out of curiosity, have you connected to an open access point?  Or
> > at tried?  That part looks like it whould work.  The only different
> > thing I have in my network block is the line:
> > auth_alg=SHARED
> > right before my key.  I don't know that would work or not.  If it
> > doesn't, the problem is beyond the scope of my comprehension of the
> > subject, sorry.
> 
> At present I don't have an acess to open access point. As such the
> things work without wpasupplicant, I do not want to meddle with things
> beyond my machine.

Fair enough.
 
> > > How wpasupplicant is started in the new scheme of things?
> >
> > I believe wpasupplicant is started with ifup now, instead of being
> > started seperately in init.d -- but don't quote me on that, I don't have
> > a very good understanding of how the new wpasupplicant works.
> >
> > > entry in
> > > /etc/network/interfaces is sufficient?
> >
> > It is for me, at least.
> I fell wpasupplicant is not called. Something is missing in my system
> which calls wpasupplicant.

Then I must apologise, but the problem is beyond the scope of my
understanding.

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
GIVE:   Support the helpless victims of computer error.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: wpasupplicant_0.4.8-1 problem

2006-04-04 Thread L . V . Gandhi
On 4/4/06, Christopher Nelson <[EMAIL PROTECTED]> wrote:

> Just out of curiosity, have you connected to an open access point?  Or
> at tried?  That part looks like it whould work.  The only different
> thing I have in my network block is the line:
> auth_alg=SHARED
> right before my key.  I don't know that would work or not.  If it
> doesn't, the problem is beyond the scope of my comprehension of the
> subject, sorry.

At present I don't have an acess to open access point. As such the
things work without wpasupplicant, I do not want to meddle with things
beyond my machine.

> > How wpasupplicant is started in the new scheme of things?
>
> I believe wpasupplicant is started with ifup now, instead of being
> started seperately in init.d -- but don't quote me on that, I don't have
> a very good understanding of how the new wpasupplicant works.
>
> > entry in
> > /etc/network/interfaces is sufficient?
>
> It is for me, at least.
I fell wpasupplicant is not called. Something is missing in my system
which calls wpasupplicant.
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: wpasupplicant_0.4.8-1 problem

2006-04-04 Thread Christopher Nelson
On Tue, Apr 04, 2006 at 12:53:15PM -0700, L.V.Gandhi wrote:
> On 4/3/06, Christopher Nelson <[EMAIL PROTECTED]> wrote:
> 
> > try making that wpa_conf a wpa-conf instead and try again.  At least,
> > that's how I have it in my /etc/networking/interfaces
> 
> > I'm using wpa_supplicant.conf and wep right now and it's working.
> 
> My system is sid. I have ifplugd and wpasupplicant installed.
> My wlan0 connects without any problem with the following
> /etc/network/interfaces file
> lvgdell600m:/mnt/wind/software/Linux/dell_sid# cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
> 
> # wireless interface
> auto wlan0
> iface wlan0 inet dhcp
> wireless_essid mohan
> wireless_key XX
> wireless_mode managed
> post-up ifmetric wlan0 5

So it works without wpasupplicant, good to know.

> But I thought to use wpasupplicant so that it can work, where there is
> no wep Hotspot.
> Hence I installed wpasupplicant. It was working before the new
> wpasupplicant version 0.4.8-1 installed.

I had to tweak things after upgrading wpasupplicant.

> I have also copied
> /etc/wpa_supplicant.conf.dpkg-bak file to /etc/wpa_supplicant.conf.
> I have the following /etc/network/interfaces.
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet dhcp
> 
> # wireless interface
> allow-hotplug wlan0
> iface wlan0 inet dhcp
> wpa-conf /etc/wpa_supplicant.conf
> post-up ifmetric wlan0 5

That all looks good.

>  I corrected line wpa-conf as said.

The other may work, but i have it as wpa-conf in my file.

> I am giving below  /etc/wpa_supplicant.conf
> lvgdell600m:/mnt/wind/software/Linux/dell_sid# cat /etc/wpa_supplicant.conf
> # Minimal /etc/wpa_supplicant.conf to associate with open
> #  access points. Please see
> #  /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz for more
> #  complete configuration parameters.
> #
> # Also see the other files in /usr/share/doc/wpasupplicant/examples/ for
> #  specific configuration examples.
> 
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=0
> 
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> 
> ### Example of basic WPA-PSK secured AP
> #network={
> #ssid="ournet"
> #psk="w243sd5f324asdf5123sadf54324"
> #}
> 
> # Single key Hex WEP
> network={
> ssid="mohan"
> key_mgmt=NONE
> wep_key0=XX
> wep_tx_keyidx=0
> priority=5
> }
> 
> ### Associate with any open access point
> ###  Scans/ESSID changes can be done with wpa_cli
> network={
> ssid=""
> key_mgmt=NONE
> }
> but still wlan0 is not getting connected.

Just out of curiosity, have you connected to an open access point?  Or
at tried?  That part looks like it whould work.  The only different
thing I have in my network block is the line:
auth_alg=SHARED
right before my key.  I don't know that would work or not.  If it
doesn't, the problem is beyond the scope of my comprehension of the
subject, sorry.

> I get in log as below
> Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Internet
> Software Consortium DHCP Client 2.0pl5
> Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Copyright
> 1995, 1996, 1997, 1998, 1999 The Internet Software Consor
> tium.
> Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: All rights reserved.
> Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Please
> contribute if you find this software useful.
> Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: For info,
> please visit http://www.isc.org/dhcp-contrib.html
> Apr  4 11:54:38 localhost dhclient: Listening on LPF/wlan0/00:90:4b:1b:5a:b7
> Apr  4 11:54:38 localhost dhclient: Sending on   LPF/wlan0/00:90:4b:1b:5a:b7
> Apr  4 11:54:38 localhost dhclient: Sending on   Socket/fallback/fallback-net
> Apr  4 11:54:38 localhost dhclient: DHCPDISCOVER on wlan0 to
> 255.255.255.255 port 67 interval 7
> Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Listening on
> LPF/wlan0/00:90:4b:1b:5a:b7
> Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Sending on  
> LPF/wlan0/00:90:4b:1b:5a:b7
> Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Sending on  
> Socket/fallback/fallback-net
> Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: DHCPDISCOVER
> on wlan0 to 255.255.255.255 port 67 interval 7
> Apr  4 11:54:45 localhost dhclient: DHCPDISCOVER on wlan0 to
> 255.255.255.255 port 67 interval 8
> Apr  4 11:54:45 localhost ifplugd(wlan0)[4649]: client: DHCPDISCOVER
> on wlan0 to 255.255.255.255 port 67 interval 8
> Apr  4 11:54:53 localhost dhclient: No DHCPOFFERS received.
> Apr  4 11:54:53 localhost dhclient: No working leases in persistent database.
> Apr  4 11:54:

Re: wpasupplicant_0.4.8-1 problem

2006-04-04 Thread L . V . Gandhi
On 4/3/06, Christopher Nelson <[EMAIL PROTECTED]> wrote:

> try making that wpa_conf a wpa-conf instead and try again.  At least,
> that's how I have it in my /etc/networking/interfaces

> I'm using wpa_supplicant.conf and wep right now and it's working.

My system is sid. I have ifplugd and wpasupplicant installed.
My wlan0 connects without any problem with the following
/etc/network/interfaces file
lvgdell600m:/mnt/wind/software/Linux/dell_sid# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# wireless interface
auto wlan0
iface wlan0 inet dhcp
wireless_essid mohan
wireless_key XX
wireless_mode managed
post-up ifmetric wlan0 5
But I thought to use wpasupplicant so that it can work, where there is
no wep Hotspot.
Hence I installed wpasupplicant. It was working before the new
wpasupplicant version 0.4.8-1 installed. I have also copied
/etc/wpa_supplicant.conf.dpkg-bak file to /etc/wpa_supplicant.conf.
I have the following /etc/network/interfaces.
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# wireless interface
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
post-up ifmetric wlan0 5

 I corrected line wpa-conf as said.

I am giving below  /etc/wpa_supplicant.conf
lvgdell600m:/mnt/wind/software/Linux/dell_sid# cat /etc/wpa_supplicant.conf
# Minimal /etc/wpa_supplicant.conf to associate with open
#  access points. Please see
#  /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz for more
#  complete configuration parameters.
#
# Also see the other files in /usr/share/doc/wpasupplicant/examples/ for
#  specific configuration examples.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Example of basic WPA-PSK secured AP
#network={
#ssid="ournet"
#psk="w243sd5f324asdf5123sadf54324"
#}

# Single key Hex WEP
network={
ssid="mohan"
key_mgmt=NONE
wep_key0=XX
wep_tx_keyidx=0
priority=5
}

### Associate with any open access point
###  Scans/ESSID changes can be done with wpa_cli
network={
ssid=""
key_mgmt=NONE
}
but still wlan0 is not getting connected. I get in log as below
Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Internet
Software Consortium DHCP Client 2.0pl5
Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Copyright
1995, 1996, 1997, 1998, 1999 The Internet Software Consor
tium.
Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: All rights reserved.
Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: Please
contribute if you find this software useful.
Apr  4 11:54:37 localhost ifplugd(wlan0)[4649]: client: For info,
please visit http://www.isc.org/dhcp-contrib.html
Apr  4 11:54:38 localhost dhclient: Listening on LPF/wlan0/00:90:4b:1b:5a:b7
Apr  4 11:54:38 localhost dhclient: Sending on   LPF/wlan0/00:90:4b:1b:5a:b7
Apr  4 11:54:38 localhost dhclient: Sending on   Socket/fallback/fallback-net
Apr  4 11:54:38 localhost dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 7
Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Listening on
LPF/wlan0/00:90:4b:1b:5a:b7
Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Sending on  
LPF/wlan0/00:90:4b:1b:5a:b7
Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: Sending on  
Socket/fallback/fallback-net
Apr  4 11:54:38 localhost ifplugd(wlan0)[4649]: client: DHCPDISCOVER
on wlan0 to 255.255.255.255 port 67 interval 7
Apr  4 11:54:45 localhost dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 8
Apr  4 11:54:45 localhost ifplugd(wlan0)[4649]: client: DHCPDISCOVER
on wlan0 to 255.255.255.255 port 67 interval 8
Apr  4 11:54:53 localhost dhclient: No DHCPOFFERS received.
Apr  4 11:54:53 localhost dhclient: No working leases in persistent database.
Apr  4 11:54:53 localhost ifplugd(wlan0)[4649]: client: No DHCPOFFERS received.
Apr  4 11:54:53 localhost ifplugd(wlan0)[4649]: client: No working
leases in persistent database.
Apr  4 11:54:53 localhost dhclient: Exiting.
Apr  4 11:54:53 localhost ifplugd(wlan0)[4649]: client: Exiting.
Apr  4 11:54:53 localhost ifplugd(wlan0)[4649]: client: Failed to
bring up wlan0.
Apr  4 11:54:53 localhost ifplugd(wlan0)[4649]: Program executed successfully.

Can you point out where am I going wrong?
How wpasupplicant is started in the new scheme of things? entry in
/etc/network/interfaces is sufficient?
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: wpasupplicant_0.4.8-1 problem

2006-04-03 Thread Christopher Nelson
On Sun, Apr 02, 2006 at 05:10:12PM -0700, L.V.Gandhi wrote:
> On 4/2/06, Michael Ott <[EMAIL PROTECTED]> wrote:
  
> > I copy the config file back from dpkg-bak and set in following new
> > parameter in /etc/networking/interface:
> > wpa_conf /etc/wpa_supplicant.conf
>
> Thanks for the response. I added that line in
> /etc/networking/interface and copied  dpkg-bak  for
> wpa_supplicant.conf. Still it is not working. 

try making that wpa_conf a wpa-conf instead and try again.  At least, 
that's how I have it in my /etc/networking/interfaces

> Home net has wep. It is
> in wpa_supplicant.conf. But it is not getting connected. The site you
> mentioned says wep is put in  /etc/networking/interface file. Hence
> for wep, should i think wpa_supplicant.conf is not useful.

I'm using wpa_supplicant.conf and wep right now and it's working.

> whether
> your system has wep? How do you handle it?

Just as shown above.

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
In real love you want the other person's good.  In romantic love you
want the other person.  -- Margaret Anderson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: wpasupplicant_0.4.8-1 problem

2006-04-03 Thread Michael Ott
Hello L.V.Gandhi!

> > Yepp! I think that the delete from /etc/wpa_supplicant.conf is an small
> > misfortune but in the default file you can set the path using the config
> > variable.
> >
> > I copy the config file back from dpkg-bak and set in following new
> > parameter in /etc/networking/interface:
> > wpa_conf /etc/wpa_supplicant.conf
> >
> > restart networking and it works again. If you use netenv maybe you have
> > to set networking on the NETENV_RUN_INIT_SCRIPTS parameter. This is what
> > i have to do. More see here: 
> > http://www.zolnott.de/laptop/ibm-t43-uc34nge.html
> > topic wlan
> Thanks for the response. I added that line in
> /etc/networking/interface and copied  dpkg-bak  for
> wpa_supplicant.conf. Still it is not working. Home net has wep. It is
> in wpa_supplicant.conf. But it is not getting connected. The site you
> mentioned says wep is put in  /etc/networking/interface file. Hence
> for wep, should i think wpa_supplicant.conf is not useful. whether
> your system has wep? How do you handle it?
I use at home wep but my parents have wep. And you can run wep with
wpasupplicant. Or you write the parameter direct into the interface
file. It is describe on my website (link above). 

But: is wpasupplicant running or not? If not there must be another
error. For example wrong writing. Or on the wrong place. Did you run wep
with wpasupplicant? Or only with interface?

CU
 
  Michael  
  
-- 
,''`.   Michael Ott, e-mail: michael at zolnott dot de
   : :' :   Debian SID on Thinkpad T43: 
   `. `'http://www.zolnott.de/laptop/ibm-t43-uc34nge.html 
 `-


pgpXWLy86uCL0.pgp
Description: PGP signature


Re: wpasupplicant_0.4.8-1 problem

2006-04-02 Thread L . V . Gandhi
On 4/2/06, Michael Ott <[EMAIL PROTECTED]> wrote:
> Hello!
> Yepp! I think that the delete from /etc/wpa_supplicant.conf is an small
> misfortune but in the default file you can set the path using the config
> variable.
>
> I copy the config file back from dpkg-bak and set in following new
> parameter in /etc/networking/interface:
> wpa_conf /etc/wpa_supplicant.conf
>
> restart networking and it works again. If you use netenv maybe you have
> to set networking on the NETENV_RUN_INIT_SCRIPTS parameter. This is what
> i have to do. More see here: http://www.zolnott.de/laptop/ibm-t43-uc34nge.html
> topic wlan
Thanks for the response. I added that line in
/etc/networking/interface and copied  dpkg-bak  for
wpa_supplicant.conf. Still it is not working. Home net has wep. It is
in wpa_supplicant.conf. But it is not getting connected. The site you
mentioned says wep is put in  /etc/networking/interface file. Hence
for wep, should i think wpa_supplicant.conf is not useful. whether
your system has wep? How do you handle it?
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: wpasupplicant_0.4.8-1 problem

2006-04-02 Thread Michael Ott
Hello!

> On 31st mar, on update wpasupplicant_0.4.8-1 was installed in my sid box.
> A lot of changes in files.
> no  /etc/default/wpasupplicant
> no /etc/wpa_supplicant.conf
> no /etc/init.d/wpasupplicant
> Any ideas about changes and how to make it work?
Yepp! I think that the delete from /etc/wpa_supplicant.conf is an small
misfortune but in the default file you can set the path using the config
variable.

I copy the config file back from dpkg-bak and set in following new
parameter in /etc/networking/interface:
wpa_conf /etc/wpa_supplicant.conf

restart networking and it works again. If you use netenv maybe you have
to set networking on the NETENV_RUN_INIT_SCRIPTS parameter. This is what
i have to do. More see here: http://www.zolnott.de/laptop/ibm-t43-uc34nge.html
topic wlan

CU
 
  Michael  
  
-- 
,''`.   Michael Ott, e-mail: michael at zolnott dot de
   : :' :   Debian SID on Thinkpad T43: 
   `. `'http://www.zolnott.de/laptop/ibm-t43-uc34nge.html 
 `-


pgpnfAGV6kpOa.pgp
Description: PGP signature