OpenWrt Forum Archive

Topic: Update on Linksys WRT1900AC support

The content of this topic has been archived between 16 Sep 2014 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

jklap wrote:
alirz wrote:

well i managed to recover the router using serial..
i had one issue though... apparently the "setenv firmware_name.img" wasnt working for me. The kept expecting the image name "blk-mamba.128mb.img" so i renamed my firmware that and the file uploaded to the router...

Likely because the u-boot variable name isn't "firmware_name.img" but "firmware_name" wink

You mean no extension needs to be specified?

(Last edited by alirz on 4 Apr 2015, 02:45)

ok another weird thing..I've always used dns based ad block for which dnsmasq read a hosts file from the mounted usb drive.

Today, i dont know if it has something to do with new build (r45250) or what, but dnsmasq is unable to read the file.
The file permissions are ok. Owner is root. i've even given it 777 permission. Still doesnt work. However if i put the file on e.g /etc. Then it is read fine

Fri Apr  3 23:15:53 2015 daemon.err dnsmasq[6943]: failed to load names from /mnt/sda1/scripts/hosts.block: Permission denied

USB is ext4, mounted as RW. i can read the host file fine via ssh.  I deleted and recreated the hosts file but no luck.

Any clues?

EDIT: I think i found perhaps why. Looks like the dnsmasq process is not running as root for some reason. This is what i see in "ps"

6994 nobody    1852 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /var/run/dnsmasq/dnsmasq.pid


EDIT 2:  Apparently DNSMASQ in general downgrades itself to nobody from root after starting up as root. So the question is if that behavor is normal then why the permission error? a few builds back this was working fine and i never had any problem.

(Last edited by alirz on 5 Apr 2015, 22:28)

alirz wrote:
jklap wrote:
alirz wrote:

well i managed to recover the router using serial..
i had one issue though... apparently the "setenv firmware_name.img" wasnt working for me. The kept expecting the image name "blk-mamba.128mb.img" so i renamed my firmware that and the file uploaded to the router...

Likely because the u-boot variable name isn't "firmware_name.img" but "firmware_name" wink

You mean no extension needs to be specified?

No, he means you need to set the environment variable  firmware_name to the name of the image.
How do you think uboot will locate the value set if it isn't assigned to a specific name.

@raven-au

That bit of info is also on wiki page, added it myself.

nitroshift

marcel1988 wrote:

Can somebody compile a 4.0 image with the latest wifi driver + luci, My goal is to have optimal traffic over cable and ac over wifi.
Any advice and pointers will be help full.

Greetz a noob on this image

Any One ?

ethereal wrote:
l3333 wrote:
ethereal wrote:

thank you.

i hate to bother people but i don't have a clue how to edit the files (i think cd takes me to the folder)

You can also use WinSCP via port 22 and edit via GUI text editor.


okay - worked out how to use WinSCP here is my smb.conf - i still can't access the Backups folder

[global]
    netbios name = OpenWrt
    display charset = UTF-8
    interfaces = 127.0.0.1/8 lo 192.168.1.1/24 br-lan
    server string = OpenWrt
    unix charset = UTF-8
    workgroup = WORKGROUP
    browseable = yes
    deadtime = 30
    domain master = yes
    encrypt passwords = true
    enable core files = no
    guest account = nobody
    guest ok = yes
    invalid users = root
    local master = yes
    load printers = no
    map to guest = Bad User
    max protocol = SMB2
    min receivefile size = 16384
    null passwords = yes
    obey pam restrictions = yes
    os level = 20
    passdb backend = smbpasswd
    preferred master = yes
    printable = no
    security = share
    smb encrypt = disabled
    smb passwd file = /etc/samba/smbpasswd
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    syslog = 2
    use sendfile = yes
    writeable = yes
   

[homes]
    comment     = Home Directories
    browsable   = no
    read only   = no
    create mode = 0750

[Backups]
    path = /Backups
    read only = no
    guest ok = yes


i went back to the latest linksys firmware - it was stable about 45 days and i could connect to my external hdd

raven-au wrote:
alirz wrote:
jklap wrote:

Likely because the u-boot variable name isn't "firmware_name.img" but "firmware_name" wink

You mean no extension needs to be specified?

No, he means you need to set the environment variable  firmware_name to the name of the image.
How do you think uboot will locate the value set if it isn't assigned to a specific name.


Just to clarify I was using this command: setenv FW_WRT1900AC_1.1.8.164461_prod.img

Anyways obviously something was not working as it should have as boot kept expecting a name like blkmamba.....

For me, renaming the firmware image to something easier to type helps...

After I download the firmware, I rename it to "1", or something easy to type.

setenv firmware_name 1.img

Hope that helps.

nitroshift wrote:
DavidMcWRT wrote:

the wiki really needs updating!

If someone has time, we need to:

1) change the McWRT entry to say it is out of date, no longer supported and has likely now been surpassed by Trunk.  Remove the .img link.

2) make the CC snapshot the current recommendation

3) remove lifehacksback builds

4) keep Kaloz's link

The "How to flash the firmware to device?" bit needs references to mcwrt (build 1 / 192.168.200.1) removed.

Need to add the luci/httpd instructions to trunk section.

The "disassoc_low_ack=0" fix section it now appears can also be removed.

Done.

nitroshift

I reorganized some of the info on the wiki page, de-emphasizing old/obsolete historical info, and making it easier for new people to get to the current info & builds. Please check that I've maintained the truth invariant...

http://wiki.openwrt.org/toh/linksys/wrt1900ac

Thanks

ShawnG1972 wrote:

For me, renaming the firmware image to something easier to type helps...

After I download the firmware, I rename it to "1", or something easy to type.

setenv firmware_name 1.img

Hope that helps.

Ah OK..got it..I misread the part " firmware_name"
So its a parameter for the setenv command followed by the .IMG file name itself

alirz wrote:
ShawnG1972 wrote:

For me, renaming the firmware image to something easier to type helps...

After I download the firmware, I rename it to "1", or something easy to type.

setenv firmware_name 1.img

Hope that helps.

Ah OK..got it..I misread the part " firmware_name"
So its a parameter for the setenv command followed by the .IMG file name itself

Correct.
setenv firmware_name nameofyourfirmware.img

lifehacksback wrote:
marcel1988 wrote:

Any One ?

http://tinyurl.com/Lifehacksback-Testing-CC

OpenWrt Chaos Calmer r45226 / LuCI Master (git-15.090.50849-576e235)
Kernel Version 3.18.10
Local Time    Sat Apr 4 10:55:24 2015
Uptime 2d 18h 55m 17s
Load Average 0.12, 0.04, 0.05

Running without a hitch here (thx lifehacksback / any conspicuous differences with 4.x?)

@grimley & others

Firmware images built with latest iteration of kernel 4.0 are primarily for testing purposes such as bacporting fixes to current trunk kernel. For example, the cpuidle patch was backported from such a test build.

nitroshift

@marcel1988

You can find the link to my Onedrive repo for latest 4.0 firmware image.

nitroshift

Anyone tried playing with VLANs?
I would like to add tagged VLAN2 to port 1.
According to https://s3.amazonaws.com/Justin.Schuhma … layout.png its no. 3.

config switch
        option enable_vlan              '1'
        option name                     'switch0'
        option reset                    '1'

config switch_vlan
        option device                   'switch0'
        option ports                    '0 1 2 3 5'
        option vlan                     '1'

config switch_vlan
        option device                   'switch0'
        option ports                    '3t 5'
        option vlan                     '2'

config switch_vlan
        option device                   'switch0'
        option ports                    '4 6'
        option vlan                     '3'

So I have changed /etc/config/network as in above but not I cannot connect to any LAN port... ideas?

Could you also paste the rest of /etc/config/network?

In the VLAN 2 switch_vlan entry, you need to add tagging to the CPU port (5). Then, create a network entry for eth0.2 with the desired config for that VLAN.

I believe there was new wireless driver that was commited on APR 2nd. Did that make its way in yet?
secondly has anyone done a real world test of AC wifi speed e.g file transfer and not with iperf?

(Last edited by alirz on 4 Apr 2015, 21:57)

leitec wrote:

Could you also paste the rest of /etc/config/network?

In the VLAN 2 switch_vlan entry, you need to add tagging to the CPU port (5). Then, create a network entry for eth0.2 with the desired config for that VLAN.

Looks like its working now. Will test the VLANS tomorrow.

alirz wrote:

I believe there was new wireless driver that was commited on APR 2nd. Did that make its way in yet?
secondly has anyone done a real world test of AC wifi speed e.g file transfer and not with iperf?

Yep.
2.4GHz: ~27-29MiB/s
5.0GHz: ~39-43MiB/s

belliash wrote:
leitec wrote:

Could you also paste the rest of /etc/config/network?

In the VLAN 2 switch_vlan entry, you need to add tagging to the CPU port (5). Then, create a network entry for eth0.2 with the desired config for that VLAN.

Looks like its working now. Will test the VLANS tomorrow.

alirz wrote:

I believe there was new wireless driver that was commited on APR 2nd. Did that make its way in yet?
secondly has anyone done a real world test of AC wifi speed e.g file transfer and not with iperf?

Yep.
2.4GHz: ~27-29MiB/s
5.0GHz: ~39-43MiB/s

What was the client wifi adapter?

06:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)

Windows 7 established 300mbps for 2.4GHz and 866.5mbps for 5GHz

(Last edited by belliash on 4 Apr 2015, 22:17)

l3333 wrote:
alirz wrote:

I believe there was new wireless driver that was commited on APR 2nd. Did that make its way in yet?
secondly has anyone done a real world test of AC wifi speed e.g file transfer and not with iperf?

I guess it hasn't been pushed to the trunk yet.

Sure it is https://dev.openwrt.org/changeset/45201

I know MCWRT is old and obsolete i had been running that for several months. For the past two weeks i have been running various builds of CC trunk and couldnt figure out why my AC wifi was slow.
I decided to flash MCWRT again and right away my AC wifi is atleast 60% faster while connected at the same link rate to the router as CC does. I've done several speed tests to confirm. MCWRT's wifi is still better performing than CC even with the new drivers.

l3333 wrote:

@ethereal

I found the way to connect ntfs drive. There should have been one more package set called ntfs-3g installed.


okay thank you - i just had a look on kernel 4.0 rc6 and couldn't find it, is it only available on kernel 3.18.10 ?

if you have time could you compile a 3.18.10 firmware (similar to the 4.0 rc6 you did for me) but with ntfs-3g

i thought i could download the latest snapshot and just install a couple of packages and i'd be ready to go, but there wasn't any mount points or network shares, i was hopelessly lost.

(Last edited by ethereal on 5 Apr 2015, 00:16)

grimley wrote:
lifehacksback wrote:
marcel1988 wrote:

Any One ?

http://tinyurl.com/Lifehacksback-Testing-CC

OpenWrt Chaos Calmer r45226 / LuCI Master (git-15.090.50849-576e235)
Kernel Version 3.18.10
Local Time    Sat Apr 4 10:55:24 2015
Uptime 2d 18h 55m 17s
Load Average 0.12, 0.04, 0.05

Running without a hitch here (thx lifehacksback / any conspicuous differences with 4.x?)

Edit --
3 days and change. WAN freeze. Wireless stays up, no WAN access. LAN access appears to remain functional.
Saw the same happen with last two Kaloz images and a distant trunk or two.

(Last edited by grimley on 5 Apr 2015, 00:48)

Sorry, posts 4226 to 4225 are missing from our archive.