Re: ad-hoc wireless connection with Netgear N150 USB adapter

2012-06-05 Thread ACro

In the meantime I found that the ath9k_htc driver *doesn't
support* ad-hoc mode. Unfortunately I missed this information
before opening the thread.

I didn't find more details on the rtl8192cu.

I'll get an AP and try the ath9k_htc driver in AP mode,
which seem to be supported. I will update this thread as
soon as possible.

Andrew


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fce8451.7080...@bluebottle.com



ad-hoc wireless connection with Netgear N150 USB adapter

2012-06-01 Thread ACro

Hello,

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.2
   netmask 255.255.255.0
   wireless-mode ad-hoc
   wireless-channel 7
   wireless-essid wlnxnetwork

~# hwinfo --usb
---
[snip]
10: USB 00.0:  Unclassified device
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_846_9041_00e04c01_if0
  Unique ID: 6Vab.2GCN8NqTrPB
  Parent ID: PYMB.WvppkBPnhU7
  SysFS ID: /devices/pci:00/: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: 00e04c01
  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

Re: ad-hoc wireless connection with Netgear N150 USB adapter

2012-06-01 Thread Arnt Karlsen
On Fri, 01 Jun 2012 21:12:49 +0200, ACro wrote in message 
4fc91431.60...@bluebottle.com:

 # /etc/network/interfaces
 -
 [machine#1]
auto wlan0
iface wlan0 inet static
 address 192.168.15.2

 [machine#2]
auto wlan0
iface wlan0 inet static
 address 192.168.15.2

..maybe 192.168.15.3 on #2? ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120602002938.64ee3...@celsius.lan



Re: ad-hoc wireless connection with Netgear N150 USB adapter

2012-06-01 Thread ACro

maybe 192.168.15.3 on #2? ;o)


:-s ... I'm sorry, this was a stupid copy  paste error: of course *they 
have not* the same address :-) Thanks!


Andrew


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fc94a6c.7090...@bluebottle.com



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

2012-06-01 Thread ACro

 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:  Unclassified device
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_846_9041_00e04c01_if0
  Unique ID: 6Vab.2GCN8NqTrPB
  Parent ID: PYMB.WvppkBPnhU7
  SysFS ID: /devices/pci:00/: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: 00e04c01
  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