Talk:On Networks (Netgear) N300MA

From WikiDevi.Wi-Cat.RU
Jump to navigation Jump to search

Hello, I would really like to know how this page was created, as I couldn't make this wifi key work under linux. As is, the indicated drivers do not work. Thank you! --Ivanoff 11:21, 25 October 2012 (EDT)

You will probably need to add the USB ID to the driver as it is almost certain that the USB ID is not in there now.
For rtl8192cu, the USB IDs are in sw.c.
Just add a line with {RTL_USB_DEVICE(0x0846, 0xf001, rtl92cu_hal_cfg)}, in the USB ID section (after {RTL_USB_DEVICE(0x0846, 0x9021, rtl92cu_hal_cfg)}, /*Netgear-Sercomm*/ would be fine) and recompile
er.. or alternatively, just modprobe rtl8192cu and echo -n "0846 f001" > /sys/bus/usb/drivers/rtl8192cu/new_id
--M86 12:18, 25 October 2012 (EDT)
Thanks for the tip. But for the record, well, I got that...
[  581.716673] usb 2-2: new high-speed USB device number 5 using ehci_hcd
[  745.327768] cfg80211: Calling CRDA to update world regulatory domain
[  745.367548] usbcore: registered new interface driver rtl8192cu
[  788.892927] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[  788.892947] IP: [<ffffffffa08f9356>] rtl_usb_probe+0x1d5/0x56b [rtlwifi]
[  788.892967] PGD 14f83a067 PUD 15c772067 PMD 0 
[  788.892978] Oops: 0000 [#1] PREEMPT SMP 
[  788.892988] Modules linked in: rtl8192cu rtlwifi rtl8192c_common mac80211 cfg80211 rfcomm bnep powernow_k8 mperf uvcvideo videobuf2_vmalloc snd_hda_codec_idt videobuf2_memops videobuf2_core joydev videodev r8169 snd_hda_codec_hdmi kvm snd_hda_intel btusb bluetooth media ums_realtek hp_wmi snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd psmouse sparse_keymap sp5100_tco i2c_piix4 microcode k10temp i2c_core hp_accel usb_storage lis3lv02d rfkill mii soundcore uas processor input_polldev thermal pcspkr serio_raw wmi battery ac video evdev ext4 crc16 jbd2 mbcache sd_mod ohci_hcd ahci libahci ehci_hcd libata usbcore scsi_mod usb_common fglrx(PO) button amd_iommu_v2
[  788.893123] CPU 0 
[  788.893134] Pid: 1056, comm: bash Tainted: P           O 3.6.3-1-ARCH #1 Hewlett-Packard HP Pavilion dm1 Notebook PC/3387
[  788.893143] RIP: 0010:[<ffffffffa08f9356>]  [<ffffffffa08f9356>] rtl_usb_probe+0x1d5/0x56b [rtlwifi]
[  788.893157] RSP: 0018:ffff880158bb1cd8  EFLAGS: 00010246
[  788.893163] RAX: 0000000000000000 RBX: ffff880144ef85c0 RCX: 0000000000000000
[  788.893169] RDX: ffffffffa08fb6dc RSI: ffffffffa08fa401 RDI: ffff880144ef85c0
[  788.893174] RBP: ffff880158bb1d28 R08: ffff880144ef9f80 R09: ffff88017c979830
[  788.893179] R10: ffff880158bb1fd8 R11: 0000000000000000 R12: ffff880144ef9f80
[  788.893184] R13: ffff880144ef9f80 R14: ffff880172b9d088 R15: ffff880169c3c510
[  788.893192] FS:  00007f74c03d4700(0000) GS:ffff880186c00000(0000) knlGS:0000000000000000
[  788.893197] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  788.893202] CR2: 0000000000000018 CR3: 0000000144e69000 CR4: 00000000000007f0
[  788.893208] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  788.893213] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  788.893220] Process bash (pid: 1056, threadinfo ffff880158bb0000, task ffff88013adaf0e0)
[  788.893223] Stack:
[  788.893227]  ffff880169c3c510 ffff88017c979830 0000000000000000 ffff880172b9d000
[  788.893239]  ffff880158bb1d08 ffff880172b9d000 ffffffffa0909508 ffff88017c979830
[  788.893249]  ffff880169c3c510 0000000000000000 ffff880158bb1d78 ffffffffa05d5b21
[  788.893260] Call Trace:
[  788.893289]  [<ffffffffa05d5b21>] usb_probe_interface+0x181/0x230 [usbcore]
[  788.893304]  [<ffffffff813301ab>] driver_probe_device+0x7b/0x240
[  788.893314]  [<ffffffff8133041b>] __driver_attach+0xab/0xb0
[  788.893325]  [<ffffffff81330370>] ? driver_probe_device+0x240/0x240
[  788.893334]  [<ffffffff8132e465>] bus_for_each_dev+0x55/0x90
[  788.893344]  [<ffffffff8132fcee>] driver_attach+0x1e/0x20
[  788.893367]  [<ffffffffa05d4b35>] usb_store_new_id+0xe5/0x150 [usbcore]
[  788.893389]  [<ffffffffa05d4bbe>] store_new_id+0x1e/0x20 [usbcore]
[  788.893398]  [<ffffffff8132e0e4>] drv_attr_store+0x24/0x40
[  788.893409]  [<ffffffff811ef6bd>] sysfs_write_file+0xcd/0x140
[  788.893419]  [<ffffffff8117f498>] vfs_write+0xa8/0x180
[  788.893428]  [<ffffffff8117f7da>] sys_write+0x4a/0xa0
[  788.893439]  [<ffffffff81499b6d>] system_call_fastpath+0x1a/0x1f
[  788.893444] Code: 8f a0 49 c7 85 c0 07 00 00 50 80 8f a0 49 c7 85 c8 07 00 00 30 80 8f a0 49 c7 85 b0 07 00 00 40 76 8f a0 49 8b 84 24 98 28 00 00 <48> 8b 40 18 ff 50 10 49 8b 84 24 98 28 00 00 48 89 df 48 8b 40 
[  788.893549] RIP  [<ffffffffa08f9356>] rtl_usb_probe+0x1d5/0x56b [rtlwifi]
[  788.893561]  RSP <ffff880158bb1cd8>
[  788.893565] CR2: 0000000000000018
[  788.893648] ---[ end trace 71a50a383dfac64e ]---
No luck so far. I doubt the driver is working fine with the chipset --Ivanoff 07:11, 27 October 2012 (EDT)
hmm.. well, a few possibilities...
  • rtl8192cu is bugged in this version and cannot accept new USB IDs at runtime
    • possible solution: install compat-drivers / compat-wireless
  • I am already using a 3.6.3 kernel, so as I understand it, compat drivers won't work for such recent kernels, so it's no use to try, I guess --Ivanoff 12:00, 29 October 2012 (EDT)

(stable releases here)

  • rtl8192cu does not work with this chip
    • this is not a RTL8192CU device and is instead a RTL819xSU device
      • possible solution: modprobe r8712u and echo -n "0846 f001" > /sys/bus/usb/drivers/r8712u/new_id
      • will probably not work because: this device is the same as the Netgear WNA3100M which does indeed use RTL8192CU
  • No, this doesn't work at all --Ivanoff 07:21, 28 October 2012 (EDT)
  • Actually, the vendor driver works fine (as long as you give the correct id to the driver). It even compiles for kernel 3.6.3. It seems stuck at 144Mbps however --Ivanoff 07:21, 28 October 2012 (EDT)
    • this is a new Realtek chip which currently has no support
--M86 14:14, 27 October 2012 (EDT)

Thank you for the debug session. I am sure a debugged kernel driver will soon appear. --Ivanoff 12:00, 29 October 2012 (EDT)

on 'On Networks isn't NETGEAR'

On Networks is a NETGEAR trademark

all On Networks products are rebranded NETGEAR products

all On Networks products are filed under NETGEAR's grantee code

--M86 (talk) 15:26, 1 February 2013 (EST)