31 (24.03.2011 14:02:30 отредактировано WoW)

odin, на данный момент без wi-fi

+ открыть спойлер

 Консоль:

DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=yes
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID="TPU Public"
WIRELESS_ENC_KEY=s:
WIRELESS_WPA_DRIVER=wext
WIRELESS_WPA_REASSOCIATE=no
IPV6INIT=yes
IPV6TO4INIT=yes
ACCOUNTING=yes
DHCP_CLIENT=dhclient
DHCP_HOSTNAME=TPU
NEEDHOSTNAME=yes
PEERDNS=yes
PEERYP=yes
PEERNTPD=no

и

+ открыть спойлер

 Консоль:

##### Example wpa_supplicant configuration file ###############################
#
# This file describes configuration file format and lists all available option.
# Please also take a look at simpler configuration examples in 'examples'
# subdirectory.
#
# Empty lines and lines starting with # are ignored

# NOTE! This file may contain password information and should probably be made
# readable only by root user on multiuser systems.

# Note: All file paths in this configuration file should use full (absolute,
# not relative to working directory) path in order to allow working directory
# to be changed. This can happen if wpa_supplicant is run in the background.

# Whether to allow wpa_supplicant to update (overwrite) configuration
#
# This option can be used to allow wpa_supplicant to overwrite configuration
# file whenever configuration is changed (e.g., new network block is added with
# wpa_cli or wpa_gui, or a password is changed). This is required for
# wpa_cli/wpa_gui to be able to store the configuration changes permanently.
# Please note that overwriting configuration file will remove the comments from
# it.
#update_config=1

# global configuration (shared by all network blocks)
#
# Parameters for the control interface. If this is specified, wpa_supplicant
# will open a control interface that is available for external programs to
# manage wpa_supplicant. The meaning of this string depends on which control
# interface mechanism is used. For all cases, the existance of this parameter
# in configuration is used to determine whether the control interface is
# enabled.
#
# For UNIX domain sockets (default on Linux and BSD): This is a directory that
# will be created for UNIX domain sockets for listening to requests from
# external programs (CLI/GUI, etc.) for status information and configuration.
# The socket file will be named based on the interface name, so multiple
# wpa_supplicant processes can be run at the same time if more than one
# interface is used.
# /var/run/wpa_supplicant is the recommended directory for sockets and by
# default, wpa_cli will use it when trying to connect with wpa_supplicant.
#
# Access control for the control interface can be configured by setting the
# directory to allow only members of a group to use sockets. This way, it is
# possible to run wpa_supplicant as root (since it needs to change network
# configuration and open raw sockets) and still allow GUI/CLI components to be
# run as non-root users. However, since the control interface can be used to
# change the network configuration, this access needs to be protected in many
# cases. By default, wpa_supplicant is configured to use gid 0 (root). If you
# want to allow non-root users to use the control interface, add a new group
# and change this value to match with that group. Add users that should have
# control interface access to this group. If this variable is commented out or
# not included in the configuration file, group will not be changed from the
# value it got by default when the directory or socket was created.
#
# When configuring both the directory and group, use following format:
# DIR=/var/run/wpa_supplicant GROUP=wheel
# DIR=/var/run/wpa_supplicant GROUP=0
# (group can be either group name or gid)
#
# For UDP connections (default on Windows): The value will be ignored. This
# variable is just used to select that the control interface is to be created.
# The value can be set to, e.g., udp (ctrl_interface=udp)
#
# For Windows Named Pipe: This value can be used to set the security descriptor
# for controlling access to the control interface. Security descriptor can be
# set using Security Descriptor String Format (see http://msdn.microsoft.com/
# library/default.asp?url=/library/en-us/secauthz/security/
# security_descriptor_string_format.asp). The descriptor string needs to be
# prefixed with SDDL=. For example, ctrl_interface=SDDL=D: would set an empty
# DACL (which will reject all connections). See README-Windows.txt for more
# information about SDDL string format.
#
ctrl_interface=/var/run/wpa_supplicant

# IEEE 802.1X/EAPOL version
# wpa_supplicant is implemented based on IEEE Std 802.1X-2004 which defines
# EAPOL version 2. However, there are many APs that do not handle the new
# version number correctly (they seem to drop the frames completely). In order
# to make wpa_supplicant interoperate with these APs, the version number is set
# to 1 by default. This configuration value can be used to set it to the new
# version (2).
eapol_version=1

# AP scanning/selection
# By default, wpa_supplicant requests driver to perform AP scanning and then
# uses the scan results to select a suitable AP. Another alternative is to
# allow the driver to take care of AP scanning and selection and use
# wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection
# 0: driver takes care of scanning, AP selection, and IEEE 802.11 association
#    parameters (e.g., WPA IE generation); this mode can also be used with
#    non-WPA drivers when using IEEE 802.1X mode; do not try to associate with
#    APs (i.e., external program needs to control association). This mode must
#    also be used when using wired Ethernet drivers.
# 2: like 0, but associate with APs using security policy and SSID (but not
#    BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to
#    enable operation with hidden SSIDs and optimized roaming; in this mode,
#    the network blocks in the configuration file are tried one by one until
#    the driver reports successful association; each network block should have
#    explicit security policy (i.e., only one option in the lists) for
#    key_mgmt, pairwise, group, proto variables
ap_scan=1

# EAP fast re-authentication
# By default, fast re-authentication is enabled for all EAP methods that
# support it. This variable can be used to disable fast re-authentication.
# Normally, there is no need to disable this.
fast_reauth=1

# OpenSSL Engine support
# These options can be used to load OpenSSL engines.
# The two engines that are supported currently are shown below:
# They are both from the opensc project (http://www.opensc.org/)
# By default no engines are loaded.
# make the opensc engine available
#opensc_engine_path=/usr/lib/opensc/engine_opensc.so
# make the pkcs11 engine available
#pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
# configure the path to the pkcs11 module required by the pkcs11 engine
#pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so

# Dynamic EAP methods
# If EAP methods were built dynamically as shared object files, they need to be
# loaded here before being used in the network blocks. By default, EAP methods
# are included statically in the build, so these lines are not needed
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so

# Driver interface parameters
# This field can be used to configure arbitrary driver interace parameters. The
# format is specific to the selected driver interface. This field is not used
# in most cases.
#driver_param="field=value"

# Country code
# The ISO/IEC alpha2 country code for the country in which this device is
# currently operating.
#country=US

# Maximum lifetime for PMKSA in seconds; default 43200
#dot11RSNAConfigPMKLifetime=43200
# Threshold for reauthentication (percentage of PMK lifetime); default 70
#dot11RSNAConfigPMKReauthThreshold=70
# Timeout for security association negotiation in seconds; default 60
#dot11RSNAConfigSATimeout=60

# Wi-Fi Protected Setup (WPS) parameters

# Universally Unique IDentifier (UUID; see RFC 4122) of the device
# If not configured, UUID will be generated based on the local MAC address.
#uuid=12345678-9abc-def0-1234-56789abcdef0

# Device Name
# User-friendly description of device; up to 32 octets encoded in UTF-8
#device_name=Wireless Client

# Manufacturer
# The manufacturer of the device (up to 64 ASCII characters)
#manufacturer=Company

# Model Name
# Model of the device (up to 32 ASCII characters)
#model_name=cmodel

# Model Number
# Additional device description (up to 32 ASCII characters)
#model_number=123

# Serial Number
# Serial number of the device (up to 32 characters)
#serial_number=12345

# Primary Device Type
# Used format: <categ>-<OUI>-<subcateg>
# categ = Category as an integer value
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
#       default WPS OUI
# subcateg = OUI-specific Sub Category as an integer value
# Examples:
#   1-0050F204-1 (Computer / PC)
#   1-0050F204-2 (Computer / Server)
#   5-0050F204-1 (Storage / NAS)
#   6-0050F204-1 (Network Infrastructure / AP)
#device_type=1-0050F204-1

# OS Version
# 4-octet operating system version number (hex string)
#os_version=01020300

# Credential processing
#   0 = process received credentials internally (default)
#   1 = do not process received credentials; just pass them over ctrl_iface to
#    external program(s)
#   2 = process received credentials internally and pass them over ctrl_iface
#    to external program(s)
#wps_cred_processing=0

# network block
#
# Each network (usually AP's sharing the same SSID) is configured as a separate
# block in this configuration file. The network blocks are in preference order
# (the first match is used).
#
# network block fields:
#
# disabled:
#    0 = this network can be used (default)
#    1 = this network block is disabled (can be enabled through ctrl_iface,
#        e.g., with wpa_cli or wpa_gui)
#
# id_str: Network identifier string for external scripts. This value is passed
#    to external action script through wpa_cli as WPA_ID_STR environment
#    variable to make it easier to do network specific configuration.
#
# ssid: SSID (mandatory); either as an ASCII string with double quotation or
#    as hex string; network name
#
# scan_ssid:
#    0 = do not scan this SSID with specific Probe Request frames (default)
#    1 = scan with SSID-specific Probe Request frames (this can be used to
#        find APs that do not accept broadcast SSID or use multiple SSIDs;
#        this will add latency to scanning, so enable this only when needed)
#
# bssid: BSSID (optional); if set, this network block is used only when
#    associating with the AP using the configured BSSID
#
# priority: priority group (integer)
# By default, all networks will get same priority group (0). If some of the
# networks are more desirable, this field can be used to change the order in
# which wpa_supplicant goes through the networks when selecting a BSS. The
# priority groups will be iterated in decreasing priority (i.e., the larger the
# priority value, the sooner the network is matched against the scan results).
# Within each priority group, networks will be selected based on security
# policy, signal strength, etc.
# Please note that AP scanning with scan_ssid=1 and ap_scan=2 mode are not
# using this priority to select the order for scanning. Instead, they try the
# networks in the order that used in the configuration file.
#
# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
# 1 = IBSS (ad-hoc, peer-to-peer)
# Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
# to be set to 2 for IBSS. WPA-None requires following network block options:
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
# both), and psk must also be set.
#
# frequency: Channel frequency in megahertz (MHz) for IBSS, e.g.,
# 2412 = IEEE 802.11b/g channel 1. This value is used to configure the initial
# channel for IBSS (adhoc) networks. It is ignored in the infrastructure mode.
# In addition, this value is only used by the station that creates the IBSS. If
# an IBSS network with the configured SSID is already present, the frequency of
# the network will be used instead of this configured value.
#
# proto: list of accepted protocols
# WPA = WPA/IEEE 802.11i/D3.0
# RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an alias for RSN)
# If not set, this defaults to: WPA RSN
#
# key_mgmt: list of accepted authenticated key management protocols
# WPA-PSK = WPA pre-shared key (this requires 'psk' field)
# WPA-EAP = WPA using EAP authentication
# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamically
#    generated WEP keys
# NONE = WPA is not used; plaintext or static WEP could be used
# WPA-PSK-SHA256 = Like WPA-PSK but using stronger SHA256-based algorithms
# WPA-EAP-SHA256 = Like WPA-EAP but using stronger SHA256-based algorithms
# If not set, this defaults to: WPA-PSK WPA-EAP
#
# auth_alg: list of allowed IEEE 802.11 authentication algorithms
# OPEN = Open System authentication (required for WPA/WPA2)
# SHARED = Shared Key authentication (requires static WEP keys)
# LEAP = LEAP/Network EAP (only used with LEAP)
# If not set, automatic selection is used (Open System with LEAP enabled if
# LEAP is allowed as one of the EAP methods).
#
# pairwise: list of accepted pairwise (unicast) ciphers for WPA
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
# NONE = Use only Group Keys (deprecated, should not be included if APs support
#    pairwise keys)
# If not set, this defaults to: CCMP TKIP
#
# group: list of accepted group (broadcast/multicast) ciphers for WPA
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
# WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
# WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key [IEEE 802.11]
# If not set, this defaults to: CCMP TKIP WEP104 WEP40
#
# psk: WPA preshared key; 256-bit pre-shared key
# The key used in WPA-PSK mode can be entered either as 64 hex-digits, i.e.,
# 32 bytes or as an ASCII passphrase (in which case, the real PSK will be
# generated using the passphrase and SSID). ASCII passphrase must be between
# 8 and 63 characters (inclusive).
# This field is not needed, if WPA-EAP is used.
# Note: Separate tool, wpa_passphrase, can be used to generate 256-bit keys
# from ASCII passphrase. This process uses lot of CPU and wpa_supplicant
# startup and reconfiguration time can be optimized by generating the PSK only
# only when the passphrase or SSID has actually changed.
#
# eapol_flags: IEEE 802.1X/EAPOL options (bit field)
# Dynamic WEP key required for non-WPA mode
# bit0 (1): require dynamically generated unicast WEP key
# bit1 (2): require dynamically generated broadcast WEP key
#     (3 = require both keys; default)
# Note: When using wired authentication, eapol_flags must be set to 0 for the
# authentication to be completed successfully.
#
# mixed_cell: This option can be used to configure whether so called mixed
# cells, i.e., networks that use both plaintext and encryption in the same
# SSID, are allowed when selecting a BSS form scan results.
# 0 = disabled (default)
# 1 = enabled
#
# proactive_key_caching:
# Enable/disable opportunistic PMKSA caching for WPA2.
# 0 = disabled (default)
# 1 = enabled
#
# wep_key0..3: Static WEP key (ASCII in double quotation, e.g. "abcde" or
# hex without quotation, e.g., 0102030405)
# wep_tx_keyidx: Default WEP key index (TX) (0..3)
#
# peerkey: Whether PeerKey negotiation for direct links (IEEE 802.11e DLS) is
# allowed. This is only used with RSN/WPA2.
# 0 = disabled (default)
# 1 = enabled
#peerkey=1
#
# wpa_ptk_rekey: Maximum lifetime for PTK in seconds. This can be used to
# enforce rekeying of PTK to mitigate some attacks against TKIP deficiencies.
#
# Following fields are only used with internal EAP implementation.
# eap: space-separated list of accepted EAP methods
#    MD5 = EAP-MD5 (unsecure and does not generate keying material ->
#            cannot be used with WPA; to be used as a Phase 2 method
#            with EAP-PEAP or EAP-TTLS)
#       MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately with WPA; to be used
#        as a Phase 2 method with EAP-PEAP or EAP-TTLS)
#       OTP = EAP-OTP (cannot be used separately with WPA; to be used
#        as a Phase 2 method with EAP-PEAP or EAP-TTLS)
#       GTC = EAP-GTC (cannot be used separately with WPA; to be used
#        as a Phase 2 method with EAP-PEAP or EAP-TTLS)
#    TLS = EAP-TLS (client and server certificate)
#    PEAP = EAP-PEAP (with tunnelled EAP authentication)
#    TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP/MSCHAPV2
#             authentication)
#    If not set, all compiled in methods are allowed.
#
# identity: Identity string for EAP
#    This field is also used to configure user NAI for
#    EAP-PSK/PAX/SAKE/GPSK.
# anonymous_identity: Anonymous identity string for EAP (to be used as the
#    unencrypted identity with EAP types that support different tunnelled
#    identity, e.g., EAP-TTLS)
# password: Password string for EAP. This field can include either the
#    plaintext password (using ASCII or hex string) or a NtPasswordHash
#    (16-byte MD4 hash of password) in hash:<32 hex digits> format.
#    NtPasswordHash can only be used when the password is for MSCHAPv2 or
#    MSCHAP (EAP-MSCHAPv2, EAP-TTLS/MSCHAPv2, EAP-TTLS/MSCHAP, LEAP).
#    EAP-PSK (128-bit PSK), EAP-PAX (128-bit PSK), and EAP-SAKE (256-bit
#    PSK) is also configured using this field. For EAP-GPSK, this is a
#    variable length PSK.
# ca_cert: File path to CA certificate file (PEM/DER). This file can have one
#    or more trusted CA certificates. If ca_cert and ca_path are not
#    included, server certificate will not be verified. This is insecure and
#    a trusted CA certificate should always be configured when using
#    EAP-TLS/TTLS/PEAP. Full path should be used since working directory may
#    change when wpa_supplicant is run in the background.
#    On Windows, trusted CA certificates can be loaded from the system
#    certificate store by setting this to cert_store://<name>, e.g.,
#    ca_cert="cert_store://CA" or ca_cert="cert_store://ROOT".
#    Note that when running wpa_supplicant as an application, the user
#    certificate store (My user account) is used, whereas computer store
#    (Computer account) is used when running wpasvc as a service.
# ca_path: Directory path for CA certificate files (PEM). This path may
#    contain multiple CA certificates in OpenSSL format. Common use for this
#    is to point to system trusted CA list which is often installed into
#    directory like /etc/ssl/certs. If configured, these certificates are
#    added to the list of trusted CAs. ca_cert may also be included in that
#    case, but it is not required.
# client_cert: File path to client certificate file (PEM/DER)
#    Full path should be used since working directory may change when
#    wpa_supplicant is run in the background.
#    Alternatively, a named configuration blob can be used by setting this
#    to blob://<blob name>.
# private_key: File path to client private key file (PEM/DER/PFX)
#    When PKCS#12/PFX file (.p12/.pfx) is used, client_cert should be
#    commented out. Both the private key and certificate will be read from
#    the PKCS#12 file in this case. Full path should be used since working
#    directory may change when wpa_supplicant is run in the background.
#    Windows certificate store can be used by leaving client_cert out and
#    configuring private_key in one of the following formats:
#    cert://substring_to_match
#    hash://certificate_thumbprint_in_hex
#    for example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
#    Note that when running wpa_supplicant as an application, the user
#    certificate store (My user account) is used, whereas computer store
#    (Computer account) is used when running wpasvc as a service.
#    Alternatively, a named configuration blob can be used by setting this
#    to blob://<blob name>.
# private_key_passwd: Password for private key file (if left out, this will be
#    asked through control interface)
# dh_file: File path to DH/DSA parameters file (in PEM format)
#    This is an optional configuration file for setting parameters for an
#    ephemeral DH key exchange. In most cases, the default RSA
#    authentication does not use this configuration. However, it is possible
#    setup RSA to use ephemeral DH key exchange. In addition, ciphers with
#    DSA keys always use ephemeral DH keys. This can be used to achieve
#    forward secrecy. If the file is in DSA parameters format, it will be
#    automatically converted into DH params.
# subject_match: Substring to be matched against the subject of the
#    authentication server certificate. If this string is set, the server
#    sertificate is only accepted if it contains this string in the subject.
#    The subject string is in following format:
#    /C=US/ST=CA/L=San Francisco/CN=Test AS/emailAddress=as@example.com
# altsubject_match: Semicolon separated string of entries to be matched against
#    the alternative subject name of the authentication server certificate.
#    If this string is set, the server sertificate is only accepted if it
#    contains one of the entries in an alternative subject name extension.
#    altSubjectName string is in following format: TYPE:VALUE
#    Example: EMAIL:server@example.com
#    Example: DNS:server.example.com;DNS:server2.example.com
#    Following types are supported: EMAIL, DNS, URI
# phase1: Phase1 (outer authentication, i.e., TLS tunnel) parameters
#    (string with field-value pairs, e.g., "peapver=0" or
#    "peapver=1 peaplabel=1")
#    'peapver' can be used to force which PEAP version (0 or 1) is used.
#    'peaplabel=1' can be used to force new label, "client PEAP encryption",
#    to be used during key derivation when PEAPv1 or newer. Most existing
#    PEAPv1 implementation seem to be using the old label, "client EAP
#    encryption", and wpa_supplicant is now using that as the default value.
#    Some servers, e.g., Radiator, may require peaplabel=1 configuration to
#    interoperate with PEAPv1; see eap_testing.txt for more details.
#    'peap_outer_success=0' can be used to terminate PEAP authentication on
#    tunneled EAP-Success. This is required with some RADIUS servers that
#    implement draft-josefsson-pppext-eap-tls-eap-05.txt (e.g.,
#    Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" mode)
#    include_tls_length=1 can be used to force wpa_supplicant to include
#    TLS Message Length field in all TLS messages even if they are not
#    fragmented.
#    sim_min_num_chal=3 can be used to configure EAP-SIM to require three
#    challenges (by default, it accepts 2 or 3)
#    result_ind=1 can be used to enable EAP-SIM and EAP-AKA to use
#    protected result indication.
#    'crypto_binding' option can be used to control PEAPv0 cryptobinding
#    behavior:
#     * 0 = do not use cryptobinding (default)
#     * 1 = use cryptobinding if server supports it
#     * 2 = require cryptobinding
#    EAP-WSC (WPS) uses following options: pin=<Device Password> or
#    pbc=1.
# phase2: Phase2 (inner authentication with TLS tunnel) parameters
#    (string with field-value pairs, e.g., "auth=MSCHAPV2" for EAP-PEAP or
#    "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS)
# Following certificate/private key fields are used in inner Phase2
# authentication when using EAP-TTLS or EAP-PEAP.
# ca_cert2: File path to CA certificate file. This file can have one or more
#    trusted CA certificates. If ca_cert2 and ca_path2 are not included,
#    server certificate will not be verified. This is insecure and a trusted
#    CA certificate should always be configured.
# ca_path2: Directory path for CA certificate files (PEM)
# client_cert2: File path to client certificate file
# private_key2: File path to client private key file
# private_key2_passwd: Password for private key file
# dh_file2: File path to DH/DSA parameters file (in PEM format)
# subject_match2: Substring to be matched against the subject of the
#    authentication server certificate.
# altsubject_match2: Substring to be matched against the alternative subject
#    name of the authentication server certificate.
#
# fragment_size: Maximum EAP fragment size in bytes (default 1398).
#    This value limits the fragment size for EAP methods that support
#    fragmentation (e.g., EAP-TLS and EAP-PEAP). This value should be set
#    small enough to make the EAP messages fit in MTU of the network
#    interface used for EAPOL. The default value is suitable for most
#    cases.
#
# EAP-FAST variables:
# pac_file: File path for the PAC entries. wpa_supplicant will need to be able
#    to create this file and write updates to it when PAC is being
#    provisioned or refreshed. Full path to the file should be used since
#    working directory may change when wpa_supplicant is run in the
#    background. Alternatively, a named configuration blob can be used by
#    setting this to blob://<blob name>
# phase1: fast_provisioning option can be used to enable in-line provisioning
#         of EAP-FAST credentials (PAC):
#         0 = disabled,
#         1 = allow unauthenticated provisioning,
#         2 = allow authenticated provisioning,
#         3 = allow both unauthenticated and authenticated provisioning
#    fast_max_pac_list_len=<num> option can be used to set the maximum
#        number of PAC entries to store in a PAC list (default: 10)
#    fast_pac_format=binary option can be used to select binary format for
#        storing PAC entries in order to save some space (the default
#        text format uses about 2.5 times the size of minimal binary
#        format)
#
# wpa_supplicant supports number of "EAP workarounds" to work around
# interoperability issues with incorrectly behaving authentication servers.
# These are enabled by default because some of the issues are present in large
# number of authentication servers. Strict EAP conformance mode can be
# configured by disabling workarounds with eap_workaround=0.

# Example blocks:

# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
# network={
#     ssid="simple"
#     psk="very secret passphrase"
#     priority=5
# }

# Same as previous, but request SSID-specific scanning (for APs that reject
# broadcast SSID)
# network={
#     ssid="second ssid"
#     scan_ssid=1
#     psk="very secret passphrase"
#     priority=2
# }

# Only WPA-PSK is used. Any valid cipher combination is accepted.
# network={
#     ssid="example"
#     proto=WPA
#     key_mgmt=WPA-PSK
#     pairwise=CCMP TKIP
#     group=CCMP TKIP WEP104 WEP40
#     psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
#     priority=2
# }

# WPA-Personal(PSK) with TKIP and enforcement for frequent PTK rekeying
# network={
#     ssid="example"
#     proto=WPA
#     key_mgmt=WPA-PSK
#     pairwise=TKIP
#     group=TKIP
#     psk="not so secure passphrase"
#     wpa_ptk_rekey=600
# }

# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An AP that used WEP104
# or WEP40 as the group cipher will not be accepted.
# network={
#     ssid="example"
#     proto=RSN
#     key_mgmt=WPA-EAP
#     pairwise=CCMP TKIP
#     group=CCMP TKIP
#     eap=TLS
#     identity="user@example.com"
#     ca_cert="/etc/cert/ca.pem"
#     client_cert="/etc/cert/user.pem"
#     private_key="/etc/cert/user.prv"
#     private_key_passwd="password"
#     priority=1
# }

# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the new peaplabel
# (e.g., Radiator)
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=PEAP
#     identity="user@example.com"
#     password="foobar"
#     ca_cert="/etc/cert/ca.pem"
#     phase1="peaplabel=1"
#     phase2="auth=MSCHAPV2"
#     priority=10
# }

# EAP-TTLS/EAP-MD5-Challenge configuration with anonymous identity for the
# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=TTLS
#     identity="user@example.com"
#     anonymous_identity="anonymous@example.com"
#     password="foobar"
#     ca_cert="/etc/cert/ca.pem"
#     priority=2
# }

# EAP-TTLS/MSCHAPv2 configuration with anonymous identity for the unencrypted
# use. Real identity is sent only within an encrypted TLS tunnel.
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=TTLS
#     identity="user@example.com"
#     anonymous_identity="anonymous@example.com"
#     password="foobar"
#     ca_cert="/etc/cert/ca.pem"
#     phase2="auth=MSCHAPV2"
# }

# WPA-EAP, EAP-TTLS with different CA certificate used for outer and inner
# authentication.
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=TTLS
#     # Phase1 / outer authentication
#     anonymous_identity="anonymous@example.com"
#     ca_cert="/etc/cert/ca.pem"
#     # Phase 2 / inner authentication
#     phase2="autheap=TLS"
#     ca_cert2="/etc/cert/ca2.pem"
#     client_cert2="/etc/cer/user.pem"
#     private_key2="/etc/cer/user.prv"
#     private_key2_passwd="password"
#     priority=2
# }

# Both WPA-PSK and WPA-EAP is accepted. Only CCMP is accepted as pairwise and
# group cipher.
# network={
#     ssid="example"
#     bssid=00:11:22:33:44:55
#     proto=WPA RSN
#     key_mgmt=WPA-PSK WPA-EAP
#     pairwise=CCMP
#     group=CCMP
#     psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
# }

# Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
# and all valid ciphers.
# network={
#     ssid=00010203
#     psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
# }


# EAP-SIM with a GSM SIM or USIM
# network={
#     ssid="eap-sim-test"
#     key_mgmt=WPA-EAP
#     eap=SIM
#     pin="1234"
#     pcsc=""
# }


# EAP-PSK
# network={
#     ssid="eap-psk-test"
#     key_mgmt=WPA-EAP
#     eap=PSK
#     anonymous_identity="eap_psk_user"
#     password=06b4be19da289f475aa46a33cb793029
#     identity="eap_psk_user@example.com"
# }


# IEEE 802.1X/EAPOL with dynamically generated WEP keys (i.e., no WPA) using
# EAP-TLS for authentication and key generation; require both unicast and
# broadcast WEP keys.
# network={
#     ssid="1x-test"
#     key_mgmt=IEEE8021X
#     eap=TLS
#     identity="user@example.com"
#     ca_cert="/etc/cert/ca.pem"
#     client_cert="/etc/cert/user.pem"
#     private_key="/etc/cert/user.prv"
#     private_key_passwd="password"
#     eapol_flags=3
# }


# LEAP with dynamic WEP keys
# network={
#     ssid="leap-example"
#     key_mgmt=IEEE8021X
#     eap=LEAP
#     identity="user"
#     password="foobar"
# }

# EAP-IKEv2 using shared secrets for both server and peer authentication
# network={
#     ssid="ikev2-example"
#     key_mgmt=WPA-EAP
#     eap=IKEV2
#     identity="user"
#     password="foobar"
# }

# EAP-FAST with WPA (WPA or WPA2)
# network={
#     ssid="eap-fast-test"
#     key_mgmt=WPA-EAP
#     eap=FAST
#     anonymous_identity="FAST-000102030405"
#     identity="username"
#     password="password"
#     phase1="fast_provisioning=1"
#     pac_file="/etc/wpa_supplicant.eap-fast-pac"
# }

# network={
#     ssid="eap-fast-test"
#     key_mgmt=WPA-EAP
#     eap=FAST
#     anonymous_identity="FAST-000102030405"
#     identity="username"
#     password="password"
#     phase1="fast_provisioning=1"
#     pac_file="blob://eap-fast-pac"
# }

# Plaintext connection (no WPA, no IEEE 802.1X)
# network={
#     ssid="plaintext-test"
#     key_mgmt=NONE
# }


# Shared WEP key connection (no WPA, no IEEE 802.1X)
# network={
#     ssid="static-wep-test"
#     key_mgmt=NONE
#     wep_key0="abcde"
#     wep_key1=0102030405
#     wep_key2="1234567890123"
#     wep_tx_keyidx=0
#     priority=5
# }


# Shared WEP key connection (no WPA, no IEEE 802.1X) using Shared Key
# IEEE 802.11 authentication
# network={
#     ssid="static-wep-test2"
#     key_mgmt=NONE
#     wep_key0="abcde"
#     wep_key1=0102030405
#     wep_key2="1234567890123"
#     wep_tx_keyidx=0
#     priority=5
#     auth_alg=SHARED
# }


# IBSS/ad-hoc network with WPA-None/TKIP.
# network={
#     ssid="test adhoc"
#     mode=1
#     frequency=2412
#     proto=WPA
#     key_mgmt=WPA-NONE
#     pairwise=NONE
#     group=TKIP
#     psk="secret passphrase"
# }


# Catch all example that allows more or less all configuration modes
# network={
#     ssid="example"
#     scan_ssid=1
#     key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
#     pairwise=CCMP TKIP
#     group=CCMP TKIP WEP104 WEP40
#     psk="very secret passphrase"
#     eap=TTLS PEAP TLS
#     identity="user@example.com"
#     password="foobar"
#     ca_cert="/etc/cert/ca.pem"
#     client_cert="/etc/cert/user.pem"
#     private_key="/etc/cert/user.prv"
#     private_key_passwd="password"
#     phase1="peaplabel=0"
# }

# Example of EAP-TLS with smartcard (openssl engine)
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=TLS
#     proto=RSN
#     pairwise=CCMP TKIP
#     group=CCMP TKIP
#     identity="user@example.com"
#     ca_cert="/etc/cert/ca.pem"
#     client_cert="/etc/cert/user.pem"
#
#     engine=1
#
#     # The engine configured here must be available. Look at
#     # OpenSSL engine support in the global section.
#     # The key available through the engine must be the private key
#     # matching the client certificate configured above.
#
#     # use the opensc engine
#     #engine_id="opensc"
#     #key_id="45"
#
#     # use the pkcs11 engine
#     engine_id="pkcs11"
#     key_id="id_45"
#
#     # Optional PIN configuration; this can be left out and PIN will be
#     # asked through the control interface
#     pin="1234"
# }

# Example configuration showing how to use an inlined blob as a CA certificate
# data instead of using external file
# network={
#     ssid="example"
#     key_mgmt=WPA-EAP
#     eap=TTLS
#     identity="user@example.com"
#     anonymous_identity="anonymous@example.com"
#     password="foobar"
#     ca_cert="blob://exampleblob"
#     priority=20
# }

blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}


# Wildcard match for SSID (plaintext APs only). This example select any
# open AP regardless of its SSID.
# network={
#     key_mgmt=NONE
# }

network={
    key_mgmt=NONE
    mode=0
    ssid="TPU Public"
    priority=1
    auth_alg=OPEN
    proto=RSN WPA
    group=CCMP TKIP
    pairwise=CCMP TKIP
    scan_ssid=1
    eap=PEAP
    password="xxxxxx"
    identity="xxxxxxxxx"
}

network={
    key_mgmt=WPA-EAP IEEE8021X NONE
    proto=WPA
    eap=GTC
    group=TKIP
    scan_ssid=1
    mode=0
    ssid="dom"
    pairwise=TKIP
}

люди добрые памагите!!!!!

32

odin, я тут на форуме вычитал что ndiswrapper и родные Linuxовые заведомо не рабочая комбинация, а мне при настройке из иксов предлагает обе. Но я ndiswrapper ни разу не выбирал для настройки соединения, может его совсем открутить как-нибудь можно (нужно)? или это функция системы и на неё не стоит обращать внимание

33

можно

34

неужели ни кто не может предположить в чем причина не работоспособности. На том конце Cisco. Может в этом проблема?

35

odin, нашел следующую вещь:

odin пишет:

вы пароль в открытом виде указали?... если да то вам нужно сгенерировать его с помощью wpa_passphrase

 Консоль:
wpa_passphrase ZX_600 <ваш пароль>
полученный ключ записать в wpa_supplicant.conf

может у меня подобная проблема ведь

odin пишет:

таки гут.... драйвер есть... интерфейс на месте... сеть через интерфейс сканируется ... я так полагаю дело в настройке... ? какие ошибки?

в связи с чем вопрос, мне что вместо ZX_600 прописать для генерации пароля?

36

Добрый день. Глянь пожалуйста мои файлы, может появятся какие-нибудь соображения. Я в отчаянии, почти смирился с отсутствием подключения. Может у меня что-то с правилами случилось т.к. при попытке поднять wi-fi сеть пишет сеть опущена на ppp (usb-3g-modem) или eth0 (lan) вместо wlan.

товарищ.... выпутаетесь в показаниях....  у вас при включении wi-fi отваливается eth0 и ppp ??... сам wifi при этом работает?

37 (31.03.2011 06:40:38 отредактировано WoW)

odin, ну их нет как таковых, точнее в "трее" (простите за виндозную терминалогию) есть сетевой центр там постоянно есть etho (проводная связь) и если включить Беспроводная связь (wi-fi), но они ни куда не подключены (сети нет). Есть ещё usb-3g-modem, если его воткнуть в usb-шник, то естественно появляется GPRS/Edge/3G huawei mobile. Так вот исходная схема: к сетевке (провода) ничего не подключено, usb-3g-modem не вставлен, wi-fi адптер (как устройство) включен (в настройках "галка" снята с "подключаться при загрузке"), т.е. нет ни какой сети (сеть опущена на всех интерфейсах). Далее нажимаю сетевой центр (возле часов в трее), выбираю wi-fi поиск доступных сетей (тут тоже интересное дело иногда уровень сигнала ниже плинтуса, при повторном поиске становится отличный) выбираю свою сеть из появившегося списка тыкаю подключиться, он (компьютер) а может она (mandriva)  smile , пытаются подключиться и в это время проскакивает всплыващее сообщение (из трея где иконка/виджет/аплет, я не знаю как правильно обозвать в голове от этого гемора сплошная каша) "сеть опущена на интерфейсе eth0 или pppo, когда как т.е. я не выявил закономерности. А может они оба проскакивают и только я замечаю одно из них. После там где окно сетевого центра всплывает окошко с надписью "ошибка подключения сбой" однажды видел "сбой подключения не удалось получить ip у DHCP". Так что отваливать пока не чему за отсутствием... Что больше всего бесит, так это то что один день сеть была и нормально подключался/отключался несколько раз (ну чисто для проверки, не мог поверить что это не сон). Какие ещё действия предпринять? С манами у меня тяжело не понимаю я по ихнему не фига.

PS: usb-3g-modem работает, выполнил действия как описано здесь на сайте безо всяких танцев с бубном заработал причем на разных сетях (TELE2 и MTS, причем как под мандривой так и под виндой).

38

так.... давай следующим образом.... модем отключаем.... открываем консоль и пишем..

 Консоль:

# ifdown eth0
# ifup wlan0

после чего
 Консоль:

# ifconfig

все что будет выдавать сюда...

39 (27.03.2011 12:02:49 отредактировано WoW)

odin, вот что получилось:

 Консоль:

#ifdown eth0
Interface "eth0" is already disabled.
Запуск vnstatd:

далее
 Консоль:

#ifup wlan0
Wireless device wlan0 is configured with a roaming daemon but isn't associated

Determining IP information for wlan0... failed; no link present.  Check cable?


и
 Консоль:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:F5:9E:8B:11 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0xdead

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2074 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2074 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:150577 (147.0 KiB)  TX bytes:150577 (147.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 1C:4B:D6:26:CD:F7 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

PS: по поводу ndiswrapper как его правильнее открутить?

40

 Консоль:
# rfkill list

если ругнется что команда отсутствует нужно установить....

41

odin, попробовал подключиться к wi-fi, долго думала потом выдало сообщение сеть поднята, через 2-3 секунды сеть опущена на wlan0, повторные попытки удачи не принесли, упрямо писала что сеть опущена на pppo, [CENSORED]...

 Консоль:

# rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

42

как же с вами сложно... лана... давай так... модем из бука достать... что бы не мешал

 Консоль:
ifdown eth0
ifdown wlan0

открываем /etc/wpa_supplicant.conf на редактирование и меняем

auth_alg=OPEN
    proto=RSN WPA
    group=CCMP TKIP
    pairwise=CCMP TKIP
    scan_ssid=1
    eap=PEAP
    password="xxxxxx"
    identity="xxxxxxxxx"

на

        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk="ВАШ ПАРОЛЬ"

далее

 Консоль:

# wpa_supplicant -d -c/etc/wpa_supplicant.conf -iwlan0 -Dwext
# dhclient wlan0

43 (09.04.2011 08:59:45 отредактировано WoW)

odin, меня огорчает и оскорбляет ваше высказывание

 "как же с вами сложно... лана... давай так... модем из бука достать... что бы не мешал"

я что совсем нуб по вашему? ясно что модема я в бук не вставлено! По крайне мере usb-3g-modem, а встроенный проводной мне откручивать не надо я надеюсь. Пожалуйста внимательно прочитайте мой пост №37. Рекомендации 42 поста смогу выполнить после 5 апреля (уехал по работе)

44

odin, добрый день. Выполнил рекомендации 42 поста - не помогло. при попытке теперь пишет сеть опущена на аналоговом модеме, я не могу понять почему она вместо wi-fi лезет к аналоговому модему, где может быть прописана переадресация

45 (11.04.2011 14:54:03 отредактировано WoW)

odin, повторил всё по новому т.е. все рекомендации этой темы форума...

+ открыть спойлер

 Консоль:

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:90:F5:9E:8B:11 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0xdead

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2544 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:194570 (190.0 KiB)  TX bytes:194570 (190.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 1C:4B:D6:26:CD:F7 
          inet6 addr: fe80::1e4b:d6ff:fe26:cdf7/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1353 (1.3 KiB)  TX bytes:3596 (3.5 KiB)

# lspci -k
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
        Subsystem: CLEVO/KAPOK Computer Device 0802
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
        Subsystem: CLEVO/KAPOK Computer Device 0802
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: pata_sis                                                                                             
        Kernel modules: sis5513, pata_sis
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: sis190
        Kernel modules: sis190
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: sata_sis
        Kernel modules: sata_sis
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
01:00.0 VGA compatible controller: nVidia Corporation G98M [GeForce G 105M] (rev a1)
        Subsystem: CLEVO/KAPOK Computer Device 0802
        Kernel driver in use: nvidia
        Kernel modules: nvidia-current, nvidiafb, nouveau
03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev ff)
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev ff)
        Kernel modules: sdhci-pci
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev ff)
        Kernel driver in use: jmb38x_ms
        Kernel modules: jmb38x_ms

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
Bus 001 Device 003: ID 8564:1000 
Bus 001 Device 004: ID 5986:0241 Acer, Inc
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# iwlist scan
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:1C:F9:72:A8:61
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-7 dBm 
                    Encryption key:on
                    ESSID:"TPU Public"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000004e3580b034
                    Extra: Last beacon: 202ms ago
                    IE: Unknown: 000A545055205075626C6963
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 030101
                    IE: Unknown: 0706525520010D14
                    IE: Unknown: 0B050100010000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096000E00
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C012220E76431252F010000E434000000006FCB70DA2937704A
          Cell 02 - Address: 00:1C:F9:72:A8:60
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-8 dBm 
                    Encryption key:off
                    ESSID:"TPU Guest"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000004e352ce059
                    Extra: Last beacon: 5646ms ago
                    IE: Unknown: 0009545055204775657374
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 030101
                    IE: Unknown: 0706525520010D14
                    IE: Unknown: 0B050100010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 3603721003
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096000E00
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961400
                    IE: Unknown: DD1D0040960C012220186531252F010000E334000000003421C922631F8BC9
          Cell 03 - Address: 00:1C:F9:72:A8:62
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-8 dBm 
                    Encryption key:on
                    ESSID:"TPU Hostels"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000004e352d42ab
                    Extra: Last beacon: 5645ms ago
                    IE: Unknown: 000B54505520486F7374656C73
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 030101
                    IE: Unknown: 0706525520010D14
                    IE: Unknown: 0B050100010000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096000E00
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C012220FF6431252F010000E53400000000DDF8426075C2C092
          Cell 04 - Address: 00:1C:F9:72:A8:66
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-8 dBm 
                    Encryption key:on
                    ESSID:"TPU VIP"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000004e352d7404
                    Extra: Last beacon: 5645ms ago
                    IE: Unknown: 000754505520564950
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 030101
                    IE: Unknown: 0706525520010D14
                    IE: Unknown: 0B050100010000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096000E00
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C012220F36431252F010000E634000000009773904C8B10372B
          Cell 05 - Address: 00:1D:46:25:05:70
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-7 dBm 
                    Encryption key:off
                    ESSID:"TPU Guest"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000003b4f5412f4
                    Extra: Last beacon: 1019ms ago
                    IE: Unknown: 0009545055204775657374
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706555320010B1E
                    IE: Unknown: 0B050100000000
                    IE: Unknown: 2A0100
                    IE: Unknown: 3603721003
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096001100
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961400
                    IE: Unknown: DD1D0040960C01C7EC49F1072A2F0100001A2000000000E9F88EAE03C997C6
          Cell 06 - Address: 00:1D:46:25:05:71
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-7 dBm 
                    Encryption key:on
                    ESSID:"TPU Public"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000003b4f54d42e
                    Extra: Last beacon: 1019ms ago
                    IE: Unknown: 000A545055205075626C6963
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706555320010B1E
                    IE: Unknown: 0B050100000000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096001100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C01C7EC18F1072A2F0100001B2000000000D159515B8E6EC5CD
          Cell 07 - Address: 00:1D:46:25:05:72
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-7 dBm 
                    Encryption key:on
                    ESSID:"TPU Hostels"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000003b4f54755c
                    Extra: Last beacon: 1019ms ago
                    IE: Unknown: 000B54505520486F7374656C73
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706555320010B1E
                    IE: Unknown: 0B050100000000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096001100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C01C7EC30F1072A2F0100001C2000000000C1E7BE975AE9CE5A
          Cell 08 - Address: 00:1D:46:25:05:76
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-7 dBm 
                    Encryption key:on
                    ESSID:"TPU VIP"
                    Bit Rates:12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s
                              54 Mb/s
                    Mode:Master
                    Extra:tsf=0000003b4f54a6a1
                    Extra: Last beacon: 1018ms ago
                    IE: Unknown: 000754505520564950
                    IE: Unknown: 010698243048606C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706555320010B1E
                    IE: Unknown: 0B050100000000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 851E00008F000F00FF0359004C49422D666C6F6F722E582E726F6F0001000027
                    IE: Unknown: 9606004096001100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003000000270000004200000072000000
                    IE: Unknown: DD06004096010104
                    IE: Unknown: DD050040960305
                    IE: Unknown: DD050040960B09
                    IE: Unknown: DD050040961401
                    IE: Unknown: DD1D0040960C01C7EC24F1072A2F0100001D2000000000EE1738B8A66B1339

eth0      Interface doesn't support scanning.

# lsmod
Module                  Size  Used by
af_packet              15914  2
nls_iso8859_1           3249  1
nls_cp437               4919  1
vfat                    8513  1
fat                    47218  1 vfat
ipt_IFWLOG              2002  2
ipt_psd                43043  1
cls_flow                6501  0
cls_fw                  3283  0
cls_u32                 5536  0
sch_htb                13384  0
sch_hfsc               16513  0
sch_ingress             1458  0
sch_sfq                 4823  0
xt_time                 1805  0
xt_connlimit            2948  0
xt_realm                 714  0
iptable_raw             1774  0
xt_comment               720  18
xt_recent               8098  0
xt_policy               2158  0
ipt_ULOG                7490  0
ipt_REJECT              1933  4
ipt_REDIRECT            1494  0
ipt_NETMAP              1454  0
ipt_MASQUERADE          2016  0
ipt_ECN                 1537  0
ipt_ecn                 1121  0
ipt_CLUSTERIP           5761  0
ipt_ah                   893  0
ipt_addrtype            1631  2
nf_nat_tftp              684  0
nf_nat_snmp_basic       7519  0
nf_nat_sip              5076  0
nf_nat_pptp             3942  0
nf_nat_proto_gre        2254  1 nf_nat_pptp
nf_nat_irc              1380  0
nf_nat_h323             7735  0
nf_nat_ftp              2604  0
nf_nat_amanda            846  0
ts_kmp                  1565  5
nf_conntrack_amanda     2217  1 nf_nat_amanda
nf_conntrack_sane       4265  0
nf_conntrack_tftp       3600  1 nf_nat_tftp
nf_conntrack_sip       15796  1 nf_nat_sip
nf_conntrack_proto_sctp    10441  0
nf_conntrack_pptp       9891  1 nf_nat_pptp
nf_conntrack_proto_gre     5684  1 nf_conntrack_pptp
nf_conntrack_netlink    14883  0
nf_conntrack_netbios_ns     1254  0
nf_conntrack_irc        4231  1 nf_nat_irc
nf_conntrack_h323      57320  1 nf_nat_h323
nf_conntrack_ftp       10125  1 nf_nat_ftp
ipt_set                 1143  2
ipt_SET                 1335  0
ip_set_nethash          7507  0
ip_set_iptreemap        7764  0
ip_set_iptree           4861  2
ip_set_ipporthash       6508  0
ip_set_portmap          3164  0
ip_set_macipmap         3018  0
ip_set_ipmap            3040  0
ip_set_iphash           5833  0
ip_set                 13331  18 ipt_set,ipt_SET,ip_set_nethash,ip_set_iptreemap,ip_set_iptree,ip_set_ipporthash,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_TPROXY               1870  0
nf_tproxy_core          2056  1 xt_TPROXY,[permanent]
xt_tcpmss               1197  0
xt_pkttype               848  0
xt_physdev              1507  0
xt_owner                 906  0
xt_NFQUEUE              1776  0
xt_NFLOG                 841  0
nfnetlink_log           7208  1 xt_NFLOG
xt_multiport            2314  4
xt_MARK                  743  1
xt_mark                  711  0
xt_mac                   772  0
xt_limit                1382  0
xt_length                936  0
xt_iprange              1902  0
xt_helper               1071  0
xt_hashlimit            8012  0
xt_DSCP                 1677  0
xt_dscp                 1301  0
xt_dccp                 1797  0
xt_conntrack            2302  12
xt_CONNMARK             1145  0
xt_connmark              985  0
xt_CLASSIFY              723  0
ipt_LOG                 4831  5
xt_tcpudp               2075  11
xt_state                1098  1
iptable_nat             5407  0
nf_nat                 18994  12 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat
nf_conntrack_ipv4      12757  16 iptable_nat,nf_nat
nf_defrag_ipv4          1073  2 xt_TPROXY,nf_conntrack_ipv4
nf_conntrack           69310  31 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          2803  1
nfnetlink               3266  2 nf_conntrack_netlink,nfnetlink_log
iptable_filter          2271  1
ip_tables               9891  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables               14299  48 ipt_IFWLOG,ipt_psd,xt_time,xt_connlimit,xt_realm,xt_comment,xt_recent,xt_policy,ipt_ULOG,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,ipt_set,ipt_SET,xt_TPROXY,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,ipt_LOG,xt_tcpudp,xt_state,iptable_nat,ip_tables
nfsd                  237383  13
exportfs                3341  1 nfsd
nfs                   266295  0
lockd                  64732  2 nfsd,nfs
fscache                53686  1 nfs
nfs_acl                 2245  2 nfsd,nfs
auth_rpcgss            32964  2 nfsd,nfs
sunrpc                191517  16 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
ipv6                  265413  36
snd_hda_codec_realtek   219464  1
snd_hda_intel          22717  2
snd_hda_codec          79871  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5700  1 snd_hda_codec
snd_seq_dummy           1370  0
snd_seq_oss            30465  0
snd_seq_midi_event      6003  1 snd_seq_oss
snd_seq                50859  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6084  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            41415  0
snd_pcm                76689  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              18943  2 snd_seq,snd_pcm
snd_mixer_oss          14278  1 snd_pcm_oss
sdhci_pci               6322  0
snd                    57638  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
sdhci                  17689  1 sdhci_pci
soundcore               6619  1 snd
snd_page_alloc          7108  2 snd_hda_intel,snd_pcm
mmc_core               62556  1 sdhci
sr_mod                 13814  0
jmb38x_ms              11242  0
serio_raw               4073  0
sis190                 14282  0
memstick                9035  1 jmb38x_ms
mii                     4381  1 sis190
binfmt_misc             6369  1
fuse                   56418  6
sg                     25341  0
uvcvideo               56497  0
arc4                    1153  2
videodev               36601  1 uvcvideo
v4l1_compat            13315  2 uvcvideo,videodev
ecb                     1679  2
nvidia               9381900  44
i2c_core               24741  2 videodev,nvidia
usb_storage            40343  1
cpufreq_ondemand        8082  2
cpufreq_conservative     9394  0
cpufreq_powersave        754  0
acpi_cpufreq            6293  0
freq_table              3383  2 cpufreq_ondemand,acpi_cpufreq
nvram                   6076  0
rtl8187                48886  0
mac80211              165049  1 rtl8187
led_class               2832  2 sdhci,rtl8187
ohci_hcd               29401  0
cfg80211              122795  2 rtl8187,mac80211
rfkill                 15794  1 cfg80211
eeprom_93cx6            1333  1 rtl8187
joydev                  8423  0
dm_mod                 62953  0
ehci_hcd               46369  0
evdev                   7403  14
usbcore               176556  6 uvcvideo,usb_storage,rtl8187,ohci_hcd,ehci_hcd
thermal                10871  0
video                  17149  0
button                  4709  0
ac                      2638  0
output                  1871  1 video
wmi                     6633  0
processor              30045  3 acpi_cpufreq
battery                 8220  0
ata_generic             2551  0
ide_pci_generic         2430  0
ide_gd_mod             23741  0
ide_core               98019  2 ide_pci_generic,ide_gd_mod
pata_acpi               2579  0
sata_sis                3364  3
pata_sis                8725  1 sata_sis
libata                168593  4 ata_generic,pata_acpi,sata_sis,pata_sis
sd_mod                 33309  6
scsi_mod              146689  5 sr_mod,sg,usb_storage,libata,sd_mod
crc_t10dif              1251  1 sd_mod
ext4                  320503  1
jbd2                   71640  1 ext4
crc16                   1339  1 ext4

# ifdown eth0
Перезагружается конфигурация vnstatd:                                                                               [   ОК  ]

# ifup wlan0

Determining IP information for wlan0... failed.

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:F5:9E:8B:11 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0xdead

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2648 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2648 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:204010 (199.2 KiB)  TX bytes:204010 (199.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 1C:4B:D6:26:CD:F7 
          inet6 addr: fe80::1e4b:d6ff:fe26:cdf7/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:91 errors:0 dropped:0 overruns:0 frame:0
          TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4449 (4.3 KiB)  TX bytes:12030 (11.7 KiB)

# rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

PS не ужели мне ни кто не подскажет в чем может быть проблема....

46 (12.04.2011 15:07:23 отредактировано WoW)

Вчера вечером опять случилось чудо, сеть поднялась и нормально работала. Сегодня тоже работает пока... Я вот тут подумал не могло ли это (самопроизвольное пропадание сети и непонятные сообщения про "сеть опущена на аналоговом модеме" вместо wlan) как-то связано с настройкой и подключением через usb-3g-modem. Я даже боюсь теперь пользоваться и-нетом через модем, а вдруг опять wi-fi пропадёт. Люди добрые подскажите где это посмотреть можно и как избежать подобных проблем в будущем т.к. мне оба интерфейса нужны.

47

Determining IP information for wlan0... failed.

говорит о том что у вас проблемы при получении ip адреса от dhcp сервера.... по пробуй по возможности использовать статику.... по поводу последнего поста.... вам просто нужно правильно настроить маршрутизацию ..... что касается "сеть опущена на аналоговом модеме", то это нормально... при подключении wifi маршрут по умолчанию отбирется у модема... по сему и появляется данное сообщение... покажите

 Консоль:
# ll /etc/sysconfig/network-scripts/
# route -n

вторую команду до и после попытки поднять wifi....

48 (13.04.2011 14:49:24 отредактировано WoW)

odin,перейти на статику не могу т.к. wi-fi я только пользую и к роутеру мне не добраться, и самое интересное сегодня опять работает нормально...

вам просто нужно правильно настроить маршрутизацию

А как правильно настроить там же всё автоматически должно работать по крайне мере получение адреса.
вот что выдало

+ открыть спойлер

 Консоль:

# ll /etc/sysconfig/network-scripts/
итого 244
drwxr-xr-x 2 root root  4096 2011-03-27 01:37 cellular.d/
-rwxr-xr-x 1 root root   344 2011-03-27 22:09 chat-ppp0*
drwxr-xr-x 2 root root  4096 2011-02-26 04:00 hostname.d/
-rwxr-xr-x 1 root root   318 2011-03-24 20:51 ifcfg-eth0*
-rw-r--r-- 1 root root   254 2009-09-14 23:38 ifcfg-lo
-rwxr-xr-x 1 root root   149 2011-03-27 22:09 ifcfg-ppp0*
-rwx------ 1 root root   354 2011-04-13 15:08 ifcfg-wlan0*
lrwxrwxrwx 1 root root    20 2011-02-25 20:24 ifdown -> ../../../sbin/ifdown*
-rwxr-xr-x 1 root root   651 2010-06-23 16:56 ifdown-bnep*
drwxr-xr-x 2 root root  4096 2011-02-25 20:33 ifdown.d/
-rwxr-xr-x 1 root root  5526 2010-06-23 16:56 ifdown-eth*
-rwxr-xr-x 1 root root  1225 2010-06-23 16:56 ifdown-hso*
-rwxr-xr-x 1 root root  4246 2009-09-14 23:38 ifdown-ipv6*
-rwxr-xr-x 1 root root  1612 2010-06-23 16:56 ifdown-post*
-rwxr-xr-x 1 root root  1157 2010-06-23 16:56 ifdown-ppp*
-rwxr-xr-x 1 root root   651 2009-09-14 23:38 ifdown-routes*
-rwxr-xr-x 1 root root  1367 2009-09-14 23:38 ifdown-sit*
-rwxr-xr-x 1 root root  1455 2010-06-23 16:56 ifdown-tunnel*
lrwxrwxrwx 1 root root    18 2011-02-25 20:24 ifup -> ../../../sbin/ifup*
-rwxr-xr-x 1 root root 13454 2009-09-14 23:38 ifup-aliases*
-rwxr-xr-x 1 root root   883 2010-06-23 16:56 ifup-bnep*
drwxr-xr-x 2 root root  4096 2011-02-25 20:33 ifup.d/
-rwxr-xr-x 1 root root 17613 2010-06-23 16:56 ifup-eth*
-rwxr-xr-x 1 root root  1883 2010-06-23 16:56 ifup-hso*
-rwxr-xr-x 1 root root 10846 2010-06-23 16:56 ifup-ipv6*
-rwxr-xr-x 1 root root   822 2009-09-14 23:38 ifup-ipx*
-rwxr-xr-x 1 root root   727 2009-09-14 23:38 ifup-plip*
-rwxr-xr-x 1 root root   954 2009-09-14 23:38 ifup-plusb*
-rwxr-xr-x 1 root root  2795 2010-06-23 16:56 ifup-post*
-rwxr-xr-x 1 root root  5003 2010-06-23 16:56 ifup-ppp*
-rwxr-xr-x 1 root root  1712 2009-09-14 23:38 ifup-routes*
-rwxr-xr-x 1 root root  3634 2010-06-23 16:56 ifup-sit*
-rwxr-xr-x 1 root root  2533 2010-06-23 16:56 ifup-tunnel*
-rwxr-xr-x 1 root root  6815 2010-06-23 16:56 ifup-wireless*
-rwxr-xr-x 1 root root  4508 2009-09-14 23:38 init.ipv6-global*
-rw-r--r-- 1 root root 10063 2010-06-23 16:56 network-functions
-rw-r--r-- 1 root root 29835 2009-09-14 23:38 network-functions-ipv6
-rw------- 1 root root     1 2011-03-27 22:09 pin-ppp0
drwxr-xr-x 5 root root  4096 2011-02-25 20:24 vpn.d/
drwxr-xr-x 2 root root  4096 2011-04-09 14:54 wireless.d/

и вторая команда только сначала с поднятой wlan0 т.к. я сначала вышел в и-нет а потом прочитал что делать

 Консоль:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
109.123.136.0   0.0.0.0         255.255.255.0   U     35     0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     35     0        0 wlan0
0.0.0.0         109.123.136.1   0.0.0.0         UG    35     0        0 wlan0

и
 Консоль:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

и ещё интересное наблюдение при подключении wlan0 появляется sit0 и tun6to4 вкладки в мониторинге. tun6to4 это я так понимаю туннель IPv6 в IPv4, sit0 - инкапсуляция IPv6 в IPv4, я не могу понять почему они самопроизвольно включаются я вроде галки снимал. Там в настройках ещё некоторые вещи меняются после подключения и меня эта самостоятельность немного пугает, сколько и каких портов у меня получается открыто и на сколько я уязвим для вредоносного ПО.

49

Вот уже несколько дней сетевой интерфейс работает нормально, и wi-fi и usb-3g-modem... С одной стороны это хорошо, но с другой... Я вот только ни как не могу понять почему они сразу не работали и почему теперь работают, ведь я ни чего нового не делал. А обновиться смог только после подключения по wi-fi. А может проблема действительно была в сервере и мои мучения и приставания к людям здесь на форуме были, что называется не по адресу. Вроде всё работает, а вопросов осталось больше чем ответов.

PS to odin, даже не знаю проблема на данное время решена и как бы тему можно закрывать, но вот что настораживает в марте сеть один день поднималась и работала, потом пропала почти на месяц, теперь опять работает. Вобщем на твоё усмотрение...

Мож у кого есть какие соображения что было не так...

50 (12.06.2011 20:50:42 отредактировано Галахов Роман)

Здравствуйте! Wi-Fi настраивается только без шифрования,  а при настройке шифрования происходит сбой (адаптер сеть видит но, не может подключиться), перепробовал всё: и WEP и WPA/WPA2 (при WEP очень сильно ругается роутер, что он неподдерживается в 802n (роутер и Wi-Fi модуль его не поддеривают), а linux не подключается; при настройке WPA/WPA2 Linux постоянно сбрасывается на Enterprise (которого нет в роуторе), хотя четко настраиваю просто WPA/WPA2) В чём может быть проблема?
Mandriva 2010.2, Wi-Fi модуль Atheros AR5B95 (в Linux прописался как AR9285), роутер TP-Link TR-MR3220, драйвера linux.
Роутер на другом РС с Win7 - настраивается через WEB страницу.

ROSA FRESH R11

51

Галахов Роман пишет:

Здравствуйте! Wi-Fi настраивается только без шифрования,  а при настройке шифрования происходит сбой (адаптер сеть видит но, не может подключиться), перепробовал всё: и WEP и WPA/WPA2 (при WEP очень сильно ругается роутер, что он неподдерживается в 802n (роутер и Wi-Fi модуль его не поддеривают), а linux не подключается; при настройке WPA/WPA2 Linux постоянно сбрасывается на Enterprise (которого нет в роуторе), хотя четко настраиваю просто WPA/WPA2) В чём может быть проблема?
Mandriva 2010.2, Wi-Fi модуль Atheros AR5B95 (в Linux прописался как AR9285), роутер TP-Link TR-MR3220, драйвера linux.
Роутер на другом РС с Win7 - настраивается через WEB страницу.

http://linuxmir.ru/page/nastrojka-wi-fi … rajver-b43

Напоследок расскажу об одной проблемке которая возникла у меня после установки драйвера.

Причину назвать сложно (возможно были не до конца удалены старые драйверы или что-то другое) но у меня вай-фай работать начал только на не зашифрованном соединение, на шифрованном любым из методов (WEP, WPA, WPA2) работать отказывался.

Решение оказалось простое:

Я удалил пакет wpa_supplicant через "Установка и удаление программ", после чего выбрал подключиться к зашифрованному соединению. Система попросила обратно установить этот пакет (причем был установлено той же версии и из того же источника что я удалял) и после установки шифрованное соединение заработало.

3.1.7.
BuxarNET пишет:
Галахов Роман пишет:

Здравствуйте! Wi-Fi настраивается только без шифрования,  а при настройке шифрования происходит сбой (адаптер сеть видит но, не может подключиться), перепробовал всё: и WEP и WPA/WPA2 (при WEP очень сильно ругается роутер, что он неподдерживается в 802n (роутер и Wi-Fi модуль его не поддеривают), а linux не подключается; при настройке WPA/WPA2 Linux постоянно сбрасывается на Enterprise (которого нет в роуторе), хотя четко настраиваю просто WPA/WPA2) В чём может быть проблема?
Mandriva 2010.2, Wi-Fi модуль Atheros AR5B95 (в Linux прописался как AR9285), роутер TP-Link TR-MR3220, драйвера linux.
Роутер на другом РС с Win7 - настраивается через WEB страницу.

http://linuxmir.ru/page/nastrojka-wi-fi … rajver-b43

Напоследок расскажу об одной проблемке которая возникла у меня после установки драйвера.

Причину назвать сложно (возможно были не до конца удалены старые драйверы или что-то другое) но у меня вай-фай работать начал только на не зашифрованном соединение, на шифрованном любым из методов (WEP, WPA, WPA2) работать отказывался.

Решение оказалось простое:

Я удалил пакет wpa_supplicant через "Установка и удаление программ", после чего выбрал подключиться к зашифрованному соединению. Система попросила обратно установить этот пакет (причем был установлено той же версии и из того же источника что я удалял) и после установки шифрованное соединение заработало.

Сколько не пробовал не помогло.

ROSA FRESH R11

На mandriva 2011 КDE - LXDE такая же проблема:  Wi-Fi настраивается только без шифрования,  а при настройке шифрования происходит сбой (адаптер сеть видит но, не может подключиться), перепробовал всё: и WEP и WPA/WPA2 (при WEP очень сильно ругается роутер, что он неподдерживается в 802n (роутер и Wi-Fi модуль его не поддеривают), а linux не подключается; при настройке WPA/WPA2 Linux постоянно сбрасывается на Enterprise (которого нет в роуторе), хотя четко настраиваю просто WPA/WPA2)
Mandriva 2010.2, Wi-Fi модуль Atheros AR5B95 (в Linux прописался как AR9285), роутер TP-Link TR-MR3220, драйвера linux.

Есть решение вопроса?

ROSA FRESH R11

54

Если все драйвера поставлены, то советовал бы попробовать утилиту WIFI -  радар, с ней почему-то у меня получается подключиться тогда, когда не подключаюсь стандартными средствами. Правда слышал что  в 2011 версии её нет, если не найдете, то вручную ставьте

3.1.7.
BuxarNET пишет:

Если все драйвера поставлены, то советовал бы попробовать утилиту WIFI -  радар, с ней почему-то у меня получается подключиться тогда, когда не подключаюсь стандартными средствами. Правда слышал что  в 2011 версии её нет, если не найдете, то вручную ставьте

Здравствуйте! Уточните, пожалуйста, что за программа (как ее названия в репозиториях - если там есть (если нет RPM, то хотя бы deb - буду искать подобное для rpm), или дайте какую нибуть ссылку на нее.
Попробую - раз обычным методом не получается.

ROSA FRESH R11

56

Галахов Роман пишет:

Уточните, пожалуйста, что за программа

Ну наверно вот эта. Под М2010.0 есть пакет , а можно попробовать поставить пакет под все rpm дистры.

Mageia4, KDE  4.11.4.

57

Правда слышал что  в 2011 версии её нет, если не найдете, то вручную ставьте

Почему нет.

 Консоль:
[verg@localhost ~]$ urpmf -mf wifi-radar
wifi-radar-1.9.9-2mdv2010.0.noarch:Contrib (Official2011.0-33)

BuxarNET пишет:

Если все драйвера поставлены, то советовал бы попробовать утилиту WIFI -  радар, с ней почему-то у меня получается подключиться тогда, когда не подключаюсь стандартными средствами. Правда слышал что  в 2011 версии её нет, если не найдете, то вручную ставьте

Поставил, но не получилось настроить - тоже самое (без защиты - работает, а взащищенном режиме нет).
Вечером попробую снова, пошагово протоколируя свои действия. Если неполучится настроить выложу сюда.

ROSA FRESH R11
Галахов Роман пишет:
BuxarNET пишет:

Если все драйвера поставлены, то советовал бы попробовать утилиту WIFI -  радар, с ней почему-то у меня получается подключиться тогда, когда не подключаюсь стандартными средствами. Правда слышал что  в 2011 версии её нет, если не найдете, то вручную ставьте

Поставил, но не получилось настроить - тоже самое (без защиты - работает, а взащищенном режиме нет).
Вечером попробую снова, пошагащитыово протоколируя свои действия. Если неполучится настроить выложу сюда.

Wi-Fi модуль Atheros AR5B95 (в Linux прописался как AR9285), роутер TP-Link TR-MR3220, драйвера linux.

пакет
wifi-radar-1.9.9-2mdv2010.0.noarch:Contrib (Official2011.0-33)

Без защиты Wi-Fi настраивается без Wifi-radar, А с защитой:
Настройки роутера

http://img-fotki.yandex.ru/get/4418/8910444.0/0_67291_9f5875ff_L.jpg

Настройки WiFi-radar

http://img-fotki.yandex.ru/get/5821/8910444.0/0_67292_31adc185_L.jpg

Вывод терминала:

 [roman@localhost ~]$ wifi-radar
sh: say: command not found
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
dhcpcd[28163]: version 5.2.12 starting
Unsupported driver '-P'.
dhcpcd[28163]: wlan0: waiting for carrier
dhcpcd[28163]: timed out
dhcpcd[28163]: allowing 8 seconds for IPv4LL timeout
dhcpcd[28163]: received SIGTERM, stopping
dhcpcd[28163]: wlan0: removing interface

В итоге Wi-fi не подключается.
Подскажите, пожалуйста:
1) какой нужно указывать драйвер? если wpa_supplicant.conf то не помогает:

 sh: say: command not found
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
Unsupported driver '/etc/wpa_supplicant.conf'.
dhcpcd[26480]: version 5.2.12 starting
dhcpcd[26480]: wlan0: waiting for carrier
dhcpcd[26480]: timed out
dhcpcd[26480]: allowing 8 seconds for IPv4LL timeout
dhcpcd[26480]: received SIGTERM, stopping
dhcpcd[26480]: wlan0: removing interface

Какие еще настройки нужно вводить?

ROSA FRESH R11

60

to Галахов Роман, прочитайте 35 пост в этой теме, возможно это поможет (по поводу генерации ключа)...