Re: [Ninux-Wireless] Problema Openwrt
>> Config line 28: syntax error >> >> Error while reading config file /etc/config/olsrd! >Dice che c'e' un errore in /etc/config/olsrd (riga 28) ma non ne vedo. anch'io non vedevo errori in quel punto >> root@Scooreggione:~# sh /etc/config/olsrd >Questo comando non ha senso, stai cercando di eseguire un file di >configurazione :) in effetti non conoscevo il significato del comando :( >Ma quindi oltre a questi errori ti da dei problemi? dopo aver cancellato una graffa di troppo nella configurazione di olsr sembra funzionare, grazie Il giorno 15 marzo 2015 17:22, leonaard ha scritto: > On 03/15/2015 12:45 PM, fortunato franco wrote: > > root@Scooreggione:~# sh /etc/rc.local > > > > RTNETLINK answers: File exists > > Questo lo puoi ignorare, in sostanza ti dice che stai cercando di creare > indirizzi/rotte/ecc che gia esistono, forse perche esegui rc.local piu > di una volta (considera che viene eseguito all avvio automaticamente) > > > Config line 28: syntax error > > > > Error while reading config file /etc/config/olsrd! > > Dice che c'e' un errore in /etc/config/olsrd (riga 28) ma non ne vedo. > > > root@Scooreggione:~# sh /etc/config/olsrd > > Questo comando non ha senso, stai cercando di eseguire un file di > configurazione :) > > Ma quindi oltre a questi errori ti da dei problemi? > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Problema Openwrt
On 03/15/2015 12:45 PM, fortunato franco wrote: > root@Scooreggione:~# sh /etc/rc.local > > RTNETLINK answers: File exists Questo lo puoi ignorare, in sostanza ti dice che stai cercando di creare indirizzi/rotte/ecc che gia esistono, forse perche esegui rc.local piu di una volta (considera che viene eseguito all avvio automaticamente) > Config line 28: syntax error > > Error while reading config file /etc/config/olsrd! Dice che c'e' un errore in /etc/config/olsrd (riga 28) ma non ne vedo. > root@Scooreggione:~# sh /etc/config/olsrd Questo comando non ha senso, stai cercando di eseguire un file di configurazione :) Ma quindi oltre a questi errori ti da dei problemi? ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Problema Openwrt
>cosa contiene rc.local? root@Scooreggione:~# cat /etc/rc.local # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. #110 Local routes #111 RtTable #112 RtTableDefault #113 Special Table for /1 #114 blackholes table #Copy local routes only from table main 254 to table 110 ip route show table 254 | grep -Ev ^default | grep -Ev ^blackhole | while read ROUTE ; do MASK=`echo "${ROUTE}" | awk '{print $1}' | awk -F/ '{print $2}'` if [ "$MASK" -ne 16 ] ; then ip route add table 110 $ROUTE fi done #First evaluate local routes ip rule add from all lookup 110 pref 3 #Private routes to OLSR table ip rule add to 10.0.0.0/8 table 111 pref 4 ip rule add to 172.16.0.0/12 table 111 pref 4 ip rule add to 192.168.0.0/16 table 111 pref 4 #Ninux IP Addresses to OLSR table ip rule add to 176.62.53.0/24 table 111 pref 4 #Evaluate blackholes ip rule add from all table 114 pref 5 #Send traffic of public addresses to BGP border routers ip rule add from 176.62.53.0/24 table 113 pref 6 #Lookup default route first from user and then from OLSR ip rule add from all lookup 254 pref 7 ip rule add from all lookup 112 pref 8 #Blackhole private aggregates ip route add blackhole 10.0.0.0/8 table 114 ip route add blackhole 172.16.0.0/12 table 114 ip route add blackhole 192.168.0.0/16 table 114 #Blackhole Ninux aggregate ip route add blackhole 176.62.53.0/24 table 114 #Start olsr v4 olsrd -f /etc/config/olsrd -d 0 #Start olsrd v6 #olsrd -f /etc/config/olsrd6.conf -d 0 #MTU Clamping iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu ip6tables -I FORWARD -p tcp --syn -j TCPMSS --clamp-mss-to-pmtu exit 0 >> root@Scooreggione:~# sh /etc/config/olsrd >cosa stai cercando di fare con questo comando?? inizialmente quando non riuscivo a pingare nulla ho provato a leggere le vecchie ML in una di queste veniva consigliato di vedere se questo comando restituiva errori, mi ha colpito il messagio di errore , ma non conosco il comando e conosco poco linux. Ciao e grazie ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Problema Openwrt
On Sun, Mar 15, 2015 at 1:45 PM, fortunato franco wrote: > Ciao a tutti, sto facendo delle prove di routing a terra con un router > tp-link 4300 e una antenna M5, inizialmente non riuscivo a pingare l'AP , > ora sembra funzionare ma se lancio sh /etc/rc.local a volte mi restituisce > il seguente output > > root@Scooreggione:~# sh /etc/rc.local cosa contiene rc.local? cat /etc/rc.local cosa restituisce? > root@Scooreggione:~# sh /etc/config/olsrd cosa stai cercando di fare con questo comando?? ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
[Ninux-Wireless] Problema Openwrt
Ciao a tutti, sto facendo delle prove di routing a terra con un router tp-link 4300 e una antenna M5, inizialmente non riuscivo a pingare l'AP , ora sembra funzionare ma se lancio sh /etc/rc.local a volte mi restituisce il seguente output root@Scooreggione:~# sh /etc/rc.local RTNETLINK answers: File exists RTNETLINK answers: File exists RTNETLINK answers: File exists RTNETLINK answers: File exists RTNETLINK answers: File exists *** olsr.org - 0.6.6.1-git_c2c7305-hash_2bae6a2c4852a2b7b4f3195fa49c5a9b *** Build date: 2014-05-17 22:40:44 on nockid http://www.olsr.org Parsing file: "/etc/config/olsrd" IpVersion: 4 RtTable: 111 RtTableDefault: 112 setting ifs_in_curr_cfg = 0 Config line 28: syntax error Error while reading config file /etc/config/olsrd! altre volte ottengo root@Scooreggione:~# sh /etc/config/olsrd /etc/config/olsrd: line 2: config: not found /etc/config/olsrd: line 3: option: not found /etc/config/olsrd: line 4: option: not found /etc/config/olsrd: line 5: option: not found /etc/config/olsrd: line 25: config: not found /etc/config/olsrd: line 26: list: not found /etc/config/olsrd: line 28: config: not found /etc/config/olsrd: line 29: option: not found /etc/config/olsrd: line 30: option: not found il file olsrd è il seguente, i plugin sono tutti disabilitati, non so se qualcuno di questi è necessario per una configurazione base di olsr config olsrd option IpVersion '4' option RtTable '111' option RtTableDefault '112' #config LoadPlugin # option library 'olsrd_arprefresh.so.0.1' #config LoadPlugin # option library 'olsrd_dyn_gw.so.0.5' #config LoadPlugin # option library 'olsrd_httpinfo.so.0.1' # option port '1978' # list Net '0.0.0.0 0.0.0.0' #config LoadPlugin # option library 'olsrd_nameservice.so.0.3' #config LoadPlugin # option library 'olsrd_txtinfo.so.0.1' # option accept '0.0.0.0' config Interface list interface 'rete' config Hna4 option netaddr '10.133.63.0' option netmask '255.255.255.0' un saluto a tutti ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Problema Openwrt wifi 5ghz
Salve a tutti. Ho provato a compilare compat-wireless 2010.11.24 sostituendo per IT il seguente: country IT: (2402 - 2482 @ 40), (N/A, 27) (5170 - 5835 @ 40), (N/A, 30) Una volta compilato ho sostituito regulatory.bin in /usr/lib/crda (Openwrt sempre versione 10.03.1 rc4) Riavviato openwrt legge correttamente la modifica infatti: cfg80211: Calling CRDA for country: IT cfg80211: Regulatory domain changed to country: IT (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2482000 KHz @ 4 KHz), (N/A, 2700 mBm) (517 KHz - 5835000 KHz @ 4 KHz), (N/A, 3000 mBm) ma usando iw list si nota che non è cambiato niente: Frequencies: * 5180 MHz [36] (17.0 dBm) * 5200 MHz [40] (17.0 dBm) * 5220 MHz [44] (17.0 dBm) * 5240 MHz [48] (17.0 dBm) * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5600 MHz [120] (disabled) * 5620 MHz [124] (disabled) * 5640 MHz [128] (disabled) * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5745 MHz [149] (30.0 dBm) * 5765 MHz [153] (30.0 dBm) * 5785 MHz [157] (30.0 dBm) * 5805 MHz [161] (30.0 dBm) * 5825 MHz [165] (30.0 dBm) E se provo comunque a cambiare manualmente la txpower ottengo: root@OpenWrt:~# iwconfig wlan0 txpower 23 Error for wireless request "Set Tx Power" (8B26) : SET failed on device wlan0 ; Invalid argument. ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Problema Openwrt wifi 5ghz
La versione è Backfire 10.03.1-rc4, r24045 e questi sono i pacchetti installati: root@OpenWrt:~# opkg list_installed base-files - 43.10-r24505 block-hotplug - 0.1.0-2 block-mount - 0.1.0-2 busybox - 1.15.3-2 crda - 1.1.0-2 dnsmasq - 2.55-6 dropbear - 0.52-4 firewall - 1-20 hostapd - 20100705-2 hostapd-utils - 20100705-2 hotplug2 - 1.0-beta-2 ip - 2.6.29-1-2 iptables - 1.4.6-2 iptables-mod-conntrack - 1.4.6-2 iptables-mod-nat - 1.4.6-2 iw - 0.9.21-1 kernel - 2.6.32.27-1 kmod-ath - 2.6.32.27+2010-12-09-1 kmod-ath9k - 2.6.32.27+2010-12-09-1 kmod-button-hotplug - 2.6.32.27-1 kmod-cfg80211 - 2.6.32.27+2010-12-09-1 kmod-crc-ccitt - 2.6.32.27-1 kmod-crc16 - 2.6.32.27-1 kmod-crypto-aes - 2.6.32.27-1 kmod-crypto-arc4 - 2.6.32.27-1 kmod-crypto-core - 2.6.32.27-1 kmod-fs-ext4 - 2.6.32.27-1 kmod-fs-mbcache - 2.6.32.27-1 kmod-gre - 2.6.32.27-1 kmod-input-core - 2.6.32.27-1 kmod-input-gpio-buttons - 2.6.32.27-1 kmod-input-polldev - 2.6.32.27-1 kmod-ipt-conntrack - 2.6.32.27-1 kmod-ipt-core - 2.6.32.27-1 kmod-ipt-nat - 2.6.32.27-1 kmod-ipt-nathelper - 2.6.32.27-1 kmod-leds-gpio - 2.6.32.27-1 kmod-mac80211 - 2.6.32.27+2010-12-09-1 kmod-nls-base - 2.6.32.27-1 kmod-ppp - 2.6.32.27-1 kmod-pppoe - 2.6.32.27-1 kmod-scsi-core - 2.6.32.27-1 kmod-usb-core - 2.6.32.27-1 kmod-usb-ohci - 2.6.32.27-1 kmod-usb-printer - 2.6.32.27-1 kmod-usb-storage - 2.6.32.27-1 kmod-usb2 - 2.6.32.27-1 kmod-wprobe - 2.6.32.27+1-1 libc - 0.9.30.1-43.10 libgcc - 4.3.3+cs-43.10 libiptc - 1.4.6-2 libnl-tiny - 0.1-1 libpthread - 0.9.30.1-42 librt - 0.9.30.1-42 libuci - 12012009.6-2 libxtables - 1.4.6-2 mtd - 13 opkg - 576-1 ppp - 2.4.4-11 ppp-mod-pppoe - 2.4.4-11 pptp - 1.7.1-3 samba3 - 3.0.24-5 swconfig - 6 uci - 12012009.6-2 udevtrigger - 106-1 uhttpd - 19 wireless-tools - 29-4 wpad - 20100705-2 wpad-mini - 20100705-2 wprobe-util - 1-1 Gabriele Il giorno 02/mag/2011, alle ore 18.41, ZioPRoTo (Saverio Proto) ha scritto: > Servono i dettagli della versione di openwrt e di compatwireless per > dare delle risposte. > > Saverio > > Il 02 maggio 2011 18:29, Gabriele Amendola > ha scritto: >> Salve a tutti. >> Sono un felice possessore di di una routerstation pro con una r52nm. >> Sono giorni che cerco di configurare al meglio il wifi ma non ci >> riesco.Usando il codice regione US riesco ad usare la banda 2,4ghz a >> 27dbm mentre per quanto riguarda 5ghz solo i canali 36 40 44 48 a 17dbm che >> sono un po pochini. Ho provato praticamente con tutti i codici regionali e >> non riesco comunque a capire una cosa: usando il codice regionale BB ottengo: >> root@OpenWrt:/mnt/downloads# iw reg get >> >> country BB: >>(2402 - 2482 @ 40), (N/A, 20) >>(5170 - 5250 @ 40), (3, 23) >>(5250 - 5330 @ 40), (3, 23), DFS >>(5735 - 5835 @ 40), (3, 30) >> >> Quindi tecnicamente dovrei poter usare i canali 36 40 44 48 a 23dbm, ma ciò >> non avviene infatti usando iw list: >> >> Band 2: >>Capabilities: 0x11ce >>HT20/HT40 >>SM Power Save disabled >>RX HT40 SGI >>TX STBC >>RX STBC 1-stream >>Max AMSDU length: 3839 bytes >>DSSS/CCK HT40 >>Maximum RX AMPDU length 65535 bytes (exponent: 0x003) >>Minimum RX AMPDU time spacing: 8 usec (0x06) >>HT TX/RX MCS rate indexes supported: 0-15 >>Frequencies: >>* 5180 MHz [36] (17.0 dBm) >>* 5200 MHz [40] (17.0 dBm) >>* 5220 MHz [44] (17.0 dBm) >>* 5240 MHz [48] (17.0 dBm) >>* 5260 MHz [52] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5280 MHz [56] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5300 MHz [60] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5320 MHz [64] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5500 MHz [100] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5520 MHz [104] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5540 MHz [108] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5560 MHz [112] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5580 MHz [116] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5600 MHz [120] (disabled) >>* 5620 MHz [124] (disabled) >>* 5640 MHz [128] (disabled) >>* 5660 MHz [132] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>* 5680 MHz [136] (20.0 dBm) (passive scanning, no >> IBSS, radar detection) >>
Re: [Ninux-Wireless] Problema Openwrt wifi 5ghz
Servono i dettagli della versione di openwrt e di compatwireless per dare delle risposte. Saverio Il 02 maggio 2011 18:29, Gabriele Amendola ha scritto: > Salve a tutti. > Sono un felice possessore di di una routerstation pro con una r52nm. > Sono giorni che cerco di configurare al meglio il wifi ma non ci > riesco.Usando il codice regione US riesco ad usare la banda 2,4ghz a > 27dbm mentre per quanto riguarda 5ghz solo i canali 36 40 44 48 a 17dbm che > sono un po pochini. Ho provato praticamente con tutti i codici regionali e > non riesco comunque a capire una cosa: usando il codice regionale BB ottengo: > root@OpenWrt:/mnt/downloads# iw reg get > > country BB: > (2402 - 2482 @ 40), (N/A, 20) > (5170 - 5250 @ 40), (3, 23) > (5250 - 5330 @ 40), (3, 23), DFS > (5735 - 5835 @ 40), (3, 30) > > Quindi tecnicamente dovrei poter usare i canali 36 40 44 48 a 23dbm, ma ciò > non avviene infatti usando iw list: > > Band 2: > Capabilities: 0x11ce > HT20/HT40 > SM Power Save disabled > RX HT40 SGI > TX STBC > RX STBC 1-stream > Max AMSDU length: 3839 bytes > DSSS/CCK HT40 > Maximum RX AMPDU length 65535 bytes (exponent: 0x003) > Minimum RX AMPDU time spacing: 8 usec (0x06) > HT TX/RX MCS rate indexes supported: 0-15 > Frequencies: > * 5180 MHz [36] (17.0 dBm) > * 5200 MHz [40] (17.0 dBm) > * 5220 MHz [44] (17.0 dBm) > * 5240 MHz [48] (17.0 dBm) > * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, > radar detection) > * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, > radar detection) > * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, > radar detection) > * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, > radar detection) > * 5500 MHz [100] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5520 MHz [104] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5540 MHz [108] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5560 MHz [112] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5580 MHz [116] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5600 MHz [120] (disabled) > * 5620 MHz [124] (disabled) > * 5640 MHz [128] (disabled) > * 5660 MHz [132] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5680 MHz [136] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5700 MHz [140] (20.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5745 MHz [149] (30.0 dBm) > * 5765 MHz [153] (30.0 dBm) > * 5785 MHz [157] (30.0 dBm) > * 5805 MHz [161] (30.0 dBm) > * 5825 MHz [165] (30.0 dBm) > > I canali usabili non dfs 36 40 44 48 sono sempre a 17dbm. Perchè? > Ps. non uso dal 149 in su perchè i macbook pro in mio possesso non supportano > quei canali. > C'è un modo di usare i canali dal 52 al 116? > > Saluti > Gabriele > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
[Ninux-Wireless] Problema Openwrt wifi 5ghz
Salve a tutti. Sono un felice possessore di di una routerstation pro con una r52nm. Sono giorni che cerco di configurare al meglio il wifi ma non ci riesco.Usando il codice regione US riesco ad usare la banda 2,4ghz a 27dbm mentre per quanto riguarda 5ghz solo i canali 36 40 44 48 a 17dbm che sono un po pochini. Ho provato praticamente con tutti i codici regionali e non riesco comunque a capire una cosa: usando il codice regionale BB ottengo: root@OpenWrt:/mnt/downloads# iw reg get country BB: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (3, 23) (5250 - 5330 @ 40), (3, 23), DFS (5735 - 5835 @ 40), (3, 30) Quindi tecnicamente dovrei poter usare i canali 36 40 44 48 a 23dbm, ma ciò non avviene infatti usando iw list: Band 2: Capabilities: 0x11ce HT20/HT40 SM Power Save disabled RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-15 Frequencies: * 5180 MHz [36] (17.0 dBm) * 5200 MHz [40] (17.0 dBm) * 5220 MHz [44] (17.0 dBm) * 5240 MHz [48] (17.0 dBm) * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5600 MHz [120] (disabled) * 5620 MHz [124] (disabled) * 5640 MHz [128] (disabled) * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5745 MHz [149] (30.0 dBm) * 5765 MHz [153] (30.0 dBm) * 5785 MHz [157] (30.0 dBm) * 5805 MHz [161] (30.0 dBm) * 5825 MHz [165] (30.0 dBm) I canali usabili non dfs 36 40 44 48 sono sempre a 17dbm. Perchè? Ps. non uso dal 149 in su perchè i macbook pro in mio possesso non supportano quei canali. C'è un modo di usare i canali dal 52 al 116? Saluti Gabriele ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless