So here the update. I set the encryption to WPA, and still no luck. The
message is that the password is wrong, but I know I'm putting it in
correctly since I'm looking at it on the screen of one computer, and
entering it in the other.

Here is the contents of /etc/hostapd.conf

# automatically generated. do not edit!

logger_syslog=-1
logger_syslog_level=2
logger_stdout=--1
logger_stdout_level=2

debug=0

ctrl_interface_group=0

# should this be per-ssid?
macaddr_acl=0

dump_file=/tmp/hostapd.dump

bridge=br0
interface=ap0
driver=nl80211
ssid=sunflower
channel=11

hw_mode=b
auth_algs=1

wpa_passphrase=reynolds1234
wpa=1
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP

wpa_strict_rekey=1
wpa_group_rekey=600
wpa_gmk_rekey=14400

It seems that it is using 802.11b... not sure how to select "g"

If I remove the password, and do not add "wpa" or "wep", but leave the
encryption space blank then hostapd does not start.

If I kill the process/deamon, and restart it manually with:  hostapd -dddd
-K -t /tmp/etc/hostapd.conf
Then this is the output.

1272130656.639008: Configuration file: /tmp/etc/hostapd.conf
1272130656.640735: Line 8: DEPRECATED: 'debug' configuration variable is not
used anymore
1272130656.642041: ctrl_interface_group=0
1272130656.692568: nl80211: Interface ap0 is in bridge br0
1272130656.788644: nl80211: Add own interface ifindex 8
1272130656.788958: nl80211: Add own interface ifindex 6
1272130656.849620: nl80211: New interface mon.ap0 created: ifindex=10
1272130656.849908: nl80211: Add own interface ifindex 10
1272130656.897008: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
1272130656.900408: nl80211: Added 802.11b mode based on 802.11g information
1272130656.900596: Allowed channel: mode=1 chan=1 freq=2412 MHz
max_tx_power=27 dBm
1272130656.900774: Allowed channel: mode=1 chan=2 freq=2417 MHz
max_tx_power=27 dBm
1272130656.900949: Allowed channel: mode=1 chan=3 freq=2422 MHz
max_tx_power=27 dBm
1272130656.901124: Allowed channel: mode=1 chan=4 freq=2427 MHz
max_tx_power=27 dBm
1272130656.901549: Allowed channel: mode=1 chan=5 freq=2432 MHz
max_tx_power=27 dBm
1272130656.901727: Allowed channel: mode=1 chan=6 freq=2437 MHz
max_tx_power=27 dBm
1272130656.901901: Allowed channel: mode=1 chan=7 freq=2442 MHz
max_tx_power=27 dBm
1272130656.902076: Allowed channel: mode=1 chan=8 freq=2447 MHz
max_tx_power=27 dBm
1272130656.902437: Allowed channel: mode=1 chan=9 freq=2452 MHz
max_tx_power=27 dBm
1272130656.902614: Allowed channel: mode=1 chan=10 freq=2457 MHz
max_tx_power=27 dBm
1272130656.902789: Allowed channel: mode=1 chan=11 freq=2462 MHz
max_tx_power=27 dBm
1272130656.902965: Allowed channel: mode=2 chan=36 freq=5180 MHz
max_tx_power=17 dBm
1272130656.903284: Allowed channel: mode=2 chan=40 freq=5200 MHz
max_tx_power=17 dBm
1272130656.903501: Allowed channel: mode=2 chan=44 freq=5220 MHz
max_tx_power=17 dBm
1272130656.903676: Allowed channel: mode=2 chan=48 freq=5240 MHz
max_tx_power=17 dBm
1272130656.903854: Allowed channel: mode=2 chan=149 freq=5745 MHz
max_tx_power=30 dBm
1272130656.904031: Allowed channel: mode=2 chan=153 freq=5765 MHz
max_tx_power=30 dBm
1272130656.904380: Allowed channel: mode=2 chan=157 freq=5785 MHz
max_tx_power=30 dBm
1272130656.904562: Allowed channel: mode=2 chan=161 freq=5805 MHz
max_tx_power=30 dBm
1272130656.904737: Allowed channel: mode=2 chan=165 freq=5825 MHz
max_tx_power=30 dBm
1272130656.904913: Allowed channel: mode=0 chan=1 freq=2412 MHz
max_tx_power=27 dBm
1272130656.905088: Allowed channel: mode=0 chan=2 freq=2417 MHz
max_tx_power=27 dBm
1272130656.905474: Allowed channel: mode=0 chan=3 freq=2422 MHz
max_tx_power=27 dBm
1272130656.905653: Allowed channel: mode=0 chan=4 freq=2427 MHz
max_tx_power=27 dBm
1272130656.905827: Allowed channel: mode=0 chan=5 freq=2432 MHz
max_tx_power=27 dBm
1272130656.906001: Allowed channel: mode=0 chan=6 freq=2437 MHz
max_tx_power=27 dBm
1272130656.906392: Allowed channel: mode=0 chan=7 freq=2442 MHz
max_tx_power=27 dBm
1272130656.906600: Allowed channel: mode=0 chan=8 freq=2447 MHz
max_tx_power=27 dBm
1272130656.906777: Allowed channel: mode=0 chan=9 freq=2452 MHz
max_tx_power=27 dBm
1272130656.906951: Allowed channel: mode=0 chan=10 freq=2457 MHz
max_tx_power=27 dBm
1272130656.907127: Allowed channel: mode=0 chan=11 freq=2462 MHz
max_tx_power=27 dBm
1272130656.956839: RATE[0] rate=10 flags=0x1
1272130656.957044: RATE[1] rate=20 flags=0x1
1272130656.957383: RATE[2] rate=55 flags=0x0
1272130656.957610: RATE[3] rate=110 flags=0x0
1272130656.957773: Completing interface initialization
1272130656.957901: Mode: IEEE 802.11b  Channel: 11  Frequency: 2462 MHz
1272130656.962894: Flushing old station entries
1272130656.998688: Deauthenticate all stations
1272130657.034062: wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil)
key_idx=0 set_tx=1 seq_len=0 key_len=0
1272130657.069670: wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil)
key_idx=1 set_tx=0 seq_len=0 key_len=0
1272130657.119532: wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil)
key_idx=2 set_tx=0 seq_len=0 key_len=0
1272130657.155465: wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil)
key_idx=3 set_tx=0 seq_len=0 key_len=0
1272130657.156621: Using interface ap0 with hwaddr 00:0b:6b:0a:82:15 and
ssid 'sunflower'
1272130657.156906: Deriving WPA PSK based on passphrase
1272130657.157042: SSID - hexdump_ascii(len=9):
     73 75 6e 66 6c 6f 77 65 72                        sunflower
1272130657.157813: PSK (ASCII passphrase) - hexdump_ascii(len=12):
     72 65 79 6e 6f 6c 64 73 31 32 33 34               reynolds1234
1272130658.727755: PSK (from passphrase) - hexdump(len=32): ce 26 98 23 5b
37 85 20 97 4d 86 99 e0 7e c7 31 9e 68 7a d5 ff fc 2e 56 94 e4 e6 d7 a2 a9
 11 9d
1272130658.731348: WPA: group state machine entering state GTK_INIT (VLAN-ID
0)
1272130658.731956: GMK - hexdump(len=32): 02 65 d8 3e 47 b7 16 ae 3e 00 af
ea 17 de 43 da f3 05 48 96 ca 13 50 e6 9c c0 c1 16 04 e3 a5 ca
1272130658.733269: GTK - hexdump(len=32): 1b 02 fe f9 db 74 be 60 d5 29 93
bd 88 40 0a 76 58 eb c4 86 10 6f 69 08 09 51 d6 d4 67 1c 3e 90
1272130658.734571: WPA: group state machine entering state SETKEYSDONE
(VLAN-ID 0)
1272130658.769963: wpa_driver_nl80211_set_key: ifindex=6 alg=2 addr=(nil)
key_idx=1 set_tx=1 seq_len=0 key_len=32
1272130658.808283: nl80211: Set beacon (beacon_set=0)
1272130658.893337: ap0: Setup of interface done.
1272130658.893717: RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
1272130658.894007: RTM_NEWLINK, IFLA_IFNAME: Interface 'ap0' added
1272130658.894539: Unknown event 5
1272130658.894837: RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
1272130658.895060: RTM_NEWLINK, IFLA_IFNAME: Interface 'ap0' added
1272130658.895415: Unknown event 5
1272130658.895608: Ignore event for foreign ifindex 10
1272130658.895812: Ignore event for foreign ifindex 10
1272130658.896085: RTM_NEWLINK: operstate=0 ifi_flags=0x11043
([UP][RUNNING][LOWER_UP])
1272130658.896501: RTM_NEWLINK, IFLA_IFNAME: Interface 'ap0' added
1272130658.896673: Unknown event 5
1272130658.896860: RTM_NEWLINK: operstate=0 ifi_flags=0x11043
([UP][RUNNING][LOWER_UP])
1272130658.897090: RTM_NEWLINK, IFLA_IFNAME: Interface 'ap0' added
1272130658.897441: Unknown event 5
1272130658.898361: STA 04:1e:64:be:16:80 sent probe request for broadcast
SSID
1272130658.931503: mgmt::proberesp cb
1272130675.896896: STA 00:19:d2:42:82:1d sent probe request for broadcast
SSID
1272130675.905386: STA 00:19:d2:42:82:1d sent probe request for broadcast
SSID
1272130676.033077: mgmt::proberesp cb
1272130676.085433: mgmt::proberesp cb
1272130690.894776: unknown vendor specific information element ignored
(vendor OUI 00:03:47 len=7)
1272130690.895758: unknown vendor specific information element ignored
(vendor OUI 00:03:47 len=7)
1272130690.896415: STA 00:13:02:ad:cd:61 sent probe request for broadcast
SSID
1272130690.968910: mgmt::proberesp cb

I don't know what to do from here. I'd like to get it working (and learn
something from this), but I can live without it if this is a bugger. Any
help is apprecated.

John R.
------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to