[SLE] Ensuring wlan connection is encrypted

From: Jason (jglane_at_btopenworld.com)
Date: 11/12/03

  • Next message: Maura Edeweiss Monville: "[SLE] Whwre is NETSCAPE in SUSE 9.0 ????"
    To: suse-linux-e@suse.com
    Date: Wed, 12 Nov 2003 16:26:44 +0000
    
    

    Hi,

    Hope this message isn't too OT for the list.

    I've just ventured into WiFi networking for the first time in order to link
    two PCs together. Both running SuSE 8.2, with identical Netgear MA111
    miniature USB nics with the latest drivers compiled from
    http://www.linux-wlan.org/

    After a little fun and games getting them to speak to each other they are now
    working well in ad-hoc mode with fixed IP addresses, so I have set them up to
    use WEP encryption, just so that traffic between the machines has some form
    of encryption. I have an identical /etc/wlan/wlancfg-MyNetwork file on both
    the pcs - details below with keys altered...

    But iwconfig returns a line that says "Encryption key:off". Should this be on,
    if WEP is enabled?

    Is there any way to verify that traffic over the wlan0 interface is actually
    encrypted? What tools can I use?

    Thanks in advance,

    Jason

    /etc/wlan/wlancfg-MyNetwork:

    #=======USER MIB SETTINGS=============================
    # You can add the assignments for various MIB items
    # of your choosing to this variable, separated by
    # whitespace. The wlan-ng script will then set each one.
    # Just uncomment the variable and set the assignments
    # the way you want them.

    #USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"

    #=======WEP===========================================
    # [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
    lnxreq_hostWEPEncrypt=true # true|false
    lnxreq_hostWEPDecrypt=true # true|false
    dot11PrivacyInvoked=true # true|false
    dot11WEPDefaultKeyID=0 # 0|1|2|3
    dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is
    required.

    # If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
    # keys (just a convenience)
    # add-ons/ in the tarball contains other key generators.
    PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
    PRIV_KEY128=true # keylength to generate
    PRIV_GENSTR=""

    # or set them explicitly. Set genstr or keys, not both.

    dot11WEPDefaultKey0=2b:c8:c7:b2:ea:4d:2f:d3:b9:83:e1:ff:ae
    dot11WEPDefaultKey1=7b:be:66:c7:84:e0:83:23:96:75:a1:72:f1
    dot11WEPDefaultKey2=ce:9d:ab:01:b3:ed:fd:85:fa:e1:07:f0:58
    dot11WEPDefaultKey3=29:4b:0f:76:98:e0:ed:47:28:68:f4:9a:3d

    #=======SELECT STATION MODE===================
    IS_ADHOC=y # y|n, y - adhoc, n - infrastructure

    #======= INFRASTRUCTURE STATION ===================
    # What kind of authentication?
    AuthType="sharedkey" # opensystem | sharedkey (requires WEP)

    #======= ADHOC STATION ============================
    BCNINT=100 # Beacon interval (in Kus)
    CHANNEL=2 # DS channel for BSS (1-14, depends
                                    # on regulatory domain)
    BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
    OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Maura Edeweiss Monville: "[SLE] Whwre is NETSCAPE in SUSE 9.0 ????"

    Relevant Pages