kerravon

Active Members
  • Content count

    229
  • Joined

  • Last visited

  • Days Won

    1

1 Follower

About kerravon

  • Rank
    Hak5 Zombie

Profile Information

  • Gender
    Male
  • Interests
    Computer security, pentesting electronic design, programming, embedded systems and a whole bunch of other stuff

Recent Profile Visitors

1,542 profile views
  1. Now that what I.m talking about, nice find many thanks
  2. yep sounds good, but was also thinking if I wanted to place the nano in there at any point in time, would placing a simple 5v regulator circuit between the output of the solar charger and input of the nano suffice, or isit gong to fry?
  3. Hi all just watched the hak5 Solar WiFi Pineapple Briefcase, Aircraft Tracking with High Gain Point-to-Point, Hak5 1614 video on you tube with great interest. Does anyone know the specs of the solar charge controller used? As I'm going to get my students to build one for a fun project, any help would be greatfully appreciated.
  4. go here http://www.pineapple-project.96.lt/Download1.html
  5. dumb question but how would I go about doing that
  6. interesting problem now, I have install a 64 bit debian vm, downloaded the chaos_calmer toolchain as per zylla's instructions. Copied the export paths only changing user name to mine, , it wont try to compile unless I use the sudo command i.e sudo ./mips-openwrt-linux-uclibc-gcc test.c -o test it then comes up with 3 messages all saying mips-openwrt-linux-uclibc-gcc: warning: enviroment variable 'STAGING_DIR' not defined re applying the staging_dir export command an opening a fresh terminal makes no difference. Can upload the VM to my dropbox if you want to look at it.
  7. OK, will build new VM tonight, then go through the installation steps above by zylla see where we get from there and I report progress here. cheers
  8. Sh*t its 686 so 32bit
  9. hi couldn't upload screenshot so you can download it here https://www.dropbox.com/s/c5ir2ytvcy29r8p/mips_gcc.png?dl=0 Here is output from printenv XDG_VTNR=7 SSH_AGENT_PID=2036 XDG_SESSION_ID=c1 CLUTTER_IM_MODULE=xim SELINUX_INIT=YES XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/user SESSION=ubuntu GPG_AGENT_INFO=/run/user/1000/keyring-Slx10Q/gpg:0:1 XDG_MENU_PREFIX=gnome- SHELL=/bin/bash VTE_VERSION=3409 TERM=xterm SSH_AGENT_LAUNCHER=upstart WINDOWID=25165835 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1881 GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Slx10Q GTK_MODULES=overlay-scrollbar:unity-gtk-module USER=user LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 SSH_AUTH_SOCK=/run/user/1000/keyring-Slx10Q/ssh DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path SESSION_MANAGER=local/ubuntuvm:@/tmp/.ICE-unix/2105,unix/ubuntuvm:/tmp/.ICE-unix/2105 XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games DESKTOP_SESSION=ubuntu QT_QPA_PLATFORMTHEME=appmenu-qt5 JOB=dbus PWD=/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin XMODIFIERS=@im=ibus LANG=en_US.UTF-8 GDM_LANG=en_US MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path UBUNTU_MENUPROXY=1 IM_CONFIG_PHASE=1 COMPIZ_CONFIG_PROFILE=ubuntu GDMSESSION=ubuntu SESSIONTYPE=gnome-session SHLVL=1 XDG_SEAT=seat0 HOME=/home/user LANGUAGE=en_US GNOME_DESKTOP_SESSION_ID=this-is-deprecated LOGNAME=user COMPIZ_BIN_PATH=/usr/bin/ QT4_IM_MODULE=xim XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-clk0qAIj2g LESSOPEN=| /usr/bin/lesspipe %s INSTANCE= TEXTDOMAIN=im-config XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 XDG_CURRENT_DESKTOP=Unity GTK_IM_MODULE=ibus LESSCLOSE=/usr/bin/lesspipe %s %s TEXTDOMAINDIR=/usr/share/locale/ COLORTERM=gnome-terminal XAUTHORITY=/home/user/.Xauthority _=/usr/bin/printenv OLDPWD=/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2
  10. still getting command not found user@ubuntuvm:~ OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin$ mips-openwrt-linux-uclibc-gcc –o test test.c mips-openwrt-linux-uclibc-gcc: command not found path variables export PATH=$PATH:/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/ export STAGING_DIR=/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2 So where do we go from here? dont suppose there's a disto with them already configiured and ready to go
  11. usin sudo didnt make a difference
  12. still getting command not found user@ubuntuvm:~ OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin$ mips-openwrt-linux-uclibc-gcc –o test test.c mips-openwrt-linux-uclibc-gcc: command not found path variables export PATH=$PATH:/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/ export STAGING_DIR=/home/user/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2
  13. ok will give that ago will start with blank vm. what distro are you using?
  14. Debian and install the required tools: sudo apt-get update sudo apt-get install build-essential sudo apt-get install subversion sudo apt-get install git-core sudo apt-get install patch sudo apt-get install bzip2 sudo apt-get install flex sudo apt-get install bison sudo apt-get install autoconf sudo apt-get install gettext sudo apt-get install unzip sudo apt-get install libncurses5-dev sudo apt-get install ncurses-term sudo apt-get install zlib1g-dev sudo apt-get install gawk sudo apt-get install libz-dev sudo apt-get install libssl-dev download the OpenWrt source from git repo: cd /home/developer/work/ git clone git://git.openwrt.org/openwrt.git openwrtsource cd openwrtsource Update OpenWrt Packages: ./scripts/feeds update -a ./scripts/feeds install -a Prepare to build OpenWrt: make defconfig make prereq make menuconfig export the required STAGING_DIR var export STAGING_DIR=/home/developer/work/openwrtsource/staging_dir/ # call GCC to cross-compile the .c file /home/developer/work/openwrtsource/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc hello.c -o hello /home/developer/work/openwrtsource/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc hello.c -o hello comes back command not found
  15. from all the tutorials I read, when you run make menuconfig ste your device then run make V=s it I supposed to build all files and the tool chain for that device an the compilers are in the staging_dir/toolchain/bin directory is this not correct. Yes I have an openwrtVM, but havet done much with it in a while.