Page 1 of 3

Version 1.3.7

Posted: Thu Nov 04, 2010 10:16 am
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

Re: Version 1.3.7

Posted: Fri Nov 05, 2010 2:53 pm
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

Re: Version 1.3.7

Posted: Fri Nov 05, 2010 3:07 pm
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)

Re: Version 1.3.7

Posted: Sat Nov 06, 2010 5:54 pm
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

Re: Version 1.3.7

Posted: Sun Nov 07, 2010 12:31 am
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.

Re: Version 1.3.7

Posted: Sun Nov 07, 2010 8:51 am
by Cezary
Just not working. Fresh installed, https:// not respond from lan.

Re: Version 1.3.7

Posted: Mon Nov 08, 2010 4:59 am
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.

Re: Version 1.3.7

Posted: Mon Nov 08, 2010 6:08 am
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?

Re: Version 1.3.7

Posted: Mon Nov 08, 2010 9:41 am
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.

Re: Version 1.3.7

Posted: Mon Nov 08, 2010 1:45 pm
by Cezary
Eric: in smb.conf.template also change unix charset to utf-8