Find the answer to your Linux question:
Results 1 to 4 of 4
How can I configure my WEP-protected network using the command line (ifup, ifdown and that kind of stuff) ?...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3

    Configuring a WEP network with ifup/ifdown

    How can I configure my WEP-protected network using the command line (ifup, ifdown and that kind of stuff)?

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    You can use iwconfig to set wireless options (see the man page for details).
    Most wireless options can also be set in the network interfaces file, so that they're called automatically when you call ifup (see the interfaces man page for details).
    Stand up and be counted as a Linux user!

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3
    I configured my network and did ifup wlan0. I lost the screenshot, but it spitted out two rows of text and then said something like: Startmode is off.

  4. #4
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3
    By the way, here's my network config for wlan0:
    BOOTPROTO='dhcp'
    BROADCAST=''
    ETHTOOL_OPTIONS=''
    IPADDR=''
    MTU=''
    NAME=''
    NETMASK=''
    NETWORK=''
    REMOTE_IPADDR=''
    STARTMODE='auto'
    USERCONTROL='yes'
    WIRELESS_AP=''
    WIRELESS_AUTH_MODE='open'
    WIRELESS_BITRATE='auto'
    WIRELESS_CA_CERT=''
    WIRELESS_CHANNEL=''
    WIRELESS_CLIENT_CERT=''
    WIRELESS_CLIENT_KEY=''
    WIRELESS_CLIENT_KEY_PASSWORD=''
    WIRELESS_DEFAULT_KEY='0'
    WIRELESS_EAP_AUTH=''
    WIRELESS_EAP_MODE=''
    WIRELESS_ESSID='MY ESSID IS HERE'
    WIRELESS_FREQUENCY=''
    WIRELESS_KEY=''
    WIRELESS_KEY_0='MY CODE IS HERE'
    WIRELESS_KEY_1=''
    WIRELESS_KEY_2=''
    WIRELESS_KEY_3=''
    WIRELESS_KEY_LENGTH='64'
    WIRELESS_MODE='Managed'
    WIRELESS_NICK=''
    WIRELESS_NWID=''
    WIRELESS_PEAP_VERSION=''
    WIRELESS_POWER='yes'
    WIRELESS_WPA_ANONID=''
    WIRELESS_WPA_IDENTITY=''
    WIRELESS_WPA_PASSWORD=''
    WIRELESS_WPA_PSK=''
    _nm_name='static-0'
    Is this right? I'm using a WEP-protected wireless router that supports DHCP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...