Jump to content

kevambert

Active Members
  • Posts

    95
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kevambert

  1. I have wash 1.4 installed to usb on the pineapple but it doesn't detect my wps enabled router the router is only a about 10 feet away, when I use ubuntu it finds it in a couple of seconds.

    I have also tried it using the wifite.py script (by derv82) on the pineapple iv using python wifite.py it finds all wireless ap's in range but doesn't detect that mine is wps enabled.

    anyone else having trouble with wash ?

  2. Ok I tried to install randomroll 2.5 but I kept getting a cgi timeout error in firefox but it shows as installed in the list of infusions.

    however when I click on it it says randomroll.php not found, so I uninstalled it and tried again but it was the same

    I had to copy out the mk4-module-RandomRoll-2.5.tar.gz from /tmp/modules with winscp and extract it to my desktop (windows 7)

    and then copy the files and folders one by one to /usb/modules/RandomRoll, and now it works

    Maybe the pineapple has problems installing large files ?

  3. Yeah Hackrylix it was v0.2 I tried to clean up some logs via ssh but for some reason they wouldnt clean, in resources in the gui it was showing rootfs 98% overlay 98%.

    I reflashed (2.6.4) as it was the quickest option to get it up and running ( I dont get much free time these days with studying and work and 3 kids )

  4. ok so I've just tried to install the reaver module to usb, it says it installed but it doesn't show up in the list of Installed Infusions, also DNS Spoof no longer works, I click start but it still shows as disabled.

    it seems there isn't any space left on the pineapple for it to run

    root@Pineapple:/pineapple/dnsspoof# ./dnsspoof.sh

    ./dnsspoof.sh: line 2: can't create /pineapple/logs/dnsspoof.log: No space left on device

    root@Pineapple:/pineapple/dnsspoof#

  5. Thanks for support and suggestion ! ;-)

    Wash will maybe used instead of "iwlist int scan" Or maybe 2 modes of scan : classic (networkmanager) & WPS only (wash)

    keep on working...

    Question :

    Which monitor mode is the best for reaver ? :


    ifconfig wlan1 down
    iwconfig wlan1 mode monitor
    ifconfig wlan1 up
    [/CODE]

    or

    [CODE]airmon-ng start wlan1[/CODE]

    Cheers !

    I have found that if you if you use ifconfig wlan1 down then ifconfig wlan1 up on the pineapple it will only scan on channel 11 so I use

    ifconfig wlan1 down

    airmon-ng start wlan1

    mon0 will then scan on all channels

  6. is there a way to exclude apple.com so iphones get a responce from apple and can connect to the pineapples open wifi

    edit 2:

    I tought by changing the dns spoof config like so would sort it but the randomrool stops working

    #172.16.42.1 *

    google.com

    google.ie

    facebook.com

    yahoo.com

    ie.yahoo.com

    msn.com

    so back to the first question.

  7. what about your fstab ? this works for me.

    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

  8. for Huawei Modem's E160 E1762 and K3765 all three have an ID of 12d1:140c

    3g script

    *12d1:140c*) echo "Huawei Modem (3-IRL) 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=3internet

    uci set network.wan2.username=

    uci set network.wan2.password=

    uci set network.wan2.defaultroute=1

    uci commit network

    #usb_modeswitch -v 12d1 -p 140c

    sleep 10; rmmod usbserial

    sleep 3; insmod usbserial vendor=0x12d1 product=0x140c

    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

    ;;

    esac

    I am not using the modeswitch as I get errors in the log file so I have it commented out

    Fstab to mount the sd card in the modem's (Credit to whistle master)

    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

    Fix for POE/LAN not working after mounting the SD card (again credit goes to whistle master)

    you need to Edit /etc/init.d/fstad to add sleep 15 in the start() function like this:

    start() {

    . /lib/functions/mount.sh

    sleep 15

    config_load fstab

    mkdir -p /var/lock

    lock /var/lock/fstab.lck

    [ -e /tmp/fstab ] || {

    echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /tmp/fstab

    }

    lock -u /var/lock/fstab.lck

    config_foreach do_swapon swap

    config_foreach do_mount mount

    config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled

    }

  9. I had this problem with the Poe/LAN not working with USB modem pluged in, I done a manual upgrade using ssh and followed whistle master,s instructions and that fixed it for me

    Just a quick tip for those like me who experience problem to automount the sdcard in the modem at boot :) My sdcard was not mounting at boot and I had to launch /etc/init.d/fstad reload to mount it by ssh.

    Edit /etc/init.d/fstad to add sleep 15 in the start() function like this:

    start() {
    	. /lib/functions/mount.sh
    
    	sleep 15
    
    	config_load fstab
    	mkdir -p /var/lock
    	lock /var/lock/fstab.lck
    	[ -e /tmp/fstab ] || {
    		echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /tmp/fstab
    	}
    	lock -u /var/lock/fstab.lck
    	config_foreach do_swapon swap
    	config_foreach do_mount mount
    	config_foreach do_swapon swap  # do swap a second time so that swap on filesystems is enabled
    }
    

  10. ive upgraded my pineapple 4 to 2.0.0 but when I use fstab to mount the micro sd card in my huawei modem K3765 updated to E1762 I loose poe/lan connectivity

    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

    I can connect using wireless and I can see the micro sd card mounted successfully, everything else seems to work fine but I am unable to connect via web interface, putty or winscp via poe/lan, the same setup works well on the older firmware version 1.1.1

    any ideas anyone

  11. Well, the correct one is the one that is posted on this thread.

    You must have had a corrupt download.

    Has firmware 2.0.0 been removed ?, I downloaded it again but it shows MD5: 4c476e1072b188c2b009d5c8f996faf2 which is firmware 1.1.1.

  12. it seems that mount has to query the 3g dongle for its partition layout before the kernel can see the partitions on the USB. This should happen automatically, but it may be a by-product of the usb modeswitch.

    can you tell me what the purpose or the usb modeswitch file is for ?

    the reason I ask is because sometime I get errors in the log files sometimes I don't saying usb modeswitch failed, so I removed the file from /etc/usb_modeswitch and removed the line from the 3g script.

    However the Huawei modem id (12d1:140c) still works fine and the sd card inside is working fine as well, but now I dont get the error at all of usb modeswitch seemingly failed.

    do I actually need the modeswitch file ?

    Thanks

  13. Ok so I broke my Huawei E160G 12d1:140c 3G modem.

    I tried a solder repair but the thing gets really hot when its plugged into the pineapple or my laptop for that matter, I got another Huawei modem K3765 from a friend.

    it had an ID of 12d1:1465 so before I tried to set it up to work in the pineapple I decided to check for a firmware update for the modem first from This Link Here

    I got an update that changed the firmware from K3765 to E1762 it now has an ID of 12d1:140c which meant I didn't have to change a thing :)

    So if anyone is having trouble getting their Huawei modem set up it worth while checking for a firmware update first.

  14. I guess the issue is that the E398 are not supported as it is not in the list from Darren.

    I guess Amazon got me. As said I ordered the E353 ( it also says that on package )but the pineapple recongnize it as teh E398.

    So i Guess the lesson learned is not to buy the E353

    I will buy a E173 as it seems to work for the others.

    Thanks

    Before you buy another one you could try what I did for my Huawei E160G 12d1:140c

    There dosent seem to be a 12d1:1506 file in /etc/usb_modeswitch.d for your huawei (ID 12d1:1506) I found myself in the same situation with a huawei E160G id 12d1:140c, there wasn't a 12d1:140c file so I took the 12d1:1003 file and renamed it to 12d1:140c I then edited it like so,

    ########################################################

    # Huawei E160G

    DefaultVendor= 0x12d1

    DefaultProduct=0x140c

    TargetClass=0xff

    CheckSuccess=20

    HuaweiMode=1

    You could try the same, you could try renaming the file 12d1:1003 to 12d1:1506 and edit it like so

    ########################################################

    # Huawei E220, E230, E270, E870

    DefaultVendor= 0x12d1

    DefaultProduct=0x1506

    TargetClass=0xff

    CheckSuccess=20

    HuaweiMode=1

    its worth a try before you go and buy another one

  15. I have changed Fstab to

    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

    Thanks whistle master its now mounted to /usb

    resources2.jpg

×
×
  • Create New...