Jump to content

RT5370 Not working after upgrade Nano


hackabus
 Share

Recommended Posts

Decided to make a seperate thread for this issue

So upgraded the nano to 2.0.2 and all if working fine now, few issues with certain modules but the bulk of it is fine :) main issue is the RT5370 that comes with the nano kit does not work after update (does not allow for interface wlan2) persuming this is now drivers as have tested my AWUS036NEH and that works fine and wlan2 works fine, any info on drivers or installation would be great thanks in advance

Edited by hackabus
update
Link to comment
Share on other sites

make sure you have an internet connection to you pineapple and ssh over to it.

$ opkg update

$ opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb

 

These are the drivers needed to make it work.

  • Like 1
Link to comment
Share on other sites

8 minutes ago, b0N3z said:

make sure you have an internet connection to you pineapple and ssh over to it.

$ opkg update

$ opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb

 

These are the drivers needed to make it work.

thank you very much :) will sort that later

Link to comment
Share on other sites

32 minutes ago, b0N3z said:

make sure you have an internet connection to you pineapple and ssh over to it.

$ opkg update

$ opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb

 

These are the drivers needed to make it work.

done as above, restarted pineapple and still the same, wlan2 will not appear with the mini adaptor in :(

Link to comment
Share on other sites

1 hour ago, Foxtrot said:

Can you post the output of "dmesg" and "lsusb" please?

root@Pineapple:~# lsusb
Bus 001 Device 004: ID 05e3:0745 Genesys Logic, Inc.
Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@Pineapple:~#


root@Pineapple:~# dmesg
[    0.000000] Linux version 3.18.84 (@02fc9f092662) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #14 Mon Dec 25 22:24:59 UTC 2017
[    0.000000] MyLoader: sysp=8a14b024, boardp=44b65156, parts=b69f8d32
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80363cf0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=PINEAPPLE-NANO  console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60880K/65536K available (2515K kernel code, 148K rwdata, 536K rodata, 248K init, 188K bss, 4656K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is WiFi Pineapple NANO
[    0.380000] Switched to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.390000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.400000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP: reno registered
[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    0.420000] PCI: CLS 0 bytes, default 32
[    0.430000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.450000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.470000] msgmni has been set to 118
[    0.470000] io scheduler noop registered
[    0.470000] io scheduler deadline registered (default)
[    0.480000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.480000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[    0.490000] console [ttyATH0] enabled
[    0.500000] bootconsole [early0] disabled
[    0.510000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.520000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.520000] 5 tp-link partitions found on MTD device spi0.0
[    0.530000] Creating 5 MTD partitions on "spi0.0":
[    0.530000] 0x000000000000-0x000000020000 : "u-boot"
[    0.540000] 0x000000020000-0x00000013a07c : "kernel"
[    0.540000] 0x00000013a07c-0x000000ff0000 : "rootfs"
[    0.550000] mtd: device 2 (rootfs) set to be root filesystem
[    0.550000] 1 squashfs-split partitions found on MTD device rootfs
[    0.560000] 0x000000d80000-0x000000ff0000 : "rootfs_data"
[    0.570000] 0x000000ff0000-0x000001000000 : "art"
[    0.570000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.600000] libphy: ag71xx_mdio: probed
[    1.190000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.200000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.200000] TCP: cubic registered
[    1.200000] NET: Registered protocol family 17
[    1.210000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.220000] 8021q: 802.1Q VLAN Support v1.8
[    1.230000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.240000] Freeing unused kernel memory: 248K
[    2.830000] init: Console is alive
[    2.840000] init: - watchdog -
[    5.450000] usbcore: registered new interface driver usbfs
[    5.460000] usbcore: registered new interface driver hub
[    5.460000] usbcore: registered new device driver usb
[    5.520000] SCSI subsystem initialized
[    5.530000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.540000] ehci-platform: EHCI generic platform driver
[    5.540000] ehci-platform ehci-platform: EHCI Host Controller
[    5.550000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    5.560000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    5.580000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    5.580000] hub 1-0:1.0: USB hub found
[    5.580000] hub 1-0:1.0: 1 port detected
[    5.590000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.600000] ohci-platform: OHCI generic platform driver
[    5.610000] uhci_hcd: USB Universal Host Controller Interface driver
[    5.620000] usbcore: registered new interface driver usb-storage
[    5.910000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.970000] init: - preinit -
[    6.360000] hub 1-1:1.0: USB hub found
[    6.370000] hub 1-1:1.0: 4 ports detected
[    6.550000] random: procd urandom read with 10 bits of entropy available
[    6.890000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[    7.130000] mount_root: loading kmods from internal overlay
[    7.460000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[    7.620000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    7.620000] scsi host0: usb-storage 1-1.2:1.0
[    7.640000] jffs2: notice: (328) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 2 of xref (0 dead, 2 orphan) found.
[    7.650000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    7.670000] block: extroot: not configured
[    7.710000] usb 1-1.3: new full-speed USB device number 5 using ehci-platform
[    7.720000] jffs2: notice: (323) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 2 of xref (0 dead, 2 orphan) found.
[    7.790000] usb 1-1.3: device descriptor read/64, error -32
[    7.850000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    7.870000] block: extroot: not configured
[    7.870000] mount_root: switching to jffs2 overlay
[    7.930000] procd: - early -
[    7.930000] procd: - watchdog -
[    8.100000] usb 1-1.3: device descriptor read/64, error -32
[    8.400000] usb 1-1.3: new full-speed USB device number 6 using ehci-platform
[    8.510000] usb 1-1.3: device descriptor read/64, error -32
[    8.710000] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0933 PQ: 0 ANSI: 6
[    8.890000] usb 1-1.3: device descriptor read/64, error -32
[    8.910000] procd: - ubus -
[    9.360000] usb 1-1.3: new full-speed USB device number 7 using ehci-platform
[    9.370000] sd 0:0:0:0: [sda] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
[    9.380000] sd 0:0:0:0: [sda] Write Protect is off
[    9.380000] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
[    9.420000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.450000]  sda: sda1 sda2
[    9.460000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.780000] usb 1-1.3: device not accepting address 7, error -32
[    9.880000] usb 1-1.3: new full-speed USB device number 8 using ehci-platform
[    9.940000] procd: - init -
[   10.400000] usb 1-1.3: device not accepting address 8, error -32
[   10.540000] usb 1-1-port3: unable to enumerate USB device
[   13.580000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
[   13.880000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[   13.920000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[   13.990000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   14.390000] Adding 1006596k swap on /dev/sdcard/sd2.  Priority:-1 extents:1 across:1006596k
[   15.270000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   15.270000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   15.430000] ath: EEPROM regdomain: 0x0
[   15.430000] ath: EEPROM indicates default country code should be used
[   15.430000] ath: doing EEPROM country->regdmn map search
[   15.430000] ath: country maps to regdmn code: 0x3a
[   15.430000] ath: Country alpha2 being used: US
[   15.430000] ath: Regpair used: 0x3a
[   15.440000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.450000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   15.460000] usb 1-1.1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[   15.470000] usbcore: registered new interface driver ath9k_htc
[   15.510000] RPC: Registered named UNIX socket transport module.
[   15.510000] RPC: Registered udp transport module.
[   15.520000] RPC: Registered tcp transport module.
[   15.520000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   15.560000] tun: Universal TUN/TAP device driver, 1.6
[   15.560000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   15.620000] usbcore: registered new interface driver rt2800usb
[   15.630000] usbcore: registered new interface driver rtl8187
[   15.680000] usbcore: registered new interface driver rtl8192cu
[   15.740000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   15.750000] usbcore: registered new interface driver cdc_acm
[   15.760000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.770000] usbcore: registered new interface driver cdc_wdm
[   15.810000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[   15.810000] usb 1-1.1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   15.880000] usbcore: registered new interface driver ums-alauda
[   15.890000] usbcore: registered new interface driver ums-cypress
[   15.900000] usbcore: registered new interface driver ums-datafab
[   15.910000] usbcore: registered new interface driver ums-freecom
[   15.910000] usbcore: registered new interface driver ums-isd200
[   15.920000] usbcore: registered new interface driver ums-jumpshot
[   15.940000] usbcore: registered new interface driver ums-karma
[   15.940000] usbcore: registered new interface driver ums-sddr09
[   15.950000] usbcore: registered new interface driver ums-sddr55
[   15.960000] usbcore: registered new interface driver ums-usbat
[   15.980000] usbcore: registered new interface driver usbserial
[   15.990000] usbcore: registered new interface driver usbserial_generic
[   15.990000] usbserial: USB Serial support registered for generic
[   16.040000] xt_time: kernel timezone is -0000
[   16.060000] usbcore: registered new interface driver asix
[   16.060000] usbcore: registered new interface driver ax88179_178a
[   16.070000] usbcore: registered new interface driver cdc_ether
[   16.080000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.100000] ath9k_htc 1-1.1:1.0: ath9k_htc: HTC initialized with 33 credits
[   16.120000] usbcore: registered new interface driver pl2303
[   16.120000] usbserial: USB Serial support registered for pl2303
[   16.130000] PPP generic driver version 2.4.2
[   16.140000] NET: Registered protocol family 24
[   16.150000] usbcore: registered new interface driver qmi_wwan
[   16.150000] usbcore: registered new interface driver rndis_host
[   16.160000] usbcore: registered new interface driver sierra_net
[   16.180000] usbcore: registered new interface driver option
[   16.180000] usbserial: USB Serial support registered for GSM modem (1-port)
[   16.430000] ath9k_htc 1-1.1:1.0: ath9k_htc: FW Version: 1.4
[   16.430000] ath9k_htc 1-1.1:1.0: FW RMW support: On
[   16.440000] ath: EEPROM regdomain: 0x0
[   16.440000] ath: EEPROM indicates default country code should be used
[   16.440000] ath: doing EEPROM country->regdmn map search
[   16.440000] ath: country maps to regdmn code: 0x3a
[   16.440000] ath: Country alpha2 being used: US
[   16.440000] ath: Regpair used: 0x3a
[   16.450000] ieee80211 phy1: Atheros AR9271 Rev:1
[   20.110000] random: nonblocking pool is initialized
[   26.520000] device eth0 entered promiscuous mode
[   33.120000] device wlan0 entered promiscuous mode
[   33.170000] br-lan: port 2(wlan0) entered forwarding state
[   33.180000] br-lan: port 2(wlan0) entered forwarding state
[   33.280000] device wlan0-1 entered promiscuous mode
[   33.470000] br-lan: port 3(wlan0-1) entered forwarding state
[   33.470000] br-lan: port 3(wlan0-1) entered forwarding state
[   34.090000] br-lan: port 3(wlan0-1) entered disabled state
[   35.180000] br-lan: port 2(wlan0) entered forwarding state
[   36.010000] br-lan: port 3(wlan0-1) entered forwarding state
[   36.010000] br-lan: port 3(wlan0-1) entered forwarding state
[   38.010000] br-lan: port 3(wlan0-1) entered forwarding state
root@Pineapple:~#

Link to comment
Share on other sites

Hey everyone,

This issue is caused by the unreliable order that OpenWrt seems to be loading the wireless drivers. We have been able to identify the issue and have created a fix for the next firmware release.

The good thing here is that we have a few steps you can follow to have a working wireless card:

  • Unplug any wireless radio plugged into the USB port of the WiFi Pineapple
  • Connect to your WiFi Pineapple via ethernet
  • SSH into your WiFi Pineapple
  • Execute "wifi detect > /etc/config/wireless && wifi"
  • Insert your USB wireless radio

If you follow the above steps, you can keep the USB radio inserted and it will work across reboots.

 

  • Like 2
Link to comment
Share on other sites

1 hour ago, Sebkinne said:

Hey everyone,

This issue is caused by the unreliable order that OpenWrt seems to be loading the wireless drivers. We have been able to identify the issue and have created a fix for the next firmware release.

The good thing here is that we have a few steps you can follow to have a working wireless card:

  • Unplug any wireless radio plugged into the USB port of the WiFi Pineapple
  • Connect to your WiFi Pineapple via ethernet
  • SSH into your WiFi Pineapple
  • Execute "wifi detect > /etc/config/wireless && wifi"
  • Insert your USB wireless radio

If you follow the above steps, you can keep the USB radio inserted and it will work across reboots.

 

awesome thank you seb

Link to comment
Share on other sites

16 hours ago, Sebkinne said:

Hey everyone,

This issue is caused by the unreliable order that OpenWrt seems to be loading the wireless drivers. We have been able to identify the issue and have created a fix for the next firmware release.

The good thing here is that we have a few steps you can follow to have a working wireless card:

  • Unplug any wireless radio plugged into the USB port of the WiFi Pineapple
  • Connect to your WiFi Pineapple via ethernet
  • SSH into your WiFi Pineapple
  • Execute "wifi detect > /etc/config/wireless && wifi"
  • Insert your USB wireless radio

If you follow the above steps, you can keep the USB radio inserted and it will work across reboots.

 

so i got mixed results :) 1: it didn't work lol (oh well) and 2 it also disabled my management AP which was weird, back up and running again now tho, think i may just be using my Awus until the fix is pushed in the FW, cheers for the info tho seb, maybe im just having a bad day lol

Link to comment
Share on other sites

ok so its gets weirder (if thats even a real word) so after i managed to reconnect to my nano and re enable management AP i went to log on to the management AP and my password wasnt accepted, so once again, connected it directly back up to laptop, logged in to web gui and for some reason when my management AP was disabled it also changed the password, i know this sounds crazy, so i set the password again to my original password, rebooted and was finally able to connect to the managment portal over wifi, so im wondering, if you disable management AP, does that also default or alter your password you had set? :) cheers all

Edited by hackabus
Link to comment
Share on other sites

7 minutes ago, hackabus said:

ok so its gets weirder (if thats even a real word) so after i managed to reconnect to my nano and re enable management AP i went to log on to the management AP and my password wasnt accepted, so once again, connected it directly back up to laptop, logged in to web gui and for some reason when my management AP was disabled it also changed the password, i know this sounds crazy, so i set the password again to my original password, rebooted and was finally able to connect to the managment portal over wifi, so im wondering, if you disable management AP, does that also default or alter your password you had set? :) cheers all

I have had this happen before but could never reproduce it so I figured it was something I had done at some point.  I did a factory reset and everything was fine again.

  • Like 1
Link to comment
Share on other sites

luckily I havent had to reset, just connected it directly to laptop, logged into webgui and changed the password again, its a really weird problem, im just wondering whethet this could be problematic, especially if you have deployed the nano amd only access is via managent connection, would be a pain in the arse if something caused by an error was able to alter a password

  • Like 1
Link to comment
Share on other sites

the problem only arose after executing wifi detect, its got me thinking, will executing commands to wifi config files whilst in operation cause it to default or screw up credentials, only a thought

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...