DargFors Posted December 8, 2018 Share Posted December 8, 2018 Hello Hak5 community. I have an issue with installing python3 to my pineapple nano, I've tried using "opkg install python3" which shows " * opkg_install_cmd: Cannot install package python3." . I've looked through the forum and this is the closest post I've found but I would like to get python3 running first before Installing PIP. Ultimately I am trying to install probe sniffer from here. Also, if you know of a better way to grab probe requests using the pineapple let me know! Thanks for the help! Link to comment Share on other sites More sharing options...
DargFors Posted December 9, 2018 Author Share Posted December 9, 2018 I think I'm making progress, here is what I've found: SSH into Pineapple Edit /etc/opkg.conf and change line to: overlay_root /sd (Because I'm running out of internal space) opkg -d sd install python3 gives url of install, if install command fails then I download that url with wget to /sd installed the downloaded packages with opkg -d sd install *.ipk (This will install all ipk's in current directory) Once I try this I get massive amounts of wfopen errors: * wfopen: //usr/lib/opkg/info/python3-ctypes.postinst: No space left on device. * wfopen: //usr/lib/opkg/info/python3-ctypes.control: No space left on device. * wfopen: //usr/lib/opkg/info/python3-ctypes.prerm: No space left on device. * wfopen: /usr/lib/python3.4/lib-dynload/_ctypes.cpython-34.so: No space left on device. * wfopen: /usr/lib/python3.4/lib-dynload/_ctypes_test.cpython-34.so: No space left on device. * extract_archive: Cannot make dir /usr/lib/python3.4/ctypes/: No space left on device. * wfopen: /usr/lib/python3.4/ctypes/util.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/wintypes.py: No such file or directory. * extract_archive: Cannot make dir /usr/lib/python3.4/ctypes/test/: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_loading.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_repr.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_slicing.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_internals.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_random_things.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_structures.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_unicode.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_win32.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_stringptr.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_errno.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_incomplete.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_keeprefs.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_sizes.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_bytes.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_unaligned_structures.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_arrays.py: No such file or directory. * wfopen: /usr/lib/python3.4/ctypes/test/test_delattr.py: No such file or directory. and so on... Any suggestions? Link to comment Share on other sites More sharing options...
DargFors Posted December 9, 2018 Author Share Posted December 9, 2018 Noticing that the pineapple runs on openwrt I referred to their documentation since the pineapple wiki isn't loading. Since yesterday I've learned a few steps before are unnecessary, such as manually downloading the ipk file. From what I'm understanding, the overlay directory is supposed to be an extension of the root filesystem for limited storage devices such as the nano. Now I'm faced with a read-only file system error: opkg --dest sd install python3 Installing python3 (3.4.3-2) to root... Downloading https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python3_3.4.3-2_ar71xx.ipk. Installing python3-codecs (3.4.3-2) to root... Downloading https://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python3-codecs_3.4.3-2_ar71xx.ipk. Collected errors: * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/python3-light.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/python3-asyncio.list: No such file or directory. * wfopen: //usr/lib/opkg/info/python3-codecs.postinst: Read-only file system. * wfopen: //usr/lib/opkg/info/python3-codecs.control: Read-only file system. * wfopen: //usr/lib/opkg/info/python3-codecs.prerm: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_jp.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_hk.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/unicodedata.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_kr.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_cn.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_tw.cpython-34.so: Read-only file system. * wfopen: /usr/lib/python3.4/lib-dynload/_codecs_iso2022.cpython-34.so: Read-only file system. * set_flags_from_control: Failed to open //usr/lib/opkg/info/python3-codecs.control: No such file or directory. * pkg_write_filelist: Failed to open //usr/lib/opkg/info/python3-codecs.list: Read-only file system. * opkg_install_pkg: Failed to extract data files for python3-codecs. Package debris may remain! * opkg_install_cmd: Cannot install package python3. My opkg.conf file looks like: dest root / dest ram /tmp dest sd /sd lists_dir ext /var/opkg-lists option overlay_root /sd Any help would be appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.