Re: dhclient and wpa_supplicant

From: Eric Schuele (e.schuele_at_computer.org)
Date: 07/30/05

  • Next message: Paul Schmehl: "Re: Shell script help"
    Date: Sat, 30 Jul 2005 14:23:12 -0500
    To: Sam Leffler <sam@errno.com>
    
    

    Sam Leffler wrote:
    > Eric Schuele wrote:
    >

    <big-snip>

    >> dhclient.conf contains
    >> ===========================
    >> interface "ath0" {
    >> #send option host-name "myhost";
    >> #send option domain-name "nxdomain.org";
    >> send dhcp-client-identifier "myhost";
    >>
    >> media
    >> ### Home
    >> "ssid <home_ssid> mode 11b channel 11 wepmode on weptxkey 1 wepkey
    >> 0x<home_wepkey>",
    >> ### Office
    >> "ssid <office_ssid mode 11b channel 6 wepmode on weptxkey 1 wepkey
    >> 0x<office_wepkey>";
    >> request subnet-mask, broadcast-address, routers,
    >> domain-name-servers, domain-name;
    >> }
    >
    >
    > Do not use media statements to setup wireless parameters; this does not
    > work. You need to run wpa_supplicant and let it identify the network
    > and setup the key parameters.

    How do I tell wpa_supplicant about the network media? I had found an
    older post of yours regarding NOT doing it in dhclient.conf.... but I've
    found no other way to accomplish it.

    >
    >>
    >> wpa_supplicant.conf
    >> =============================
    >> ctrl_interface=/var/run/wpa_supplicant
    >> ctrl_interface_group=wheel
    >>
    >> # Home Network
    >> network={
    >> ssid="<home_ssid>"
    >> scan_ssid=1
    >> key_mgmt=NONE
    >> wep_tx_keyidx=0
    >> wep_key0="<home_wepkey>"
    >> }
    >>
    >> # Office Network
    >> network={
    >> ssid="<office_ssid>"
    >> scan_ssid=1
    >> key_mgmt=NONE
    >> wep_tx_keyidx=0
    >> wep_key0="<office_wepkey>"
    >> }
    >>
    >
    > Not sure you need scan_ssid set, I'd leave it out.
    >
    > If you have problems try disabling auto-startup of ath0 and run
    > wpa_supplicant by hand with the -d flag to see what it's doing. Once
    > that's going then enable startup in rc.conf. If you continue to have
    > problems provide the output wpa_supplicant -d -i ath0 -c
    > /etc/wpa_supplicant.conf (or similar) when you have trouble. There is
    > also a pending issue with locating some ap's that are setup to hide
    > their ssid. If one of the ap's is configured in this way contact me
    > directly--I've been trying to collect the info I need to identify what's
    > going on.

    Both my APs (home and office) hide their ssids. One is a wrt54g (home),
    the other is linksys as well... though I forget the model at the moment
    (FWIW its a/b/g). What can I do to provide the info you need?

    >
    > Sam
    >

    -- 
    Regards,
    Eric
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Paul Schmehl: "Re: Shell script help"

    Relevant Pages

    • Re: Vista Beta 2 & Xbox 360
      ... I am on a private network. ... button on the xbo 360 it brings up the link for extender. ... media center button again to continue and it checks the network. ... "PC Configuration Error" received during Extender setup ...
      (microsoft.public.windows.mediacenter)
    • Re: DMA2200 Extender connection problem
      ... sounds like it can't find the media center pc. ... how are you connecting this device to your network? ... setup a couple of times to detect the extender, but in the end it succeeds). ...
      (microsoft.public.windows.mediacenter)
    • Re: "Invalid Connection Data" Message XBOX 360 acting as an MCE
      ... Read my blog for the latest in Media Center topics ... I've tried direct connection of Xbox 360 to PC and also via my network ... The network trace is reporting TCP checksum issues when attempting ...
      (microsoft.public.windows.mediacenter)
    • Re: INSTALLATION OF MICROSOFT WINDOWS MEDIA PLAYER (WMP 11 FINAL) CRASHES COMPUTER.
      ... Download complete. ... Media Library import completed. ... Setup succeeded. ... Reg Parser: Obtained value 'fhg' for attribute 'COMPONENTNAME'. ...
      (microsoft.public.windowsmedia.player)
    • NBCs "Studio 60" is most anticipated new show
      ... It's the show media people are talking about ... it looks as though the network ... commitment from NBC, ... Among NBC?s other dramas is ?Kidnapped? ...
      (rec.arts.tv)