Jump to content
Tech_Terry

How to add and configure third WiFi using a USB Dongle

Recommended Posts

If I get the Ralink USB WiFI RT5370 for my Nano, do I need to SSH and issue any command for the Nano to recognize and use the Ralink?

What I would like to do if possible, is to access WiFi Pineapple Connector via a WiFi connection as opposed to having my cell phone physically to my Nano.

Share this post


Link to post
Share on other sites

I'm looking for a nano-compatible 5GHz usb wireless dongle (small form factor). The drivers don't have to be preinstalled, they just need to exist for the nano.

It would also be nice if it had monitor mode capabilities.

Injection support would be a bonus.

There doesn't seem to be anything like this on the Hakshop.

I've been doing some looking on Amazon and this seems promising: http://www.amazon.com/StarTech-com-Wireless-AC-Network-Adapter-USB433WACDB/dp/B00NJF21EQ/

I believe it uses AC600. Some people say it has monitor mode but driver issues.

There's also this which I couldn't find any information on: http://www.amazon.com/Edimax-EW-7811UTC-Dual-Band-Connectivity-Exceeding/dp/B00FW6T36Y

Thanks for any help!

Share this post


Link to post
Share on other sites

Look at this guys review of the first one:

"Smallest 300mbps wifi adapter I could fine & works as expected. Running Linux, it was hard to get working, though. The drivers on the StarTech.com site are very out of date for Linux. The device is a RTL8192EU & I had to find the deb package here: https://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664-- It didn't work with the latest gcc, though, because a warning gets marked as an error. I had to repackage the deb by adding -Wno-error=time-date to the Makefile inside. Anyway, I did all this already I uploaded the new driver here: https://drive.google.com/file/d/0Bza9ecEdICHGSjZMUWtmUHM2em8/view?usp=sharing it will work with DKMS too, so no need to recompile every kernel update." - Phr00t

Edited by Fallen Archangel

Share this post


Link to post
Share on other sites

Couldn't find those drivers precompiled for Openwrt, and I couldn't compile them myself.

IMcPwn@Linux:~/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2$ make V=99
Collecting package info: done
#
# configuration written to .config
#
make[1]: Entering directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'
make[2]: Entering directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'
make[3]: Entering directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/package/rtl8812AU'
mkdir -p /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU
cp -fpR ./src/* /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/
touch /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/.prepared_a7d811377cae3fa2b86e0494ccc15dbe
(cd /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/./; if [ -x ./configure ]; then /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/ -name config.guess | xargs -r chmod u+w; /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/ -name config.guess | xargs -r -n1 cp /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/scripts/config.guess; /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/ -name config.sub | xargs -r chmod u+w; /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/ -name config.sub | xargs -r -n1 cp /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 " CPPFLAGS="-I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --with-linux-headers=; fi; )
rm -f /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/.configured_
touch /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/.configured_
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[4]: Entering directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU'
make ARCH=mips CROSS_COMPILE= -C /lib/modules/3.13.0-71-generic/build M=/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU modules
make[5]: Entering directory `/usr/src/linux-headers-3.13.0-71-generic'
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/alchemy/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/ar7/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/ath79/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/bcm47xx/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/bcm63xx/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/cavium-octeon/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/cobalt/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/dec/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/emma/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/jazz/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/jz4740/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/lantiq/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/lasat/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/loongson/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/loongson1/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/mti-malta/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/mti-sead3/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/netlogic/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/pmcs-msp71xx/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/pnx833x/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/ralink/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/rb532/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/sgi-ip22/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/sgi-ip27/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/sgi-ip32/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/sibyte/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/sni/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/txx9/Platform: No such file or directory
/usr/src/linux-headers-3.13.0-71-generic/arch/mips/Kbuild.platforms:34: /usr/src/linux-headers-3.13.0-71-generic/arch/mips/vr41xx/Platform: No such file or directory
make[5]: *** No rule to make target `/usr/src/linux-headers-3.13.0-71-generic/arch/mips/vr41xx/Platform'. Stop.
make[5]: Leaving directory `/usr/src/linux-headers-3.13.0-71-generic'
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU'
make[3]: *** [/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtl8812AU/.built] Error 2
make[3]: Leaving directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/package/rtl8812AU'
make[2]: *** [package/rtl8812AU/compile] Error 2
make[2]: Leaving directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'
make[1]: *** [/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/IMcPwn/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'
make: *** [world] Error 2

Any other ideas anyone?

Share this post


Link to post
Share on other sites

Hi,

What would be the benefit to to have a 5ghz dongle ? I'm a bit confused because I read the nano could only do 2ghz. I'm very new to the whole pineapple concept so any insight is appreciated.

Thanx

Share this post


Link to post
Share on other sites

The Pineapple can only do 2.4ghz, so that's what the dongle is for. Adding 5ghz support.

Share this post


Link to post
Share on other sites

Oh cool. I have a awus051nh 51 would that work? Do I connect it on the usb port on the nano? and what do I change in settings?

Share this post


Link to post
Share on other sites

Is it possible to turn your wifi dongle you plug in, to do recon or anything else if wlan1mon is in use by another module? Or could I use wlan1mon for both?

Share this post


Link to post
Share on other sites

For some reason my nano wont read my usb wifi adapter, wlan2 wont show up. I am on a mac book pro, any suggestions?

Share this post


Link to post
Share on other sites

Not all wifi adapters are compatible.

the Pineapple don't have all drivers.

look for the chipset and look in the forum entries

Share this post


Link to post
Share on other sites

i bought it from hak5 i have 2 of them and know they work with the nano, it worked for 15 mins then stopped working, also when i do tethering with a cellphone my cellphone wont register the nano, it doesnt think its plugged into anything

Share this post


Link to post
Share on other sites

Hi azzu,

Can you post the output of "dmesg" over SSH into the spoiler tags please.

Very curious to see why the device stops seeing your WiFi adapter after 15 mins. It could be a power issue, how are you powering the NANO?

Thanks

Share this post


Link to post
Share on other sites

root@Pineapple:~# dmesg


[ 0.000000] Linux version 3.18.23 (sebkinne@Worker) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46591) ) #9 Thu Mar 10 16:10:47 PST 2016


[ 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 80355cf0, 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: 60944K/65536K available (2466K kernel code, 128K rwdata, 528K rodata, 260K init, 188K bss, 4592K 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.420000] futex hash table entries: 256 (order: -1, 3072 bytes)


[ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher


[ 0.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.


[ 0.450000] msgmni has been set to 119


[ 0.460000] io scheduler noop registered


[ 0.460000] io scheduler deadline registered (default)


[ 0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled


[ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART


[ 0.480000] console [ttyATH0] enabled


[ 0.490000] bootconsole [early0] disabled


[ 0.500000] m25p80 spi0.0: found mx25l12805d, expected m25p80


[ 0.500000] 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-0x0000001348d4 : "kernel"


[ 0.540000] 0x0000001348d4-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] 0x000000dc0000-0x000000ff0000 : "rootfs_data"


[ 0.570000] 0x000000ff0000-0x000001000000 : "art"


[ 0.570000] 0x000000020000-0x000000ff0000 : "firmware"


[ 0.590000] libphy: ag71xx_mdio: probed


[ 1.180000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]


[ 1.190000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII


[ 1.190000] TCP: cubic registered


[ 1.190000] NET: Registered protocol family 17


[ 1.200000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.


[ 1.210000] 8021q: 802.1Q VLAN Support v1.8


[ 1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.


[ 1.230000] Freeing unused kernel memory: 260K (8036f000 - 803b0000)


[ 2.640000] init: Console is alive


[ 2.640000] init: - watchdog -


[ 5.310000] usbcore: registered new interface driver usbfs


[ 5.310000] usbcore: registered new interface driver hub


[ 5.320000] usbcore: registered new device driver usb


[ 5.370000] SCSI subsystem initialized


[ 5.390000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver


[ 5.390000] ehci-platform: EHCI generic platform driver


[ 5.400000] ehci-platform ehci-platform: EHCI Host Controller


[ 5.400000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1


[ 5.410000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000


[ 5.440000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00


[ 5.440000] hub 1-0:1.0: USB hub found


[ 5.440000] hub 1-0:1.0: 1 port detected


[ 5.450000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver


[ 5.460000] ohci-platform: OHCI generic platform driver


[ 5.460000] uhci_hcd: USB Universal Host Controller Interface driver


[ 5.480000] usbcore: registered new interface driver usb-storage


[ 5.770000] usb 1-1: new high-speed USB device number 2 using ehci-platform


[ 5.800000] init: - preinit -


[ 6.390000] hub 1-1:1.0: USB hub found


[ 6.390000] hub 1-1:1.0: 4 ports detected


[ 6.560000] random: procd urandom read with 11 bits of entropy available


[ 6.810000] mount_root: loading kmods from internal overlay


[ 6.960000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform


[ 7.130000] jffs2: notice: (325) 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.150000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab


[ 7.160000] block: extroot: not configured


[ 7.210000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform


[ 7.210000] jffs2: notice: (322) 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.340000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab


[ 7.350000] block: extroot: not configured


[ 7.360000] mount_root: switching to jffs2 overlay


[ 7.380000] usb-storage 1-1.2:1.0: USB Mass Storage device detected


[ 7.390000] scsi host0: usb-storage 1-1.2:1.0


[ 8.200000] overlayfs: failed to create work directory (EROFS), mounting read-only


[ 8.250000] procd: - early -


[ 8.250000] procd: - watchdog -


[ 8.570000] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0933 PQ: 0 ANSI: 6


[ 8.690000] sd 0:0:0:0: [sda] 65536000 512-byte logical blocks: (33.5 GB/31.2 GiB)


[ 8.700000] sd 0:0:0:0: [sda] Write Protect is off


[ 8.700000] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00


[ 8.700000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA


[ 8.730000] sda: sda1 sda2


[ 8.750000] sd 0:0:0:0: [sda] Attached SCSI removable disk


[ 9.330000] procd: - ubus -


[ 10.370000] procd: - init -


[ 11.690000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities


[ 11.700000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities


[ 11.720000] EXT4-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended


[ 11.750000] EXT4-fs (sda1): recovery complete


[ 11.750000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)


[ 11.910000] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?


[ 12.000000] usb 1-1.3: new full-speed USB device number 6 using ehci-platform


[ 12.080000] usb 1-1.3: device descriptor read/64, error -32


[ 12.140000] Adding 1000024k swap on /dev/sdcard/sd2. Priority:-1 extents:1 across:1000024k


[ 12.270000] usb 1-1.3: device descriptor read/64, error -32


[ 12.460000] usb 1-1.3: new full-speed USB device number 7 using ehci-platform


[ 12.880000] usb 1-1.3: device not accepting address 7, error -32


[ 12.900000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68


[ 12.910000] Backport generated by backports.git backports-20151218-0-g2f58d9d


[ 12.960000] usb 1-1.3: new full-speed USB device number 8 using ehci-platform


[ 13.070000] ath: EEPROM regdomain: 0x0


[ 13.070000] ath: EEPROM indicates default country code should be used


[ 13.070000] ath: doing EEPROM country->regdmn map search


[ 13.070000] ath: country maps to regdmn code: 0x3a


[ 13.070000] ath: Country alpha2 being used: US


[ 13.070000] ath: Regpair used: 0x3a


[ 13.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'


[ 13.080000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2


[ 13.100000] usb 1-1.1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested


[ 13.110000] usbcore: registered new interface driver ath9k_htc


[ 13.440000] RPC: Registered named UNIX socket transport module.


[ 13.450000] RPC: Registered udp transport module.


[ 13.450000] RPC: Registered tcp transport module.


[ 13.460000] RPC: Registered tcp NFSv4.1 backchannel transport module.


[ 13.480000] tun: Universal TUN/TAP device driver, 1.6


[ 13.490000] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>


[ 13.520000] usb 1-1.3: device not accepting address 8, error -32


[ 13.520000] usb 1-1-port3: unable to enumerate USB device


[ 13.530000] usbcore: registered new interface driver rt2800usb


[ 13.540000] usbcore: registered new interface driver rtl8187


[ 13.570000] usbcore: registered new interface driver rtl8192cu


[ 13.610000] sd 0:0:0:0: Attached scsi generic sg0 type 0


[ 13.620000] usbcore: registered new interface driver cdc_acm


[ 13.620000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters


[ 13.640000] usbcore: registered new interface driver cdc_wdm


[ 13.650000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)


[ 13.680000] usb 1-1.1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008


[ 13.700000] usbcore: registered new interface driver ums-alauda


[ 13.710000] usbcore: registered new interface driver ums-cypress


[ 13.720000] usbcore: registered new interface driver ums-datafab


[ 13.730000] usbcore: registered new interface driver ums-freecom


[ 13.730000] usbcore: registered new interface driver ums-isd200


[ 13.740000] usbcore: registered new interface driver ums-jumpshot


[ 13.750000] usbcore: registered new interface driver ums-karma


[ 13.760000] usbcore: registered new interface driver ums-sddr09


[ 13.770000] usbcore: registered new interface driver ums-sddr55


[ 13.770000] usbcore: registered new interface driver ums-usbat


[ 13.800000] usbcore: registered new interface driver usbserial


[ 13.800000] usbcore: registered new interface driver usbserial_generic


[ 13.810000] usbserial: USB Serial support registered for generic


[ 13.860000] xt_time: kernel timezone is -0000


[ 13.870000] usbcore: registered new interface driver asix


[ 13.880000] usbcore: registered new interface driver cdc_ether


[ 13.890000] ip_tables: © 2000-2006 Netfilter Core Team


[ 13.910000] usbcore: registered new interface driver pl2303


[ 13.920000] usbserial: USB Serial support registered for pl2303


[ 13.930000] PPP generic driver version 2.4.2


[ 13.930000] ath9k_htc 1-1.1:1.0: ath9k_htc: HTC initialized with 33 credits


[ 13.940000] NET: Registered protocol family 24


[ 13.950000] usbcore: registered new interface driver qmi_wwan


[ 13.960000] usbcore: registered new interface driver rndis_host


[ 13.970000] usbcore: registered new interface driver sierra_net


[ 13.990000] usbcore: registered new interface driver option


[ 13.990000] usbserial: USB Serial support registered for GSM modem (1-port)


[ 14.220000] ath9k_htc 1-1.1:1.0: ath9k_htc: FW Version: 1.4


[ 14.220000] ath9k_htc 1-1.1:1.0: FW RMW support: On


[ 14.230000] ath: EEPROM regdomain: 0x0


[ 14.230000] ath: EEPROM indicates default country code should be used


[ 14.230000] ath: doing EEPROM country->regdmn map search


[ 14.230000] ath: country maps to regdmn code: 0x3a


[ 14.230000] ath: Country alpha2 being used: US


[ 14.230000] ath: Regpair used: 0x3a


[ 14.240000] ieee80211 phy1: Atheros AR9271 Rev:1


[ 21.330000] random: nonblocking pool is initialized


[ 25.970000] device eth0 entered promiscuous mode


[ 26.090000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3818: inode #523265: block 2097184: comm find: unable to read itable block


[ 26.160000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3818: inode #130817: block 524320: comm find: unable to read itable block


[ 26.170000] EXT4-fs (sda1): previous I/O error to superblock detected


[ 26.220000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3818: inode #261633: block 1048608: comm find: unable to read itable block


[ 26.230000] EXT4-fs (sda1): previous I/O error to superblock detected


[ 26.290000] JBD2: Error -5 detected when updating journal superblock for sda1-8.


[ 26.300000] Aborting journal on device sda1-8.


[ 26.300000] JBD2: Error -5 detected when updating journal superblock for sda1-8.


[ 26.520000] usb-storage 1-1.2:1.0: USB Mass Storage device detected


[ 26.520000] scsi host1: usb-storage 1-1.2:1.0


[ 27.890000] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 0933 PQ: 0 ANSI: 6


[ 27.890000] sd 1:0:0:0: Attached scsi generic sg0 type 0


[ 28.020000] sd 1:0:0:0: [sdb] 65536000 512-byte logical blocks: (33.5 GB/31.2 GiB)


[ 28.060000] sd 1:0:0:0: [sdb] Write Protect is off


[ 28.060000] sd 1:0:0:0: [sdb] Mode Sense: 21 00 00 00


[ 28.070000] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA


[ 28.110000] sdb: sdb1 sdb2


[ 28.130000] sd 1:0:0:0: [sdb] Attached SCSI removable disk


[ 29.040000] eth0: link up (100Mbps/Full duplex)


[ 29.040000] br-lan: port 1(eth0) entered forwarding state


[ 29.050000] br-lan: port 1(eth0) entered forwarding state


[ 31.050000] br-lan: port 1(eth0) entered forwarding state


[ 33.060000] device wlan0 entered promiscuous mode


[ 33.140000] br-lan: port 2(wlan0) entered forwarding state


[ 33.150000] br-lan: port 2(wlan0) entered forwarding state


[ 33.440000] device wlan0-1 entered promiscuous mode


[ 33.450000] br-lan: port 3(wlan0-1) entered forwarding state


[ 33.450000] br-lan: port 3(wlan0-1) entered forwarding state


[ 34.130000] br-lan: port 3(wlan0-1) entered disabled state


[ 35.150000] br-lan: port 2(wlan0) entered forwarding state


[ 35.350000] EXT4-fs warning (device sda1): __ext4_read_dirblock:884: error -5 reading directory block (ino 2, block 0)


[ 35.400000] usb-storage 1-1.2:1.0: USB Mass Storage device detected


[ 35.410000] scsi host2: usb-storage 1-1.2:1.0


[ 36.550000] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 0933 PQ: 0 ANSI: 6


[ 36.560000] sd 2:0:0:0: Attached scsi generic sg0 type 0


[ 36.790000] sd 2:0:0:0: [sdb] 65536000 512-byte logical blocks: (33.5 GB/31.2 GiB)


[ 36.840000] sd 2:0:0:0: [sdb] Write Protect is off


[ 36.840000] sd 2:0:0:0: [sdb] Mode Sense: 21 00 00 00


[ 36.840000] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA


[ 36.900000] sdb: sdb1 sdb2


[ 36.920000] sd 2:0:0:0: [sdb] Attached SCSI removable disk


[ 37.560000] br-lan: port 3(wlan0-1) entered forwarding state


[ 37.570000] br-lan: port 3(wlan0-1) entered forwarding state


[ 39.090000] EXT4-fs error (device sda1): ext4_put_super:789: Couldn't clean up the journal


[ 39.100000] EXT4-fs (sda1): Remounting filesystem read-only


[ 39.570000] br-lan: port 3(wlan0-1) entered forwarding state


[ 42.090000] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities


[ 42.100000] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities


[ 42.120000] EXT4-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended


[ 42.150000] EXT4-fs (sdb1): recovery complete


[ 42.150000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)


[ 42.340000] Adding 1000024k swap on /dev/sdcard/sd2. Priority:-2 extents:1 across:1000024k


[ 42.910000] Adding 1000024k swap on /dev/sdcard/sd2. Priority:-2 extents:1 across:1000024k


[ 43.590000] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities


[ 43.720000] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities


[ 43.750000] EXT4-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended


[ 43.920000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)


[ 46.150000] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities


[ 46.160000] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities


[ 46.180000] EXT4-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended


[ 46.210000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)


[ 46.550000] Adding 1000024k swap on /dev/sdcard/sd2. Priority:-2 extents:1 across:1000024k


[ 258.640000] EXT4-fs error (device sdb1): ext4_lookup:1417: inode #2: comm opkg: deleted inode referenced: 523265


Share this post


Link to post
Share on other sites

All,

as i am quite new here i would like to know if there is a descriptoin somewhere in the forums on how to add a USB dongle to the available USB port and configure it to create a totally indipendent Nano that can be fully used with its enclosed battery.

as far as i understood 1 wifi is used to broadcast Ap, second one is monitor and the brdidge to internet can be done via USB ethernet port (which i am using with great results) or via a third wifi card to be added to the spare USB port on Nano.

I hope you can help.

Share this post


Link to post
Share on other sites

Just plug in a USB WiFi adapter into the female end on the NANO, and it creates another Wlan interface that you can connect to an AP through client mode. You can also use USB tethering if your Android phone permits it.

However, don't expect any of the above to actually function. From my experiences with the NANO, client mode makes it an unusable device. USB tethering doesn't work, so it's my only option. I might as well just use this thing as toilet paper.

Share this post


Link to post
Share on other sites

From my experiences with the NANO, client mode makes it an unusable device. USB tethering doesn't work, so it's my only option. I might as well just use this thing as toilet paper.

I'm not sure where your problems stem from, but I can't confirm any of them. I almost exclusively connect to the Nano over Wifi while in client mode via a third adapter. No problems whatsoever, Pine Ap working away happily while I'm surfing, recon scans working etc.

Perhaps a factory reset can help; you might want to try that.

Or perhaps the Wifi dongle is the source of your problems. I am using both a no-name mini plug with a Ralink 5370 and the TP-Link WN722N without any problems. While at home, I prefer to use the TP-Link adapter since the mini plug tends to heat up quite a lot during operation.

Share this post


Link to post
Share on other sites

Sorry, I know what you mean and didn't intend to turn this into a complaint thread about my NANO's failure to function. I've done all of that, probably factory reset, formatted sd's, and reinstalled everything more times than I've successfully been able to use it.

Anyhow, glad to see you've got it working. If you've got a stubby mini plug then you should in theory be able to go completely mobile, as you've described, which is great!

Share this post


Link to post
Share on other sites

Hey, no need for apologies. Just trying to troubleshoot your issues, because I know how frustrated I would be if I experienced your problems. I find your reaction quite understandable.

It *is* quite possible that you actually did have the misfortune of getting a faulty unit. I've seen a few posts where people described various issues they had with their Nano and after much back and forth they had it exchanged and, voilà, their problems disappeared.

If you don't have a usb wifi dongle, you should really get one; they cost close to nothing nowadays. Putting the Nano into client mode without a 3rd wifi is a no-no, since it will mess with whatever you're running over your Nano's internal radios.
I suggest grabbing a WN722N; you can find it for around 10 bucks and it won't be wasted money since it a widely supported adaptor that uses the Atheros AR9271 chipset, which works out of the box with most pentest distros. I prefer it over the alfa which many recommend for a simple reason: it's stylish enough to not raise eyebrows when you whip it out in public.

Edited by ricos

Share this post


Link to post
Share on other sites

You can also make a hotspot on your mobile device (if your provider allows it, if you can do it with usb you can do it wirelessly) while on your pc or whatever connect wlan2 to your phones hotspot and it will be saved in there. Then shutdown your nano and plug a battery in and run the Hotspot Manager App in google play store and find your ip and connect through a browser as normal (my ip's for my phone have been in the 192.168.43.xx:1471 range, so the 172.16.42.1:1471 wont work) This is great as ill put my nano in the Rear window of my car and see the results from my phone.

Share this post


Link to post
Share on other sites

I could be wrong.... so please correct me / lead me in the right direction if at all possible

I'm having issues with wlan2 connecting to a hotspot I created. It connects to my hotspot just fine when encryption is disabled. But if I attempt to use WPA or WEP, I will not be able to connect (Click 'Connect' after entering password, screen refreshes with no changes (asks for password again))

so.... after a lot of research, I came to this page...

https://wiki.openwrt.org/doc/uci/wireless#wpa_modes

...I changed my encryption options located in /etc/config/wireless, and I felt progression!! wlan2 would connect, but now it would not receive an IP address.

more research made wonder if maybe it was a driver issue

I know the adapter on wlan2 is fine, as it will connect to anything I demand it to (AWUS036NHA)

the adapter in question (WLU6331), is the one creating the hotspot (on another machine that is not relevant)

so I know what your gonna ask (what drivers etc etc etc)

so here!

WLU6331

bcm43xx-0.fw

bcm43xx_hdr-0.fw

brcmfmac43143.bin

I pushed the fw/bin files to my fruity box in /var/lib/firmware and..... im stumped

so I.... opkg update && opkg list | grep broadcom && opkg install kmod-phy-broadcom #(idk... my chipset wasnt even listed)

Sorry if this is simple....im lost at the moment...

Share this post


Link to post
Share on other sites

okay...............................................................factory reset allowed me to get an IP address now???

nevermind?........

still had to add option encryption 'psk+tkip+ccmp'

I would still LOVE to know how to install drivers to the pineapple tho

Share this post


Link to post
Share on other sites

Well, i tried two different adapters (the ones i use with my Raspberry) and with one i have the right description from adapters list

Bus 001 Device 007: ID 0bda:8179 Realtek Semiconductor Corp.
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

So the Realtek seems OK (Dev 7).

I do not have the wlan available (only wlan1) and i have no device

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/ar933x_wmac'
option htmode 'HT20'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Pineapple_92E3'
option encryption 'none'
option hidden '1'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'psk2+ccmp'
option ssid 'Pinapple'
option key 'Tdipnsv1!'
option disabled '0'

config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/ehci-platform/usb1/1-1/1-1.1/1-1.1:1.0'
option htmode 'HT20'

config wifi-iface
option device 'radio1'
option ifname 'wlan1'
option network 'lan'
option mode 'sta'
option ssid 'Pineapple_C225'
option encryption 'none'

part of dmesg is the following

[ 32.300000] eth0: link up (100Mbps/Full duplex)
[ 32.490000] br-lan: port 1(eth0) entered forwarding state
[ 32.490000] br-lan: port 1(eth0) entered forwarding state
[ 32.820000] br-lan: port 3(wlan0-1) entered forwarding state
[ 32.830000] br-lan: port 3(wlan0-1) entered forwarding state
[ 32.930000] br-lan: port 2(wlan0) entered forwarding state
[ 34.490000] br-lan: port 1(eth0) entered forwarding state
[ 34.830000] br-lan: port 3(wlan0-1) entered forwarding state
[ 131.620000] usb 1-1.3: USB disconnect, device number 5
[ 156.700000] usb 1-1.3: new full-speed USB device number 6 using ehci-platform
[ 197.160000] usb 1-1.3: USB disconnect, device number 6
[ 209.690000] usb 1-1.3: new high-speed USB device number 7 using ehci-platform

so it should be added and available

Any Idea?

B

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...