wireless configuration

johnmalloy-Wuw85uim5zDR7s880joybQ at public.gmane.org johnmalloy-Wuw85uim5zDR7s880joybQ at public.gmane.org
Thu Apr 28 09:53:40 EDT 2011


I reinstalled both wpasupplicant and dhcp3-client. 

We are still not getting an ip address. 

It seems the wpasupplicant is taking too long to connect to the wireless access point and the dhclient is not working. 

If I run it manually, it works. 

Are there any other web sites/listservs for this issue? 

here is my /etc/rc.local file: 


#!/bin/sh -e 
# 
# rc.local 
# 
# This script is executed at the end of each multiuser runlevel. 
# Make sure that the script will "exit 0" on success or any other 
# value on error. 
# 
# In order to enable or disable this script just change the execution 
# bits. 
# 
# By default this script does nothing. 

/etc/opt/elo-ser/setup/elorc start 
echo "/sbin/wpa_supplicant -ira0 -c/etc/wpa_supplicant/ra0.conf -d 2>&1 > /var/log/wpa_supplicant.ra0 "|/usr/bin/at now 
sleep 180 
#echo "/sbin/dhclient -d -pf /var/run/dhclient-ra0.pid -lf /var/lib/dhcp3/dhclient-ra0.lease -sf /usr/local/scripts/dhclient-exit-hooks ra0 2>&1 > /var/log/dhclient.ra0"|at now 


John Malloy 

johnmalloy AT comcast DOT net 

----- Original Message ----- 
From: "Tom Metro" <tmetro-blu-5a1Jt6qxUNc at public.gmane.org> 
To: johnmalloy-Wuw85uim5zDR7s880joybQ at public.gmane.org 
Cc: "L-blu" <discuss-mNDKBlG2WHs at public.gmane.org> 
Sent: Wednesday, April 27, 2011 10:38:45 PM 
Subject: Re: wireless configuration 

johnmalloy-Wuw85uim5zDR7s880joybQ at public.gmane.org wrote: 
> Ubuntu 10.04 
> I have inherited someone else's config. 

Hmmm...unless you think the dhclient setup is usefully customized, you 
might try the easy fix (after backing up /etc): 

sudo aptitude reinstall dhcp3-client 
sudo aptitude reinstall wpasupplicant 

which might resolve the problem, if it is being caused by a missing hook 
script. 

A quick browse suggests that /etc/network/if-up.d/wpasupplicant gets 
called - probably on a pre-up event. It does it's thing, then does an 
ifup. It then looks like Network Manager plays a role in triggering 
dhclient, so you should probably review settings in there too. 

-Tom 

-- 
Tom Metro 
Venture Logic, Newton, MA, USA 
"Enterprise solutions through open source." 
Professional Profile: http://tmetro.venturelogic.com/ 




More information about the Discuss mailing list