PRISM2_IOCTL_PRISM2_PARAM

[email protected]
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
Hi,

This was my mistake. Found wrongly commented driver:

           #driver=wired

Should be

    driver=wired

Working config:

    # cat /etc/hostapd.conf | grep ^[^#]
    interface=eth0
    driver=wired
    logger_syslog=-1
    logger_syslog_level=2
    logger_stdout=-1
    logger_stdout_level=2
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    ieee8021x=1
    eapol_version=2
    eapol_key_index_workaround=0
    eap_reauth_period=3600
    own_ip_addr=192.168.200.236
    auth_server_addr=192.168.200.120
    auth_server_port=1812
    auth_server_shared_secret=*secret*

Results in

     # hostapd /etc/hostapd.conf -dd
    random: Trying to read entropy from /dev/random
    Configuration file: /etc/hostapd.conf
    ctrl_interface_group=0
    eapol_version=2
    Opening raw packet socket for ifindex 2
    BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
    Using existing control interface directory.
    ctrl_iface bind(PF_UNIX) failed: Address already in use
    ctrl_iface exists, but does not allow connections - assuming it was
    leftover from forced program termination
    Successfully replaced leftover ctrl_iface socket '/var/run/hostapd/eth0'
    eth0: IEEE 802.11 Fetching hardware channel/rate support not supported.
    Completing interface initialization
    hostapd_setup_bss(hapd=0xdb220 (eth0), first=1)
    eth0: Flushing old station entries
    eth0: Deauthenticate all stations
    Using interface eth0 with hwaddr 00:30:d6:18:45:86 and ssid ""
    eth0: RADIUS Authentication server 192.168.200.120:1812
    RADIUS local address: 192.168.200.236:46904
    eth0: interface state UNINITIALIZED->ENABLED
    eth0: AP-ENABLED
    eth0: Setup of interface done.
    ctrl_iface not configured!
    random: Got 20/20 bytes from /dev/random

Thanks,

Erwin



_______________________________________________
Hostap mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/hostap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.