Jump to content

kerravon

Active Members
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kerravon

  1. 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
  2. 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
  3. 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
  4. 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
  5. ok will give that ago will start with blank vm. what distro are you using?
  6. 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
  7. 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.
  8. when typing mips-openwrt-linux-gcc -o hello.c -o hello in all of the ones ive tried so far say mips-openwrt-linux-gcc command not found. although it is there and if I run file mips-openwrt-linux-gcc it tells me al about the executable file. I can compile in normal gcc without problem NB installing comiler to nano is not something I want to do as I am looking at writing code for a number of mips devices.
  9. ran several of the sdk installation including toolchain installatiom compile fo x86 perfect but when tryto use mip_gcc compiler (forgot the exact name now) always get command not found. I don't want to build ipk t the moment just executables that I will scp into the mr3020, wr703n and eventually the pineapple.Sorry for delay in answering just finished another tutorial which doesn't seem to work.
  10. Hi does any one know or have a working setup for compiling you on c code for openwrt? For the last 6 days I have trawled through google, found loads, tried them an none of them work. surely somebody has a working set up I can duplicate! regards kerravon
  11. sound great, very interested in how you've done it
  12. I use a combination of IR reworkstation and Hot air reflow station when repairing pcbs, yes you can use small guage modding wire to reconnect, but it may be possible to repair the pcb tracks themselves which I what I was talking about. need a close up of the area of damage.
  13. you could send it to me, I used to repair pcb's back in the day
  14. did you download the driver for windows, thats what I had to do when I first bought mine.
  15. or use one of the online antenna calculators and design a discone for 2.4/5Ghz depending on what you want.
  16. may be a silly question, but what does any of this have to do with the subject "selling wifi"
  17. I also would be interested in looking at the source code.
  18. kali is definitley a good bet, take a look at the warpi project.
  19. found this The raspian has a service called ifplugd. This ifplugd is a daemon which will automatically configure your ethernet device when it is plugged in and automatically unconfigure it if it is pulled. So, it does the device stay busy. Disabling it allow you to use ifconfig and iwconfig normally. Just use the comand: $ sudo service ifplugd stop
  20. whay os are you using and which flavour? is network manager running if so turn it off.
  21. Try this fix and try again. let me know Make a backup of /etc/default/ifplugd and change HOTPLUG_INTERFACES="all" to HOTPLUG_INTERFACES="". vi /etc/default/ifplugd then reboot .
  22. are you running hoover.pl as root as this is required?
  23. send me the errors two heads are beter than one as they sat btw merry xmas
×
×
  • Create New...