User8767 Posted January 31, 2014 Share Posted January 31, 2014 (edited) Hello everyone. I'm currently having trouble with client mode on the wi-Fi pineapple. My problem is that when I try to enable wlan0 on the network tile it doesn't allow me to. I can see in the URL bar that it tries to do this but instead of initializing/ enabling wlan0 it just refreshes the bar. I will attach a link to an image of this below. I hope that someone here can help me with the problem and thank you for any help you might be able to give. Thanks, Tekk3y. Edited January 31, 2014 by Tekk3y Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted January 31, 2014 Share Posted January 31, 2014 Are you using the beta firmware ? Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) Hi, thanks for the quick reply. I just checked and my firmware version is in the first image I attached. Thanks, Tekk3y Edited January 31, 2014 by Tekk3y Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 your config is wrong (95% sure haha) use this command below, then upload the file located in /sd called network-settings.txt to this forum: cat /etc/config/network && cat /etc/config/wireless > /sd/network-settings.txt (just be sure to clear out your wifi passwords(if any) :P)Good Luck! Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 Hi thanks for the reply. So iv run the command and I was wondering how I go about uploading the file from the sd, thanks. Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted January 31, 2014 Share Posted January 31, 2014 SCP :P Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 (edited) you just use something like filezilla to grab the files via ssh off the pineapple its located in the directory /sd (the sd card is mounted there).if your not sure how to do this, let me know what operating system your running, eg: windows. Edited January 31, 2014 by markcoker Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 Hi so iv done this and I will attach the file in my first post. Thanks or all of your help. Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 ...Its says I dont have permission to attach a txt file so I will copy and past the text below, thanks. config wifi-device 'radio0' option type 'mac80211' option channel '11' option hwmode '11ng' option macaddr '00:13:37:a5:08:99' 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' config wifi-iface option device 'radio0' option network 'lan' option mode 'ap' option encryption 'none' config wifi-device 'radio1' option type 'mac80211' option hwmode '11g' option macaddr '00:13:37:81:42:c0' option channel '8' config wifi-iface option device 'radio1' option network 'wan' option mode 'sta' option encryption 'mixed-psk+ccmp+tkip' option ssid 'VM874591-2G' option key -Taken out- Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 (edited) can you post network as well?also have you tried ifconfig wlan0 up or whatever the command is on pineapple Edited January 31, 2014 by markcoker Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 Is that in a different file? If so which one, and if not that's everything that was in the network settings document. Thanks, Tekk3y. Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 (edited) sorry i didnt have the right command up the top, ive corrected it here:cat /etc/config/network > /sd/network-settings.txt && cat /etc/config/wireless > /sd/network-settings.txt or you can just copy from screen: cat /etc/config/network also im having issues with my pineapple (sd card not mounted) could you show me what information there is if you type mount. Thanks! Edited January 31, 2014 by markcoker Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 The contents of network are below: # Copyright © 2006 OpenWrt.org config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface lan option ifname eth0 option type bridge option proto static option ipaddr 172.16.42.1 option netmask 255.255.255.0 option gateway 172.16.42.42 option dns 8.8.8.8 config interface wan option ifname wlan1 option proto dhcp config interface usb option ifname usb0 option proto dhcp config interface wan2 option ifname ' ' option proto ' ' option service ' ' option device ' ' option apn ' ' option username ' ' option password ' ' option defaultroute ' ' option ppp_redial ' ' option peerdns ' ' option dns ' ' option keepalive ' ' option pppd_options ' ' Thanks. Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) Also when I type in ifconfig, wlan0 doesn't come up. I also dont see where you want me to type mount for you. Tekk3y. Edited January 31, 2014 by Tekk3y Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 (edited) config wifi-iface option device 'radio0' option network 'lan' option mode 'ap' option encryption 'none' option ssid Pineapple5_0899 try adding this line to /etc/config/wireless, not sure but it might help.then just reboot or put device up. Edited January 31, 2014 by markcoker Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 Also when I type in ifconfig, wlan0 doesn't come up. I also dont see where you want me to type mount for you. Tekk3y. both commands are over ssh at the prompt. ifconfig wlan0 down && ifconfig wlan0 up mount Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 Hi, I tried this and I am still unable to change the state of wlan0. :( Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 any errors? you paste you logs from the your pineapple website > logs > syslogalso cat /tmp/state/wireless Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 This is what is in my log: Jan 31 18:01:27 Pineapple user.notice firewall: Reloading firewall due to ifup of wan (wlan1)Jan 31 18:01:27 Pineapple daemon.notice netifd: Interface 'wan' is now upJan 31 18:01:27 Pineapple daemon.info dnsmasq[1732]: using local addresses only for domain lanJan 31 18:01:27 Pineapple daemon.info dnsmasq[1732]: using nameserver 8.8.8.8#53Jan 31 18:01:27 Pineapple daemon.info dnsmasq[1732]: reading /tmp/resolv.conf.autoJan 31 18:01:24 Pineapple kern.info kernel: [ 769.610000] wlan1: associatedJan 31 18:01:24 Pineapple kern.info kernel: [ 769.570000] wlan1: RX AssocResp from 10:0d:7f:18:07:e8 (capab=0x411 status=0 aid=8)Jan 31 18:01:24 Pineapple kern.info kernel: [ 769.570000] wlan1: associate with 10:0d:7f:18:07:e8 (try 1/3)Jan 31 18:01:24 Pineapple kern.info kernel: [ 769.540000] wlan1: authenticatedJan 31 18:01:24 Pineapple kern.info kernel: [ 769.530000] wlan1: send auth to 10:0d:7f:18:07:e8 (try 1/3)Jan 31 18:01:24 Pineapple kern.info kernel: [ 769.240000] wlan1: authenticate with 10:0d:7f:18:07:e8 And this is whats in my wireless file: wireless.cfg063579.up=1 wireless.cfg063579.ifname=wlan1 ...Thanks for the help. Quote Link to comment Share on other sites More sharing options...
markcoker Posted January 31, 2014 Share Posted January 31, 2014 (edited) Has your wifi ever worked, when did you get this pineapple?try this also, just copy what it outputs airmon-ng start wlan0 Not sure, its a bit werid, if you dont mind loosing most things just restore your firmware. WiFi Pineapple MK5 > Firmware Upgrade > Check for upgrade > Re-Flash https://wifipineapple.com/?flashing ​Warning: Flashing a firmware upgrade will wipe all data on your pineapple. It will not wipe the SD card, but please make sure you have one inserted. Please also make sure that you have stopped all active services and infusions. To be sure, we recommend to re-boot the WiFi Pineapple MKV before any upgrade to ensure extra proccesses have been halted properly. Additionally, you should only perform a flash on a stable power connection, the wall adapter is recommended. You should also only flash over ethernet. Finally, please give the flashing process some time. Interrupting it by pulling the power or closing the webinterface can result in a soft-brick. Edited January 31, 2014 by markcoker Quote Link to comment Share on other sites More sharing options...
User8767 Posted January 31, 2014 Author Share Posted January 31, 2014 Hi, I re-flashed it and it appears to be fine. Thank, Tekk3y Quote Link to comment Share on other sites More sharing options...
thesugarat Posted January 31, 2014 Share Posted January 31, 2014 Tekk3y, Try conneting you wlan1 with the Client Mode tab to your home Access Point and go to the Pineapple Bar. Download the WiFi Manager and try using that to see how wlan0 is setup and whether or not it will allow you to enable it. It should be using the same commands on hardware that is in exactly the same state as that other button so I'm not convinced it will help but it's worth a shot. Quote Link to comment Share on other sites More sharing options...
markcoker Posted February 1, 2014 Share Posted February 1, 2014 Let us know if you get more issues Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.