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

[Corrected post] ad-hoc wireless connection with Netgear N150 USB adapter



.... I'm sorry for doing a stupid and confusing copy & paste error
in my previous post: of course the machines do have *different* IP
addresses.

I'm posting again - with correction.

------------------------------------


I'm submitting a problem regarding a wireless connection (ad-hoc)
between two computers using both a Netgear N150 WMA1000M USB adapter
(rtl8192cu chipset). Setup seem to be correct (I can detect my
neighbor's networks) but pinging and trying to ssh between my two
machines gives no result, in neither direction. Each computer can ping
to itself. I searched a lot on the Internet, I noticed that others have
a quite similar problem but I couldn't find an answer, so I'm posting
here :-)

More information on my setup:

- Debian Squeeze 6.0.5, kernel 3.2 (bpo)
   - machine#1: Pentium4 2.66GHz, kernel 686
   - machine#2: Celeron Core 2x2.4GHz, kernel amd64
- firmware-realtek 0.35 (bpo) installed
- wireless-tools installed
- firewalls are down, I also disabled all wired connections
- both modules rtl-8192cu and ath9k_htc seem to work
- no WPA enabled
- the machines are close to each other (just one brick wall in between)
- yes, I also tried with no brick walls in between, using a laptop with
the same N150 adapter - and with the same result

I'm posting more details below.

Is it an incorrect setup on my part, or maybe a hardware issue?
Any suggestion will be really appreciated.

Thank you,
Andrew


P.S. Sorry for my non native english


-----------------------------------------------------

# /etc/network/interfaces
------------------------->>
[machine#1]
  auto wlan0
  iface wlan0 inet static
   address 192.168.15.2
   netmask 255.255.255.0
   wireless-mode ad-hoc
   wireless-channel 7
   wireless-essid wlnxnetwork
[machine#2]
  auto wlan0
  iface wlan0 inet static
   address 192.168.15.20
   netmask 255.255.255.0
   wireless-mode ad-hoc
   wireless-channel 7
   wireless-essid wlnxnetwork

~# hwinfo --usb
--------------->>
[snip]
10: USB 00.0: 0000 Unclassified device
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_846_9041_00e04c000001_if0
  Unique ID: 6Vab.2GCN8NqTrPB
  Parent ID: PYMB.WvppkBPnhU7
  SysFS ID: /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.4/4-1.4:1.0
  SysFS BusID: 4-1.4:1.0
  Hardware Class: unknown
  Model: "NetGear 802.11n WLAN Adapter"
  Hotplug: USB
  Vendor: usb 0x0846 "NetGear, Inc."
  Device: usb 0x9041 "802.11n WLAN Adapter"
  Revision: "2.00"
  Serial ID: "00e04c000001"
  Driver: "rtl8192cu"
  Driver Modules: "rtl8192cu"
  Device File: wlan0
  Speed: 12 Mbps
  HW Address: 4c:60:de:5c:56:59
  Link detected: no
  Module Alias: "usb:v0846p9041d0200dc00dsc00dp00icFFiscFFipFF"
  Driver Info #0:
    Driver Status: rtl8192cu is active
    Driver Activation Cmd: "modprobe rtl8192cu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
[snip]

~# ifup wlan0
------------->>
[/var/log/syslog]
[snip]
Jun  1 17:01:56 debmachine kernel: [ 4070.586552] rtl8192cu: MAC auto ON
okay!
Jun  1 17:01:57 debmachine kernel: [ 4070.845527] rtl8192cu: Tx queue
select: 0x05
Jun  1 17:01:57 debmachine kernel: [ 4070.849538] rtl8192c_common:
Loading firmware file rtlwifi/rtl8192cufw.bin
Jun  1 17:01:57 debmachine avahi-daemon[1865]: Joining mDNS multicast
group on interface wlan0.IPv4 with address 192.168.15.3.
Jun  1 17:01:57 debmachine avahi-daemon[1865]: New relevant interface
wlan0.IPv4 for mDNS.
Jun  1 17:01:57 debmachine avahi-daemon[1865]: Registering new address
record for 192.168.15.3 on wlan0.IPv4.
Jun  1 17:01:57 debmachine kernel: [ 4071.513687] wlan0: Trigger new
scan to find an IBSS to join
Jun  1 17:01:58 debmachine avahi-daemon[1865]: Joining mDNS multicast
group on interface wlan0.IPv6 with address fe80::4e60:deff:fe5c:5659.
Jun  1 17:01:58 debmachine avahi-daemon[1865]: New relevant interface
wlan0.IPv6 for mDNS.
Jun  1 17:01:58 debmachine avahi-daemon[1865]: Registering new address
record for fe80::4e60:deff:fe5c:5659 on wlan0.*.
Jun  1 17:02:00 debmachine kernel: [ 4073.663775] wlan0: Trigger new
scan to find an IBSS to join
Jun  1 17:02:02 debmachine kernel: [ 4075.813877] wlan0: Trigger new
scan to find an IBSS to join
Jun  1 17:02:04 debmachine kernel: [ 4078.168935] wlan0: Trigger new
scan to find an IBSS to join
Jun  1 17:02:05 debmachine kernel: [ 4078.680978] wlan0: Creating new
IBSS network, BSSID 46:68:c6:ee:2b:5b
Jun  1 17:02:07 debmachine kernel: [ 4081.568018] wlan0: no IPv6 routers
present

~# iwconfig wlan0
----------------->>
wlan0     IEEE 802.11bgn  ESSID:"wlnxnetwork"
          Mode:Ad-Hoc  Frequency:2.442 GHz  Cell: 46:68:C6:EE:2B:5B
          Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on

~# iwlist wlan0 scan
-------------------->>
wlan0     Scan completed :
          Cell 01 - Address: 46:68:C6:EE:2B:5B
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=70/70  Signal level=0 dBm
                    Encryption key:off
                    ESSID:"wlnxnetwork"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Ad-Hoc
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 343560ms ago
                    IE: Unknown: 000B776C6E786E6574776F726B
                    IE: Unknown: 010882040B160C121824
                    IE: Unknown: 030107
                    IE: Unknown: 06020000
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD070050F202000100

~# route
-------->>
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.15.0    *               255.255.255.0   U     0      0        0
wlan0


Reply to: