Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creare hotspot dispositivi android
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
lottoivma
n00b
n00b


Joined: 11 Jun 2013
Posts: 2

PostPosted: Wed Jun 12, 2013 6:06 am    Post subject: Creare hotspot dispositivi android Reply with quote

Ho installato da 3 settimane Sabayon derivata da Gentoo, mi ci trovo bene, ho un problema, ho la necessità di creare un hotspot, che sia visibile ai dispositivi android, perchè tali dispositivi non vedono le connessioni Ad-hoc ma solo quelle in master mode.
Allora sulle altre distribuzioni linux ha sempre funzionato questa guida:
http://www.ubaweb.it/miniguide/hotspot_con_ath9k.php, però su Sabayon non funziona, quando lancio lo script per far partire la connessione mi da:
Quote:
sudo ./Android.sh
Password:
Internet Systems Consortium DHCP Server 4.2.5-P1 Gentoo-r0
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the Gentoo Bugzilla site:
http://bugs.gentoo.org/

exiting.
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Add own interface ifindex 3
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Setup AP - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x1ea5280
nl80211: Register frame type=0xb0 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0x0 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0x20 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0xa0 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0xc0 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0xd0 nl_handle=0x1ea5280
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Failed to set interface wlan0 into AP mode
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211 driver initialization failed.


il wifi funziona regolarmente.
Qualche idea per farlo funzionare?
Grazie LottoIvMA
[/quote][/url]
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4754
Location: not so far from an evil, world famous volcano. Under dictatorship, idiocracy, property of banks...

PostPosted: Wed Jun 12, 2013 8:20 am    Post subject: Reply with quote

Premesso che il forum è per gentoo e non per sabayon (quindi appena ago se ne accorge chiuderà il thread) l'unica è usare hostapd come da gentoo wiki per creare un "router wifi".
La configurazione valida (quella del wiki è datata per l'assetto attuale ma non so che versione di hostapd ed udev hai su sabayon) la ho appena postata (la regola è cercare prima ed eventualmente accodarsi alle discussioni già in atto).
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1497
Location: Cosenza, Italy

PostPosted: Wed Jun 12, 2013 10:55 am    Post subject: Reply with quote

djinnZ wrote:
Premesso che il forum è per gentoo e non per sabayon (quindi appena ago se ne accorge chiuderà il thread)

Per questa volta spostiamo in generali :)

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Contattami se vuoi contribuire in:
-Arch tester
-Chromium tester
-Traduzione doc. it
-Security
Back to top
View user's profile Send private message
lottoivma
n00b
n00b


Joined: 11 Jun 2013
Posts: 2

PostPosted: Wed Jun 12, 2013 4:04 pm    Post subject: Reply with quote

Scusate per aver postato sul forum di Gentoo pensavo che andasse bene essendo una derivata.
Grazie comunque per la risposta.

LottoIvMA
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4754
Location: not so far from an evil, world famous volcano. Under dictatorship, idiocracy, property of banks...

PostPosted: Thu Jun 13, 2013 9:37 am    Post subject: Reply with quote

Anche se è una derivata non posso sapere cosa è presente sul sistema.
Con hostapd 2.0 il file di configurazione cambia, per dirne una, e quello che trovi in giro, riferito alle versioni 1.x, non è valido.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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