View previous topic :: View next topic |
Author |
Message |
lottoivma n00b

Joined: 11 Jun 2013 Posts: 2
|
Posted: Wed Jun 12, 2013 6:06 am Post subject: Creare hotspot dispositivi android |
|
|
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:
https://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 |
|
 |
djinnZ Advocate


Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Wed Jun 12, 2013 8:20 am Post subject: |
|
|
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
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist  |
|
Back to top |
|
 |
ago Developer


Joined: 01 Mar 2008 Posts: 1527 Location: Milan, Italy
|
Posted: Wed Jun 12, 2013 10:55 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
lottoivma n00b

Joined: 11 Jun 2013 Posts: 2
|
Posted: Wed Jun 12, 2013 4:04 pm Post subject: |
|
|
Scusate per aver postato sul forum di Gentoo pensavo che andasse bene essendo una derivata.
Grazie comunque per la risposta.
LottoIvMA |
|
Back to top |
|
 |
djinnZ Advocate


Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Thu Jun 13, 2013 9:37 am Post subject: |
|
|
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
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist  |
|
Back to top |
|
 |
|