[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problème de conf iwconfig/ifconfig Wireless



Bonjour,

J'ai deux carte Wifi NetGear WG311 802.11g.
Le drive que j'utilise ( du moin j'essai ) est le drive madwifi.

PROBLEME :
Je n'arrive pas a faire pinguer mes 2 carte Wifi en mode Ad-Hoc.


Le drive semble bien fonctionner :
# dmesg
-----------------------------------------------------------------------------
ath_hal: 0.9.6.11
wlan: 0.7.3.1 BETA
ath_pci: 0.8.5.2 BETA
PCI: Found IRQ 10 for device 00:0f.0
PCI: Sharing IRQ 10 with 00:02.2
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:09:5b:98:0a:87
ath0: Atheros 5212: mem=0xcffe0000, irq=10
-----------------------------------------------------------------------------


# iwconfig ath0 mode ad-hoc channel 10 essid "mon_reseau" nick "serveur" rts
auto rate auto
# iwconfig ath0
-----------------------------------------------------------------------------
ath0      IEEE 802.11  ESSID:"mon_reseau"  Nickname:"serveur"
          Mode:Ad-Hoc  Frequency:2.457GHz  Cell: 02:09:5B:98:0A:87
          Bit Rate:0kb/s   Tx-Power:off   Sensitivity=0/0
          Retry:off   RTS thr=65535 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/0  Signal level:-95 dBm  Noise level:-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
-----------------------------------------------------------------------------

# ifconfig ath0 inet 192.168.0.101 netmask 255.255.255.0 mtu 576 up
# ifconfig ath0
-----------------------------------------------------------------------------
ath0      Lien encap:Ethernet  HWaddr 00:09:5B:98:0A:68
          inet adr:192.168.0.102  Bcast:192.168.0.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:4259 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:199
          RX bytes:319311 (311.8 Kb)  TX bytes:2039 (1.9 Kb)
          Interruption:7 M�oire:e0973000-e0983000
-----------------------------------------------------------------------------

l'autre est en 192.168.0.101

# netstat -rn
-----------------------------------------------------------------------------
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fen�re irtt
Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 ath0
...
-----------------------------------------------------------------------------

# ping -c 3 192.168.0.102
-----------------------------------------------------------------------------
PING 192.168.0.102 (192.168.0.102): 56 data bytes

--- 192.168.0.102 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
-----------------------------------------------------------------------------


Merci d'avance...,


Jérémy

----------------------------------------------------------------
  Ce message est envoyé par IMP ( Internet Messaging Program ).



Reply to: