Jump to content

WiFi Manager


Whistle Master
 Share

Recommended Posts

Ok, I did the upgrade like the instructions said and I cannot get into the UI. I have tried the new url and the old one with both IE and Firefox. Power, WLAN and USB lights are lit up steady. The pineapple ed:1a SSID is broadcasting. The upgrade installed with the animated fruit, then it restarted and never came back up. I attributed that to the URL changing. I read the change logs which basically say what was changed. Where do I find the release notes? Now I'm scared.

Sorry for being such a noob.........

Link to comment
Share on other sites

  • Replies 255
  • Created
  • Last Reply

Top Posters In This Topic

LOL, sorry for the freak out. The update worked perfectly. The problem I had was entering in: http://172.42.16.1:1471 which was typed above where the actual URL is http://172.16.42.1:1471 I just noticed it when looking in my address bar and seeing the old URL in there. I thought, "it can't be that easy", but it was. My MKIV

Again, sorry for being such a noob but this stuff is awesome......

Thanks for your quick suggestion and help.

Link to comment
Share on other sites

Hm it seems that MAC changing mess up a little bit if you reboot the pineapple <_< When you reboot, the interface has its initial MAC address BUT the wireless config has the random one which was set before the reboot.

I have a to figure out how to fix that :wacko:

Just wait for the next firmware release ;) Will have an "API" for it.

Link to comment
Share on other sites

Hey guys, a wierd little aside: I had a hard time logging into the Pineapple, it kept saying Unavailabe. Then, I removed my thumbdrive (probably a bad term now that they are so small, maybe thumbnail drive is better....), rebooted without the USB drive in place, and boom, the login came right up. After logging in, I reinserted the USB drive and no worries.

BTW, I have pretty much all of the Pineapple store infusions installed to my USB drive.

Thought I'd mention this just in case anyone else has the same problem.

Thanks for all of your support. Having BIG fun with this thing......

Link to comment
Share on other sites

Great Stuff WM, I'm happy to see the new Mac changer installment, Thank you! YOU DA man!

After testing with the new Mac changing option Ive noticed every thing seemed to be okay, However, when I went to connect to the AP. I was unable to obtain an ip, and therefor was unable to connect. I rebooted the pineapple to try again, but I got the same result,

I ended up having to do a re-flash.

Also since were on topic, Would it be possible for the future to come to have a manual mac changing option as opposed to random,(or maybe both options) The intent would be to spoof the mac AP address that your trying to pose as.

Correct me if im wrong, When Windows 7 see's the AP, it connects automatically, however since its a new Mac Address it creates a new setting for your network security settings. The Home,Public and Office splash screen will appear making it an obvious. plus the network AP will appear with a '2' beside the name, making "linksys2"

I don't know if by spoofing the mac address will correct this and make it more elite!!!! but if it did, that would be cool!

Link to comment
Share on other sites

  • 3 weeks later...

Hi, i seem to be having a bit of trouble connecting to my wifi. i'm using the pineapple with the alpha wifi from the hakshop and running it off the pineapple juice battery pack (i figure if it doesn't work on the battery pack there isn't much use in the field). using this network manager i can bring up the alpha (light comes on, it can see wifi APs around) but when i click DHCP Request it doesn't connect. the AP i'm trying to access is WPA personal with TKIP, i have the correct password and mode set to client as per the guide earlier in this thread. but it does not connect at all. connecting to the pineapple via the PoE LAN port, but that shouldn't make a difference. is there something I am missing? or could it be that there isn't enough power to run the alpha?

either way Whistle Master, you have clearly put a lot of work into the pineapple and your effort is very well appreciated :)

Link to comment
Share on other sites

thanks for the tip. However the led stays on with no change when trying to connect. regardless of if it's running off of battery power or AC. I tried reflashing 2.7.0 to no avail. looks like i'll be tethering to my laptop only :(

Link to comment
Share on other sites

thanks for the tip. However the led stays on with no change when trying to connect. regardless of if it's running off of battery power or AC. I tried reflashing 2.7.0 to no avail. looks like i'll be tethering to my laptop only :(

Hmm also make sure the nha works on Windows? I have had an issue where the antenna on a pineapple was no good, could only connect within 4 feet. Try a different usb cord as well

Edited by petertfm
Link to comment
Share on other sites

Yeah i've already tried that (at first i thought it was dead but after finding the right drivers it works and connects fine). i should have thought about trying a different usb cable, but the only difference is that when i click commit after saving the settings the wlan1 is disabled and doesnt bring itself back up. enabling it and clicking DHCP request still does nothing.

I appreciate your help and patience none the less

Link to comment
Share on other sites

@Tommy- I was having the same problem w/ setup. Not being a PHP guy I jumped into command line and have everything working from there so I know it will do it. This is where I'm at now. When I have time this weekend I'll dive into the PHP and try to see exactly whats going on and why it's not working for me through the net manager. I spent the better part of a week trying to get the manager to work w/ no luck before I decided to jump down to CL. I just bought this pineapple thing a few days ago so it's probably all my GUI ignorance and nothing wrong w/ any coding! ;) Try some CL love to see if the problem is w/ the card or the GUI interface.

Link to comment
Share on other sites

Alright guys, I'm just posting instructions in case anybody else is having trouble figuring out the UI...

First of all, download Network Manager (you might need to ics from your computer at this point in order to get internet)
Download to internal or external storage.

Once Network manager is install, open it up and click "Auto-Detect" under the wireless tab...

At this point, you should see your usb wifi dongle pop up.
(note: if your device doesn't show up, you might want to try again or make sure your dongle is compatible with the pineapple. You might need to install your wifi driver from opkg)

Once you see your devices below.... enter in the apropriate information for your wifi network... If your trying to connect to a network, be sure to set as "client" under wlan1. Be sure to leave radio0 wlan0 alone, your only working with radio1 wlan1 here.

Enter your network info in appropriately.
Example:

http://www.flickr.co...N08/7916346916/

After you type in all your info... scroll to the top of the page and click "save"

Once you save, click "Commit"
(Note: If it loads longer than usual, just refresh the page. It should be done.)

Once you click Commit, your screen should look like this at the top.
(Picture)

http://www.flickr.co.../in/photostream

Now click "DHCP Request"
Your screen should look like this now:
(picture)

http://www.flickr.co...N08/7916346720/

(again, refresh the page if it takes longer than usual)

Now that you are connected to the internet, it's time to setup Internet connection Sharing.

Click on the ICS tab.

Change the settings to share internet from wlan1 to wlan0.
(it should look like this)

http://www.flickr.co.../in/photostream

Click Save

That's it! now your done. try to connect to the internet and it should work. :D

Link to comment
Share on other sites

I think I screwed up my Network Manager...

Pineapple Hardware Version: MK IV

Pineapple Software Version: 2.7.0 (factory installed)

OS used to connect to the pineapple: Windows 7

Network layout of how your setup is connected (including IP information): Pineapple to Alpha. Couldn't see an option for DHCP for Alpha though.

All the tools/options that are running on the pineapple when the issue happened: At the time I was attempting WiFi Relay. Pineapple hooked into a USB hub (not powered, but Pineapple plugged into the wall outlet, so I'm getting enough power). In one port I had my 16gb flash drive (similar to hakshop one), and in the other port I had my Alpha b/g AWUS036H. Only thing running was wireless wlan0 and I brought up wlan1 fine. KARMA was off, DNSSpoof was off, etc... all off.

Ping results from computer to pineapple: I was connected to the WUI through my android and was able to SSH into the Pineapple through my android at the time. No internet access though, as my Alpha wouldn't connect.

Is the problem repeatable (Yes/No): Yes

Steps taken which created the problem:

1) Booted up Pineapple, then logged into WUI via my android phone.
2) Wireless wlan0 was up, everything else was off, so I plugged in my Alpha to the hub (everything being powered by the wall plug).
3) Went to Network Manager. Saw "Radio0 wlan0" was enabled. "Radio1 -" had nothing by it yet. I also took note that "Physical Interface Radio0 [wlan0] - HWAddr [mac address] group box was also visible and listed all the information (Enable, Type, Mode, Wiereless Network, Channel, etc etc), as it should.
4) I clicked "Auto-Detect" and located my Alpha, on wlan1. A group box "Physical Interface Radio1..." also came up.
5) I set wlan0 to Access Point and wlan1 to AP and filled in my network information (my test network is open). Channel was set to auto. Note: I followed Newworld's instructions in post #90 for this process.
6) I clicked "Save". It saved just fine
7) I clicked "Commit" and it hung on "Loading..." so I refreshed after a few minutes. That's when my Alpha went down. The Alpha was disabled at that point (again, I had my Pineapple plugged into the wall outlet, an unpowered hub into the pineapple's usb port, and the Alpha and SD card in the hub).
8) I brought wlan1 back up and went through the process again, but received the same results. Here is where I got lost :)
9) Now wlan1 changed to wlan2, then wlan3 for each time I attempted to bring up the Alpha and connect to my AP. Now, in the Physical Interface Radio 1... group box, I saw "Remove Config". I clicked that and it removed the group box for Radio1 wlan1(or as it was then, wlan3). I thought this woudl allow me to start 'fresh' with my attempts to use the pineapple in "relay" mode. Well... I must have done something becuase that didn't work out so well ;). Where the Network Manager box was on the WUI, where it says "radio0 wlan0 enabled" and "radio1 wlan1 disabled". All of that output disappeared and everything associated with the wlan0 and wlan1 group config boxes on the WUI were gone.
10) I pouted a bit here.. which had no effect on the pineapple.
11) Right now, my "Network Manager" box says "Physical Interfaces" but lists nothing now. "Logical Interfaces" only lists wlan0 and gives me the option to enable/disable. Under the wireless tab, where the aforementioned group boxes were listed, absolutely nothing is displayed. Only [Auto-Detect] [save] [Commit] [Revert].
12) Panic.
13) I decided to do a factory reset at this point. I went to the Advanced tab and clicked factory reset, then rebooted. Nothing though. Everything is exactly the same. I then held the button down for 7 seconds... then 10 seconds... then 30 seconds... I don't believe my Pineapple is resetting. I have the same persistant SSID and password.. and unfortunately, the same problem
14) I also tried to uninstall / install Network manager a few times (also cleared cache in Advanced page, forgot to mention that).
14) Turned to the experts.

Error Messages: No error messages

Log file information: Here are some of the log files... I'm going to try and decypher this, but I doubt I'll get far. Anything look strange?

21:23:04 Pineapple kern.err kernel: [ 3303.640000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00006400
21:15:49 Pineapple kern.info kernel: [ 2868.880000] device br-lan left promiscuous mode
21:14:33 Pineapple kern.info kernel: [ 2793.140000] device br-lan entered promiscuous mode
21:12:54 Pineapple authpriv.notice dropbear[4605]: Password auth succeeded for 'root' from 172.16.42.42:port
21:12:43 Pineapple authpriv.info dropbear[4605]: Child connection from 172.16.42.42:port
21:12:37 Pineapple authpriv.info dropbear[2167]: Exit (root): Exited normally
21:10:27 Pineapple kern.err kernel: [ 2546.580000] ath: phy0: Failed to stop TX DMA, queues=0x001!
21:10:27 Pineapple kern.err kernel: [ 2546.560000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00006400
21:10:27 Pineapple kern.err kernel: [ 2546.560000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
21:10:26 Pineapple kern.err kernel: [ 2546.470000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00006400
21:10:26 Pineapple kern.err kernel: [ 2546.470000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
21:10:01 Pineapple user.notice root: CLEANUP: memory below threshold, dropping pagecache, dentries and inodes
21:10:01 Pineapple user.notice root: CLEANUP: Karma log looking good
21:10:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
21:10:01 Pineapple cron.info crond[1586]: crond: USER root pid 3408 cmd /pineapple/scripts/cleanup.sh
21:05:01 Pineapple user.notice root: CLEANUP: memory looking good
21:05:01 Pineapple user.notice root: CLEANUP: Karma log looking good
21:05:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
20:41:27 Pineapple kern.err kernel: [ 807.030000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00006400
20:40:01 Pineapple user.notice root: CLEANUP: memory looking good
20:40:01 Pineapple user.notice root: CLEANUP: Karma log looking good
20:40:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
20:40:01 Pineapple cron.info crond[1586]: crond: USER root pid 2198 cmd /pineapple/scripts/cleanup.sh
20:35:01 Pineapple user.notice root: CLEANUP: memory looking good
20:35:01 Pineapple user.notice root: CLEANUP: Karma log looking good
20:35:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
20:35:01 Pineapple cron.info crond[1586]: crond: USER root pid 2180 cmd /pineapple/scripts/cleanup.sh
20:30:28 Pineapple authpriv.notice dropbear[2167]: Password auth succeeded for 'root' from 172.16.42.42:port
20:30:15 Pineapple authpriv.info dropbear[2167]: Child connection from 172.16.42.42:port
20:30:02 Pineapple cron.err crond[1586]: time disparity of 22622188 minutes detected
00:01:18 Pineapple kern.info kernel: [ 78.130000] device wlan0 left promiscuous mode
00:01:18 Pineapple kern.info kernel: [ 78.130000] br-lan: port 2(wlan0) entered disabled state
00:01:18 Pineapple kern.info kernel: [ 78.110000] br-lan: port 2(wlan0) entered disabled state
00:01:15 Pineapple user.info sysinit: sh: write error: Invalid argument
00:01:15 Pineapple user.info sysinit: sh: write error: Invalid argument
00:01:15 Pineapple user.info sysinit: setting up led WLAN
00:01:15 Pineapple user.info sysinit: setting up led WAN
00:01:15 Pineapple user.info sysinit: setting up led USB
00:01:15 Pineapple user.info sysinit: setting up led LAN
00:01:15 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:wan/mode: nonexistent directory
00:01:15 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:wan/device_name: nonexistent directory
00:01:15 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:lan/mode: nonexistent directory
00:01:15 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:lan/device_name: nonexistent directory
00:01:14 Pineapple user.info sysinit: Selected interface 'wlan0'
00:01:14 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:14 Pineapple user.info sysinit: OK
00:01:13 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:13 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:13 Pineapple kern.info kernel: [ 73.380000] br-lan: port 2(wlan0) entered forwarding state
00:01:13 Pineapple daemon.info hostapd: wlan0: STA [mac address] IEEE 802.11: authenticated
00:01:13 Pineapple daemon.info hostapd: wlan0: STA [mac address] IEEE 802.11: associated (aid 1)
00:01:13 Pineapple daemon.info dnsmasq-dhcp[1662]: DHCPREQUEST(br-lan) 172.16.42.165 [Mac address]
00:01:13 Pineapple daemon.info dnsmasq-dhcp[1662]: DHCPACK(br-lan) 172.16.42.165 [mac address]
00:01:11 Pineapple kern.info kernel: [ 71.380000] br-lan: port 2(wlan0) entered forwarding state
00:01:11 Pineapple kern.info kernel: [ 71.380000] br-lan: port 2(wlan0) entered forwarding state
00:01:11 Pineapple kern.info kernel: [ 71.300000] device wlan0 entered promiscuous mode
00:01:10 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:10 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:10 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:10 Pineapple kern.info kernel: [ 70.490000] device wlan0 left promiscuous mode
00:01:10 Pineapple kern.info kernel: [ 70.490000] br-lan: port 2(wlan0) entered disabled state
00:01:10 Pineapple daemon.info dnsmasq[1662]: using nameserver 8.8.8.8#53
00:01:10 Pineapple daemon.info dnsmasq[1662]: using local addresses only for domain lan
00:01:10 Pineapple daemon.info dnsmasq[1662]: using local addresses only for domain lan
00:01:10 Pineapple daemon.info dnsmasq[1662]: started, version 2.62 cachesize 150
00:01:10 Pineapple daemon.info dnsmasq[1662]: reading /tmp/resolv.conf.auto
00:01:10 Pineapple daemon.info dnsmasq[1662]: read /etc/hosts - 1 addresses
00:01:10 Pineapple daemon.info dnsmasq[1662]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
00:01:10 Pineapple daemon.info dnsmasq-dhcp[1662]: read /etc/ethers - 0 addresses
00:01:10 Pineapple daemon.info dnsmasq-dhcp[1662]: DHCP, IP range 172.16.42.100 -- 172.16.42.249, lease time 12h
00:01:06 Pineapple user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
00:01:06 Pineapple user.notice dnsmasq: Allowing 127.0.0.0/8 responses
00:01:04 Pineapple user.err autossh[1317]: ssh exited prematurely with status 1; autossh exiting
00:01:04 Pineapple daemon.notice netifd: wan (1285): Sending discover...
00:01:04 Pineapple authpriv.info dropbear[1603]: Running in background
00:01:03 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:03 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:03 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:01:03 Pineapple kern.info kernel: [ 63.140000] br-lan: port 2(wlan0) entered forwarding state
00:01:03 Pineapple cron.info crond[1586]: crond: crond (busybox 1.19.4) started, log level 5
00:01:02 Pineapple kern.info kernel: [ 62.700000] br-lan: port 1(eth0) entered forwarding state
00:01:01 Pineapple kern.info kernel: [ 61.140000] br-lan: port 2(wlan0) entered forwarding state
00:01:01 Pineapple kern.info kernel: [ 61.130000] br-lan: port 2(wlan0) entered forwarding state
00:01:01 Pineapple kern.info kernel: [ 61.050000] device wlan0 entered promiscuous mode
00:01:01 Pineapple daemon.notice netifd: wan (1285): Sending discover...
00:01:01 Pineapple daemon.info hostapd: wlan0: STA [mac address] IEEE 802.11: authenticated
00:01:01 Pineapple daemon.info hostapd: wlan0: STA [mac address] IEEE 802.11: associated (aid 1)
00:01:00 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:01:00 Pineapple kern.info kernel: [ 60.700000] eth0: link up (1000Mbps/Full duplex)
00:01:00 Pineapple kern.info kernel: [ 60.700000] br-lan: port 1(eth0) entered forwarding state
00:01:00 Pineapple kern.info kernel: [ 60.700000] br-lan: port 1(eth0) entered forwarding state
00:00:59 Pineapple user.notice ifup: Enabling Router Solicitations on loopback (lo)
00:00:59 Pineapple user.info sysinit: PHY for wifi device radio1 not found
00:00:59 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:00:59 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:00:59 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:00:59 Pineapple user.info sysinit: /sbin/uci: Parse error (option/list command found before the first section) at line 52, byte 1
00:00:58 Pineapple user.notice ifup: Enabling Router Solicitations on lan (br-lan)
00:00:58 Pineapple user.info autossh[1317]: starting ssh (count 1)
00:00:58 Pineapple user.info autossh[1317]: ssh child pid is 1319
00:00:58 Pineapple daemon.notice netifd: wan (1285): Sending discover...
00:00:57 Pineapple kern.info kernel: [ 57.510000] device eth0 entered promiscuous mode
00:00:57 Pineapple daemon.notice netifd: wan (1285): udhcpc (v1.19.4) started
00:00:57 Pineapple daemon.notice netifd: Interface 'loopback' is now up
00:00:57 Pineapple daemon.notice netifd: Interface 'lan' is now up
00:00:46 Pineapple kern.info kernel: [ 46.660000] Adding 2097148k swap on /dev/sda2. Priority:-1 extents:1 across:2097148k
00:00:46 Pineapple kern.info kernel: [ 46.000000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
00:00:45 Pineapple kern.info kernel: [ 45.990000] EXT4-fs (sda1): recovery complete
00:00:41 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=***** Serial=*******
00:00:41 Pineapple user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
00:00:39 Pineapple kern.notice kernel: [ 37.630000] sd 0:0:0:0: Attached scsi generic sg0 type 0
00:00:39 Pineapple kern.info kernel: [ 37.500000] usbcore: registered new interface driver rndis_host
00:00:39 Pineapple kern.info kernel: [ 37.290000] usbcore: registered new interface driver cdc_ether
00:00:39 Pineapple kern.info kernel: [ 37.250000] usbserial: USB Serial Driver core
00:00:39 Pineapple kern.info kernel: [ 37.250000] usbcore: registered new interface driver usbserial_generic
00:00:39 Pineapple kern.info kernel: [ 37.240000] usbcore: registered new interface driver usbserial
00:00:39 Pineapple kern.info kernel: [ 37.240000] USB Serial support registered for generic
00:00:39 Pineapple kern.info kernel: [ 36.980000] usbcore: registered new interface driver ath9k_htc
00:00:39 Pineapple kern.info kernel: [ 36.170000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
00:00:39 Pineapple kern.info kernel: [ 36.040000] NET: Registered protocol family 24
00:00:39 Pineapple kern.info kernel: [ 35.820000] ip_tables: © 2000-2006 Netfilter Core Team
00:00:39 Pineapple kern.info kernel: [ 35.560000] tun: © 1999-2004 Max Krasnyansky
00:00:39 Pineapple kern.info kernel: [ 35.550000] tun: Universal TUN/TAP device driver, 1.6
00:00:39 Pineapple kern.info kernel: [ 35.410000] PPP generic driver version 2.4.2
00:00:39 Pineapple kern.err kernel: [ 37.400000] Error: Driver 'gpio-keys-polled' is already registered, aborting...

Anything else that was attempted to 'fix' the problem: I've been looking through php files and other files to see if I can catch something, but I haven't changed or edited anything.

Any help getting this resolved would be greatly appreciated. I just got this in the mail a few days ago so I'm not too familiar with it yet. I read the book and searched the forums, but nothing, at least from my understanding, seemed to fit this problem. If I missed it, please point me in the right direction.

I'd like to get everything in the Network manager back to the way it was, pre eff-up. Then I'll concentrate on getting the Alpha to do WiFi Relay. :)

Thanks in advance!

EDIT: Here is a screencap of what it looks like now.

EDIT #2: Intersting... I have my pineapple connected to my pc via ehternet and have internet access (through the pc). I enabled wlan0 and attempted to. start Karma but it doesn't start. Karma is not functioning at all after my Network Manager error. Something is wrong with phy0? I also can't start/stop wireless from the Status tab.. only the Network Manager (via disable). I'm still not sure why the Reset button on the bottom of the unit isn't working. I'm wondering if I should just try and reflash the unit?

post-36469-0-69704800-1357331121_thumb.p

Edited by Scout32
Link to comment
Share on other sites

@Neworld- While I appreciate that you're helping w/ the instructions, the instructions simply haven't worked in my case. That's why I went to CL to troubleshoot it. The GUI is not working for me to connect to any WPA/WPA2 networks. I'm not trying to talk bad about anything or anyone I'm simply saying that it doesn't work for ME! :) I don't think I'm trying to do anything uber crazy for a setup so it should be pretty easy but it's just not working. I can follow directions w/ the best of them but my results don't seem to be consistent w/ the GUI. As I said I'll do some more troubleshooting this weekend and hopefully I can figure out what I'm doing wrong. If I connect through CL it works every time the first time and works w/ WPA2 and ICS w/ no errors. When I connect through the GUI it will not connect. I'm verifying connection w/ a simple iwconfig (wlan). Is the GUI somehow bypassing the normal wireless connection setup? I understand it's using the /etc/config/wireless config file but the ifconfig and iwconfig commands should still work to verify connection correct? Obviously I'm not the only one having a bit of a problem getting this setup so I'm just trying to do my part to help out and make things better!

I know 100% that this works...

http://forums.hak5.org/index.php?/topic/28366-ics-through-2nd-wifi-card/

I've already updated this to v2. I'll update it in the post as soon as I get home tonight.

Edited by duckmanjbr
Link to comment
Share on other sites

I think I screwed up my Network Manager...

Pineapple hooked into a USB hub (not powered, but Pineapple plugged into the wall outlet, so I'm getting enough power).

Try to re-flash your pineapple: from the GUI, you can do it.

Then, I guess your issue is that you don't use a powered USB hud, it has already been discussed in other threads. Try to use a powered one :)

Link to comment
Share on other sites

Try to re-flash your pineapple: from the GUI, you can do it.

Then, I guess your issue is that you don't use a powered USB hud, it has already been discussed in other threads. Try to use a powered one :)

Thank you, Whistle Master! I will work on re-flashing the pineapple per the wiki.

Also, just for my understanding; would the low power cause phy0 to drop (or whatever the heck happened to me) completely? I'm trying to figure out the logs and see where it went wrong and why, so I don't do it again. I'll take your advice and get a powered hub, however I was hoping to have enough oomph in the Pineapple's power cord to power the Alpha and a usb. Guess that's not the case, though. I can see that a powered hub is needed. From brining up wlan1 then it cutting off when I tried to get it to hook up to an AP. Just not enough juice.

My only concern is that my issue was not totally one of power. I just don't want to repeat this since I couldn't figure out how to get everything back in order (other than re-flashing, but I have yet to do that).

Thanks again for the advice! I'll check out the forums on usb hubs and Alpha use.

Link to comment
Share on other sites

Ok, after playing a few hours I'm now head deep into openwrt configs and uci setup. Here's the problem that I'm seeing as I follow the directions above 100%. After a fresh install of firware 2.7.0 and a new network module install I am ready to start fresh to setup WPA2 on a secondary alfa card. I follow the steps as above, hit save then click commit. It shows loading, then the wlan1 interface goes down. When I execute "wifi" from the cli I get the following errors:

root@Pineapple:~# wifi

command failed: Device or resource busy (-16)

wpa_supplicant_setup_vif(wlan1): Refusing to bridge sta mode interface

enable_mac80211(radio1): Failed to set up wpa_supplicant for interface wlan1

This is what /etc/config/wireless looks like:

config wifi-device 'radio1'

option type 'mac80211'

option channel '11'

option macaddr '00:c0:ca:6x:xx:xx'

option hwmode '11ng'

option htmode 'HT20'

list ht_capab 'SHORT-GI-20'

list ht_capab 'SHORT-GI-40'

list ht_capab 'RX-STBC1'

list ht_capab 'DSSS_CCK-40'

option disabled '0'

config wifi-iface

option device 'radio1'

option network 'lan'

option mode 'sta'

option ssid 'DXXXXXX'

option key 'password'

option hidden '1'

option encryption 'psk2+tkip+aes'

And this is my network:

BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH

00:1E:52:XX:XX:XX -54 53 0 0 11 54e. WPA2 CCMP PSK DXXXXX

Error logs:

04:26:36 Pineapple kern.info kernel: [ 1706.580000] wlan1: deauthenticating from 00:1e:52:xx:xx:xx by local choice (reason=3)

04:26:35 Pineapple kern.info kernel: [ 1706.290000] device wlan0 left promiscuous mode

04:26:35 Pineapple kern.info kernel: [ 1706.290000] br-lan: port 2(wlan0) entered disabled state

04:16:11 Pineapple cron.err crond[1371]: time disparity of 22622639 minutes detected

00:17:30 Pineapple kern.info kernel: [ 1050.980000] wlan1: associated

00:17:30 Pineapple kern.info kernel: [ 1050.970000] wlan1: associate with 00:1e:52:xx:xx:xx (try 1/3)

00:17:30 Pineapple kern.info kernel: [ 1050.970000] wlan1: RX AssocResp from 00:1e:52:xx:xx:xx (capab=0x431 status=0 aid=2)

00:17:30 Pineapple kern.info kernel: [ 1050.910000] wlan1: authenticated

00:17:30 Pineapple kern.info kernel: [ 1050.890000] wlan1: send auth to 00:1e:52:xx:xx:xx (try 1/3)

00:17:30 Pineapple kern.info kernel: [ 1050.790000] wlan1: authenticate with 00:1e:52:xx:xx:xx

00:16:39 Pineapple kern.info kernel: [ 999.240000] br-lan: port 2(wlan0) entered forwarding state

00:16:37 Pineapple kern.info kernel: [ 997.240000] br-lan: port 2(wlan0) entered forwarding state

00:16:37 Pineapple kern.info kernel: [ 997.240000] br-lan: port 2(wlan0) entered forwarding state

00:16:37 Pineapple kern.info kernel: [ 997.160000] device wlan0 entered promiscuous mode

00:16:37 Pineapple kern.err kernel: [ 997.470000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up

00:16:37 Pineapple kern.err kernel: [ 997.460000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00006400

00:16:36 Pineapple kern.info kernel: [ 996.240000] device wlan1 left promiscuous mode

00:16:36 Pineapple kern.info kernel: [ 996.240000] br-lan: port 3(wlan1) entered disabled state

00:16:35 Pineapple kern.info kernel: [ 995.960000] device wlan0 left promiscuous mode

00:16:35 Pineapple kern.info kernel: [ 995.960000] br-lan: port 2(wlan0) entered disabled state

00:11:01 Pineapple kern.info kernel: [ 661.020000] br-lan: port 3(wlan1) entered disabled state

What am I missing here guys? Like I said, this will all connect w/ no problems from the CLI using some wpa_supplicant and udhcpc. This is why I believe it's a module issue.

Edited by duckmanjbr
Link to comment
Share on other sites

Proof that the CLI works 100% using my quick connect script from above:

05:10:01 Pineapple user.notice root: CLEANUP: memory looking good

05:10:01 Pineapple user.notice root: CLEANUP: Karma log looking good

05:10:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed

05:10:01 Pineapple cron.info crond[1371]: crond: USER root pid 8863 cmd /pineapple/scripts/cleanup.sh

05:07:21 Pineapple kern.info kernel: [ 4151.910000] wlan1: associated

05:07:21 Pineapple kern.info kernel: [ 4151.900000] wlan1: associate with 00:1e:52:xx:xx:xx (try 1/3)

05:07:21 Pineapple kern.info kernel: [ 4151.900000] wlan1: RX AssocResp from 00:1e:52:xx:xx:xx (capab=0x431 status=0 aid=2)

05:07:21 Pineapple kern.info kernel: [ 4151.840000] wlan1: authenticated

05:07:21 Pineapple kern.info kernel: [ 4151.830000] wlan1: send auth to 00:1e:52:xx:xx:xx (try 1/3)

05:07:21 Pineapple kern.info kernel: [ 4151.730000] wlan1: authenticate with 00:1e:52:xx:xx:xx

Link to comment
Share on other sites

I got it! I'm not sure if this is a bug report or not but the problem lies in the config/wireless file and can't be changed from the module. The module by default loads any new USB alfa as a network type "lan" it needs to be switched to "wan" as follows:

config wifi-iface

option device 'radio1'

option network 'lan' <-------- Needs be wan!!

option mode 'sta'

option ssid 'DXXXXXX'

option key 'password'

option hidden '1'

option encryption 'psk2+tkip+aes'

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