www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

New version of hostapd?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Wireless Networks
View previous topic :: View next topic  
Author Message
ghulands



Joined: 13 Oct 2014
Posts: 1

PostPosted: Mon Oct 13, 2014 5:37 am    Post subject: New version of hostapd? Reply with quote

Hi,
I'm having trouble trying to get my AR9580 working on ZeroShell. I got the subscription so I could update to the newer kernel (3.14.21-ZS) as I was having issues getting hostapd to configure the adaptor. It was throwing this error:

Code:
Hardware does not support configured mode
WLAN00: IEEE 802.11 Hardware does not support configured mode (1) (hw_mode in hostapd.conf)
Could not select hw_mode and channel. (-2)
WLAN00: Unable to setup interface.


I noticed that hostapd is still version 1.0 while the latest is at 2.3 and wondering if this might be the cause of my issues. I also noticed this in dmesg:

Code:

[ 3181.219276] ------------[ cut here ]------------
[ 3181.219294] WARNING: CPU: 0 PID: 5543 at net/wireless/reg.c:481 regulatory_init+0x79/0xe5 [cfg80211]()
[ 3181.219296] db.txt is empty, you should update it...
[ 3181.219297] Modules linked in: cfg80211(+) rfkill nf_conntrack_netlink bonding 8021q mrp garp tun bridge stp llc iptable_nat nf_nat_ipv4 xt_mark xt_state xt_connmark iptable_mangle nf_nat_pptp nf_nat_proto_gre nf_nat_sip nf_nat_ftp nf_nat_h323 nf_nat nf_conntrack_tftp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_sip nf_conntrack_ftp nf_conntrack_h323 dummy iptable_filter ip_tables ext4 jbd2 crc16 k10temp sp5100_tco i2c_piix4 arc4 igb i2c_algo_bit ixgbe r8169 ptp mii pps_core mdio ehci_pci ohci_pci ehci_hcd ohci_hcd xhci_hcd [last unloaded: rfkill]
[ 3181.219321] CPU: 0 PID: 5543 Comm: modprobe Tainted: G        W    3.14.21-ZS #1
[ 3181.219323] Hardware name: MSI MS-7640/890FXA-GD70 (MS-7640)  , BIOS V1.14 03/20/2012
[ 3181.219324]  00000009 c14f041a f9dbde27 c104046b f9dbfd3c edd7bdf0 000015a7 f9dbde27
[ 3181.219327]  000001e1 f9dd314c f9dd314c 00000000 f4cda500 edd7be18 f9dd3000 c1040533
[ 3181.219330]  00000009 edd7bdd8 f9dbfd3c edd7bdf0 f9dd314c f9dbde27 000001e1 f9dbfd3c
[ 3181.219333] Call Trace:
[ 3181.219338]  [<c14f041a>] ? dump_stack+0x3e/0x4e
[ 3181.219342]  [<c104046b>] ? warn_slowpath_common+0x8b/0xc0
[ 3181.219353]  [<f9dd314c>] ? regulatory_init+0x79/0xe5 [cfg80211]
[ 3181.219363]  [<f9dd314c>] ? regulatory_init+0x79/0xe5 [cfg80211]
[ 3181.219366]  [<f9dd3000>] ? 0xf9dd2fff
[ 3181.219369]  [<c1040533>] ? warn_slowpath_fmt+0x33/0x40
[ 3181.219379]  [<f9dd314c>] ? regulatory_init+0x79/0xe5 [cfg80211]
[ 3181.219389]  [<f9dd305c>] ? cfg80211_init+0x5c/0xd3 [cfg80211]
[ 3181.219392]  [<c10a887a>] ? tracepoint_update_probe_range+0x3a/0x1b0
[ 3181.219394]  [<c10a8a46>] ? tracepoint_module_notify+0x56/0x190
[ 3181.219397]  [<c10003f1>] ? do_one_initcall+0x31/0x150
[ 3181.219399]  [<c10a8abd>] ? tracepoint_module_notify+0xcd/0x190
[ 3181.219401]  [<c14f94f6>] ? notifier_call_chain+0x46/0x60
[ 3181.219404]  [<c105fc2d>] ? __blocking_notifier_call_chain+0x4d/0x70
[ 3181.219407]  [<c109acd9>] ? load_module+0x19d9/0x1ef0
[ 3181.219411]  [<c109b290>] ? SyS_init_module+0xa0/0xc0
[ 3181.219416]  [<c14f6101>] ? syscall_call+0x7/0x7
[ 3181.219418] ---[ end trace 96a713112256f32d ]---
[ 3181.219427] cfg80211: Calling CRDA to update world regulatory domain
[ 3181.327155] ath: EEPROM regdomain: 0x0
[ 3181.327158] ath: EEPROM indicates default country code should be used
[ 3181.327159] ath: doing EEPROM country->regdmn map search
[ 3181.327161] ath: country maps to regdmn code: 0x3a
[ 3181.327162] ath: Country alpha2 being used: US
[ 3181.327163] ath: Regpair used: 0x3a


It still happens on the newer kernel so I think it might be hostapd been out of date.

I was unable to find a developers section on how I could contribute a fix. What's the general process for building apps for a ZeroShell distribution? Should I just install gcc on the device?

Any help is greatly appreciated.
Back to top
View user's profile Send private message
Utteru



Joined: 19 Feb 2015
Posts: 10

PostPosted: Fri Feb 20, 2015 12:19 pm    Post subject: Reply with quote

Sorry i don't have solution of this problem even I am facing the same problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Wireless Networks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group