Grazie della risposta e scusa se ti rispondo in ritardo. Se possibile però per adesso preferirei fare tutto io perchè poi ho bisogno di capire in modo tale da poter intervenire in tutti i casi che mi si presenteranno.<br><br>
Io sinceramente ho provato e riprovato in questo thread ed il mio router si bloccava completamente se mettevo adhoc + AP, infatti è stato il periodo che mi portavo in giro la porta seriale. Forse le cose sono cambiate di recente ?<br>
<br>Qualcuno sapre<br><br><br>ps dove lo trovo eventualemnte il firmware ? E che firmware è? (openwrt)<br><br><br><br><br><br><br><br>In allegato sotto il testo di una mia mail del 23 dicembre 2011 in cui mostro la configurazione e esprimo i miei problemi:<br>
<br><br><br><br>Ciao a tutti,<br>Ancora una volta vi disturbo, per aggiornarvi sui
miei risultati. Sto tentando di fare il multi ssid con le antenne. Ci
sono riuscito se consideriamo che una lavora in modalità ad hoc e l'
altra come una normale rete aperta, ma putroppo la rete libera che fà da
ap, è molto instabile. On pratica tutte e due le reti funzionano ma la
rete OpenWrt, si accende e spegne. Magari sono stanco, non lo sò domani
mattina ne parliamo :-)<br>
<br><br>Vi posto un pò di output per capirmi meglio:<br><br>root@home:/home/home# ifconfig eth1 10.22.2.2<br>root@home:/home/home# ping 10.22.2.1<br>PING 10.22.2.1 (10.22.2.1) 56(84) bytes of data.<br>64 bytes from <a href="http://10.22.2.1" target="_blank">10.22.2.1</a>: icmp_req=1 ttl=64 time=0.327 ms<br>
64 bytes from <a href="http://10.22.2.1" target="_blank">10.22.2.1</a>: icmp_req=2 ttl=64 time=0.282 ms<br>^C<br>--- 10.22.2.1 ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>rtt min/avg/max/mdev = 0.282/0.304/0.327/0.028 ms<br>
root@home:/home/home# ssh <a href="mailto:root@10.22.2.1" target="_blank">root@10.22.2.1</a><br><a href="mailto:adroot@10.22.2.1" target="_blank">adroot@10.22.2.1</a>'s password: <br>Permission denied, please try again.<br>
<a href="mailto:root@10.22.2.1" target="_blank">root@10.22.2.1</a>'s password: <br>
<br><br>BusyBox v1.19.3 (2011-12-19 15:01:26 MST) built-in shell (ash)<br>Enter 'help' for a list of built-in commands.<br><br> _______ ________ __<br> | |.-----.-----.-----.| | | |.----.| |_<br>
| - || _ | -__| || | | || _|| _|<br> |_______|| __|_____|__|__||________||__| |____|<br> |__| W I R E L E S S F R E E D O M<br> ATTITUDE ADJUSTMENT (bleeding edge, r29570) ----------<br> * 1/4 oz Vodka Pour all ingredients into mixing<br>
* 1/4 oz Gin tin with ice, strain into glass.<br> * 1/4 oz Amaretto<br> * 1/4 oz Triple sec<br> * 1/4 oz Peach schnapps<br> * 1/4 oz Sour mix<br> * 1 splash Cranberry juice<br> -----------------------------<div id=":1f9">
------------------------<br>
root@OpenWrt:~# route -n<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>10.22.1.0 172.17.22.1 255.255.255.0 UG 2 0 0 wlan0-1<br>10.22.2.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan<br>
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0-1<br>172.17.22.1 172.17.22.1 255.255.255.255 UGH 2 0 0 wlan0-1<br>192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 br-ap_free<br>
root@OpenWrt:~# iwconfig<br>lo no wireless extensions.<br><br>eth0 no wireless extensions.<br><br>eth1 no wireless extensions.<br><br>br-lan no wireless extensions.<br><br>eth0.1 no wireless extensions.<br>
<br>br-wan no wireless extensions.<br><br>wlan0 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br> Power Management:on<br> <br>wlan0-1 IEEE 802.11bgn ESSID:"ninux" <br>
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 22:9C:19:E9:80:22 <br> Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br> Encryption key:off<br> Power Management:on<br> <br>
br-ap_free no wireless extensions.<br><br>mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.437 GHz Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br> Power Management:on<br> <br>root@OpenWrt:~# <br>
root@OpenWrt:~# cat /etc/config/network<br><br>config 'interface' 'loopback'<br> option 'ifname' 'lo'<br> option 'proto' 'static'<br> option 'ipaddr' '127.0.0.1'<br>
option 'netmask' '255.0.0.0'<br><br>config 'interface' 'lan'<br> option 'ifname' 'eth0'<br> option 'type' 'bridge'<br> option 'proto' 'static'<br>
option 'ipaddr' '10.22.2.1'<br> option 'netmask' '255.255.255.0'<br><br>config 'interface' 'wan'<br> option 'ifname' 'eth1'<br> option 'proto' 'dhcp'<br>
option 'type' 'bridge'<br><br>config 'switch'<br> option 'name' 'eth0'<br> option 'reset' '1'<br> option 'enable_vlan' '1'<br><br>config 'switch_vlan'<br>
option 'device' 'eth0'<br> option 'vlan' '1'<br> option 'ports' '0 1 2 3 4'<br><br>config 'interface' 'wlan'<br> option 'proto' 'static'<br>
option 'ipaddr' '172.17.22.2'<br> option 'netmask' '255.255.0.0'<br><br>config 'interface' 'wwan'<br> option 'proto' 'dhcp'<br><br><br>#roba inserita da gigismi<br>
config interface ap_free<br> option type 'bridge'<br> option ifname 'eth0.1'<br> option proto 'static'<br> option ipaddr '192.168.2.1'<br> option netmask '255.255.255.0'<br>
<br>root@OpenWrt:~# cat /etc/config/wireless<br>config wifi-device radio0<br> option type mac80211<br> option channel 6<br> option macaddr 54:e6:fc:c2:2c:96<br> option hwmode 11ng<br> option htmode HT20<br>
list ht_capab SHORT-GI-20<br> list ht_capab SHORT-GI-40<br> list ht_capab TX-STBC<br> list ht_capab RX-STBC1<br> list ht_capab DSSS_CCK-40<br> option 'txpower' '27'<br> <br>
# REMOVE THIS LINE TO ENABLE WIFI:<br><br>config wifi-iface<br> option device radio0<br> option network wlan<br> option mode <span class="il">adhoc</span><br> option ssid ninux<br> option encryption none <br>
<br>config 'wifi-iface' <br>
option 'device' 'radio0' <br> option 'network' 'ap_free' <br> option 'mode' 'ap' <br> option 'ssid' 'OpenWrt' <br> option 'encryption' 'none' <br>
<br>root@OpenWrt:~# cat /etc/config/dhcp <br>config dnsmasq<br> option domainneeded 1<br> option boguspriv 1<br> option filterwin2k 0 # enable for dial on demand<br> option localise_queries 1<br>
option rebind_protection 1 # disable if upstream must serve RFC1918 addresses<br>
option rebind_localhost 1 # enable for RBL checking and similar services<br> #list rebind_domain example.lan # whitelist RFC1918 responses for domains<br> option local '/lan/'<br> option domain 'lan'<br>
option expandhosts 1<br> option nonegcache 0<br> option authoritative 1<br> option readethers 1<br> option leasefile '/tmp/dhcp.leases'<br> option resolvfile '/tmp/resolv.conf.auto'<br>
#list server '/mycompany.local/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>'<br> #option nonwildcard 1<br> #list interface br-lan<br> #list notinterface lo<br> #list bogusnxdomain '64.94.110.11'<br>
<br>config dhcp lan<br> option interface lan<br> option start 100<br> option limit 150<br> option leasetime 12h<br><br>config dhcp wan<br> option interface wan<br> option ignore 1<br>
<br>
#riga aggiunta da gigi<br>config 'dhcp' 'ap_free' <br> option 'interface' 'ap_free' <br> option 'start' '100' <br> option 'limit' '150' <br> option 'leasetime' '12h' <br>
<br>root@OpenWrt:~# wifi<br>Configuration file: /var/run/hostapd-phy0.conf<br>Using interface wlan0 with hwaddr 54:e6:fc:c2:2c:96 and ssid 'OpenWrt'<br>root@OpenWrt:~# ifup wifi<br>interface not found.<br>/sbin/uci: Invalid argument<br>
/sbin/uci: Invalid argument<br>Interface type not supported.<br>root@OpenWrt:~# iwconfig<br>lo no wireless extensions.<br><br>eth0 no wireless extensions.<br><br>eth1 no wireless extensions.<br><br>br-lan no wireless extensions.<br>
<br>eth0.1 no wireless extensions.<br><br>br-wan no wireless extensions.<br><br>br-ap_free no wireless extensions.<br><br>wlan0 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br>
Power Management:on<br> <br>wlan0-1 IEEE 802.11bgn ESSID:"ninux" <br> Mode:Ad-Hoc Frequency:2.437 GHz Cell: 22:9C:19:E9:80:22 <br> Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br>
Encryption key:off<br> Power Management:on<br> <br>mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.437 GHz Tx-Power=18 dBm <br> RTS thr:off Fragment thr:off<br> Power Management:on<br>
<br>root@OpenWrt:~# <br>-----------------------------------------------<br><br><br>Vi giuro che con il cellulare rilevo la rete openwrt mi collego e mi associa un indirizzo, poi sparisce.<br><br><br>Inoltre allego i link su cui mi sono rifatto per arrivare a fare quello che ho fatto :<br>
<br><a href="https://dev.openwrt.org/ticket/10528" target="_blank">https://dev.openwrt.org/ticket/10528</a><br><a href="http://wiki.openwrt.org/doc/recipes/routedap" target="_blank">http://wiki.openwrt.org/doc/recipes/routedap</a><br>
<a href="http://open-wrt.ru/forum/viewtopic.php?id=12552" target="_blank">http://open-wrt.ru/forum/viewtopic.php?id=12552</a><br>
<a href="https://forum.openwrt.org/viewtopic.php?id=28731" target="_blank">https://forum.openwrt.org/viewtopic.php?id=28731</a><div class="yj6qo ajU"><div id=":1bz" class="ajR" tabindex="0"><img class="ajT" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div>
</div></div><br><br><br><br><br><div class="gmail_quote">Il giorno 06 giugno 2012 11:28, Gioacchino Mazzurco <span dir="ltr"><<a href="mailto:gmazzurco89@gmail.com" target="_blank">gmazzurco89@gmail.com</a>></span> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">si si puo' fare su un wrt 741nd perche' usa driver ath9k che supportano<br>
questa cosa<br>
<br>
per le conf non c'e' bisogno di una session, basta che ci flashi il<br>
firmware pisano che fa tutto lui e poi puoi editargli pure le conf di<br>
questo file<br>
<br>
<a href="https://gitorious.org/eigennet/packages/blobs/master/eigennet/files/etc/config/eigennet" target="_blank">https://gitorious.org/eigennet/packages/blobs/master/eigennet/files/etc/config/eigennet</a><br>
<div class="im"><br>
On 06/06/12 10:27, Gigismi wrote:<br>
><br>
><br>
> Il giorno 06 giugno 2012 09:26, Gioacchino Mazzurco<br>
</div>> <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a> <mailto:<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>>> ha scritto:<br>
<div class="im">><br>
> Credo che quella documentazione li sia outdated...<br>
><br>
> qui a pisa usiamo costantemente al configurazione ad-hoc + ap su atheros<br>
><br>
><br>
</div>> E che cazzoooo. Va bene meglio cosě allora. Senti quindi secondo te si<br>
> puň usare questo tipo di configurazione su un tplink wr 741 nd ??<br>
<div class="HOEnZb"><div class="h5">><br>
> Eventualmente ci possiamo dare un appuntamento virtuale fare insieme una<br>
> configurazione di un router ?<br>
><br>
> Voi a pisa usate batman, pensi che sia correlato o che si possa fare con<br>
> olsr ?<br>
><br>
> grazie in anticipo XD<br>
> --<br>
> __Gigi__<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>__Gigi__<br> <br>