Thread: ubuntu 11.10 Server + Ralink RT3060 + hostapd = no ssid broadcast
hi,
need strange problem. bought ralink rt3060 pci wlan device use hostapd. use hostapd packages ubuntu repositories. problem hostapd running without error outputs, ssid not broadcasted somehow. can't join network because can't find ssid configured in hostapd.conf within wireless network browser of mac. don't know if hostapd got stuck because when start manually there no more output printed (see output below).
here hostapd.conf
code:interface=wlan0 driver=nl80211 ssid=testnet channel=1 hw_mode=g ieee80211n=1 auth_algs=1 wpa=3 wpa_passphrase=1234567890 wpa_key_mgmt=wpa-psk wpa_pairwise=tkip ccmp rsn_pairwise=ccmp
hostapd -dd hostapd.conf
code:configuration file: hostapd.conf nl80211: add own interface ifindex 3 nl80211: new interface mon.wlan0 created: ifindex=14 nl80211: add own interface ifindex 14 bss count 1, bssid mask 00:00:00:00:00:00 (0 bits) nl80211: added 802.11b mode based on 802.11g information allowed channel: mode=1 chan=1 freq=2412 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=2 freq=2417 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=3 freq=2422 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=4 freq=2427 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=5 freq=2432 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=6 freq=2437 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=7 freq=2442 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=8 freq=2447 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=9 freq=2452 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=10 freq=2457 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=11 freq=2462 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=12 freq=2467 mhz max_tx_power=20 dbm allowed channel: mode=1 chan=13 freq=2472 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=1 freq=2412 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=2 freq=2417 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=3 freq=2422 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=4 freq=2427 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=5 freq=2432 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=6 freq=2437 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=7 freq=2442 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=8 freq=2447 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=9 freq=2452 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=10 freq=2457 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=11 freq=2462 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=12 freq=2467 mhz max_tx_power=20 dbm allowed channel: mode=0 chan=13 freq=2472 mhz max_tx_power=20 dbm rate[0] rate=10 flags=0x1 rate[1] rate=20 flags=0x1 rate[2] rate=55 flags=0x1 rate[3] rate=110 flags=0x1 rate[4] rate=60 flags=0x0 rate[5] rate=90 flags=0x0 rate[6] rate=120 flags=0x0 rate[7] rate=180 flags=0x0 rate[8] rate=240 flags=0x0 rate[9] rate=360 flags=0x0 rate[10] rate=480 flags=0x0 rate[11] rate=540 flags=0x0 completing interface initialization mode: ieee 802.11g channel: 1 frequency: 2412 mhz flushing old station entries deauthenticate stations wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 using interface wlan0 hwaddr 80:1f:02:08:77:21 , ssid 'testnet' deriving wpa psk based on passphrase ssid - hexdump_ascii(len=7): 54 65 73 74 6e 65 74 testnet psk (ascii passphrase) - hexdump_ascii(len=10): [removed] psk (from passphrase) - hexdump(len=32): [removed] wpa: group state machine entering state gtk_init (vlan-id 0) gmk - hexdump(len=32): [removed] gtk - hexdump(len=32): [removed] wpa: group state machine entering state setkeysdone (vlan-id 0) wpa_driver_nl80211_set_key: ifindex=3 alg=2 addr=(nil) key_idx=1 set_tx=1 seq_len=0 key_len=32 nl80211: set beacon (beacon_set=0) wlan0: setup of interface done. rtm_newlink: operstate=0 ifi_flags=0x1002 () rtm_newlink, ifla_ifname: interface 'mon.wlan0' added unknown event 5 rtm_newlink: operstate=0 ifi_flags=0x11043 ([up][running][lower_up]) rtm_newlink, ifla_ifname: interface 'mon.wlan0' added unknown event 5 rtm_newlink: operstate=0 ifi_flags=0x11043 ([up][running][lower_up]) rtm_newlink, ifla_ifname: interface 'wlan0' added unknown event 5 ----output stops here----
lsmod:
code:module size used appletalk 34448 0 openafs 768548 2 ipt_masquerade 12759 1 xt_conntrack 12760 2 iptable_nat 13229 1 nf_nat 25890 2 ipt_masquerade,iptable_nat nf_conntrack_ipv4 19716 5 iptable_nat,nf_nat nf_conntrack 82342 5 ipt_masquerade,xt_conntrack,iptable_nat,nf_nat,nf_conntrack_ipv4 nf_defrag_ipv4 12729 1 nf_conntrack_ipv4 iptable_filter 12810 1 ip_tables 27473 2 iptable_nat,iptable_filter x_tables 29846 5 ipt_masquerade,xt_conntrack,iptable_nat,iptable_filter,ip_tables dm_crypt 23199 1 arc4 12529 2 rt2800pci 18715 0 rt2800lib 54306 1 rt2800pci crc_ccitt 12667 1 rt2800lib rt2x00pci 14578 1 rt2800pci rt2x00lib 50325 3 rt2800pci,rt2800lib,rt2x00pci ppdev 17113 0 psmouse 73882 0 serio_raw 13166 0 mac80211 306714 3 rt2800lib,rt2x00pci,rt2x00lib cfg80211 199587 2 rt2x00lib,mac80211 eeprom_93cx6 12725 1 rt2800pci parport_pc 36962 1 snd_hda_codec_realtek 330769 1 snd_hda_intel 33390 0 snd_hda_codec 104802 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 13613 1 snd_hda_codec snd_pcm 96755 2 snd_hda_intel,snd_hda_codec snd_timer 29991 1 snd_pcm snd 68182 6 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer soundcore 12680 1 snd snd_page_alloc 18529 2 snd_hda_intel,snd_pcm lp 17799 0 parport 46562 3 ppdev,parport_pc,lp i915 566658 1 drm_kms_helper 42558 1 i915 drm 236330 2 i915,drm_kms_helper i2c_algo_bit 13423 1 i915 video 19412 1 i915 r8169 52788 0
lspci:
code:00:00.0 host bridge: intel corporation 82945g/gz/p/pl memory controller hub (rev 02) 00:02.0 vga compatible controller: intel corporation 82945g/gz integrated graphics controller (rev 02) 00:1b.0 audio device: intel corporation n10/ich 7 family high definition audio controller (rev 01) 00:1c.0 pci bridge: intel corporation n10/ich 7 family pci express port 1 (rev 01) 00:1c.1 pci bridge: intel corporation n10/ich 7 family pci express port 2 (rev 01) 00:1d.0 usb controller: intel corporation n10/ich 7 family usb uhci controller #1 (rev 01) 00:1d.1 usb controller: intel corporation n10/ich 7 family usb uhci controller #2 (rev 01) 00:1d.2 usb controller: intel corporation n10/ich 7 family usb uhci controller #3 (rev 01) 00:1d.3 usb controller: intel corporation n10/ich 7 family usb uhci controller #4 (rev 01) 00:1d.7 usb controller: intel corporation n10/ich 7 family usb2 ehci controller (rev 01) 00:1e.0 pci bridge: intel corporation 82801 pci bridge (rev e1) 00:1f.0 isa bridge: intel corporation 82801gb/gr (ich7 family) lpc interface bridge (rev 01) 00:1f.1 ide interface: intel corporation 82801g (ich7 family) ide controller (rev 01) 00:1f.2 ide interface: intel corporation n10/ich7 family sata ide controller (rev 01) 00:1f.3 smbus: intel corporation n10/ich 7 family smbus controller (rev 01) 01:00.0 ethernet controller: realtek semiconductor co., ltd. rtl8111/8168b pci express gigabit ethernet controller (rev 03) 03:00.0 network controller: ralink corp. rt3060 wireless 802.11n 1t/1r
iw list:
code:supported interface modes: * ibss * managed * ap * ap/vlan * wds * monitor * mesh point
iwconfig
code:lo no wireless extensions. eth0 no wireless extensions. wlan0 ieee 802.11bgn mode:master frequency:2.412 ghz tx-power=20 dbm retry long limit:7 rts thr:off fragment thr:off power management:off mon.wlan0 ieee 802.11bgn mode:monitor tx-power=20 dbm retry long limit:7 rts thr:off fragment thr:off power management:off
ifconfig
i don't know how solve this. appreciated!code:eth0 link encap:ethernet hwaddr 00:25:22:be:44:93 inet addr:192.168.4.5 bcast:0.0.0.0 mask:255.255.255.0 inet6 addr: fe80::225:22ff:febe:4493/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:833807 errors:0 dropped:0 overruns:0 frame:0 tx packets:472384 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:948706646 (948.7 mb) tx bytes:143034193 (143.0 mb) interrupt:42 base address:0x2000 lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:host loopback running mtu:16436 metric:1 rx packets:3630 errors:0 dropped:0 overruns:0 frame:0 tx packets:3630 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 rx bytes:307537 (307.5 kb) tx bytes:307537 (307.5 kb) mon.wlan0 link encap:unspec hwaddr 80-1f-02-08-77-21-00-00-00-00-00-00-00-00-00-00 broadcast running 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) wlan0 link encap:ethernet hwaddr 80:1f:02:08:77:21 inet addr:192.168.10.1 bcast:192.168.10.255 mask:255.255.255.0 inet6 addr: fe80::821f:2ff:fe08:7721/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:418 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:0 (0.0 b) tx bytes:104686 (104.6 kb)![]()
hmm no 1 idea?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] ubuntu 11.10 Server + Ralink RT3060 + hostapd = no ssid broadcast
Ubuntu
Comments
Post a Comment