Hi all, I have a dual core pc running an intel core2duo and 2 intel pcie nic's. It was my first time building a custom image and it actually works!! I even enabled both cores and 4gb mem which I know is just overkill but if all works out ok, I will have 2 of these running on my network of 400 customers. Currently the customers are going through a 9 core mikrotik ccr which is configured as a load balancer for the 2 wans. Each wan is connect to a routerstation pro running gargoyle 1.8.0. The ccr is not doing any nat and is routed to each gargoyle router. Each internet connection is 120m/8m and this is where the x86 build comes in. On a busy night, the routerstation pro's get hammered to the point where I cant even open gargoyles gui. I cant live without ACC so I need more horsepower. The image I built works as far as detecting all nic's, gui etc. I can log in to the gargoyle gui but when I set the wan interface to DHCP wired from disabled, the lan dies and I cant get back in no matter what I do. This also happens in a virtual machine. Can anyone shed some light on this?
Thanks in advance.
x86 custom build WAN issue
Moderator: Moderators
Re: x86 custom build WAN issue
Wow - that is an interesting setup and challenge! Nice to hear of Gargoyle under some real load
Look forward to learning something from the discussion!

Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: x86 custom build WAN issue
Have you attempted to bring the interface up manually? i.e. Not through the gui
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: x86 custom build WAN issue
haven't tried that, i'll google the commands, give it a go and report back.
Thanks
Thanks

Re: x86 custom build WAN issue
You'll want to set your settings in /etc/config/network and then use something along the lines of ifup wan or a network restart.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: x86 custom build WAN issue
Lantis, I did what you said and I got it all working. In /etc/config/network I added and set the lan interface to eth1 thinking that gargoyle always uses eth0 as wan. The only thing to note is, don't touch the wan settings in the gui after this config otherwise it messes everything up. At 100mbits/sec the load on this thing is 3% over 15 minutes. I also bumped up the max connections to 65536. Is there any way to customize the way gargoyle sets up the wan from the gui? Thanks again for your help 
Code: Select all
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'

Re: x86 custom build WAN issue
Not without rewriting that page of the GUI. You figured it out yourself.
When you hit save changes it wipes all configs and rewrites what it is programmed to.
If you are familiar with programming you could go through and comment out everything that you don't need.
When you hit save changes it wipes all configs and rewrites what it is programmed to.
If you are familiar with programming you could go through and comment out everything that you don't need.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: x86 custom build WAN issue
I'll definitely give it a go and post up the image for others who might want to try it out.