Jump to content

Mini wifi with nano


khanbari
 Share

Recommended Posts

Hi Experts, 

I got my nano basic only today. It works like a charm with usb tethering with my andriod connected.

I have few questions listed below

1) I'm unable to configure mini wifi instead of using usb tethering. And unable to find a guide to configure the same on Google. 

2) the management console doesn't seems to work on other devices. Tried connecting the management ap over my laptop but the console is inaccessible. 

I want to configure the home wifi with the mini wifi usb im connecting to pineapple and use any other device to access the management console to view the readings and run modules

Link to comment
Share on other sites

So You want to be able to access the nano from a different machine through the management AP and have a 3rd radio aka wlan2 connected to your home network? is that correct?

Link to comment
Share on other sites

So what you would have to do is make your phone a wifi hotspot and use your gsm data as the internet provider for the nano.  youll have to plug your nano into a pc and connect to the Android AP through the webui.  After you have connected the nano wlan2 to the android AP then it is saved in the pineapple for wlan2 after reboots. get an app like hotspot manager to see what ip your phone has assigned the nano and connect to that ip. mine was like 192.168.43.48 and dont forget to add the port :1471 for the webui.  FYI not all android phones can do wifi tether, im guessing since you can do usbtether then it should, also, configure the AP on your phone through the system settings and not hotspot manager.

Link to comment
Share on other sites

Thanks for the prompt response.

I am not able to see wlan2 as an option in nano. Navigated to Networking -> wifi client mode -> and i only see wlan1.

Does it mean that the wifi attached was not detected?

I am able to use the wifi device in my windows.

Link to comment
Share on other sites

On 4/14/2017 at 3:52 AM, b0N3z said:

So what you would have to do is make your phone a wifi hotspot and use your gsm data as the internet provider for the nano.  youll have to plug your nano into a pc and connect to the Android AP through the webui.  After you have connected the nano wlan2 to the android AP then it is saved in the pineapple for wlan2 after reboots. get an app like hotspot manager to see what ip your phone has assigned the nano and connect to that ip. mine was like 192.168.43.48 and dont forget to add the port :1471 for the webui.  FYI not all android phones can do wifi tether, im guessing since you can do usbtether then it should, also, configure the AP on your phone through the system settings and not hotspot manager.

The device i am using is http://www.amazon.in/Terabyte-Wireless-Connector-Manufacturer-INFOTECH/dp/B01N28PJAN?_encoding=UTF8&deviceType=desktop&psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00

Link to comment
Share on other sites

I could not find what wifi chip that usb wifi is using and depending on the chip it might not be supported on the nano which is why you dont see a wlan2.  I suggest a RALINK5370 or atheros 92XX series chipset.  Those are known to work well with the nano and you can get them in mini form.

http://www.amazon.in/RaLink-Receiver-Wireless-Raspberry-installation/dp/B01MS8EURE/ref=sr_1_1?s=electronics&ie=UTF8&qid=1492264116&sr=1-1&keywords=ralink+rt5370

Link to comment
Share on other sites

23 hours ago, b0N3z said:

I could not find what wifi chip that usb wifi is using and depending on the chip it might not be supported on the nano which is why you dont see a wlan2.  I suggest a RALINK5370 or atheros 92XX series chipset.  Those are known to work well with the nano and you can get them in mini form.

http://www.amazon.in/RaLink-Receiver-Wireless-Raspberry-installation/dp/B01MS8EURE/ref=sr_1_1?s=electronics&ie=UTF8&qid=1492264116&sr=1-1&keywords=ralink+rt5370

 

Hi

 

Tried configuring the mentioned adapter. It doesn't show up in the client mode.

Also, I don't see any new entry in iwconfig :(

If this requires drivers to be updated manually, but i am not able to get the step on how to do the same.

Appreciated your prompt response, it will be of no use to me if i cannot get wifi attached to this. USB theathring is something i cannot do always as the data is limited. And extending the WIFI as theatring doenst seems to be working on my mobile device.

Link to comment
Share on other sites

Just to update on the config i get before and after.

When i connect the wifi adapter then only i see wlan1 in wifi client mode and once removed its empty. Below are the cmd readings.

I see wlan1 only appears when i connect the wifi adapter.

Before connecting wifi adapter:
root@Pineapple:~# iwconfig
lo        no wireless extensions.

usb0      no wireless extensions.

wlan0-1   IEEE 802.11bgn  Mode:Master  Tx-Power=17 dBm
          RTS thr:off   Fragment thr:off
          Power Management:off

wlan0     IEEE 802.11bgn  Mode:Master  Tx-Power=17 dBm
          RTS thr:off   Fragment thr:off
          Power Management:off

eth0      no wireless extensions.

br-lan    no wireless extensions.

root@Pineapple:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:C0:CA:91:9E:0B
          inet addr:172.16.42.1  Bcast:172.16.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9292 errors:0 dropped:1591 overruns:0 frame:0
          TX packets:7620 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1333577 (1.2 MiB)  TX bytes:3297606 (3.1 MiB)

eth0      Link encap:Ethernet  HWaddr 00:C0:CA:91:9E:0B
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:654 errors:0 dropped:0 overruns:0 frame:0
          TX packets:654 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:56426 (55.1 KiB)  TX bytes:56426 (55.1 KiB)

usb0      Link encap:Ethernet  HWaddr 96:1C:52:E9:27:B7
          inet addr:192.168.42.189  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2138 errors:0 dropped:10 overruns:0 frame:0
          TX packets:2024 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:979694 (956.7 KiB)  TX bytes:453328 (442.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:C0:CA:91:6F:22
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3060 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2805 (2.7 KiB)  TX bytes:433068 (422.9 KiB)

wlan0-1   Link encap:Ethernet  HWaddr 02:C0:CA:91:6F:22
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10329 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1681829 (1.6 MiB)  TX bytes:3884867 (3.7 MiB)

---------------------------------------------------------------------
After connecting wifi adapter
root@Pineapple:~# iwconfig
lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

wlan0-1   IEEE 802.11bgn  Mode:Master  Tx-Power=17 dBm
          RTS thr:off   Fragment thr:off
          Power Management:off

wlan0     IEEE 802.11bgn  Mode:Master  Tx-Power=17 dBm
          RTS thr:off   Fragment thr:off
          Power Management:off

eth0      no wireless extensions.

br-lan    no wireless extensions.

root@Pineapple:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:C0:CA:91:9E:0B
          inet addr:172.16.42.1  Bcast:172.16.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11389 errors:0 dropped:1591 overruns:0 frame:0
          TX packets:9965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1701888 (1.6 MiB)  TX bytes:4256316 (4.0 MiB)

eth0      Link encap:Ethernet  HWaddr 00:C0:CA:91:9E:0B
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:660 errors:0 dropped:0 overruns:0 frame:0
          TX packets:660 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:56828 (55.4 KiB)  TX bytes:56828 (55.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:C0:CA:91:6F:22
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2805 (2.7 KiB)  TX bytes:445120 (434.6 KiB)

wlan0-1   Link encap:Ethernet  HWaddr 02:C0:CA:91:6F:22
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12395 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2079498 (1.9 MiB)  TX bytes:4921454 (4.6 MiB)
 

Link to comment
Share on other sites

If your using the wifi adapter that you post it most likely wont work as it needs a driver. the one I post that looks identical has a supported driver on the pineapple.  So this means that the wifi adapter you have is not supported in the firmware and you need a different one.  Just because they look the same doesnt mean they use the same chipset.

Link to comment
Share on other sites

 

8 hours ago, khanbari said:

Hi

Thanks again for the prompt response. 

I'm using the one you mentioned. 

and I misunderstood that last post i thought you were you using the one you originally linked too.  Im glad you got it working

Link to comment
Share on other sites

  • 3 weeks later...

HI,

Another query related to this.

wifi adapter seems to be working fine for me.

Interfaces provided by the nano are two. Corrent me on this.

One is for open access and the other is management access point which is allows WPS.

clients connected to the open interface are visible in the dashboard under connected clients and the the one connected to the management interface are not.

But any filtering or spoofing enabled will be reflected to both the interfaces.

What i wanted is to have both as WPS enabled instead of one.

Any suggestions are welcome. Thanks in advance for the support.

Link to comment
Share on other sites

check the module page on the forum and there is a module called NetworkingPlus.  You will have to download it from github and scp it to /sd/modules and refresh the browser to see it.

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...