wifi dhcp

2006-12-05 Thread Steve Franks

Ok, we're losin our minds here. Me and a friend just bought up no less
than 4 boxes (server, 2 laptops, and a net-device) in about 2 weeks on
stable 6.1.  My first foray into bsd since '95, and I'm way-pleased.
One little problem: every one of them loses it's connection (aka ip)
when the wifi goes out and comes back, forcing us to 'dhclient xx0'
incessantly.  Note we're talking a belkin ath, an ativa ath, a wavelan
wi and a linksys wi, not all the same card or even driver.

Someone on current said, 'it's probably a problem with the driver's
link-state handling' -  whatever.  Oh, yeah, we've got one set on a
dlink ap, and the other on a linksys.  Both are running wep for legacy
reasons, which I have a sinking feeling may be a contributing factor.

Ideas?

thanks,
Steve

--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wifi dhcp

2006-12-05 Thread John Nielsen
On Tuesday 05 December 2006 13:21, Steve Franks wrote:
 Ok, we're losin our minds here. Me and a friend just bought up no less
 than 4 boxes (server, 2 laptops, and a net-device) in about 2 weeks on
 stable 6.1.  My first foray into bsd since '95, and I'm way-pleased.
 One little problem: every one of them loses it's connection (aka ip)
 when the wifi goes out and comes back, forcing us to 'dhclient xx0'
 incessantly.  Note we're talking a belkin ath, an ativa ath, a wavelan
 wi and a linksys wi, not all the same card or even driver.

 Someone on current said, 'it's probably a problem with the driver's
 link-state handling' -  whatever.  Oh, yeah, we've got one set on a
 dlink ap, and the other on a linksys.  Both are running wep for legacy
 reasons, which I have a sinking feeling may be a contributing factor.

I see the same behavior (using an older wi(4) card). I haven't done much 
experimenting with it though since my house isn't that big and I don't lose 
my link that often. A couple things I would suggest trying, though:

Add a killall dhclient somewhere in your boot process. Not ideal for some 
circumstances, but if you only plan to be on one logical wireless network for 
a given session then it shouldn't hurt anything.

Try using the net/isc-dhcp3-client port instead of the base system's dhclient. 
E.g.:
cd /usr/ports/net/isc-dhcp3-client  make install clean
echo 'dhclient_program=/usr/local/sbin/dhclient'  /etc/rc.conf

If you have/use a dhclient.conf file you'll also need to either move it 
to /usr/local/etc or add 'dhclient_flags=-c /etc/dhclient.conf' 
to /etc/rc.conf.

Good luck!

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WIFI DHCP

2005-05-23 Thread Beecher Rintoul
I would like to use a wireless card as my primary
internet connection.
I have read the manual and see nothing mentioned about
setting up the
card to use DHCP. I do not have a static ip on the
access point I'm
connecting to. How do I set the card to use DHCP?

Please cc me as I'm not on the list.

Thanks, Beech


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WIFI DHCP

2005-05-23 Thread Roland Smith
On Mon, May 23, 2005 at 01:52:01PM -0700, Beecher Rintoul wrote:

 I would like to use a wireless card as my primary internet connection.
 I have read the manual and see nothing mentioned about setting up the
 card to use DHCP. 

Then you've looked in the wrong place. :-)

I do not have a static ip on the access point I'm
 connecting to. How do I set the card to use DHCP?

Look at section 23.5 (Automatic Network Configuration). In short:
- make sure that device bpf is in the kernel (it is in GENERIC)
- edit /etc/rc.conf to put the interface in DHCP: 'ifconfig_XXX=DHCP'
  where XXX is the name of your wireless card.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpofS4O5qsyT.pgp
Description: PGP signature


Re: WIFI DHCP

2005-05-23 Thread Eric Schuele

Roland Smith wrote:

On Mon, May 23, 2005 at 01:52:01PM -0700, Beecher Rintoul wrote:



I would like to use a wireless card as my primary internet connection.
I have read the manual and see nothing mentioned about setting up the
card to use DHCP. 



Then you've looked in the wrong place. :-)



I do not have a static ip on the access point I'm
connecting to. How do I set the card to use DHCP?



Look at section 23.5 (Automatic Network Configuration). In short:
- make sure that device bpf is in the kernel (it is in GENERIC)
- edit /etc/rc.conf to put the interface in DHCP: 'ifconfig_XXX=DHCP'
  where XXX is the name of your wireless card.


Additionally... you should man dhclient, dhclient.conf, and 
dhclient.leases.  IMHO: `ifconfig_XXX=DHCP` is only part of the equation.


You may have to craft a dhclient.conf file to help your card associate 
with its access point.  The dhclient.conf file will help you specify 
things like the SSID, weptxkey, wepmode, mode (11a, 11b, or 11g), 
wepkey, etc




Roland



--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WIFI DHCP

2005-05-23 Thread K. Greenwood
--- Eric Schuele [EMAIL PROTECTED] wrote:
 Roland Smith wrote:
  On Mon, May 23, 2005 at 01:52:01PM -0700, Beecher
 Rintoul wrote:
  
  
 I would like to use a wireless card as my primary
 internet connection.
 I have read the manual and see nothing mentioned
 about setting up the
 card to use DHCP. 
  
  
  Then you've looked in the wrong place. :-)
  
  
 I do not have a static ip on the access point I'm
 connecting to. How do I set the card to use DHCP?
  
  
  Look at section 23.5 (Automatic Network
 Configuration). In short:
  - make sure that device bpf is in the kernel (it
 is in GENERIC)
  - edit /etc/rc.conf to put the interface in DHCP:
 'ifconfig_XXX=DHCP'
where XXX is the name of your wireless card.
 
 Additionally... you should man dhclient,
 dhclient.conf, and 
 dhclient.leases.  IMHO: `ifconfig_XXX=DHCP` is
 only part of the equation.
 
 You may have to craft a dhclient.conf file to help
 your card associate 
 with its access point.  The dhclient.conf file will
 help you specify 
 things like the SSID, weptxkey, wepmode, mode (11a,
 11b, or 11g), 
 wepkey, etc

Mr. Schuele was *very* helpful in the following post.

http://lists.freebsd.org/pipermail/freebsd-questions/2004-October/059938.html

Once I got a chipset that was supported by Project
Evil (aka Mr. Paul's NDISulator) all was well.  FYI,
broadcom sucks... Intersil rules. 

*pciconf -vl* tells much.

Good luck.



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]