How to re-launch menuconf

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

Hi
RAMIPS build for Gargoyle problem.

Did you resolve that error: gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing.

Do you have your .config for fully working ramips gargoyle ?

Regards,
Robert

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: How to re-launch menuconf

Post by ericwong »

roblad wrote:Hi
RAMIPS build for Gargoyle problem.

Did you resolve that error: gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing.

Do you have your .config for fully working ramips gargoyle ?

Regards,
Robert
Try to downgrade change your AA branch to r36469
This will probably fix your problem.

See this post for reason
http://www.gargoyle-router.com/phpbb/vi ... 364#p19279
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

Hi,

Thanx, I am trying to build again, I will let you know haw is the result after.

But, do you mean, that network setings through web page in gargoyle also will work corectly and I will able to set network configuration with saveing and fully workable network apear ?

Regards,
Robert

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

ericwong wrote:
roblad wrote:Hi
RAMIPS build for Gargoyle problem.

Did you resolve that error: gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing.

Do you have your .config for fully working ramips gargoyle ?

Regards,
Robert
Try to downgrade change your AA branch to r36469
This will probably fix your problem.

See this post for reason
http://www.gargoyle-router.com/phpbb/vi ... 364#p19279

Hi,

the error still not resolved through this revision

gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko'

exists

Do you have any idea ? Could you attach me your .config for ramips_rt305x - y use default profile from that AA for fonera2.0n

I do not have idea what kould be a problem

after run make custom V=99 compilation going on and package is created but without this *weburl*.ko it is not inside.

Regards,
Robert

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

ericwong wrote:
roblad wrote:Hi
RAMIPS build for Gargoyle problem.

Did you resolve that error: gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing.

Do you have your .config for fully working ramips gargoyle ?

Regards,
Robert
Try to downgrade change your AA branch to r36469
This will probably fix your problem.

See this post for reason
http://www.gargoyle-router.com/phpbb/vi ... 364#p19279

Hi,

I have such error during run build.sh

atching file include/linux/netfilter/xt_IMQ.h
echo ../package/iptables/patches/ > iptables-patch-dir
cat: generic-config-file: No such file or directory
cat: generic-patch-dir: No such file or directory
cat: config-file: No such file or directory
cat: patch-dir: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
found WEBURL module, patching...
cp: target ‘linux.new/net/ipv4/netfilter/’ is not a directory
cp: cannot create regular file ‘linux.new/include/linux/netfilter_ipv4/’: No such file or directory
cat: linux.new/net/ipv4/netfilter/Makefile: No such file or directory
cat: linux.new/net/ipv4/netfilter/Makefile: No such file or directory
/media/proc/gargoyle/test2/gargoyle/netfilter-match-modules/integrate_netfilter_modules.sh: line 13: =1: command not found
/media/proc/gargoyle/test2/gargoyle/netfilter-match-modules/integrate_netfilter_modules.sh: line 16: 0 - : syntax error: operand expected (error token is "- ")

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: How to re-launch menuconf

Post by ericwong »

roblad wrote:
ericwong wrote:
roblad wrote:Hi
RAMIPS build for Gargoyle problem.

Did you resolve that error: gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing.

Do you have your .config for fully working ramips gargoyle ?

Regards,
Robert
Try to downgrade change your AA branch to r36469
This will probably fix your problem.

See this post for reason
http://www.gargoyle-router.com/phpbb/vi ... 364#p19279

Hi,

the error still not resolved through this revision

gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko'

exists

Do you have any idea ? Could you attach me your .config for ramips_rt305x - y use default profile from that AA for fonera2.0n

I do not have idea what kould be a problem

after run make custom V=99 compilation going on and package is created but without this *weburl*.ko it is not inside.

Regards,
Robert
Did you delete your custom-src and rebuild from scratch?
It sounds like you didn't delete your custom-src because the build get stuck at the same point..
The point is sending you the config file won't fix the problem..

Building Gargoyle ROM is a pain.. It often takes me 1-2 weeks with dozens of builds before I manage to build it without errors. The other possibility is the gargoyle code you are using could have problem. You may need to switch to a different revision for it to build correctly.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

Hi,

What do you think about this error with ipitables patch? I've done everything from the beginning, I have deleted custom-src and the problem always arises - * weburl *. ko. In AA I never found a package kmod-ipt-weburl for ramips. On your routers, do you have any build that is working?
Maybe you have ready bin, or somewhere you have a git repository with your sources.? Maybe you have files that you changed in your working build? I've tried three revisions, and nothing has finished with success - can you give me your revision Gargoyle, that could build the correct bin files. May be you have compiled bin for Fonera2.0n or omnima ? I do not have idea how to solve * weburl *. ko, even when I rebuild, there is no possibility to connect IP or network does not starts – only once my build gives me access, but the config/network was taken from AA build and it was put to base-files, but I was not able to change anything through web interface all fields were empty, after performing parameters for network set and save it did not save anything to config/network.

Regards,
Robert

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: How to re-launch menuconf

Post by ericwong »

roblad wrote: What do you think about this error with ipitables patch? I've done everything from the beginning, I have deleted custom-src and the problem always arises - * weburl *. ko. In AA I never found a package kmod-ipt-weburl for ramips. On your routers, do you have any build that is working?
The weburl is a package from Gargoyle, not from Openwrt, you will see find it if you look around the Gargoyle patches/packages.

Yes, I do have working build..
Yes, I have seen similar errors before... I can't remember exactly what I did to fix it but I think it is related to code changes in Gargoyle trunk.
roblad wrote: Maybe you have ready bin, or somewhere you have a git repository with your sources.? Maybe you have files that you changed in your working build? I've tried three revisions, and nothing has finished with success - can you give me your revision Gargoyle, that could build the correct bin files.
I am just using the same repository as you are..
The gargoyle revision I was using is in the post I told you earlier..
http://www.gargoyle-router.com/phpbb/vi ... 364#p19030

Also make sure your config file is configured to build for RAMIPS. There is two menuconf config files, one under gargoyle/target/custom and the other under gargoyle/custom-src/

Try it using the gargoyle revision as well as the AA revision I have previously build and it should work. Then, you can try newer revision if you want..

Let me know if you have any clues for a proper fix the ftp login bug in my other post if you happen to try that on your gargoyle router..
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

roblad
Posts: 34
Joined: Mon Aug 05, 2013 11:04 am

Re: How to re-launch menuconf

Post by roblad »

I build 2 copies:

1. it is trunk AA r37174 and GG 56b0b9a2cf41f3a17ebcb7fdb72ad586d4a409a
I used the repository with HARD reset to that version taken from official git.
I am using paches for Polish language
http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
official developer of GG.
Build has finished successfully but I do not understand haw it is possible:
- I run that from ./build.sh custom (of course I changed all required option for ramips and additionally I changed the Makefile as always for bin creation - it is standard for me:

Code: Select all

ifeq ($(CONFIG_RALINK_RT305X),y)
define Image/Build/Profile/Default
	$(call Image/Build/Profile/3G6200N,$(0))
	$(call Image/Build/Profile/ALL02393G,$(0))
	$(call Image/Build/Profile/ALL0256N,$(0))
	$(call Image/Build/Profile/ALL5002,$(0))
	$(call Image/Build/Profile/ARGUS_ATP52B,$(0))
	$(call Image/Build/Profile/BC2,$(0))
	$(call Image/Build/Profile/CARAMBOLA,$(0))
	$(call Image/Build/Profile/DIR300B1,$(0))
	$(call Image/Build/Profile/DIR615H1,$(0))
	$(call Image/Build/Profile/DAP1350,$(0))
	$(call Image/Build/Profile/ESR9753,$(0))
	$(call Image/Build/Profile/F5D8235V2,$(0))
	$(call Image/Build/Profile/RTN10PLUS,$(0))
	$(call Image/Build/Profile/FONERA20N,$(1))
	$(call Image/Build/Profile/FREESTATION5,$(0))
	$(call Image/Build/Profile/HW5503G,$(0))
	$(call Image/Build/Profile/MOFI35003GN,$(0))
	$(call Image/Build/Profile/NBG419N,$(0))
	$(call Image/Build/Profile/NW718,$(0))
	$(call Image/Build/Profile/OMNIEMB,$(1))
	$(call Image/Build/Profile/PSR680W,$(0))
	$(call Image/Build/Profile/PWH2004,$(0))
	$(call Image/Build/Profile/RTG32B1,$(0))
	$(call Image/Build/Profile/SLR7205,$(0))
	$(call Image/Build/Profile/V22RW2X2,$(0))
	$(call Image/Build/Profile/W306R_V20,$(0))
	$(call Image/Build/Profile/W502U,$(0))
	$(call Image/Build/Profile/WCR150GN,$(0))
	$(call Image/Build/Profile/WHRG300N,$(0))
	$(call Image/Build/Profile/WL_330N,$(0))
	$(call Image/Build/Profile/WL_330N3G,$(0))
	$(call Image/Build/Profile/WL341V3,$(0))
	$(call Image/Build/Profile/WL351,$(0))
	$(call Image/Build/Profile/WR5123GN,$(0))
	$(call Image/Build/Profile/WR6202,$(0))
	$(call Image/Build/Profile/XDXRN502J,$(0))
endef
it crashed as always in the same place

Code: Select all

gargoyle/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/net/ipv4/netfilter/*weburl*.ko' is missing
I did not delete custom-src dir but only rerun with command

make custom V=99

it finished with success - only graphical options that shows bandwige, usage of network etc. does not show anything, any picture

the upgrade does not work and config from OpenWrt did not upload anything. During trying upgrade trough www gargoyle interface crashed and restart from /etc/init.d was needed. It was in polish language.

1. directly from AA latest trunk, I copied all required gargoyle plugins /packages directly from gargoyle dir package to AA separate instance with override. I did make menuconfig etc. and build finished successfully without crash as in point 1. It worked but some garygoyle plugins - prepared by polish developers- did not work build was in English.
the upgrade also did not work and openwrt restore configuration as well.

Now I am buliding from scrach option 1 with fully patching to polish language.

My script for patching look like :

Code: Select all

#!/bin/bash
dialog --clear --separate-output --title "Wybór pluginów i łatek GARGOYLE" \
--backtitle "Konfiguracja gargoyle PL" \
--checklist \
"Używając spacji zaznacz to co chcesz aby było w języku polskim:" 100 700 900 \
"ddns-gargoyle" "spolszczona zakładka ddns" "off" \
"gargoyle-i18n-pl" "spolszczony interfejs www" "off" \
"gargoyle-openvpn" "spolszczony plugin gargoyle-openvpn" "off" \
"gargoyle-plugins" "spolszczona obsługa dodatkowych pakietów" "off" \
"gargoyle-tor" "spolszczony plugin tor" "off" \
"gargoyle-usb-printer" "spolszczony plugin obsługi drukarki usb" "off" \
"gargoyle-usb-storage" "spolszczony plugin obsługi pamięci usb" "off" \
"gargoyle-wifi-schedule" "spolszczony plugin obsługi wifi scheduler" "off" \
"gargoyle-webshell" "spolszczony plugin obsługi webshell" "off" \
"gargoyle-webcam" "spolszczony plugin obsługi webcam" "off" \
"gargoyle-ping-watchdog" "spolszczony plugin obsługi watchdog" "off" \
"gargoyle-minidlna" "spolszczony plugin obsługi minidlna" "off" \
"gargoyle-logread" "spolszczony plugin obsługi logread" "off" \
"nadpisanie_all" "Nadpisanie pakietow ipk z serii all" "off" \
2> konfiguracja

clear
git clone git://gargoyle-router.com/gargoyle.git

echo "################## Pobieram liste patchy #################"
wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ -O - |  grep patch | sed 's/.*>\(.*\.patch\)<.*/\1/' > lista-patchy
cp lista-patchy gargoyle/package

echo "################## Pobieram liste  pluginów ##################"
wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/ -O - |grep all | sed 's/.*>\(.*\.ipk\)<.*/\1/' > lista-pluginow
cp lista-pluginow gargoyle/package

echo "################## Upewniam sie, ze patche beda pasowac do wersji gargoyle ##################" && sleep 2
wersja=`grep ^gargoyle lista-patchy | sed -e s/gargoyle-//g -e s/-pl.patch//g`
sleep 1

echo "################## Kopiowanie konfiguracji ##################"
cp konfiguracja gargoyle/package
echo "################## Wchodzê do katalogu package ###############"

sleep 1


cd gargoyle


echo "################## Pobieram z obsy (Cezary) 3ginfo minidlna plugin-gargoyle-initd plugin-gargoyle-msg plugin-gargoyle-msg plugin-gargoyle-smsbox 	sysinfo	#################"


git clone https://github.com/obsy/packages 

cp -uR packages/* package/ && sleep 1

rm -rf packages
echo "################## Pobieram z Mari00 plugin-gargoyle-cron plugin-gargoyle-hdidle 	plugin-gargoyle-logs plugin-gargoyle-usbreset #################"

git clone https://github.com/Mari00/gargoyle-plugins
cp -uR gargoyle-plugins/* package/ && sleep 1

rm -rf gargoyle-plugins

echo "################## Pobieram plugin-gargoyle-wifi-survey #################"


git clone https://github.com/BashfulBladder/gargoyle-plugins

cp -uR gargoyle-plugins/plugin-gargoyle-wifi-survey package/plugin-gargoyle-wifi-survey && sleep 1

rm -rf gargoyle-plugins

echo "################## Pobieram z artekw plugin-gargoyle-tinyproxy #################"
git clone https://github.com/artekw/plugin-gargoyle-tinyproxy

cp -uR plugin-gargoyle-tinyproxy package/ && sleep 1

rm -rf plugin-gargoyle-tinyproxy
cd ..

sleep 1
echo "################## Wchodzê do katalogu gargoyle i resetuje Git do wersji zgodnnej z patchami ###############"
cd gargoyle
git reset --hard ${wersja}
cd ..
cd gargoyle/package

echo "################## Wprowadzanie zmian...(patchowanie)... ##################" && sleep 2



echo "################## Wprowadzanie zmian...(patchowanie)... ##################" && sleep 2

paczka1=`cat konfiguracja |grep ddns-gargoyle`
link1=`grep ^ddns lista-patchy`
if [ "$paczka1" = "ddns-gargoyle" ] ; then
  echo "################## Pobieram łatkę ddns-gargoyle ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link1}
  echo "################## Nakładam patch polonizujący ddns... ##################"
  patch -p0 -i ${link1} && sleep 2
  rm ${link1}

else
  echo "################## Pomijam polonizację ddns-gargoyle ##############" && sleep 1
fi

paczka2=`cat konfiguracja |grep gargoyle-i18n-pl`
link2=`grep ^gargoyle lista-patchy`
if [ "$paczka2" = "gargoyle-i18n-pl" ] ; then
  echo "################## Pobieram łatkę polonizującą interfejs www ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link2}
  echo "################## Nakładam patch polonizujący www... ##################"
  patch -p0 -i ${link2} && sleep 2
  rm ${link2}

else
  echo "################## Pomijam polonizację gargoyle-pl ##############" && sleep 2
fi

paczka3=`cat konfiguracja |grep gargoyle-openvpn`
link3=`grep ^plugin-gargoyle-openvpn lista-patchy`
if [ "$paczka3" = "gargoyle-openvpn" ] ; then
  echo "################## Pobieram patch polonizujący gargoyle-openvpn ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link3}
  echo "################## Nakładam patch polonizujący gargoyle-openvpn... ##################"
  patch -p0 -i ${link3} && sleep 2
  rm ${link3}

else
  echo "################## Pomijam polonizację gargoyle-openvpn ##############" && sleep 1
fi

paczka4=`cat konfiguracja |grep gargoyle-plugins`
link4=`grep ^gargoyle-plugins lista-patchy`
if [ "$paczka4" = "gargoyle-plugins" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-plugins ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link4}
  echo "################## Dodaję patch polonizujący gargoyle-plugins... ##################"
 patch -p0 -i ${link4} && sleep 2
 rm ${link4}

else
  echo "################## Pomijam polonizację gargoyle-plugins ##############" && sleep 1
fi

paczka5=`cat konfiguracja |grep gargoyle-tor`
link5=`grep ^plugin-gargoyle-tor lista-patchy`
if [ "$paczka5" = "gargoyle-tor" ] ; then
  echo "################## Pobieram łatkęp polonizującą gargoyle-tor ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link5}
  echo "################## Dodaję patch polonizujący gargoyle-tor... ##################"
  patch -p0 -i ${link5}  && sleep 2
  rm ${link5}

else
  echo "################## Pomijam polonizację gargoyle-tor ##############" && sleep 1
fi

paczka6=`cat konfiguracja |grep gargoyle-usb-printer`
link6=`grep ^plugin-gargoyle-usb-printer lista-patchy`
if [ "$paczka6" = "gargoyle-usb-printer" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-usb-printer ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link6}
  echo "################## Dodaję patch polonizujący gargoyle-usb-printer... ##################"
  patch -p0 -i ${link6}  && sleep 2
  rm ${link6}

else
  echo "################## Pomijam polonizację gargoyle-usb-printer ##############" && sleep 1
fi

paczka7=`cat konfiguracja |grep gargoyle-usb-storage`
link7=`grep ^plugin-gargoyle-usb-storage lista-patchy`
if [ "$paczka7" = "gargoyle-usb-storage" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-usb-storage ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link7}
  echo "################## Dodaję patch polonizacyjny gargoyle-usb-storage... ##################"
  patch -p0 -i ${link7}  && sleep 2
  rm ${link7}

else
  echo "################## Pomijam polonizację gargoyle-usb-storage ##############" && sleep 1
fi


paczka8=`cat konfiguracja |grep gargoyle-wifi-schedule`
link8=`grep ^plugin-gargoyle-wifi-schedule lista-patchy`
if [ "$paczka8" = "gargoyle-wifi-schedule" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-wifi-schedule ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link8}
  echo "################## Dodaję patch polonizacyjny gargoyle-wifi-schedule... ##################"
  patch -p0 -i ${link8}  && sleep 2
  rm ${link8}

else
  echo "################## Pomijam polonizację gargoyle-wifi-schedule ##############" && sleep 1
fi


paczka9=`cat konfiguracja |grep gargoyle-webshell`
link9=`grep ^plugin-gargoyle-webshell lista-patchy`
if [ "$paczka9" = "gargoyle-webshell" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-webshell ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link9}
  echo "################## Dodaję patch polonizacyjny gargoyle-webshell... ##################"
  patch -p0 -i ${link9}  && sleep 2
  rm ${link9}

else
  echo "################## Pomijam polonizację gargoyle-webshell ##############" && sleep 1
fi



paczka10=`cat konfiguracja |grep gargoyle-webcam`
link10=`grep ^plugin-gargoyle-webcam lista-patchy`
if [ "$paczka10" = "gargoyle-webcam" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-webcam ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link10}
  echo "################## Dodaję patch polonizacyjny gargoyle-webcam... ##################"
  patch -p0 -i ${link10}  && sleep 2
  rm ${link10}

else
  echo "################## Pomijam polonizację gargoyle-webcam ##############" && sleep 1
fi

paczka11=`cat konfiguracja |grep gargoyle-ping-watchdog`
link11=`grep ^plugin-gargoyle-ping-watchdog lista-patchy`
if [ "$paczka11" = "gargoyle-ping-watchdog" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-ping-watchdog ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link11}
  echo "################## Dodaję patch polonizacyjny gargoyle-ping-watchdog... ##################"
  patch -p0 -i ${link11}  && sleep 2
  rm ${link11}

else
  echo "################## Pomijam polonizację gargoyle-ping-watchdog ##############" && sleep 1
fi


paczka12=`cat konfiguracja |grep gargoyle-minidlna`
link12=`grep ^plugin-gargoyle-minidlna lista-patchy`
if [ "$paczka12" = "gargoyle-minidlna" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-minidlna ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link12}
  echo "################## Dodaję patch polonizacyjny gargoyle-minidlna... ##################"
  patch -p0 -i ${link12}  && sleep 2
  rm ${link12}

else
  echo "################## Pomijam polonizację gargoyle-minidlna ##############" && sleep 1
fi

paczka13=`cat konfiguracja |grep gargoyle-logread`
link13=`grep ^plugin-gargoyle-logread lista-patchy`
if [ "$paczka13" = "gargoyle-logread" ] ; then
  echo "################## Pobieram łatkę polonizującą gargoyle-logread ##################" && sleep 2
  wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/${link13}
  echo "################## Dodaję patch polonizacyjny gargoyle-logread... ##################"
  patch -p0 -i ${link13}  && sleep 2
  rm ${link13}

else
  echo "################## Pomijam polonizację gargoyle-logread ##############" && sleep 1
fi



echo "################## Wchodzê do katalogu package aby dokonac zamieszania z najnowszymi pluginami typu all ###############"



paczka91=`cat konfiguracja |grep nadpisanie_all`
link91=`grep ^plugin-gargoyle-initd lista-pluginow`
if [ "$paczka91" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin gargoyle-initd ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link91}
   echo "################## Dodajê plugin gargoyle-initd... ##################"
   mkdir gargoyle-initd-plugin
   tar -C $(pwd)/gargoyle-initd-plugin -zxvf ${link91}
   rm $(pwd)/gargoyle-initd-plugin/debian-binary
   rm $(pwd)/gargoyle-initd-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-initd-plugin/data.tar.gz -C $(pwd)/gargoyle-initd-plugin
   rm $(pwd)/gargoyle-initd-plugin/data.tar.gz
   cp -rf  $(pwd)/gargoyle-initd-plugin/* $(pwd)/plugin-gargoyle-initd/files
   rm -rf $(pwd)/gargoyle-initd-plugin
   sleep 2
   
else
   echo "################## Pomijam plugin gargoyle-initd ##############" && sleep 1
fi

paczka111=`cat konfiguracja |grep nadpisanie_all`
link111=`grep ^plugin-gargoyle-logs lista-pluginow`
if [ "$paczka111" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin gargoyle-logs ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link111}
   echo "################## Dodajê plugin gargoyle-logs... ##################"
   mkdir gargoyle-logs-plugin
   tar -C $(pwd)/gargoyle-logs-plugin -zxvf ${link111}
   rm $(pwd)/gargoyle-logs-plugin/debian-binary
   rm $(pwd)/gargoyle-logs-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-logs-plugin/data.tar.gz -C $(pwd)/gargoyle-logs-plugin
   rm $(pwd)/gargoyle-logs-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-logs-plugin/* $(pwd)/plugin-gargoyle-logs/files
   rm -rf $(pwd)/gargoyle-logs-plugin
   sleep 2
   
else
   echo "################## Pomijam plugin plugin-gargoyle-logs ##############" && sleep 1
fi

paczka121=`cat konfiguracja |grep nadpisanie_all`
link121=`grep ^plugin-gargoyle-msg lista-pluginow`
if [ "$paczka121" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin plugin-gargoyle-msg ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link121}
   echo "################## Dodajê plugin plugin-gargoyle-msg... ##################"
   mkdir gargoyle-plugin-msg
   tar -C $(pwd)/gargoyle-plugin-msg -zxvf ${link121}
   rm $(pwd)/gargoyle-plugin-msg/debian-binary
   rm $(pwd)/gargoyle-plugin-msg/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-plugin-msg/data.tar.gz -C $(pwd)/gargoyle-plugin-msg
   rm $(pwd)/gargoyle-plugin-msg/data.tar.gz
   cp -rf $(pwd)/gargoyle-plugin-msg/* $(pwd)/plugin-gargoyle-msg/files
   rm -rf $(pwd)/gargoyle-plugin-msg
   sleep 2
   
else
   echo "################## Pomijam plugin-gargoyle-msg ##############" && sleep 1
fi

paczka21=`cat konfiguracja |grep nadpisanie_all`
link21=`grep ^plugin-gargoyle-wifi-survey lista-pluginow`
if [ "$paczka21" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin plugin-gargoyle-wifi-survey ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link21}
   echo "################## Dodajê plugin plugin-gargoyle-wifi-survey... ##################"
   mkdir gargoyle-wifi-survey-plugin
   tar -C $(pwd)/gargoyle-wifi-survey-plugin -zxvf ${link21}
   rm $(pwd)/gargoyle-wifi-survey-plugin/debian-binary
   rm $(pwd)/gargoyle-wifi-survey-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-wifi-survey-plugin/data.tar.gz -C $(pwd)/gargoyle-wifi-survey-plugin
   rm $(pwd)/gargoyle-wifi-survey-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-wifi-survey-plugin/* $(pwd)/plugin-gargoyle-wifi-survey/files
   rm -rf $(pwd)/gargoyle-wifi-survey-plugin
  sleep 2
   
else
   echo "################## Pomijam plugin gargoyle-wifi-survey ##############" && sleep 1
fi


paczka212=`cat konfiguracja |grep nadpisanie_all`
link212=`grep ^plugin-gargoyle-cron lista-pluginow`
if [ "$paczka212" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin gargoyle-cron-plugin ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link212}
   echo "################## Dodajê plugin gargoyle-cron-plugin... ##################"
   mkdir gargoyle-cron-plugin
   tar -C $(pwd)/gargoyle-cron-plugin -zxvf ${link212}
   rm $(pwd)/gargoyle-cron-plugin/debian-binary
   rm $(pwd)/gargoyle-cron-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-cron-plugin/data.tar.gz -C $(pwd)/gargoyle-cron-plugin
   rm $(pwd)/gargoyle-cron-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-cron-plugin/* $(pwd)/plugin-gargoyle-cron/files
   rm -rf $(pwd)/gargoyle-cron-plugin
  sleep 2
   
else
   echo "################## Pomijam plugin gargoyle-cron-plugin ##############" && sleep 1
fi


paczka213=`cat konfiguracja |grep nadpisanie_all`
link213=`grep ^plugin-gargoyle-hdidle lista-pluginow`
if [ "$paczka213" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin gargoyle-hdidle-plugin ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link213}
   echo "################## Dodajê plugin gargoyle-hdidle-plugin.. ##################"
   mkdir gargoyle-hdidle-plugin
   tar -C $(pwd)/gargoyle-hdidle-plugin -zxvf ${link213}
   rm $(pwd)/gargoyle-hdidle-plugin/debian-binary
   rm $(pwd)/gargoyle-hdidle-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-hdidle-plugin/data.tar.gz -C $(pwd)/gargoyle-hdidle-plugin
   rm $(pwd)/gargoyle-hdidle-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-hdidle-plugin/* $(pwd)/plugin-gargoyle-hdidle/files
   rm -rf $(pwd)/gargoyle-hdidle-plugin
  sleep 2
   
else
   echo "################## Pomijam plugin gargoyle-hdidle-plugin ##############" && sleep 1
fi


paczka214=`cat konfiguracja |grep nadpisanie_all`
link214=`grep ^plugin-gargoyle-smsbox lista-pluginow`
if [ "$paczka214" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin plugin-gargoyle-smsbox ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link214}
   echo "################## Dodajê plugin plugin-gargoyle-smsbox.. ##################"
   mkdir gargoyle-smsbox-plugin
   tar -C $(pwd)/gargoyle-smsbox-plugin -zxvf ${link214}
   rm $(pwd)/gargoyle-smsbox-plugin/debian-binary
   rm $(pwd)/gargoyle-smsbox-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-smsbox-plugin/data.tar.gz -C $(pwd)/gargoyle-smsbox-plugin
   rm $(pwd)/gargoyle-smsbox-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-smsbox-plugin/* $(pwd)/plugin-gargoyle-smsbox/files
   rm -rf $(pwd)/gargoyle-smsbox-plugin
  sleep 2
   
else
   echo "################## Pomijam plugin plugin-gargoyle-smsbox ##############" && sleep 1
fi


paczka215=`cat konfiguracja |grep nadpisanie_all`
link215=`grep ^plugin-gargoyle-usbreset lista-pluginow`
if [ "$paczka215" = "nadpisanie_all" ] ; then
   echo "################## Pobieram plugin plugin-gargoyle-usbreset ##################" && sleep 2
   wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/${link215}
   echo "################## Dodajê plugin plugin-gargoyle-usbreset.. ##################"
   mkdir gargoyle-usbreset-plugin
   tar -C $(pwd)/gargoyle-usbreset-plugin -zxvf ${link215}
   rm $(pwd)/gargoyle-usbreset-plugin/debian-binary
   rm $(pwd)/gargoyle-usbreset-plugin/control.tar.gz
   tar -zxvf $(pwd)/gargoyle-usbreset-plugin/data.tar.gz -C $(pwd)/gargoyle-usbreset-plugin
   rm $(pwd)/gargoyle-usbreset-plugin/data.tar.gz
   cp -rf $(pwd)/gargoyle-usbreset-plugin/* $(pwd)/plugin-gargoyle-usbreset/files
   rm -rf $(pwd)/gargoyle-usbreset-plugin
  sleep 2
   
else
   echo "################## Pomijam plugin plugin-gargoyle-usbreset ##############" && sleep 1
fi
echo "################### Czyszczę pozostałości po plikach konfiguracyjnych skryptu ##################"



rm -f plugin-gargoyle*_all.ipk


cd ..
rm $(pwd)/package/lista-patchy
rm $(pwd)/package/konfiguracja
rm $(pwd)/package/lista-pluginow

rm ../lista-patchy
rm ../konfiguracja
rm ../lista-pluginow


echo "################### Instaluje custom - pamietaj o ustawieniu menuconfig ##################"
cd gargoyle

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: How to re-launch menuconf

Post by ericwong »

Sorry, if you are adding in additional patches that I did not use. I am afraid I can't help you..

I can only try to help you if you are trying to build Gargoyle without modifications... I suggest you try that first without those patches because that by itself is already somewhat difficult to succeed.

It is likely those polish patches causing problems.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

Post Reply