d1000
-
Posts
55 -
Joined
-
Last visited
Posts posted by d1000
-
-
Heres a script I made way back in 2011. It was meant to be used with the mark3, but I don't think anything has changed. This script makes some assumptions about your setup that you should verify/modify - its all mentioned in the first blahb of commented text. Hope it helps
#!/bin/sh#telot presents....:::drum roll:::#One wicked ass nasty script that automates the ICS for the pineapple, begins packet capturing, and deauths every access point/client nearby! Enjoy!#Note that this script makes quite a few assumptions. They are:#You are using backtrack5R1.#Your interface that is connecting to the internet is wlan0#Your interface that is connecting to the pineapple is eth0#You have a alfa realtek usb card capable of monitor mode plugged in.#You have airdrop-ng installed and configured. This is a bit of a pita. If you don't want the deauth functions, comment it out (its at the very bottom of this script).#You have not run wp3.sh or any other network configuration stuff.#You have your pineapple configured to autostart karma at bootup.#This script is meant to run on your laptop upon bootup.##Also in this script, I'm using my smartphone's wifi hotspot feature, and that is why I'm using wpa_supplicant.#So the internet I'm serving up in my pentest lab is actually run through my cellphone.#So if you're dumb enough to do this in public to real people, use the local wifi. You don't want "real" targets eating up your monthly cellphone bandwidth.###Disclaimer: Herp a derp don't use this in public. Don't use this on anyone but your wife. Don't invade other peoples privacy. Don't be an asshole. With great power comes great...blah blah blah###I'm keeping most configuration and capture files on the desktop for ease.cd /root/Desktop/#Again, I'm using wpa because I'm running this through my cellphones hotspot. Remove the wpa_supplicant line and replace it with the below commented line.#iwconfig wlan0 essid EssidOfAPyouWantToUsewpa_supplicant -B Dwext -i wlan0 -c Jack.confdhclient wlan0#Now I just copy pasta'd most of this from the wp3.sh - I use all defaults for my setup, if you do not, change as necessary.#Bring up Ethernet Interface directly connected to Pineappleifconfig eth0 172.16.42.42 netmask 255.255.255.0 up# Enable IP Forwardingecho '1' > /proc/sys/net/ipv4/ip_forwardecho -n "IP Forwarding enabled. /proc/sys/net/ipv4/ip_forward set to "cat /proc/sys/net/ipv4/ip_forward#clear chains and rulesiptables -Xiptables -Fecho iptables chains and rules cleared#setup IP forwardingiptables -A FORWARD -i wlan0 -o wlan0 -s 172.16.42.0/24 -m state --state NEW -j ACCEPTiptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPTiptables -A POSTROUTING -t nat -j MASQUERADEecho IP Forwarding Enabled#remove default routeroute del defaultecho Default route removed#add default gatewayroute add default gw 192.168.1.1 wlan0echo Pineapple Default Gateway Configured#instructions#echo All set. Now on the Pineapple issue: route add default gw $pineapplehostip br-lanping -c3 172.16.42.1if [ $? -eq 0 ]; thenecho "ICS configuration successful."#echo "Issuing on Pineapple: route add default gw $pineapplehostip br-lan"#echo " ssh root@$pineappleip 'route add default gw '$pineapplehostip' br-lan'"#echo "Enter Pineapple password if prompted"#ssh root@$pineappleip 'route add default gw '$pineapplehostip' br-lan'fiecho ""echo "Browse to http://172.16.42.1/pineapple -- Happy Hacking!"echo ""#Now on to the fun stuff!####Now we autostart wireshark and begin capturing the pineapple traffic. I use screen -d -m to hide the console, as for some reason my wireshark is bugged out and hangs a bit.#Remember to screen -r back to it and get rid of it when you're done.screen -d -m wireshark -i eth0 -k -w sharkcap &#This next section requires an additional wifi card that supports monitor mode. I have a usb alfa realtek one (similar to those found in the hakshop).#This is also created in a detached screen. So remember to cleanup when you're done!###Now we deauth every access point around us. Make sure to set a conf file (in my case, I call if yourescrewed.conf) for airdrop with your allows and denys.#I set mine to allow the pineapple & my hotspot and deny everyone else.ifconfig wlan1 upairmon-ng start wlan1cd /pentest/wireless/airdrop-ng/screen -d -m airodump-ng mon0 -w capfile --output-format csvsleep 20python airdrop-ng -i mon0 -t capfile-01.csv -r yourescrewed.conftelotMany thanks!
-
Hi! Any news on this thread? Also looking for a setup that can make my raspberry a poweron deauth everyone near my pineapple.
Anyone has this working? Power it on and voilaááááá!
-
-
There are probably 20+ posts on this forum about the same issue / matter. Please find those and make your pick.
Still looking for something. Finding a lot of posts regarding usb problems, but not so much giving feedback of tested powered usb hubs for mk4.
Thanks anyway :)
-
I have to agree with some people here:
- OpenWRT is an OS that has a few downsides but many many more upsides. We like it a lot.
- If your devices start shutting down it is most likely a power issue, so a powered hub should fix your issues.
- The stability of USB has greatly improved in 2.7.1+, so if you are still having issues, make sure to upgrade when 2.8.0 (stable) is out. You never stated what firmware version you are on.
Before you buy a hub, I would upgrade to 2.7.3. While it is not marked as stable, it pretty much is. Modules DO NOT all work as they haven't been moved over. That is fine though as that is how we do the dev releases. If this fixes your issues, you won't have to wait long for the new stable firmware to be out -- once it is, a lot of the issues people here are having in regards to USB (storage and other devices).
Great reply :)
1 - Roger that
2 - In research process of usb hub aquisition
3 - My fault, I have been in 2.7.0, then 2.7.3 and now back to 2.7.0. In both versions my issues with USB were equal.
Will buy the hub and will post the results :). Cheers!
-
Hi guys,
I'm in the final stage off troubleshooting a few USB issues with my MK4. For that I need a good tested powered usb, portable and that can be juiced with Anker® Astro3E 10000mAh.
Many thanks for your input.
(if found in http://amazon.co.uk better!)
-
USB only supplies 500 miliamps of power on the pineapple. You're trying to draw too much. Use a powered hub, or a smaller thumb drive.
Already tried with a very small usb adapter with microsd. But yes can even then be a power issue. I saw so many in this forum already. Will buy a powered hub.
Now, anyone recommend me a portable and small powered hub than can be juiced with Anker® Astro3E 10000mAh? Thxs folks.
-
In my first tests i've tried wall socket, christmas bundle battery and anker at 9 and 12v. Now you remembered me that i didn't test with new pen and new microsd alone powered wall. Will try again and post new and updated errors. I hope my fun can begin in no time... :)
-
from my time with openwrt it comes down to this: if you are using a powered hub and something that is going to draw a decent amount of power you will want to power that hub from a reliable usb power source such as a name brand usb charger and not some china knock off. if there is "sag" or too much noise in the power source the device will have issues. I have had great results using sandisk cruzer fit drives plugged directly into the pineapple as well as other openwrt devices. I think the majority of "usb issues" here are from people expecting plug and play operability. these are openwrt devices so just learn up on openwrt and understand how your device is working as well as how it mounts drives and handles devices, instead of just blindly guessing and hoping someone on the forums guesses your setup and issue exactly right. openwrt has a huge community and is fairly similar to your run of the mill linux distro.
If my microsd appear mounted for a while and then dissapear, I believe something must be right no? Your ideia of community is "go study in a different community (WRT)", thanks your great post. Bah.
If someone looks familiary with my issues, most apreciated any help.
D1000
-
Hi, my USB hub is not powered, but I've tried the 16 USB alone (not 3g) and and also 32microsd+usb adapter and same problem. Also tried usb only + anker set to 12v.
I see so many people with usb problems in fórum. Could this be a design flaw? Firmware? Newbies?
Thanks
-
Hi guys,
A few weeks after receive my MK4 I'm frustrated with so many usb issues. I'm actually not an expert in Linux environment but I honestly don't know what else I need to do in just a simple scenario with a pineapple + 32 Gb microsd with USB adapter + USB HUB + 3g PEN + Alfa working.
3G Pen alone work fine.If I try to use it with microsd inside, I never could mount two partitions like Darrens topic explain. I thought it could be a faulty microsd, so I bought a new 32GB microSD + usb adapter. Now it’s also very unstable even ALONE in the pineapple USB port. Then also try 16GB pen directly in pineapple, even worst, not even blink or detected. A NEW PEN.
Also tried with SG, SG0,SG1, SDB, SDB1, SDB2, SDA, SDA1, SDA2.
How can I say? HELP ?
My best configuration, mount the 32Gb microsd with usb adapter in a single partition, appeared in resources tab, when I start the infusion installation using usb storage, stopped and dissapear again. Now when I remove and plug, appear a error in system log. See above please. Every time I use it in ubuntu, next to have problems in pinapple, the partitions could not be mount anymore. I then start from the beginning. Darren's topic.
System Log (refresh)
00:34:23 Pineapple user.notice fstab: mount: mounting /dev/sda1 on /usb failed: Invalid argument
00:34:23 Pineapple kern.err kernel: [ 2063.660000] EXT4-fs (sda1): group descriptors corrupted!
00:34:23 Pineapple kern.err kernel: [ 2063.650000] EXT4-fs (sda1): ext4_check_descriptors: Block bitmap for group 164 not in group (block 1128420181)!
00:34:22 Pineapple kern.notice kernel: [ 2062.880000] sd 1:0:0:0: [sda] Attached SCSI removable disk
00:34:22 Pineapple kern.notice kernel: [ 2062.830000] sd 1:0:0:0: [sda] Write Protect is off
00:34:22 Pineapple kern.notice kernel: [ 2062.830000] sd 1:0:0:0: [sda] 62535680 512-byte logical blocks: (32.0 GB/29.8 GiB)
00:34:22 Pineapple kern.notice kernel: [ 2062.420000] sd 1:0:0:0: Attached scsi generic sg0 type 0
00:34:22 Pineapple kern.notice kernel: [ 2062.420000] scsi 1:0:0:0: Direct-Access USB Mass Storage Device PQ: 0 ANSI: 0 CCS
00:34:22 Pineapple kern.info kernel: [ 2062.860000] sda: sda1
00:34:22 Pineapple kern.info kernel: [ 2062.610000] usb 1-1: reset high-speed USB device number 3 using ehci-platform
00:34:22 Pineapple kern.err kernel: [ 2062.880000] sd 1:0:0:0: [sda] Assuming drive cache: write through
00:34:22 Pineapple kern.err kernel: [ 2062.870000] sd 1:0:0:0: [sda] No Caching mode page present
00:34:22 Pineapple kern.err kernel: [ 2062.860000] sd 1:0:0:0: [sda] Assuming drive cache: write through
00:34:22 Pineapple kern.err kernel: [ 2062.850000] sd 1:0:0:0: [sda] No Caching mode page present
00:34:22 Pineapple kern.err kernel: [ 2062.840000] sd 1:0:0:0: [sda] No Caching mode page present
00:34:22 Pineapple kern.err kernel: [ 2062.840000] sd 1:0:0:0: [sda] Assuming drive cache: write through
00:34:22 Pineapple kern.debug kernel: [ 2062.840000] sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
00:34:21 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Generic Product=Mass_Storage_Device Serial=812320100708
00:34:21 Pineapple kern.info kernel: [ 2061.420000] scsi1 : usb-storage 1-1:1.0
00:34:21 Pineapple kern.info kernel: [ 2061.260000] usb 1-1: new high-speed USB device number 3 using ehci-platform
00:34:16 Pineapple kern.info kernel: [ 2056.870000] usb 1-1: USB disconnect, device number 2 -
So this is the finished product. I'm going to be picking up a different flat ethernet cable so that I can get that bulky OTG cable out of there, but she's finally done.
No heat issues, and I think it looks bad ass if I do say so myself.
Hi Shadow!
Does the D-link USB hub need to be powered using the anker? Or just juiced via pineapple? I'm struggling with usb hub issues because of power...
THanks
-
Have you try power it on socket? Are you running it on batteries? Maybe could be a not enought power issue...
-
Just to let you guys know that urlsnarf is not working on my mk4 2.7.3. It says is started, but do not create any log and when I click refresh on Output tab is says "urlsnarf is not running..."
-
Exactly this. Though with the new 2.7.1+ releases I have noticed karma duplicates encrypted APs more often than it used to. I get all my secured APs shown.
No encryption of course and if I am close to an encrypted network, I will see the duplicate. So this could trick people into connecting to you if you can deauth the other AP.
Yep I understand, you freeze the public AP, and wait them to connect to you. Well thats something, but when I saw Darrens airport vídeo using mk4 + Alfa Deauth attack, I didn't realize that was mostly for clientes using open networks. obviously if they continue to have conectiviy problems, they could manually connect to MK4.
Thanks for headsup...
-
Oh dear... so sadddddddddddddddd............ Didn't spend enought atention on Darrens vídeos :(
So even with deauth attacks, only make sense in the presence of public open networks right? Like Deauth everyone but us+our equipament in a place like Sbucks?
-
Hi again! This pineapple has been a tought one, every step is an issue! This time is Karma, I start it and no clients connect unless they have knowned networks with NO encryption at all. Only unsecure networks are grabbed my Karma. I have my homenetwork memorized in Android and the probe is not grabbed. Only new networks with no encrypton like a test one I create called "teste" worked fine.
Any ideias of what can been doing wrong?
Pineapple Hardware Version (ex: Mark III, Mark IV, etc.): Mark IV
Pineapple Software Version (ex: 2.5.0, 2.6.4): 2.7.3
OS used to connect to the pineapple: Win8 + Linux
All the tools/options that are running on the pineapple when the issue happened: Stock 2.7.3
Ping results from computer to pineapple: OK
Is the problem repeatable (Yes/No): Yes
Steps taken which created the problem: Just start Karma, and clients only connect if they have unsecure SSIDs on there knowned networks
Error Messages: not found
Log file information: Above in spoiler
Anything else that was attempted to 'fix' the problem: No more knowhow in Pineapple yet. In Status the client connected to "teste" network, a no encrypton network.Detailed Report (Dismiss)
CPU Intensive. Do not re-run reports in rapid successionStation 00:00:00:00:00:00 (on wlan0)
ip address: 172.16.42.180
host name: android
Karma SSID: 'teste'
inactive time: 150 ms
rx bytes: 13141
rx packets: 121
tx bytes: 17218
tx packets: 82
tx retries: 43
tx failed: 0
signal: -73 [-73] dBm
signal avg: -70 [-70] dBm
tx bitrate: 43.3 MBit/s MCS 4 short GI
rx bitrate: 39.0 MBit/s MCS 4
authorized: yes
authenticated: yes
preamble: short
WMM/WME: yes
MFP: no
TDLS peer: no
Station 00:00:00:00:00:00 (on wlan0)
ip address:
host name:
Karma SSID:
inactive time: 830 ms
rx bytes: 925932
rx packets: 5977
tx bytes: 1509593
tx packets: 4382
tx retries: 1249
tx failed: 0
signal: -67 [-67] dBm
signal avg: -61 [-62] dBm
tx bitrate: 65.0 MBit/s MCS 6 short GI
rx bitrate: 72.2 MBit/s MCS 7 short GI
authorized: yes
authenticated: yes
preamble: short
WMM/WME: yes
MFP: no
TDLS peer: noSystem Log (refresh)
16:15:01 Pineapple user.notice root: CLEANUP: memory looking good
16:15:01 Pineapple user.notice root: CLEANUP: Karma log looking good
16:15:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
16:15:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
16:15:01 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
16:15:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
16:15:01 Pineapple cron.info crond[1042]: crond: USER root pid 5717 cmd /pineapple/3g/3g-keepalive.sh
16:15:01 Pineapple cron.info crond[1042]: crond: USER root pid 5716 cmd /pineapple/scripts/cleanup.sh
16:10:01 Pineapple user.notice root: CLEANUP: memory looking good
16:10:01 Pineapple user.notice root: CLEANUP: Karma log looking good
16:10:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
16:10:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
16:10:01 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
16:10:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
16:10:01 Pineapple cron.info crond[1042]: crond: USER root pid 5691 cmd /pineapple/3g/3g-keepalive.sh
16:10:01 Pineapple cron.info crond[1042]: crond: USER root pid 5690 cmd /pineapple/scripts/cleanup.sh
16:08:59 Pineapple user.info autossh[838]: starting ssh (count 22)
16:08:59 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
16:08:59 Pineapple user.info autossh[838]: ssh child pid is 5689
16:07:31 Pineapple user.info autossh[838]: starting ssh (count 21)
16:07:31 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
16:07:31 Pineapple user.info autossh[838]: ssh child pid is 5688
16:07:23 Pineapple daemon.info hostapd: wlan0: STA 78:d6:f0:34:c4:49 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
16:07:22 Pineapple daemon.info hostapd: wlan0: STA 78:d6:f0:34:c4:49 IEEE 802.11: disassociated
16:07:12 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPREQUEST(br-lan) 172.16.42.215 78:d6:f0:34:c4:49
16:07:12 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPOFFER(br-lan) 172.16.42.215 78:d6:f0:34:c4:49
16:07:12 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPDISCOVER(br-lan) 78:d6:f0:34:c4:49
16:07:12 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPACK(br-lan) 172.16.42.215 78:d6:f0:34:c4:49 android-815b0be988054b94
16:06:59 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPREQUEST(br-lan) 192.168.107.134 78:d6:f0:34:c4:49
16:06:59 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPNAK(br-lan) 192.168.107.134 78:d6:f0:34:c4:49 wrong network
16:06:58 Pineapple daemon.info hostapd: wlan0: STA 78:d6:f0:34:c4:49 IEEE 802.11: authenticated
16:06:58 Pineapple daemon.info hostapd: wlan0: STA 78:d6:f0:34:c4:49 IEEE 802.11: associated (aid 3)
16:05:01 Pineapple user.notice root: CLEANUP: memory looking good
16:05:01 Pineapple user.notice root: CLEANUP: Karma log looking good
16:05:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
16:05:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
16:05:01 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
16:05:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
16:05:01 Pineapple cron.info crond[1042]: crond: USER root pid 5655 cmd /pineapple/3g/3g-keepalive.sh
16:05:01 Pineapple cron.info crond[1042]: crond: USER root pid 5654 cmd /pineapple/scripts/cleanup.sh
16:00:02 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
16:00:01 Pineapple user.notice root: CLEANUP: memory looking good
16:00:01 Pineapple user.notice root: CLEANUP: Karma log looking good
16:00:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
16:00:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
16:00:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
16:00:01 Pineapple cron.info crond[1042]: crond: USER root pid 5631 cmd /pineapple/3g/3g-keepalive.sh
16:00:01 Pineapple cron.info crond[1042]: crond: USER root pid 5630 cmd /pineapple/scripts/cleanup.sh
15:58:59 Pineapple user.info autossh[838]: starting ssh (count 20)
15:58:59 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:58:59 Pineapple user.info autossh[838]: ssh child pid is 5629
15:55:31 Pineapple user.info autossh[838]: starting ssh (count 19)
15:55:31 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:55:31 Pineapple user.info autossh[838]: ssh child pid is 5618
15:55:01 Pineapple user.notice root: CLEANUP: memory looking good
15:55:01 Pineapple user.notice root: CLEANUP: Karma log looking good
15:55:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
15:55:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
15:55:01 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
15:55:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
15:55:01 Pineapple cron.info crond[1042]: crond: USER root pid 5599 cmd /pineapple/3g/3g-keepalive.sh
15:55:01 Pineapple cron.info crond[1042]: crond: USER root pid 5598 cmd /pineapple/scripts/cleanup.sh
15:50:01 Pineapple user.notice root: CLEANUP: memory looking good
15:50:01 Pineapple user.notice root: CLEANUP: Karma log looking good
15:50:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
15:50:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
15:50:01 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
15:50:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
15:50:01 Pineapple cron.info crond[1042]: crond: USER root pid 5549 cmd /pineapple/3g/3g-keepalive.sh
15:50:01 Pineapple cron.info crond[1042]: crond: USER root pid 5548 cmd /pineapple/scripts/cleanup.sh
15:48:59 Pineapple user.info autossh[838]: starting ssh (count 18)
15:48:59 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:48:59 Pineapple user.info autossh[838]: ssh child pid is 5547
15:47:48 Pineapple user.info autossh[838]: starting ssh (count 17)
15:47:48 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:47:48 Pineapple user.info autossh[838]: ssh child pid is 5546
15:46:43 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: authenticated
15:46:43 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: associated (aid 1)
15:46:43 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPREQUEST(br-lan) 172.16.42.180 00:37:6d:ee:66:06
15:46:43 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPACK(br-lan) 172.16.42.180 00:37:6d:ee:66:06 android-e71bea6efda77859
15:46:27 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
15:46:26 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: disassociated
15:46:21 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: authenticated
15:46:21 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: associated (aid 1)
15:46:21 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPREQUEST(br-lan) 172.16.42.180 00:37:6d:ee:66:06
15:46:21 Pineapple daemon.info dnsmasq-dhcp[1123]: DHCPACK(br-lan) 172.16.42.180 00:37:6d:ee:66:06 android-e71bea6efda77859
15:45:02 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
15:45:01 Pineapple user.notice root: CLEANUP: memory looking good
15:45:01 Pineapple user.notice root: CLEANUP: Karma log looking good
15:45:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
15:45:01 Pineapple user.notice root: 3G: Keep-Alive Script Executed
15:45:01 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
15:45:01 Pineapple cron.info crond[1042]: crond: USER root pid 5328 cmd /pineapple/3g/3g-keepalive.sh
15:45:01 Pineapple cron.info crond[1042]: crond: USER root pid 5327 cmd /pineapple/scripts/cleanup.sh
15:43:00 Pineapple user.info autossh[838]: starting ssh (count 16)
15:43:00 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:43:00 Pineapple user.info autossh[838]: ssh child pid is 5326
15:40:02 Pineapple user.notice root: CLEANUP: memory looking good
15:40:02 Pineapple user.notice root: CLEANUP: Karma log looking good
15:40:02 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
15:40:02 Pineapple user.notice root: 3G: Keep-Alive Script Executed
15:40:02 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
15:40:02 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
15:40:01 Pineapple cron.info crond[1042]: crond: USER root pid 5201 cmd /pineapple/3g/3g-keepalive.sh
15:40:01 Pineapple cron.info crond[1042]: crond: USER root pid 5200 cmd /pineapple/scripts/cleanup.sh
15:39:39 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
15:39:38 Pineapple daemon.info hostapd: wlan0: STA 00:37:6d:ee:66:06 IEEE 802.11: disassociated
15:38:59 Pineapple user.info autossh[838]: starting ssh (count 15)
15:38:59 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:38:59 Pineapple user.info autossh[838]: ssh child pid is 5195
15:38:46 Pineapple user.info autossh[838]: starting ssh (count 14)
15:38:46 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:38:46 Pineapple user.info autossh[838]: ssh child pid is 5194
15:36:04 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:36:03 Pineapple user.info autossh[838]: starting ssh (count 13)
15:36:03 Pineapple user.info autossh[838]: ssh child pid is 4728
15:35:05 Pineapple user.notice root: 3G: Interface 3g-wan2 up and Internet Connection seems to be up. woot
15:35:03 Pineapple user.notice root: CLEANUP: memory below threshold, dropping pagecache, dentries and inodes
15:35:02 Pineapple user.notice root: CLEANUP: Karma log looking good
15:35:02 Pineapple user.notice root: CLEANUP: Clean-up Script Executed
15:35:02 Pineapple user.notice root: 3G: Keep-Alive Script Executed
15:35:02 Pineapple user.notice root: 3G: Interface 3g-wan2 seems up
15:35:01 Pineapple cron.info crond[1042]: crond: USER root pid 4336 cmd /pineapple/3g/3g-keepalive.sh
15:35:01 Pineapple cron.info crond[1042]: crond: USER root pid 4335 cmd /pineapple/scripts/cleanup.sh
15:33:55 Pineapple user.info autossh[838]: starting ssh (count 12)
15:33:55 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:33:55 Pineapple user.info autossh[838]: ssh child pid is 3559
15:32:17 Pineapple user.info autossh[838]: starting ssh (count 11)
15:32:17 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:32:17 Pineapple user.info autossh[838]: ssh child pid is 2766
15:31:14 Pineapple cron.err crond[1042]: time disparity of 22631969 minutes detected
15:31:05 Pineapple user.info autossh[838]: starting ssh (count 10)
15:31:05 Pineapple user.info autossh[838]: ssh exited with error status 1; restarting ssh
15:31:05 Pineapple user.info autossh[838]: ssh child pid is 2620
00:02:23 Pineapple daemon.info dnsmasq[1123]: using nameserver 88.214.182.1#53
00:02:23 Pineapple daemon.info dnsmasq[1123]: using nameserver 88.214.178.2#53
00:02:23 Pineapple daemon.info dnsmasq[1123]: using nameserver 8.8.8.8#53
00:02:23 Pineapple daemon.info dnsmasq[1123]: using local addresses only for domain lan
00:02:23 Pineapple daemon.info dnsmasq[1123]: reading /tmp/resolv.conf.auto
00:02:22 Pineapple daemon.notice netifd: Interface 'wan2' is now up
00:02:21 Pineapple daemon.warn pppd[2570]: Could not determine remote IP address: defaulting to 10.64.64.64
00:02:21 Pineapple daemon.notice pppd[2570]: secondary DNS address 88.214.178.2
00:02:21 Pineapple daemon.notice pppd[2570]: remote IP address 10.64.64.64
00:02:21 Pineapple daemon.notice pppd[2570]: primary DNS address 88.214.182.1
00:02:21 Pineapple daemon.notice pppd[2570]: local IP address 31.22.172.129
00:02:16 Pineapple daemon.notice pppd[2570]: CHAP authentication succeeded
00:02:16 Pineapple daemon.info pppd[2570]: CHAP authentication succeeded
00:02:15 Pineapple local2.info chat[2574]: send ( ^M)
00:02:15 Pineapple local2.info chat[2574]: expect (CONNECT)
00:02:15 Pineapple local2.info chat[2574]: ^M
00:02:15 Pineapple local2.info chat[2574]: CONNECT
00:02:15 Pineapple local2.info chat[2574]: ATD*99***1#^M^M
00:02:15 Pineapple local2.info chat[2574]: -- got it
00:02:15 Pineapple daemon.notice pppd[2570]: Connect: 3g-wan2 <--> /dev/ttyUSB0
00:02:15 Pineapple daemon.info pppd[2570]: Using interface 3g-wan2
00:02:15 Pineapple daemon.info pppd[2570]: Serial connection established.
00:02:14 Pineapple local2.info chat[2574]: timeout set to 30 seconds
00:02:14 Pineapple local2.info chat[2574]: timeout set to 10 seconds
00:02:14 Pineapple local2.info chat[2574]: send (ATE1^M)
00:02:14 Pineapple local2.info chat[2574]: send (ATD*99***1#^M)
00:02:14 Pineapple local2.info chat[2574]: send (AT+CGDCONT=1,"IP","internet"^M)
00:02:14 Pineapple local2.info chat[2574]: send (AT&F^M)
00:02:14 Pineapple local2.info chat[2574]: report (CONNECT)
00:02:14 Pineapple local2.info chat[2574]: expect (OK)
00:02:14 Pineapple local2.info chat[2574]: expect (OK)
00:02:14 Pineapple local2.info chat[2574]: expect (OK)
00:02:14 Pineapple local2.info chat[2574]: abort on (NO CARRIER)
00:02:14 Pineapple local2.info chat[2574]: abort on (ERROR)
00:02:14 Pineapple local2.info chat[2574]: abort on (BUSY)
00:02:14 Pineapple local2.info chat[2574]: ^M
00:02:14 Pineapple local2.info chat[2574]: ^M
00:02:14 Pineapple local2.info chat[2574]: OK
00:02:14 Pineapple local2.info chat[2574]: OK
00:02:14 Pineapple local2.info chat[2574]: OK
00:02:14 Pineapple local2.info chat[2574]: ATE1^M^M
00:02:14 Pineapple local2.info chat[2574]: AT+CGDCONT=1,"IP","internet"^M^M
00:02:14 Pineapple local2.info chat[2574]: AT&F^M^M
00:02:14 Pineapple local2.info chat[2574]: -- got it
00:02:14 Pineapple local2.info chat[2574]: -- got it
00:02:14 Pineapple local2.info chat[2574]: -- got it
00:02:13 Pineapple daemon.notice pppd[2570]: pppd 2.4.5 started by root, uid 0
00:02:12 Pineapple daemon.notice netifd: wan2 (2399): Trying to set mode
00:02:11 Pineapple kern.info kernel: [ 131.450000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
00:02:08 Pineapple user.notice usb-modeswitch: 1-1:1.4: Switching seemingly failed
00:02:06 Pineapple user.notice usb-modeswitch: 1-1:1.4: Switching seemingly failed
00:02:05 Pineapple user.notice usb-modeswitch: 1-1:1.4: Switching seemingly failed
00:02:04 Pineapple user.notice usb-modeswitch: 1-1:1.4: Switching seemingly failed -
Did you try this in your Fstab to mount to /USB
config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 1
config mount
option target /usb
option device /dev/sda
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config mount
option target /usb
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option device /dev/sda2
option enabled 1
Well well well :)
Now it mounts the FIRST partition ONLY, almost there! I wonder why...
Disk UsageFilesystem Size Used Available Use% Mounted onrootfs 896.0K 268.0K 628.0K 30% //dev/root 5.3M 5.3M 0 100% /romtmpfs 14.3M 120.0K 14.2M 1% /tmptmpfs 512.0K 0 512.0K 0% /dev/dev/mtdblock3 896.0K 268.0K 628.0K 30% /overlayoverlayfs:/overlay 896.0K 268.0K 628.0K 30% //dev/sda1 1.7G 40.8M 1.5G 3% /usb[/spoiler]
Execute: dmesg
[ 0.000000] Linux version 3.6.11 (sebkinne@nimbus) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) ) #24 Wed Jan 9 22:13:23 GMT 2013
[ 0.000000] MyLoader: sysp=00020004, boardp=80250204, parts=20004319
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802d1340, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 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: 8128
[ 0.000000] Kernel command line: board=HORNET-UB console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29132k/32768k available (2105k kernel code, 3636k reserved, 396k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is ALFA NETWORKS Hornet-UB
[ 0.550000] bio: create slab at 0
[ 0.550000] Switching to clocksource MIPS
[ 0.560000] NET: Registered protocol family 2
[ 0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.580000] TCP: reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.600000] PCI: CLS 0 bytes, default 32
[ 0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.630000] msgmni has been set to 56
[ 0.640000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.660000] console [ttyATH0] enabled, bootconsole disabled
[ 0.670000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.690000] Creating 7 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.710000] 0x000000050000-0x000000650000 : "rootfs"
[ 0.720000] mtd: partition "rootfs" set to be root filesystem
[ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=570000, len=E0000
[ 0.730000] 0x000000570000-0x000000650000 : "rootfs_data"
[ 0.740000] 0x000000650000-0x0000007e0000 : "kernel"
[ 0.740000] 0x0000007e0000-0x0000007f0000 : "nvram"
[ 0.750000] 0x0000007f0000-0x000000800000 : "art"
[ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.780000] libphy: ag71xx_mdio: probed
[ 0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 1.340000] eth0: Found an AR7240/AR9330 built-in switch
[ 2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.920000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.930000] TCP: cubic registered
[ 2.930000] NET: Registered protocol family 17
[ 2.940000] 8021q: 802.1Q VLAN Support v1.8
[ 2.950000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.960000] Freeing unused kernel memory: 212k freed
[ 6.370000] Registered led device: alfa:blue:lan
[ 6.370000] Registered led device: alfa:blue:usb
[ 6.370000] Registered led device: alfa:blue:wan
[ 6.370000] Registered led device: alfa:blue:wlan
[ 6.370000] Registered led device: alfa:blue:wps
[ 9.700000] jffs2: notice: (458) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 13 of xref (0 dead, 5 orphan) found.
[ 10.450000] SCSI subsystem initialized
[ 10.750000] usbcore: registered new interface driver usbfs
[ 10.760000] usbcore: registered new interface driver hub
[ 10.760000] usbcore: registered new device driver usb
[ 11.370000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.370000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.380000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.420000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.440000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.440000] hub 1-0:1.0: USB hub found
[ 11.440000] hub 1-0:1.0: 1 port detected
[ 11.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.680000] uhci_hcd: USB Universal Host Controller Interface driver
[ 11.800000] Initializing USB Mass Storage driver...
[ 11.800000] usbcore: registered new interface driver usb-storage
[ 11.810000] USB Mass Storage support registered.
[ 11.910000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 12.060000] scsi0 : usb-storage 1-1:1.0
[ 12.070000] scsi1 : usb-storage 1-1:1.1
[ 13.060000] scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 13.070000] scsi 1:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 13.080000] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 33.420000] Compat-drivers backport release: compat-drivers-2012-12-04
[ 33.420000] Backport based on wireless-testing.git master-2012-12-06
[ 33.430000] compat.git: wireless-testing.git
[ 33.460000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.470000] cfg80211: World regulatory domain updated:
[ 33.470000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.480000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.490000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.500000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.500000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.510000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.010000] cfg80211: World regulatory domain updated:
[ 34.020000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 34.030000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.030000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 34.040000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 34.050000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 34.060000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 35.160000] usbcore: registered new interface driver rt73usb
[ 35.310000] usbcore: registered new interface driver rtl8187
[ 35.340000] ath: EEPROM regdomain: 0x833a
[ 35.340000] ath: EEPROM indicates we should expect a country code
[ 35.340000] ath: doing EEPROM country->regdmn map search
[ 35.340000] ath: country maps to regdmn code: 0x37
[ 35.340000] ath: Country alpha2 being used: GB
[ 35.340000] ath: Regpair used: 0x37
[ 35.350000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 35.350000] Registered led device: ath9k-phy0
[ 35.350000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 35.370000] usbcore: registered new interface driver rt2800usb
[ 35.430000] cfg80211: Calling CRDA for country: GB
[ 35.430000] cfg80211: Regulatory domain changed to country: GB
[ 35.440000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 35.450000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.450000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.460000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.470000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 35.510000] Button Hotplug driver version 0.4.1
[ 35.750000] RPC: Registered named UNIX socket transport module.
[ 35.750000] RPC: Registered udp transport module.
[ 35.760000] RPC: Registered tcp transport module.
[ 35.760000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 36.110000] PPP generic driver version 2.4.2
[ 36.240000] tun: Universal TUN/TAP device driver, 1.6
[ 36.250000] tun: © 1999-2004 Max Krasnyansky
[ 36.540000] ip_tables: © 2000-2006 Netfilter Core Team
[ 36.780000] NET: Registered protocol family 24
[ 36.910000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 37.780000] usbcore: registered new interface driver ath9k_htc
[ 38.040000] usbcore: registered new interface driver usbserial
[ 38.050000] usbcore: registered new interface driver usbserial_generic
[ 38.060000] USB Serial support registered for generic
[ 38.060000] usbserial: USB Serial Driver core
[ 38.100000] usbcore: registered new interface driver cdc_ether
[ 38.220000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 38.340000] usbcore: registered new interface driver rndis_host
[ 38.470000] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[ 38.470000] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 40.950000] sd 1:0:0:0: [sda] 3911680 512-byte logical blocks: (2.00 GB/1.86 GiB)
[ 40.970000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 40.980000] sda: sda1 sda2
[ 42.230000] usb 1-1: USB disconnect, device number 2
[ 42.250000] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[ 42.250000] sd 1:0:0:0: [sda]
[ 42.250000] Result: hostbyte=0x01 driverbyte=0x00
[ 44.750000] device eth0 entered promiscuous mode
[ 46.750000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 46.910000] scsi5 : usb-storage 1-1:1.3
[ 46.910000] scsi6 : usb-storage 1-1:1.4
[ 47.910000] scsi 5:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 47.920000] scsi 5:0:0:0: Attached scsi generic sg0 type 5
[ 47.930000] scsi 6:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 47.940000] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 47.950000] sd 6:0:0:0: [sda] Attached SCSI removable disk
[ 48.140000] device wlan0 entered promiscuous mode
[ 48.220000] br-lan: port 2(wlan0) entered forwarding state
[ 48.220000] br-lan: port 2(wlan0) entered forwarding state
[ 50.220000] br-lan: port 2(wlan0) entered forwarding state
[ 58.390000] device wlan0 left promiscuous mode
[ 58.390000] br-lan: port 2(wlan0) entered disabled state
[ 59.440000] device wlan0 entered promiscuous mode
[ 59.520000] br-lan: port 2(wlan0) entered forwarding state
[ 59.520000] br-lan: port 2(wlan0) entered forwarding state
[ 61.520000] br-lan: port 2(wlan0) entered forwarding state
[ 74.650000] USB Serial deregistering driver generic
[ 74.650000] usbcore: deregistering interface driver usbserial_generic
[ 74.660000] usbcore: deregistering interface driver usbserial
[ 77.690000] usbcore: registered new interface driver usbserial
[ 77.700000] usbcore: registered new interface driver usbserial_generic
[ 77.700000] USB Serial support registered for generic
[ 77.710000] usbserial_generic 1-1:1.0: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 77.720000] usbserial_generic 1-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 77.730000] usbserial_generic 1-1:1.0: generic converter detected
[ 77.740000] usb 1-1: generic converter now attached to ttyUSB0
[ 77.740000] usbserial_generic 1-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 77.750000] usbserial_generic 1-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 77.760000] usbserial_generic 1-1:1.1: generic converter detected
[ 77.770000] usb 1-1: generic converter now attached to ttyUSB1
[ 77.770000] usbserial_generic 1-1:1.2: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 77.780000] usbserial_generic 1-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 77.790000] usbserial_generic 1-1:1.2: generic converter detected
[ 77.800000] usb 1-1: generic converter now attached to ttyUSB2
[ 77.810000] usbserial: USB Serial Driver core
[ 90.010000] sd 6:0:0:0: [sda] 3911680 512-byte logical blocks: (2.00 GB/1.86 GiB)
[ 90.020000] sd 6:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 90.040000] sda: sda1 sda2
[ 90.060000] EXT4-fs (sda1): recovery complete
[ 90.060000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 131.450000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)@qualcomm.com>
@qualcomm.com>
Execute: ls /dev/sd*
dev/sda
/dev/sda1
/dev/sda2
-
Have a look here, it might help.
http://forums.hak5.org/index.php?/topic/27027-submit-your-3g-modem-configurations/
unfortunately not much info regarding microSD mount problems. Either ways I submit my 3G configuration to next releases (2.7.3 don't work using default script)
-
Hi, just upgrade to 2.7.3 to try fixing a microsd mount problem using HUAWEI 1750. Just notice the 3G script don't bring my configuration.
If it helps, here it goes.
*12d1:1001*) echo "Huawei E1750 detected. Attempting mode switch"
uci delete network.wan2
uci set network.wan2=interface
uci set network.wan2.ifname=ppp0
uci set network.wan2.proto=3g
uci set network.wan2.service=umts
uci set network.wan2.device=/dev/ttyUSB0
uci set network.wan2.apn=internet
uci set network.wan2.username=tmn
uci set network.wan2.password=tmn
uci set network.wan2.defaultroute=1
uci commit network
usb_modeswitch -v 12d1 -p 1001
sleep 10; rmmod usbserial
sleep 3; insmod usbserial vendor=0x12d1 product=0x1001
sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop
logger "3G: firewall stopped"
iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT
;; -
hmm, my mate hasn't returned my pineapple, to see if i can duplicate your results - odd.
For the moment I'm stuck! and cant fathom it; maybe some-other pineapple expert can spot something i missed?
:) thxs midS!
Will wait for further inputs or experiences? I'm stuck over here. Will try next week using an Anker + usb hub + pen drive + pen 3 without microsd, juicing only Pineapple with 9V...
Cheers
-
1 - I plug to Linux and the volumes appear mounted stable
2 - I unmounted the volumes
3 - Plug to MK4 with same fstab config, they mount and appear in resources, but could use to install or appear as valid location when you choose to install infusions/modules.
Bring the pen to Linux again, in fdisk and disk utility appears like this:Also tried to mount volumes and move to MK4, and unmount volumes and move to MK4, same behavior...
I don't understand... -
I just got my Pelican 1050 case from the HakShop and my Anker Astro3 battery, so I figured I'd share a few of the cases I've been working on and the pelican case. I wish I could test this, but my Pineapple's WiFi seems to be shot and I can't figure out how to fix it (considering sending it back for a replacement). Anyway, I've managed to fit everything in the Pelican 1050 with slight modifications. I still need to mod a power cable to power my external hub, so that is the only cord you won't see. But everything fits in each case very well.
Pelican 1050 Case:
- WiFi Pineapple Mk IV
- Alfa AWUS036H (Top part of case REMOVED < important for proper fit)
- Anker Astro3 10000 mha battery 5v/9v/12v 2A
- Pelican 1050 from the HakShop
- 16gb SanDisk Fit style usb
- USB swivel adapter (HakShop)
- Two RP-SMA extension cables
- Two 5dBi antennas
- Tripp-Lite powered travel 4-port usb hub
Here are the images of my setup
http://www.flickr.com/photos/92060902@N04/8366817784/
http://www.flickr.com/photos/92060902@N04/8365753401/
http://www.flickr.com/photos/92060902@N04/8366821614/
http://www.flickr.com/photos/92060902@N04/8365753869/
I have attached Anker to the lid with two strips of velcro. The only real way it would all fit was with the top portion of the Alfa case removed, and the Alfa put on its side next to the pineapple. When the lid closes, there is a void between the battery and side of the lid where the protruding portion of the Alfa can fit unobstructed.
The next two mods are with a double CD case, and a single CD case
Double CD Case:
I plan to secure the Pineapple, Anker, Alfa, and usb hub down to the case with velcro but it all fit just fine.
http://www.flickr.com/photos/92060902@N04/8366823234/
http://www.flickr.com/photos/92060902@N04/8365755789/
http://www.flickr.com/photos/92060902@N04/8365755455/
Single CD Case:
I only used the Anker and Pineapple (along with the 16gb drive) for this mod. This case is too small to include a hub and Alfa, so internet would need to be shared via ethernet.
http://www.flickr.com/photos/92060902@N04/8365761403/
http://www.flickr.com/photos/92060902@N04/8365756231/
http://www.flickr.com/photos/92060902@N04/8365756531/
http://www.flickr.com/photos/92060902@N04/8366830102/
http://www.flickr.com/photos/92060902@N04/8365762849/
I used my netbook just for the pic. The laptop I'd normally use with this has a cd drive in it so it wouldn't look suspicious with a cd case and a netbook with no drive ;) .
Looking forward to seeing more case mods for this! I saw a really cool breifcase mod in a different thread that was awesome.
Thanks Scout!
I notice in doublecd pic you don't power the 4-port usb hub. Does the pinapple alone juiced with the anker bat feed enough power to a 3g pen, pen usb and alfa?
Cheers,
P.S- Can you point me to the cool breifcase mod you were talking about?
-
Not sure whats going on but looks like (from dmesg and /dev/s*) that the sdcard is mapping to /dev/sda, im not seeing any partitions.
Can you try to mount /dev/sda ? or fdisk /dev/sda?
mount using the fstab conf?
Like this?
config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 0
config mount
option target /usb
option device /dev/sda
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option device /dev/sg1
option enabled 0
MK4 - USB, struggling with it few weeks after. Stable product?
in WiFi Pineapple Mark IV
Posted
Wel... some news...
2 - Powered USB - Burned when I tried to power it up using Anker3 10k
3 - Bought a Scandisk 4Gb, the tiny one, and STILLLLLL don't mount and gives error on log
Already tried, 2.7.0, 2.7.4 and now 2.7.5
Honestly I think this is a very unstable produt or broken one :( any ideias?
Already tried with a 32GB, 16gb, and now the Darren's USB 4gb. More than 200€ after, still can't play with my pineapple.
Thanks for your time and pacience.
D1000
Log