Re: Blueendless Kimax U35WF firmware

100EB wrote:
filin.rsb wrote:

Who needs the firmware, please, I have the original version since 1.2.2 to 1.3.5 and dump flash memory.

Hi, i need the original firmware, can you share to me?

Could share original version with me too?

27 (edited by Dman12 2017-03-04 00:28:06)

Re: Blueendless Kimax U35WF firmware

guys quick question, after installing firmware from RinaGute my connection between the device and computer over ethernet is only 100Mb?
I was sure that this device support 1000Mb connections
is it firmware problem? or the device is not 1000Mb?

28 (edited by alex2104 2017-03-10 18:33:28)

Re: Blueendless Kimax U35WF firmware

Dman12       What is your speed on WiFi?   The situation is this. If  connect directly to Kimax via WiFi is the speed of copying from a disc 6.5 Mb / s. If Kimax connected to another router through WiFi the speed of the disc has 1.5 Mb / s. At the same time the normal speed of the Internet in both cases (10Mb / s) It is possible as that correct?
Updated to version 1.4.0 nothing has changed.

29 (edited by arvati 2017-03-12 22:30:15)

Re: Blueendless Kimax U35WF firmware

alazyworkaholic wrote:

How can I insure myself against losing the ability to connect to the U35WF after disabling DHCP?

Would assigning a static-IP in the U35WF to my computer's MAC address do it?

Correct me if I'm wrong, but if I disable DHCP, then the U35WF will never assign an address to anything, and I'll never be able to connect to it. Or not?

Now i got my kimax-u35wf device. i may help further others but i am doing yet some mistakes so I can't connect it to my router via ethernet, only via wifi (strange?). does anybody could help?

Well, to assure myself against losing ability to connect i created a wifi interface called "service" with dhcp enabled.
The lan interface is bridged with eth0.1, master wifi and client wifi (to connect to my router).

Right now i configured two fixed ip addres:
192.168.169.1 when connecting via "service"  wifi
192.168.1.14 when connecting via ethernet or lan wifi.

Some work i am doing at shared over here:

https://github.com/arvati/openwrt-U35WF/wiki/OpenWrt-Configuration

What I ve done so far:
* bricked (rsrs) and unbricked device with serial cable
* compiled firmware with useful packages (for btrfs filesystem) and configurations
* configured extroot to hd
* created "service" interface via wifi
* not getting ethernet working the right way....

Re: Blueendless Kimax U35WF firmware

Tell me, who's speed through the router by Wifi is more than 1.5mb / s

Re: Blueendless Kimax U35WF firmware

alex2104 wrote:

Tell me, who's speed through the router by Wifi is more than 1.5mb / s

How could I measure that from an Ubuntu or chromebook machine?

Re: Blueendless Kimax U35WF firmware

arvati wrote:
alex2104 wrote:

Tell me, who's speed through the router by Wifi is more than 1.5mb / s

How could I measure that from an Ubuntu or chromebook machine?

Excuse me. I did not understand your question. Russian

Re: Blueendless Kimax U35WF firmware

I just compiled an image for LEDE project version 17.01.
Download available here:

https://github.com/arvati/lede-U35WF/releases

After flashing connect to lan port with your computer and access address 192.168.1.1 with dhcp enabled.

Re: Blueendless Kimax U35WF firmware

Thanks arvati, how to enable the drive sharing with this version?

Re: Blueendless Kimax U35WF firmware

Lede comes with Luci interface.
Just install samba server package to e able to share data.
You may also want to configure fstab to mount your HDD.
Some of my config files I shared in a wiki page at Github.
To share video files via dlna to my TV I use minidlna package.

Re: Blueendless Kimax U35WF firmware

Thanks, installed the Samba.
Still having some issues sharing the USB HDD, after mounting and sharing.
Seems to be permissions issue, since only way to share is as a root and I can't login as a root.
BTW: would is be possible to compile a package that is including all the functions as one for "none Linux" experts?
Just in case, I'm trying to find the original software of the U35WF, any link?

Re: Blueendless Kimax U35WF firmware

Thehobit wrote:

BTW: would is be possible to compile a package that is including all the functions as one for "none Linux" experts?
Just in case, I'm trying to find the original software of the U35WF, any link?

Sure. Tell me what functionalities you want.
Just samba, torrent, dlna ?

Re: Blueendless Kimax U35WF firmware

Much appreciated mate.

Actually the basic NAS functionality as a priority:

* Easy mounting and sharing of internal and external USB drive, including permission and networking functionality.
* DLNA is a great add on
* Fully functional LAN port (major issue with original firmware)

Re: Blueendless Kimax U35WF firmware

Additional question, just in case, how it is possible to revert from openWrt to original firmware?

Re: Blueendless Kimax U35WF firmware

Thehobit wrote:

Thanks, installed the Samba.
Still having some issues sharing the USB HDD, after mounting and sharing.
Seems to be permissions issue, since only way to share is as a root and I can't login as a root.
BTW: would is be possible to compile a package that is including all the functions as one for "none Linux" experts?
Just in case, I'm trying to find the original software of the U35WF, any link?

  Original software of the U35WF  V.1.4.0.      https://cloud.mail.ru/public/D1rK/Xrm8mUDJ2

Re: Blueendless Kimax U35WF firmware

alex2104 wrote:
Thehobit wrote:

Thanks, installed the Samba.
Still having some issues sharing the USB HDD, after mounting and sharing.
Seems to be permissions issue, since only way to share is as a root and I can't login as a root.
BTW: would is be possible to compile a package that is including all the functions as one for "none Linux" experts?
Just in case, I'm trying to find the original software of the U35WF, any link?

  Original software of the U35WF  V.1.4.0.      h**ps://cloud.mail.ru/public/D1rK/Xrm8mUDJ2

Thanks, any guide how to revert from openWrt to stock?

Re: Blueendless Kimax U35WF firmware

bricked
Original software of the U35WF  V.1.4.0.[*][/*]

Re: Blueendless Kimax U35WF firmware

Appreciate if anyone can reply how to unbrick / revert from openWrt to stock

Re: Blueendless Kimax U35WF firmware

Thehobit wrote:

Appreciate if anyone can reply how to unbrick / revert from openWrt to stock

Re: Blueendless Kimax U35WF firmware

Anyone still active on that thread? Appreciate help

Re: Blueendless Kimax U35WF firmware

Hello friends, bought yourself u25wf, a lot of experimentation with the firmware, as a result there is a wifi but to 192.168.1.1 through the web and ssh there is no connection. There is a programmer for 8 contacts and usb-uart. Does anyone have a full memory dump, since I do not know the offset for my data? Or is there an easier way to restore the firmware?

Re: Blueendless Kimax U35WF firmware

Hi, I'm realy-realy new in openwrt
is there someone can give me, some tutorial step by step, how to flash the firmware
LEDE? and which file from github.com/arvati/lede-U35WF/releases?

for the info, i just bough the kimax u35wf, and the firmware already LUCI for-15.05
thx

Re: Blueendless Kimax U35WF firmware

I forget exactly how I accessed the UI of the stock KiMax firmware, but I think I simply connect an ethernet cable directly between my PC and the U35WF's ethernet port. I think the instructions that come in the box include the IP address (192.168.1.1, I think) & username/password.

Navigate via a browser to that IP, enter credentials, and then find the webpage/menu that has something about upgrading the firmware. Click on browse, then find the new image file, and click upload.

I flashed this image: lede-17.01-snapshot-r3287-1ebe050-ramips-mt7620-u35wf-squashfs-sysupgrade.bin

Expect to wait a few minutes.
The device will restart.
For me, it didn't work right off. I had to powercycle (after waiting a few minutes again) once more to connect.

Connect ethernet cable directly between U35WF & PC.
On PC, navigate to 192.168.1.1, and you'll be granted access without a password, and you'll have to set one.

### Optional Further Setup ###
(just notes that I made for myself, so some minor steps might be missing or plain wrong. Consider as guideline, not definitive reference)

In LuCi interface, navigate to Network -> Interfaces
Edit interface, set to DHCP Client
Consider assigning a static IP to this device in the DHCP server (your home router, if you have one) to facilitate port forwards, NAS, etc.
You could assign a static IP, but then you'd have to to reconfigure it each time, and also set the gateway, dns, etc. by hand.

opkg files are held in tmp, so must be re-downloaded every time via "opkg update"

Run:
    opkg update
    opkg install nano
Also install whatever luci-app-* packages you find convenient.

### TRANSMISSION BITTORRENT CLIENT ###
Install:
    transmission-daemon-openssl
    transmission-web
    luci-app-transmission
Then start transmission in the foreground by running:
    transmission-daemon -f
A file should now exist at:
    /root/.config/transmission-daemon
Edit the file so:
    "download-dir": "/path/to/download-dir",
    "incomplete-dir": "/path/to/incomplete-dir",
    "incomplete-dir-enabled": true,
    "rpc-enabled": true,
    "rpc-authentication-required": true,
    "rpc-password": "mypasswd",
    "rpc-username": "myusername"
    "rpc-whitelist-enabled": false,
Optionally, save it in a new location like:
    /mnt/2TBhdd/TORRENTS/.Config/settings.json
& specify it as the config file directory in the LuCi transmission app, like:
    /mnt/2TBhdd/TORRENTS/.Config

Finally, run:
    /etc/init.d/transmission enable
    /etc/init.d/transmission start
If that doesn't do it (it didn't), you may need to run:
    transmission-daemon -g /mnt/2TBhdd/TORRENTS/.Config

Unfortunately, the watch directory (to automatically load/start torrent files) does not work, because the OpenWRT kernel would need to support a notify feature, or so I've read.
   

### SAMBA FILE SHARING ###
I have 2 users, alan & bella (I write a '$' for steps repeated with different variables, don't write it literally), and want each to have their own private directory, besides sharing files.
to restart samba server: /etc/init.d/samba restart
to restart Windows client: Run services.msc, restart "Workstation" service.

Run:
    mkdir -p /mnt/U35WF/$EACH_USER

Edit /etc/samba/smb.conf
[global]
    display charset = UTF-8
    unix charset = UTF-8
    guest ok = no
    #invalid users = root
    map to guest = never
    null passwords = no
    security = user
    writable = yes

[2TBhdd]
    path = /mnt/2TBhdd
    valid users = users
    read only = no
    guest ok = no
    create mask = 0660
    directory mask = 2770

[$EACH_USER] (e.g. alan)
    path = /mnt/U35WF/$EACH_USER
    valid users = $EACH_USER
    read only = no
    guest ok = no
    create mask = 0600
    directory mask = 0700

Not sure about these yet (they're share options)...
    force groups = +users
    force directory mode = 2775
    force create mode = 664

To have separately-permissioned directories, you need to add users. OpenWRT/LEDE is not designed for multiple users out-of-the box. To do that, install:
    opkg install shadow-useradd
Run for each user:
    useradd --home-dir/mnt/2TBhdd/user_home_directory -M -N -g 100 -p MyPa$$w0rd -s /bin/false -u $MyUUID $LOGIN_NAME

This will add a user, without a valid shell (/bin/false) to the users group (-g 100)
Remove:
    opkg remove shadow-useradd (no longer necessary)
Run for each user:
    smbpasswd -a $LOGIN_NAME
Unfortunately, smbpasswd & passwd need something called PAM to sync the passwords, and I'm not up to working that out now.
Also, I've been told tdbsmb is reportedly a better password backend than smbpasswd, if you have the choice.

Permissions are tricky:
1=x
2=w
3=wx
4=r
5=rx
6=rw
7=rwx
I want each user to have their own home, but also have a shared files directory accessible to all users. Run:
    chown -R root /mnt/U35WF
    chgrp -R users /mnt/U35WF
    find /mnt/U35WF -type d -exec chmod 2770 {} +        # ~= chmod g+sw
    find /mnt/U35WF -type f -exec chmod 660 {} +        # ~= chmod g+w
The 2770 permissions applied to the directories appear as 'drwxrws---'. The 's' in the group permissions triplet means that users of the same group as the person who writes any new files/directories will have the same permissions for those files/directories as the person writing them.
for $EACH_USER:
    chown -R $EACH_USER /mnt/U35WF/$EACH_USER
    find /mnt/U35WF/$EACH_USER -type d -exec chmod 2700 {} +
    find /mnt/U35WF/$EACH_USER -type f -exec chmod 600 {} +
    chmod 700 /mnt/U35WF/$EACH_USER    # This allows only the owner to descend into their share.

Mounting the shares on ...
Windows
    Go to My Computer, add a network location.
Linux (temporary)
    mount //{$IP_OF_U35WF}/{$SHARE_NAME} /mnt/U35WF/$EACH_USER -t cifs -o username=alan,password="pa$$w0rd",uid=1000,gid=1000
Linux (permanent, via fstab line)
    //{$IP_OF_U35WF}/{$SHARE_NAME}    cifs    credentials=/home/$EACH_USER/.smbcredentials,iocharset=utf8,sec=ntlm,uid=$UID_OF_$EACH_USER,gid=$GID_OF_$EACH_USER    0 0

where .smbcredentials is a file with permissions 600 with only username=$EACH_USER (newline) password=p@$$w0Rd
But a separate mount point for multiple users is still a lousy way to mount for multiple users. It's workable for two or a few, but the proper way would be to use the multiuser mount option. I tried to figure that out via a youtube video entitled "Configuring Samba with multiuser mounts", but it seems the samba server installed on the U35WF is missing a component (cifscreds, not in repo) that makes it work.


### FTP ###
Prefer to use vsftpd-tls
See https://www.vultr.com/docs/how-to-secur … th-ssl-tls

Run:
    opkg install openssl-util vsftpd-tls

Edit /etc/vsftpd.conf:  (below lines are only my changes/notes, leave be other default lines)
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    chroot_local_user=NO
    ftpd_banner=Whatever I want to see on login.
    ssl_enable=YES            #Enables encryption for data transfer
    allow_anon_ssl=NO
    force_local_data_ssl=NO        #Requires encryption for data transfer (turned off because encryption consumes so much of the U35WF's limited CPU that transfer speed is limited to 3-4 MB/s. Still, nice to have option.
    force_local_logins_ssl=NO    #Requires encryption for login credential transfer
    ssl_tlsv1=YES
    require_ssl_reuse=NO
    ssl_ciphers=HIGH
    rsa_cert_file=/etc/vsftpd/vsftpd.pem    #This file doesn't exist yet. You'll soon create it.
    rsa_private_key_file=/etc/vsftpd/vsftpd.pem
    pasv_max_port=65535
    pasv_min_port=64000

Run:
    openssl req -x509 -days 365 -newkey rsa:2048 -nodes -keyout /etc/vsftpd/vsftpd.pem -out /etc/vsftpd/vsftpd.pem
    /etc/init.d/vsftpd enable
    /etc/init.d/vsftpd start

You'll need that vsftpd.pem file you created on the client machine if you want to access securely.


### DYNAMIC DNS CLIENT ###
First you need to create a dynamic dns account with a provider.
For now, I've picked dynu.com, although I later found out IPv6 doesn't work.
Run:
    opkg install luci-app-ddns ca-certificates
Then go to the Luci dyndns page, and edit the myddns_ipv4 entry.
Click 'enabled'
Select dynu.com in the 'DDNS Service provider' dropdown.
Set both 'Lookup Hostname' & 'Domain' to u35wf.dynu.net
Set username & password
Click Use HTTP Secure, and leave the 'Path to CA-Certificate' as the default /etc/ssl/certs


### DLNA ###
TO DO


### EAD (Emergency Access Daemon) ###
"The Emergency Access Daemon allows you to run arbitrary commands on your router in the chance that you don't have console access to it. This is, in fact, as powerful and dangerous as it sounds."
However, it may be just what I need as the U35WF doesn't have a reset button.
TO DO
https://wiki.openwrt.org/doc/howto/ead


### S.M.A.R.T ###
https://help.ubuntu.com/community/Smartmontools
Run /opt/usr/sbin/smartctl
    opkg install smartmontools -d opt (works fine on /opt)
To examine info & health:
    smartctl -i /dev/sda
    smartctl -H /dev/sda
To run tests (pick one):
    smartctl -t short /dev/sda
    smartctl -t long /dev/sda        #most useful!
    smartctl -t conveyance /dev/sda

Note, this doesn't extend to automatic checking & messaging in case of test failure.



Finally, I really, really wish the U35WF would be included in the LEDE project as a supported device, but I've no idea how to make that happen. If a LEDE dev reads this, please help!

Re: Blueendless Kimax U35WF firmware

I hope this forum still active, i just flash my u35wf with chaos calmer 15.01
And i will try to flash to lede 17.01 but im still doubt and confuse
Which one is better or the difference between?
Thanks

Re: Blueendless Kimax U35WF firmware

any success connecting U35WF with OpenWRT as USB mass storage to PC?