Jump to content

Dynamite

Active Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dynamite's Achievements

Newbie

Newbie (1/14)

  1. Maybe I missed something...is this only started and managed from terminal, correct? Nothing from the Pineapple interface?
  2. I found this thread while searching about SD card issue. Having issues, I've gone through this thread post by post... My nano FW is 1.1.3 after a reflash (in case filling the internal memory before caused an issue) and a web UI FW upgrade. Despite having formatted my SD card via the web UI multiple (read: 10+) times during trying to make it work, old data is still present when it actually shows up. Below is the terminal responses, fstab (edited to work for me) and debug log. WORKING AT FIRST: config 'global' option anon_swap '0' option anon_mount '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0' config 'mount' option target '/sd' option device '/dev/sda' option fstype 'ext4' option options 'rw,sync' option enabled '1' config 'swap' option device '/dev/sda2' option enabled '1' root@Pineapple:~# fdisk -l [irrelevant removed] Disk /dev/sda: 1018 MB, 1018691584 bytes 32 heads, 61 sectors/track, 1019 cylinders Units = cylinders of 1952 * 512 = 999424 bytes Device Boot Start End Blocks Id System /dev/sda2 1 1 945+ 83 Linux root@Pineapple:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 2.2M 248.0K 1.9M 11% / /dev/root 12.5M 12.5M 0 100% /rom tmpfs 29.9M 112.0K 29.8M 0% /tmp /dev/mtdblock3 2.2M 248.0K 1.9M 11% /overlay overlayfs:/overlay 2.2M 248.0K 1.9M 11% / tmpfs 512.0K 0 512.0K 0% /dev /dev/sda 939.8M 252.1M 687.7M 27% /sd root@Pineapple:~# Connection to 172.16.42.1 closed by remote host. https://paste.ee/p/XZE6E THEN REBOOT, THEN NOT WORKING root@Pineapple:~# fdisk -l [irrelevant removed] Disk /dev/sda: 1018 MB, 1018691584 bytes 32 heads, 61 sectors/track, 1019 cylinders Units = cylinders of 1952 * 512 = 999424 bytes Device Boot Start End Blocks Id System /dev/sda2 1 1 945+ 83 Linux root@Pineapple:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 2.2M 252.0K 1.9M 11% / /dev/root 12.5M 12.5M 0 100% /rom tmpfs 29.9M 112.0K 29.8M 0% /tmp /dev/mtdblock3 2.2M 252.0K 1.9M 11% /overlay overlayfs:/overlay 2.2M 252.0K 1.9M 11% / tmpfs 512.0K 0 512.0K 0% /dev root@Pineapple:~# https://paste.ee/p/xNkV3
  3. Everything fixed. For those who may need answers later... 1) Scp fixed this issue, whereas before I used wget. Not sure why. Still can't cd to some files, even though far as i can tell I should be able to, but the ones I was working in were accessible. 2) I couldn't get the management api landing page to pull the assets. it would only use the raw code in the landing page entry box. Instead, I made a portal in Evil portal...and copied all of the landing page files to the folder it made and removed the default template files EvilPortal makes when a portal is created. Activated and it worked fine. Also, note to mod: I didn't realize before, this is Mk V section. I'm using a Nano, so I made this in the wrong section by accident.
  4. Today I tried flashing in case that was the issue...still won't let me cd to multiple default files (before adding anything extra, to insure it's not a memory issue). Even if i attempt to change permissions, it gives the same "can't cd to xxx" response.
  5. While i'm just crossing off possibilities... <!DOCTYPE html> <html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="files/flexslider.css"> <link rel="stylesheet" type="text/css" href="files/main_v3.css"> <link rel="stylesheet" type="text/css" href="files/ie.css"> should these files/ references be different from from the configuration landing page be different? From regular hosting, it's all in once placed and called locally with index.html/php. In Pineapple, the configuration landing page seems to populate landingpage.php...so is there a difference in the location? files/ > etc/pineapple/files?
  6. Filesystem Size Used Available Use% Mounted on rootfs 2.2M 1.2M 1.0M 53% / /dev/root 12.5M 12.5M 0 100% /rom tmpfs 29.9M 108.0K 29.8M 0% /tmp /dev/mtdblock3 2.2M 1.2M 1.0M 53% /overlay overlayfs:/overlay 2.2M 1.2M 1.0M 53% / tmpfs 512.0K 0 512.0K 0% /dev /dev/sda 939.8M 267.3M 672.4M 28% /sd Seems to be fine currently...but i'm glad you mentioned it, as i had forgotten about the limited space and would have filled it too much eventually.
  7. Ah...that didn't occur to me. That's likely the issue. Zip is 181kb. Hmm As for actual structure, placing the source files there for the management>advanced landing page code to call from is correct?
  8. I've been trying to get a landing page in the format of: files folder, control.php, favicon.ico and index.html to work on the pineapple. It works perfectly on normal hosting. I assumed that it would need the source files in the etc/pineapple folder and the index.html code would need to be entered into the advanced section of the management API manually... When I SSH into the pineapple however, I get this issue: root@Pineapple:/etc/pineapple# ls control.php pineapple.db tracking_list favicon.ico pineapple_version tracking_script files sb.zip tracking_script_user landingpage.php spoofhost pineap_log_location ssid_file root@Pineapple:/etc/pineapple# cd files -ash: cd: can't cd to files root@Pineapple:/etc/pineapple# chmod -R 777 * root@Pineapple:/etc/pineapple# ls control.php pineapple.db tracking_list favicon.ico pineapple_version tracking_script files sb.zip tracking_script_user landingpage.php spoofhost pineap_log_location ssid_file root@Pineapple:/etc/pineapple# cd files -ash: cd: can't cd to files <<<<<<ISSUE?<<<<<<< root@Pineapple:/etc/pineapple# 1) Can somebody confirm this isn't indicative of a fault? 2) If i'm on the right track, can somebody tell me how to accomplish it...if i'm not, can somebody tell me a better way? I figure maybe Evil Portal? Thanks
×
×
  • Create New...