Version 1.3.7

The latest news about Gargoyle

Moderator: Moderators

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Version 1.3.7

Post by Eric »

New in 1.3.7:
  • For routers with USB ports, mountd daemon is no longer necessary, which solves a bug causing 100% CPU use and a sluggish router.
  • Mounting of USB drives immediately after insertion is now more reliable

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: Version 1.3.7

Post by Cezary »

Bug #1: https not working. Linux/Iceweasel (FF) 3.5.15

Bug #2: Firewall -> QoS (Upload), Enable & save changes. Then add New Service Class:

Name: lejek
Precent: 1
Band. minimum: 32
Band. max: 32

Add Service class & save changes

And now max bandwidth show as undefined kbit/s. Edit class - cannot change bandwidth maximum. But:

Code: Select all

root@Gargoyle:~# uci show qos_gargoyle.uclass_4
qos_gargoyle.uclass_4=upload_class
qos_gargoyle.uclass_4.name=leyek
qos_gargoyle.uclass_4.percent_bandwidth=1
qos_gargoyle.uclass_4.min_bandwidth=32
qos_gargoyle.uclass_4.max_bandwidth=32

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Version 1.3.7

Post by DoesItMatter »

SWEET!!!

1.3.7 loaded on WZR-HP-G300NH

USB Drive is recognized just fine!

Have a 2 TB USB 2.0 external - connected and recognized.

EXT3 formatted

-------------------------------

OK - I do have 1 issue - I can see the drive just fine.

HOWEVER, I have set it to anonymous access - read/write access

But I cannot write to the hard drive? Access denied?

Drive is EXT4 formatted - did a fresh format on it

I have the drive settings as allow anonymous access for both fields,
have CIFS+NFS chosen (If I choose CIFS or NFS alone, the drive is
not accessible at all)
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Version 1.3.7

Post by DoesItMatter »

OK...

I found some posts in OpenWRT forums to help with the
access authority to the USB drive on WZR-HP-G300NH

----------------------------

i seemed to have solved it by:
chmod -R 777 /mnt/sda1
chown -R nobody /mnt/sda1

i home these survive a reset

---------------------------------

Also:

For samba3 I figured out how to tune it well. First delete /etc/config/samba. Then edit /etc/samba/smb.conf to what you want to setup.
Key features that helped my transfer speeds is to use vfat,ext3, or ext4; as NTFS-3g can be slow as it is cpu limited. When is overclocking going to be available for the G300NH????
Add this to the [global] section:

socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY

As for the permissions, I had similar issues. If I run my backup script, the files show up with permissions for root, and my samba use is under nobody:nogroup, so the files created in putty don't seem to be accessible, but anything I create in samba through windows has proper permissions. This worked for me, it allows me to delete, edit, add files to folders owned by root (which were created during a backup script on the router):


[usb]
path = /mnt/usb
browseable = yes
user = nobody
writeable = yes
read only = no
create mask = 0777
directory mask = 0777

---------------------------------

I used VI to edit the samba config file and added some of those lines that were missing.

------------------------------

Another note - I can't write over 2GB files?

It says that there is not enough space on the drive, yet
I have 2 TB of space? I can copy over under that size, around
1 GB or so, but over 2 TB, the copy is not allowed.

Drive is formatted EXT 4 - transfer rate of 8MB/s
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Version 1.3.7

Post by Eric »

Cezary: I've found and fixed the QoS bug in the repository today. However, I'm having trouble replicating the https bug you report (tested with firefox 3.5 & 3.6).

DoesItMatter: I will look into the bugs you report within the next couple of days. Thanks for the heads-up on these issues.

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: Version 1.3.7

Post by Cezary »

Just not working. Fresh installed, https:// not respond from lan.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Version 1.3.7

Post by DoesItMatter »

Ditto for me for https:// access on the Gargoyle GUI

I usually disable it, but I tried testing it out and enabled HTTPS

HTTP://192.168.2.1/ -->> WORKS

HTTPS://192.168.2.1/ -->> does NOT work

Tried with I.E. 8 and also latest Google Chrome -

Get this:

This webpage is not available.

The webpage at https://192.168.2.1/ might be temporarily down or it may have moved permanently to a new web address.

More information on this error
Below is the original error message

Error 101 (net::ERR_CONNECTION_RESET): Unknown error.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

zulis
Posts: 4
Joined: Wed Oct 20, 2010 7:12 am

Re: Version 1.3.7

Post by zulis »

If Gargoyle uses OpenWrt 10.03.1 rc3 then opkg.conf should point to http://downloads.openwrt.org/backfire/[b]10.03.1-rc3[/b]/... Isn't it?

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Version 1.3.7

Post by Eric »

I finally managed to replicate the https error with Chrome. It should be fixed now. I bumped the version of cyassl to 1.6.5, from 1.4.0 which is what OpenWrt is using, which seems to correct the issue (at least with Chrome).

DoesItMatter: I fixed the readonly issue with the usb drive code, and added your suggested socket options to the default Samba configuration. The 2GB issue should also be resolved in the repository.

My plan is to release another bugfix release that includes these fixes in the near future.

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: Version 1.3.7

Post by Cezary »

Eric: in smb.conf.template also change unix charset to utf-8

Post Reply