[Ninux-Wireless] IPv6 e DNS

2012-05-29 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Salve a tutti,
io non sono molto esperto di reti, vi spiego quello che vorrei fare, forse
c'e` qualcuno che puo` darmi qualche consiglio.

Ho un sito che risponde con un IPv4, vorrei aggiungere un altro server (di
front-end) in ascolto su un IPv6. A questo punto il DNS dovra` risolvere
l'indirizzo sia fornendo l'ip vecchio che il nuovo IPv6. Ma io vorrei comunque
che il grosso degli utenti continui a collegarsi con l'IPv4.

E` possibile fare una cosa del genere?

Grazie in anticipo,
   Piuma.

- -- 
Il Piuma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPxK+uAAoJEDSpnBSp0g/YEZEH/3vmjPjKL9QYDHB4I8DfcV7i
FHF1Uzxlo5WLoUIQ2y44iIJQU01nGFUK0mjCarO28SBj3YeXVA8c59AQqAAmuX1e
R/3qDJhgpFRcSV3RQHwbtKr4j4uSImO1elItJEm9qGM9otNLyyie7y/3XLnMJ64X
Q+Y0Wj1wvne5TbxABVwhxSz4uxlgn+6zfWwTLtWWD3+bYpsZ7UCXTLKcqVHG6wB/
iQaIJMEHUQzWDVuKz2d08jp29hTEgmdQ6GZ3On6PrqVryV2+Qur4um3T6rmkVg0s
5aWytH3Vqp0AWuMIGzXpeeK13+ioYZt4fJr0H+JAjoEzQGHFpdptq3Xgt29x0hM=
=IODE
-END PGP SIGNATURE-
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] icmp duplicati

2011-07-15 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Salve a tutti,
vi e` mai capitato di pingare un host e in modo random ricevere 2 risposte per
un pacchetto icmp inviato?

# ping 10.52.3.6
[...]
64 bytes from 10.52.3.6: icmp_seq=458 ttl=57 time=21.1 ms
64 bytes from 10.52.3.6: icmp_seq=459 ttl=57 time=21.1 ms
64 bytes from 10.52.3.6: icmp_seq=460 ttl=57 time=21.3 ms
64 bytes from 10.52.3.6: icmp_seq=460 ttl=57 time=21.3 ms (DUP!)
64 bytes from 10.52.3.6: icmp_seq=461 ttl=57 time=20.9 ms

La riga che riporta la dicitura "(DUP!)" indica un pacchetto echo reply
duplicato. Infatti due pacchetti consecutivi riportano lo seq number 460.

Me lo traccia anche traceroute:

14:58:01.699691 IP su-lh-tryconn2-sm.lottomatica.net > 10.52.3.6: ICMP echo
request, id 30219, seq 458, length 64
14:58:01.720860 IP 10.52.3.6 > su-lh-tryconn2-sm.lottomatica.net: ICMP echo
reply, id 30219, seq 458, length 64

14:58:02.699746 IP su-lh-tryconn2-sm.lottomatica.net > 10.52.3.6: ICMP echo requ
est, id 30219, seq 459, length 64
14:58:02.720855 IP 10.52.3.6 > su-lh-tryconn2-sm.lottomatica.net: ICMP echo
reply, id 30219, seq 459, length 64

14:58:03.699795 IP su-lh-tryconn2-sm.lottomatica.net > 10.52.3.6: ICMP echo
request, id 30219, seq 460, length 64
14:58:03.721099 IP 10.52.3.6 > su-lh-tryconn2-sm.lottomatica.net: ICMP echo
reply, id 30219, seq 460, length 64
14:58:03.721149 IP 10.52.3.6 > su-lh-tryconn2-sm.lottomatica.net: ICMP echo
reply, id 30219, seq 460, length 64


Non conosco la configurazione di rete, ma secondo voi come e` possibile una cosa
del genere? Quando si puo` verificare?

- -- 
Il Piuma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOIF7QAAoJEDSpnBSp0g/YDwkIAJ1QNw6RnuGWPaCtiw1l8Pjr
R51bgplOFCfZll45XRv1eyxs5TomxLo9Pgp1rY4lV5n4czK7t7zgtwHKeMRsOqZa
ODzBW8YnCw7ErPfDN84C2k72o5opo4+iswRm/LUy/XvVYtfIN/vgxWUGVzdFKNmb
KTtRo1TAIl3tTXfvKehbHSn0XDlKJhpTdNZJrXT3XcZaub06vwYSpw1GPrZEx1zA
lIzNhehP23Xa8DHuyNt7mXDuoQW/T3V1Bp6fIucHGcFvs6U9SA6EloDBFDy3mACR
EBe32LyoG6kddZBTJmKsXxWMR4eCWBiT4xRIalxJIZce0B1HvYVbraixFBSz7RQ=
=Cn1j
-END PGP SIGNATURE-
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] Funzione "Contatta"

2011-05-23 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ciao a tutti.
Quando dulla mappa dei nodi attivi clicco sul link "Contatta" riferito al
proprietario di un nodo si apre una finestra con il messaggio:

   Manager
   Manager disable due to configuration


- -- 
Il Piuma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN2oKmAAoJEDSpnBSp0g/Ys/oIAKZ9FD0CUQ414er11VSFLEbU
qa9yhBxbM2TvOW3d+rG+kczz9sNFjMJM57im9/48g2hwURfXTSLDt1kD/XX1YT1m
LKxqWsVIMSYk9pcNd01HjwC/yH1UKSohSp2rndw2i7hSRikmsBmZPHOuZieqMPAk
tck66u29mbNBGCL1zgO0LnCTmT5Hhqdu3IixFcrbKjAvoa/+Uuk3THuBJQqtKU1Q
BwJUprN5uDPnvqsRpxli+2uzVdRdVkxQ+uQWyT0so38afDxapmLVV2GUPqZGWx+8
eB3jR4pIaxSMVbul+pOw/OLiWblqrA3YC4UZr+RYhpewWs5jbM8KhmS4zT2U6vA=
=mOoU
-END PGP SIGNATURE-
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] wi-fi in Sirio

2010-10-18 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Salve,
Ho un problema con un Sirio by Alice che non vuole piu` saperne di collegarsi al
router in wi-fi, mentre funziona perfettamente via Eth e con il normale cavo
telefonico. Da Telecom non sono stati capaci di fare nulla. Sembra che il
software che gestisce la connessione wi-fi non funzioni. Si puo rimediare?
Qualcuno di voi ha avuto problemi simili?

Grazie

- -- 
Il Piuma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMu/Z1AAoJEDSpnBSp0g/YsIUH/irjzr9pDki+ZzAk4KSYK6TO
FqBocowaa6ON10CYizBhyZpEnEjK50UPDXtbG2nYMn4/yu6Qsn7GrmDblJYzxi+1
7KYMIH9PnB1XhSX6pHdwkuv51rsTwggMMbjT2vBtzEYInvSGijWwwXKYslEfpRSX
iedCDquaI0AjfLzjuBHkXTdv4QkMaTpgY/MiTDYI5ATmVUFXIWYiC5+Sy8QCopoK
gjapmcxCXZ24eIz7z9RAlMGrlpy0/0o4aHSLmmDALBjY1qbDMGhOPsI5183fAext
9Lc8chzSoY+tKFkmToe32JlnOByaqzfe8/orhXgYWVGHZRHNatsVRtFL5cp1dnY=
=bDi8
-END PGP SIGNATURE-
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] configurazione linux access point

2010-10-09 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ciao,
vorrei configurare un router linux come wireless access point ma ho dei problemi
con la configurazione, forse voi potete darmi qualche consiglio.

Questo e` il device:

# lspci -k
01:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network
Adapter (rev 01)
Subsystem: D-Link System Inc Device 3a6d
Kernel driver in use: ath9k
Kernel modules: ath9k


# cat /etc/sysconfig/network-scripts/ifcfg-wlan1
DEVICE=wlan1
ESSID=nepero
BOOTPROTO=none
ONBOOT=yes
PERSISTENT_DHCLIENT=Y
DHCLIENTARGS=-nw
NETMASK=255.255.255.0
IPADDR=192.168.10.100
TYPE=Wireless
USERCTL=yes
IPV6INIT=no
CHANNEL=6
MODE=Master
RATE=auto
GATEWAY=192.168.1.1
HWADDR=00:22:b0:ce:59:9a
NM_CONTROLLED=yes


Ho scritto una configurazione semplicissima di hostapd

# cat hostapd_test.conf
interface=wlan1
driver=nl80211
hw_mode=g
channel=1
ssid=nepero
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_passphrase=12345678

# ./hostapd -d hostapd_test.conf
Configuration file: hostapd_test.conf
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
nl80211: Register Action command failed: ret=-95 (Operation not supported)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 5
nl80211: New interface mon.wlan1 created: ifindex=53
nl80211: Add own interface ifindex 53
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Completing interface initialization
Mode: IEEE 802.11g  Channel: 1  Frequency: 2412 MHz
Flushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=5 alg=0 addr=(nil) key_idx=0 set_tx=1
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 alg=0 addr=(nil) key_idx=1 set_tx=0
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 alg=0 addr=(nil) key_idx=2 set_tx=0
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 alg=0 addr=(nil) key_idx=3 set_tx=0
seq_len=0 key_len=0
Using interface wlan1 with hwaddr 00:22:b0:ce:59:9a and ssid 'nepero'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=6):
 6e 65 70 65 72 6f nepero
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=5 alg=3 addr=(nil) key_idx=1 set_tx=1
seq_len=0 key_len=16
nl80211: Set beacon (beacon_set=0)
wlan1: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
nl80211: Interface down
Unknown event 29
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan1' added
Unknown event 5
nl80211: Ignore event for foreign ifindex 4
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Interface up
Unknown event 28
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan1' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11143 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11143 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Unknown event 5



# ifconfig
mon.wlan1 Link encap:UNSPEC  HWaddr
00-22-B0-CE-59-9A-E1-F9-00-00-00-00-00-00-00-00
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:112 (112.0 b)  TX bytes:0 (0.0 b)

wlan1 Link encap:Ethernet  HWaddr 00:22:B0:CE:59:9A
  inet addr:192.168.10.100  Bcast:192.168.10.255  Mask:255.255.255.0
  inet6 addr: fe80::222:b0ff:fece:599a/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:207 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:17196 (16.7 KiB)

wmaster0  Link encap:UNSPEC  HWaddr
00-22-B0-CE-59-9A-E1-F9-00-00-00-00-00-00-00-00
  UP RUNNING  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Sembra che funzioni tutto, infatti da un altro pc riesco a vedere la Wireless,
quando tento d

Re: [Ninux-Wireless] Housing

2010-09-07 Per discussione pi...@piumalab.org
On 09/07/2010 05:18 PM, Marco Bertorello wrote:
> Il 07 settembre 2010 17:08, Filippo Sallemi ha scritto:
>> Qualcuno mi sa consigliare da chi prendere un qualche server virtuale con
>> almeno 1 Mb garantito di banda?
>
> Io sono molto soddisfatto di https://www.gandi.net/

+1

-- 
Il Piuma
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] IPv6, prove di switch in Asia

2010-07-28 Per discussione pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://punto-informatico.it/2955974/PI/News/ipv6-prove-switch-asia.aspx

- -- 
Il Piuma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMUEjFAAoJEDSpnBSp0g/YEf4H/0tygi+69WpsenlvzeV1Gvcj
tRXQC/sW9RmIQcIXK+bMPq+KXsYXRhLhkZEpRcN2MSSVJ3n9zgv9rbqCHvjAIe6c
gIm9qkrl3LTBKI2ct6QCD0vFihXrI7Sb+ubD7sTbVHuKC9vI5VKaiKB9k/xv+uuv
L9IhYqlg3s1+CE6brknoJUS5fF/jcNH7Z3dBtyHKrR38UT4f1k0JmNzxWkTdnACd
BNYL7nu1QSKY+Nm5y5qHiVXC/MqXnQW+3n1+0n+9mPQ61aMWYGAHEG3lF6ZOUjQJ
tD7AVlVBtTNMu/e/KjZ75L2N9Dlj3lf9qbJK0dtEofEx2aeGWpxXaTgyJZwrJaQ=
=aUSX
-END PGP SIGNATURE-
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


Re: [Ninux-Wireless] problem with big integer on openwrt

2010-07-15 Per discussione pi...@piumalab.org
On 07/15/2010 12:01 PM, Gioacchino Mazzurco wrote:
> The problem is not Openwrt but awk that cannot handle big number on small
> device :(
>
> bash can than i fixed with this
>
> printf "%d\n" $(( (`echo "255.255.255.255" | awk -F\. '{printf "%d",
> ($4)}'`)+ (256*`echo "255.255.255.255" | awk -F\. '{printf "%d", ($3)}'`) +
> (256*256*`echo "255.255.255.255" | awk -F\. '{printf "%d", ($2)}'`) +
> (256*256*256*`echo "255.255.255.255" | awk -F\. '{printf "%d", ($4)}'`) ))
>

Also, Try this command:

echo "255.255.255.255" | awk -F\. '{printf 
$4"+"$3"*"256"+"$2"*256*256+"$1"*256*256*256\n"}' | bc

-- 
Il Piuma
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] problema Master mode in D-link PCI

2010-07-12 Per discussione pi...@piumalab.org
Ciao a tutti,
sono nuovo della lista, ho avuto il piacere di conoscere ZioPRoTo ad 
Hackmeeting.
Ho un problemino con una scheda wireless, forse voi potete aiutarmi. E` una PCI 
della D-Link modello DWA-552, precisamente:

http://www.dlink.com/products/?pid=DWA-552

Il problema e` che non riesco ad impostarla in Master mode, mi stampa l'errore:

# iwconfig wlan1 essid prova mode Master channel 11
Error for wireless request "Set Mode" (8B06) :
 SET failed on device wlan1 ; Invalid argument.

Vi mando un po` di informazioni:

# uname -r
2.6.30.10-105.2.23.fc11.i686.PAE

# lspci | grep Wireless
01:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network 
Adapter (rev 01)

# lsmod | grep ath9k
ath9k 209560  0
mac80211  175072  1 ath9k
rfkill  8936  2 ath9k
cfg80211   51620  2 ath9k,mac80211

# iwconfig wlan1
wlan1 IEEE 802.11bgn  ESSID:"nepero"
   Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
   Tx-Power=20 dBm
   Retry min limit:7   RTS thr:off   Fragment thr:off
   Encryption key:off
   Power Management:off
   Link Quality:0  Signal level:0  Noise level:0
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Grazie in anticipo per l'aiuto.
Ciao

-- 
Il Piuma
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless