Map owncloud share in linux using webdav

Install davfs2
apt-get install davfs
Reconfigure davfs2 to allow access to other users (select ‘yes’ when prompted).
dpkg-reconfigure davfs2

Add users you want to be able to mount the share (where USER is the username)
usermod -aG davfs2 USER

Create a mountpoint
mkdir /mnt/owncloud
Mount the WebDav ownCloud
mount -t davfs https://owncloud_address_or_ip/owncloud/remote.php/webdav /mnt/owncloud
If your owncloud installation is in a directory other than ‘owncloud’ substitute it above. I used HTTPS which will encrypt communication and credentials but HTTP can also be used but obviously is higher risk.
Credentials can be automatically supplied by adding them to the following files
system wide /etc/davfs/secrets
individually ~/.davfs2/secrets
Edit either file using nano and add
https://owncloud_address_or_ip/owncloud/remote.php/webdav /mnt/owncloud USERNAME PASSWORD
To mount on boot add the following to fstab
https://owncloud_address_or_ip/owncloud/remote.php/webdav /mnt/owncloud davfs2 user,auto 0 0
(using noauto instead of auto will prevent it beingmounted automatically so choose depending on your enviroment)
To manually mount use
mount /mnt/owncloud
To unmount use
umount /mnt/owncloud
When I tried to create a test file on the shared I got the following error
touch: setting times of ‘test’: No such file or directory
To fix this edit your /etc/davfs2/davfs2.conf file and change/uncomment the ‘use_locks’ parameter to
use_locks 0
Continue Reading

Mounting a WebDav Share In Linux

Will clean up this post when i get a chance


apt-get install davfs2


Remote filesystems should not be indexed, so you should exclude the /dfs directory from the updatedb command:
edit /etc/cron.daily/slocate.cron and add the /dfs directory in the list of excluded directories:
/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/tmp,/var/tmp,/usr/tmp,/afs,/net,/dfs"




Continue Reading

HP Microserver N54L Nas Build

As per my previous posts i've decided to take the plunge and go for the N54L Microserver from HP. Rather than doing many posts covering the post I will be encompassing everything into a single one as a blog reader I find this easier to follow than many posts spread over lots of days causing confusion.

 
As I said previously the thing that put me off about the microserver was the fact it had no media card slots and only a single 5.25" bay. After some research i've found a solution, namely the Startech Slim Optical & 3.5in Hard Drive Mounting Bracket for 5.25in Front Bay which allows for fitment of slim optical drive and a standard 3.5" device in my case a media card reader.

That's the first problem sorted, the next one was to overcome the fact that the internal usb on the N54L doesn't use a header as on most motherboard but rather a 'real' usb port. I managed to find the Akasa External to internal USB adapter which will convert from the header connector on the media card reader to a usb port. I purchased this and a Samsung SN-208FB/BEBE 8x DVD/RW SATA Slim Black OEM along with a Akasa AK-ICR-07U3 3.5" Black Internal Multi Card Reader M2, Micro SD & USB 3.0 from Scans store on ebay for total of £27.66 delivered to my local argos store, ok so the usb 3.0 connector is pointless for the microserver but i've had a couple of the cheapo media readers before and they seem to just stop working or break so thought i'd spend a couple of poound extra on a named brand.
 
More to follow………..
Continue Reading

New NAS the FINAL decision

Yes i've still been pondering over which new nas to go for and like a woman i've ended up back at the first product I looked at *sigh* namely the HP Microserver. 

I did look at the Acer Aspire XC-603 which ebuyer were selling for £130 as I liked the fact it was of reasonable spec and had a media card reader built in. However looking at 2.5" 2tb drives they were coming in at over £100 each when a 4tb 3.5" can be had for the same money. 
I again considered the shuttle but like my current one power consumption is a little on the high side and due to previous hardware failures don't appear to be designed for 24hr usage.
Alas it was back to the microserver with it's 4 HDD slots and numerous USB ports it's surely a no brainer. I copy pi sd cards quite regularly so wanted to put in a media card reader but there is only a single external 5.25 slot so couldn't have a optical drive as well, or so I thought….. after some searching I came across the Startech Optical & 3.5in Hard Drive Mounting Bracket for 5.25in Front Bay (wow that was a long name to type) which can be had for around £20 posted. I've specced a slim DVD RW and card reader and will be ordering them shortly.
Next decision is HDD, i'm probably going to go for WD Red's either 2 or 3tb in RAID 1.
This project will take a while to complete due to limited funds but at the end it's should be a nice little setup.
Continue Reading

Zalman Z9 U3

Now I like my Antec 300 case but have always had a problem with the front usb ports being loose/not working properly so after a lot of research i've decided to go for the Zalman Z9 U3 case. OK i'll be honest i'm not overly keen on the front 'flaps' but it's pros clearly out weight this con, front usb 3 and 2 ports, side window, dust filter, a neat space for mounting the SSD behind the motherboard plate, all black interiror (saves me spraying again) and finally price, it can be had for £47.27 shipped from quietpc.com so for sub £50 this case is hard to beat.
Continue Reading

Jump to SSD

So i've been planing to make the move to SSD in my desktop for a while due to the fact I want to upgrade to Windows 7 from XP and that my current installation never shuts down properly and thus rebuilds the raid every time making it unusable for about an hour. On the hotukdeals website an offer was posted 'Sandisk Ultra Plus 128GB SSD @ Amazon £45.87' I had orginally been looking at the Samsung Evo 840 but the price is always stuck around £55. I asked the misses to order the sandisk one but before she did the price went back up to £54.99 *sigh*, then I remembered flubit, I put in a request thinking they'd discount on the £54.99 price but I was pleased to find they did it on the sale price so was 'offered' it at £40.27! well needless to say I couldn't buy it quick enough and have recieved confirmation that it's been dispatched today. Now the drive is sata III ie 6Gb/s and my motherboard only supports sata II 3Gb/s, I was looking to get a PCIe card so I could use ut to it's full capacity but I also wanted to upgrade to USB 3.0 but the trouble is I only have one spare PCIe x4 slot so I have decided to just upgrade to USB 3.0 for now as the SSD will still be faster than my current mechanical drive.

I checked my current drives with CrystalDiskInfo and both have power on hours of nearly 2 years solid, the second drive is also reported as 'Bad' so don't think this upgrade could come any sooner.


Continue Reading

TP Link WDR3600 recovery without serial

For those of you that don't feel confident enough to solder a serial header or need to recover a router quickly without having to buy any extras i've found a quick and easy way to do so.

I found holding the reset button in and powering on the router attempts to download a recovery firmware from a tftp server, i've written some simple steps to allow this. 
1, Change your PC/Laptop ip address to 192.168.0.66
2, Connect you computer to one of the LAN ports on the router (WAN port won't work for this)
2, Setup a tftp server on your machine (I use solarwinds tftp server)
3, Put the desired firmware in your tftp folder and rename it to wdr3600v1_tp_recovery.bin
4, Start the tftp server
5, Hold down the WPS/Reset button on the router
6, Power on the router
7, After approximately 7 seconds release the reset button
8, The router will now download the firmware from your server and upgrade
Sit back and marvel at it's simplicity.
Here is the output seen via serial during this operation….
U-Boot 1.1.4 (Sep  9 2013 - 14:28:41)</div>
<div><br></div><div>U-boot DB120</div><div><br></div><div><br></div><div>DRAM:  128 MB</div><div>id read 0x100000ff</div><div>flash size 8MB, sector count = 128</div><div>Flash:  8 MB</div><div>Using default environment</div>
<div><br></div><div>PCIe Reset OK!!!!!!</div><div>In:    serial</div><div>Out:   serial</div><div>Err:   serial</div><div>Net:   ag934x_enet_initialize...</div><div>No valid address in Flash. Using fixed address</div><div>
 wasp  reset mask:c03300</div><div>WASP  ----&gt; S17 PHY *</div><div>: cfg1 0x7 cfg2 0x7114</div><div>eth0: ba:be:fa:ce:08:41</div><div>athrs17_reg_init: complete</div><div>eth0 up</div><div>eth0</div><div>dup 1 speed 1000</div>
<div>Using eth0 device</div><div>TFTP from server 192.168.0.66; our IP address is 192.168.0.86</div><div>Filename &#39;wdr3600v1_tp_recovery.bin&#39;.</div><div>Load address: 0x80060000</div><div>Loading: T T T T T #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div>
<div>         #################################################################</div><div>         #################################################################</div><div>         ############################</div><div>
done</div><div>Bytes transferred = 8126464 (7c0000 hex)</div><div>original_product_id = 36000001</div><div> original_product_ver = 01</div><div> recovery_product_id = 36000001</div><div> recovery_product_ver = 01</div><div>
 auto update firmware: product id verify sucess!</div><div><br></div><div>First 0x2 last 0x7d sector size 0x10000</div><div> 125</div><div>Erased 124 sectors</div><div>Copy to Flash... write addr: 9f020000</div><div>done</div>
<div><br></div><div>U-Boot 1.1.4 (Sep  9 2013 - 14:28:41)</div><div><br></div><div>U-boot DB120</div><div><br></div><div><br></div><div>DRAM:  128 MB</div><div>id read 0x100000ff</div><div>flash size 8MB, sector count = 128</div>
<div>Flash:  8 MB</div><div>Using default environment</div><div><br></div><div>PCIe Reset OK!!!!!!</div><div>In:    serial</div><div>Out:   serial</div><div>Err:   serial</div><div>Net:   ag934x_enet_initialize...</div><div>
No valid address in Flash. Using fixed address</div><div> wasp  reset mask:c03300</div><div>WASP  ----&gt; S17 PHY *</div><div>: cfg1 0x7 cfg2 0x7114</div><div>eth0: ba:be:fa:ce:08:41</div><div>athrs17_reg_init: complete</div>
<div>eth0 up</div><div>eth0</div><div>Autobooting in 1 seconds</div><div>## Booting image at 9f020000 ...</div><div>   Uncompressing Kernel Image ... OK</div><div><br></div><div>Starting kernel ...</div><div><br></div><div>
Booting Atheros AR934x</div><div>Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Wed Mar 20 15:14:56 CST 2013</div><div>Ram size passed from bootloader =128M</div><div>flash_size passed from bootloader = 8</div>
<div>CPU revision is: 0001974c (MIPS 74Kc)</div><div>ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 450 ahb 225</div><div>Determined physical RAM map:</div><div> memory: 08000000 @ 00000000 (usable)</div><div>Zone PFN ranges:</div>
<div>  Normal   0x00000000 -&gt; 0x00008000</div><div>Movable zone start PFN for each node</div><div>early_node_map[1] active PFN ranges</div><div>    0: 0x00000000 -&gt; 0x00008000</div><div>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512</div>
<div>Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M</div><div>PID hash table entries: 512 (order: 9, 2048 bytes)</div>
<div>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)</div><div>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)</div><div>Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.</div><div>
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes</div><div>Writing ErrCtl register=00000000</div><div>Readback ErrCtl register=00000000</div><div>Memory: 112924k/131072k available (1852k kernel code, 17984k reserved, 428k data, 120k init, 0k highmem)</div>
<div>NR_IRQS:128</div><div>plat_time_init: plat time init done</div><div>Calibrating delay loop... 279.55 BogoMIPS (lpj=559104)</div><div>Mount-cache hash table entries: 512</div><div><br></div><div>****************ALLOC***********************</div>
<div> Packet mem: 8026c4c0 (0xe00000 bytes)</div><div>********************************************</div><div><br></div><div>NET: Registered protocol family 16</div><div>PCI init:ath_pcibios_init</div><div>ath_pcibios_init(294): PCI CMD write: 0x356</div>
<div>registering PCI controller with io_map_base unset</div><div>bio: create slab &lt;bio-0&gt; at 0</div><div>pci 0000:00:00.0: PME# supported from D0 D1 D3hot</div><div>pci 0000:00:00.0: PME# disabled</div><div>Returning IRQ 64</div>
<div>NET: Registered protocol family 2</div><div>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)</div><div>TCP established hash table entries: 4096 (order: 3, 32768 bytes)</div><div>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)</div>
<div>TCP: Hash tables configured (established 4096 bind 4096)</div><div>TCP reno registered</div><div>NET: Registered protocol family 1</div><div>ATH GPIOC major 0</div><div>squashfs: version 4.0 (2009/01/31) Phillip Lougher</div>
<div>msgmni has been set to 220</div><div>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)</div><div>io scheduler noop registered</div><div>io scheduler deadline registered (default)</div><div>Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled</div>
<div>serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A</div><div>console [ttyS0] enabled</div><div>PPP generic driver version 2.4.2</div><div>NET: Registered protocol family 24</div><div>5 cmdlinepart partitions found on MTD device ath-nor0</div>
<div>Creating 5 MTD partitions on &quot;ath-nor0&quot;:</div><div>0x000000000000-0x000000020000 : &quot;u-boot&quot;</div><div>0x000000020000-0x000000120000 : &quot;kernel&quot;</div><div>0x000000120000-0x0000007e0000 : &quot;rootfs&quot;</div>
<div>0x0000007e0000-0x0000007f0000 : &quot;config&quot;</div><div>0x0000007f0000-0x000000800000 : &quot;ART&quot;</div><div>-&gt;Oops: flash id 0xef4017 .</div><div>----TP IGMP has been init------</div><div>TCP cubic registered</div>
<div>NET: Registered protocol family 10</div><div>NET: Registered protocol family 17</div><div>802.1Q VLAN Support v1.8 Ben Greear &lt;<a href="mailto:greearb@candelatech.com">greearb@candelatech.com</a>&gt;</div><div>All bugs added by David S. Miller &lt;<a href="mailto:davem@redhat.com">davem@redhat.com</a>&gt;</div>
<div>athwdt_init: Registering WDT success</div><div>ath_otp_init: Registering OTP success</div><div>ath_clksw_init: Registering Clock Switch Interface success</div><div>VFS: Mounted root (squashfs filesystem) readonly on device 31:2.</div>
<div>Freeing unused kernel memory: 120k freed</div><div>init started:  BusyBox v1.01 (2013.02.27-07:39+0000) multi-call binary</div><div>This Board use 2.6.31</div><div>insmod: cannot open module `/lib/modules/2.6.31/kernel/x_tables.ko&#39;: No such file or directory</div>
<div>insmod: cannot open module `/lib/modules/2.6.31/kernel/xt_tcpudp.ko&#39;: No such file or directory</div><div>xt_time: kernel timezone is -0000</div><div>nf_conntrack version 0.5.0 (2048 buckets, 8192 max)</div><div>
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use</div><div>nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or</div><div>sysctl net.netfilter.nf_conntrack_acct=1 to enable it.</div>
<div>ip_tables: (C) 2000-2006 Netfilter Core Team</div><div>insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko&#39;: No such file or directory</div><div>insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko&#39;: No such file or directory</div>
<div>PPPoL2TP kernel driver, V1.0</div><div>PPTP driver version 0.8.3</div><div>insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko&#39;: No such file or directory</div><div><br></div><div> (none) mips #1 Wed Mar 20 15:14:56 CST 2013 (none)</div>
<div>(none) login: Now flash open!</div><div>Now flash open!</div><div>Now flash open!</div><div>Now flash open!</div><div>Now flash open!</div><div>Erase from 0X7E0000 to 0X7EFC80:.</div><div>Program from 0X7E0000 to 0X7EFC80:</div>
<div>write successfully</div><div>Now flash open!</div><div>Now flash open!</div><div>Erase from 0X7E0000 to 0X7EFC80:.</div><div>Program from 0X7E0000 to 0X7EFC80:</div><div>write successfully</div><div>Now flash open!</div>
<div>Erase from 0X7E0000 to 0X7EFC80:.</div><div>Program from 0X7E0000 to 0X7EFC80:</div><div>write successfully</div><div>ATHR_GMAC: Length per segment 1536</div><div>ATHR_GMAC: fifo cfg 3 01f00140</div><div>ATHR_GMAC: RX TASKLET - Pkts per Intr:100</div>
<div>ATHR_GMAC: Mac address for unit 0:bfff0000</div><div>ATHR_GMAC: ff:ff:ff:ff:ff:ff</div><div>ATHR_GMAC: Max segments per packet :   1</div><div>ATHR_GMAC: Max tx descriptor count :   128</div><div>ATHR_GMAC: Max rx descriptor count :   128</div>
<div>ATHR_GMAC: Mac capability flags    :   2381</div><div>athr_gmac_ring_alloc Allocated 2048 at 0x87af3000</div><div>athr_gmac_ring_alloc Allocated 2048 at 0x87a6f800</div><div>WASP  ----&gt; S17 PHY *</div><div>Setting Drop CRC Errors, Pause Frames and Length Error frames</div>
<div>Hello, nat module!</div><div>thread: napt_ct_scan create success pid:108</div><div>netlink_kernel_create succeeded at tp_rule_nl_prot: [29]</div><div>isis_ip_intf_entry_add id[0] for vid[1]</div><div>isis_ip_intf_entry_add id[1] for vid[2]</div>
<div>ACL(Index 0) For packet From Wan Port and TTL is zero</div><div>ACL is not yet enabled. Enabling...</div><div>ACL Rule(Index 2) For UDP with Zero Checksum</div><div><br></div><div>######## S17 SSDK init succeeded! ########</div>
<div>++++ athrs17_igmp_setup once</div><div>athrs17_reg_init:done</div><div>Setting PHY...</div><div>napt_ct_scan_thread: time: 4</div><div>ADDRCONF(NETDEV_UP): eth0: link is not ready</div><div>device eth0.1 entered promiscuous mode</div>
<div>device eth0 entered promiscuous mode</div><div>Now flash open!</div><div>Receive unknown msgType:10 at isis_nat_helper.2631.c:2930/tp_rule_netlink()!</div><div>isis_ip_intf_entry_add id[1] for vid[2]</div><div>br0: port 1(eth0.1) entering forwarding state</div>
<div>ACL Rule(Index 1) For Packet From WAN to LAN Port And DIP is in lan net</div><div>nf_conntrack_rtsp v0.6.21 loading</div><div>nf_nat_rtsp v0.6.21 loading</div><div><br></div><div>Enet:0 port4 up</div><div>ATH_MAC_TIMER: enet unit:0 is up...</div>
<div>RGMii 1000Mbps full duplex</div><div>ATH_MAC_TIMER: done cfg2 0x7215 ifctl 0x0 miictrl</div><div>ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready</div><div>asf: module license &#39;Proprietary&#39; taints kernel.</div>
<div>Disabling lock debugging due to kernel taint</div><div>ath_hal: 0.9.17..1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)</div><div>ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved</div>
<div>ath_dfs: Version 2.0.0</div><div>Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved</div><div>ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved</div><div>ath_ahb: 9.2..0_U10.1020 (Atheros/multi-bss)</div>
<div>__ath_attach: Set global_scn[0]</div><div>ACBKMinfree = 48</div><div>ACBEMinfree = 32</div><div>ACVIMinfree = 16</div><div>ACVOMinfree = 0</div><div>CABMinfree = 48</div><div>UAPSDMinfree = 0</div><div>Restoring Cal data from Flash</div>
<div>dfs_attach: use DFS enhancements</div><div>DFS min filter rssiThresh = 18</div><div>DFS max pulse dur = 151 ticks</div><div>ath_get_caps[5108] rx chainmask mismatch actual 3 sc_chainmak 0</div><div>ath_get_caps[5083] tx chainmask mismatch actual 3 sc_chainmak 0</div>
<div>SC Callback Registration for wifi0</div><div>wifi0: Atheros 9340: mem=0xb8100000, irq=2</div><div>ath_pci: 9.2.0_U10.1020 (Atheros/multi-bss)</div><div>__ath_attach: Set global_scn[1]</div><div>ACBKMinfree = 48</div>
<div>ACBEMinfree = 32</div><div>ACVIMinfree = 16</div><div>ACVOMinfree = 0</div><div>CABMinfree = 48</div><div>UAPSDMinfree = 0</div><div>Restoring Cal data from Flash</div><div>dfs_attach: use DFS enhancements</div><div>
DFS min filter rssiThresh = 18</div><div>DFS max pulse dur = 151 ticks</div><div>ath_get_caps[5108] rx chainmask mismatch actual 3 sc_chainmak 0</div><div>ath_get_caps[5083] tx chainmask mismatch actual 3 sc_chainmak 0</div>
<div>SC Callback Registration for wifi1</div><div>wifi1: Atheros 9580: mem=0x10000000, irq=64 hw_base=0xb0000000</div><div>wlan_vap_create : enter. devhandle=0x87bd82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1</div><div>wlan_vap_create : exit. devhandle=0x87bd82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.</div>
<div>VAP device ath0 created</div><div><br></div><div> DES SSID SET=TP-LINK_2.4GHz_B69685</div><div> ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1</div><div>device ath0 entered promiscuous mode</div>
<div>br0: port 2(ath0) entering forwarding state</div><div> ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1</div><div>br0: port 2(ath0) entering disabled state</div><div><br></div><div> DES SSID SET=TP-LINK_2.4GHz_B69685</div>
<div>br0: port 2(ath0) entering forwarding state</div><div>br0: port 2(ath0) entering disabled state</div><div>br0: starting userspace STP failed, starting kernel STP</div><div>br0: topology change detected, propagating</div>
<div>br0: port 2(ath0) entering forwarding state</div><div>wlan_vap_create : enter. devhandle=0x86c802c0, opmode=IEEE80211_M_HOSTAP, flags=0x1</div><div>wlan_vap_create : exit. devhandle=0x86c802c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.</div>
<div>VAP device ath1 created</div><div><br></div><div> DES SSID SET=TP-LINK_5GHz_B69686</div><div> ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1</div><div>Found best 11na chan: 44</div><div>br0: port 1(eth0.1) entering disabled state</div>
<div>br0: topology change detected, propagating</div><div>br0: port 1(eth0.1) entering forwarding state</div><div>device ath1 entered promiscuous mode</div><div>br0: topology change detected, propagating</div><div>br0: port 3(ath1) entering forwarding state</div>
<div> ieee80211_ioctl_siwmode: imr.ifm_active=852608, new mode=3, valid=1</div><div>br0: port 3(ath1) entering disabled state</div><div><br></div><div> DES SSID SET=TP-LINK_5GHz_B69686</div><div>br0: topology change detected, propagating</div>
<div>br0: port 3(ath1) entering forwarding state</div><div>br0: port 3(ath1) entering disabled state</div><div>br0: topology change detected, propagating</div><div>br0: port 3(ath1) entering forwarding state</div><div>fuse init (API version 7.12)</div>
<div>usbcore: registered new interface driver usbfs</div><div>usbcore: registered new interface driver hub</div><div>usbcore: registered new device driver usb</div><div>ehci_hcd: USB 2.0 &#39;Enhanced&#39; Host Controller (EHCI) Driver</div>
<div>Port Status 1c000004</div><div>ath-ehci ath-ehci.0: ATH EHCI</div><div>ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1</div><div>ehci_reset Intialize USB CONTROLLER in host mode: 13</div><div>ehci_reset Port Status 1c000000</div>
<div>ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000</div><div>ehci_reset Intialize USB CONTROLLER in host mode: 13</div><div>ehci_reset Port Status 1c000000</div><div>ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00</div><div>
usb usb1: configuration #1 chosen from 1 choice</div><div>hub 1-0:1.0: USB hub found</div><div>hub 1-0:1.0: 1 port detected</div><div>SCSI subsystem initialized</div><div>usb 1-1: new high speed USB device using ath-ehci and address 2</div>
<div>usb 1-1: configuration #1 chosen from 1 choice</div><div>hub 1-1:1.0: USB hub found</div><div>hub 1-1:1.0: 4 ports detected</div><div>Initializing USB Mass Storage driver...</div><div>usbcore: registered new interface driver usb-storage</div>
<div>USB Mass Storage support registered.</div><div> GPL NetUSB up!</div><div>kc   86 : run_telnetDBGDServer start</div><div>kc  223 : init_DebugD end</div><div>INFO1758: NetUSB 1.184, 0002061F : May  7 2012 10:36:59</div>
<div>INFO175A:  AUTH ISOC</div><div>INFO175B:</div><div>usbcore: registered new interface driver KC NetUSB General Driver</div><div>INFO0076:  init proc : PAGE_SIZE 4096</div><div>INFO17B4: Check mac address</div><div>INFO162C:  infomap 8654c220</div>
<div>INFO162F:  sleep to wait br0 to wake up</div><div>INFO02D0:  use dev Name br0</div><div>INFO1638:  sleep to wait br0 end.</div><div>INFO1651:  UDP_BROAD 7437 tcpPort:625868800</div><div>INFO02D0:  use dev Name br0</div>
<div>INFO1538: tcpConnector() started...</div><div>TP_RULE_NAT:enable hardware nat</div><div>IPv6 over IPv4 tunneling driver</div><div>(tp_mroute_enable_write)140, tp_mroute_enable = 1</div><div>INFO1415: Bind to br0
Continue Reading

TP-Link WDR3600 N600 Serial

When adding a serial header to the board of a WDR3600 and using the same RS232 TTL converter as with the WDR4300 I found the output was all garbage. I re-soldered the connectors several times but the output remained unchanged.

 
After some investigation I found that a TTL UART converter is required so I ordered one from ebay titled
 
USB 2.0 to TTL UART 6PIN CP2102 Module Serial Connector Converter Adaptor Cable

 
 
which arrived today, inserting into my Windows 7 laptop the appropriate device driver could not be found for it, after some further investigation I found the correct one for it which i've made available from here
 
 
Other windows versions and os's are also available to download from
 
The converter which worked with the WDR4300 but not the WDR3600 is titled
 
MAX232 RS232 Serial To TTL Output Converter Board RXD TXD RTS CTS F PIC Atmel

 
 
and the output from it was 
 
n&sup3;&Ocirc;IX&eth;z&aring;y&yuml;&thorn;&ntilde;0~`&yuml;!&iexcl; =&auml;&thorn;@}&uuml;?Kx&eth;&eth;&yacute;&deg;</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0v&Acirc;&uuml;&uuml;&thorn;&ograve;&yacute;&Egrave;P&oslash;&eth;&Agrave; &iacute;x&oslash;T&Auml;</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0@L&oslash;&eth;&gt;&yacute;&deg;08 &egrave;T&ouml;u&Agrave;&agrave;@&Agrave;&agrave;&auml;&igrave;&deg;o &deg;&yacute;$&ocirc;&Agrave;&egrave;&ETH;&Iuml;</div>

<div>&Agrave;&Auml; &Eacute;&eth;&thorn;&otilde;&auml;&Auml;&deg;&agrave;&oslash;8&ocirc;9&oslash;:pHHT&Agrave;?h&ETH;&atilde;&Agrave;8d&uacute;8:(&thorn; 9&atilde;&Agrave;xd8`&Uuml;&ETH;&Atilde;&oslash;&Agrave;&eth;&oslash;&Agrave;&Agrave;&ETH;@(&Ecirc;&iuml;z&Agrave;n&uml;&Acirc;#&icirc;&Eacute;&Acirc;&agrave;~r `&Agrave;)1&eth;@&Igrave;&auml;&Agrave;0&#39;&eth;&lt;8&Agrave;a0&agrave;`9&thorn;&oslash;</div>

<div>&nbsp;</div>

<div>8P~`d&ccedil;80&thorn;A &Agrave;&ucirc;&oslash;&uuml;&eth; &frac14;&atilde;&agrave;d8x980@&oacute;&oslash;</div>

<div>&Agrave;
 
Using the TTL UART converter output was as expected
 
U-Boot 1.1.4 (Sep &nbsp;9 2013 - 14:28:41)</div>

<div>&nbsp;</div>

<div>U-boot DB120</div>

<div>&nbsp;</div>

<div>DRAM: &nbsp;128 MB</div>

<div>id read 0x100000ff</div>

<div>flash size 8MB, sector count = 128</div>

<div>Flash: &nbsp;8 MB</div>

<div>Using default environment</div>

<div>&nbsp;</div>

<div>PCIe Reset OK!!!!!!</div>

<div>In: &nbsp; &nbsp;serial</div>

<div>Out: &nbsp; serial</div>

<div>Err: &nbsp; serial</div>

<div>Net: &nbsp; ag934x_enet_initialize...</div>

<div>No valid address in Flash. Using fixed address</div>

<div>&nbsp;wasp &nbsp;reset mask:c03300</div>

<div>WASP &nbsp;----&gt; S17 PHY *</div>

<div>: cfg1 0x7 cfg2 0x7114</div>

<div>eth0: ba:be:fa:ce:08:41</div>

<div>athrs17_reg_init: complete</div>

<div>eth0 up</div>

<div>eth0</div>

<div>Autobooting in 1 seconds</div>

<div>## Booting image at 9f020000 ...</div>

<div>&nbsp; &nbsp;Uncompressing Kernel Image ... OK</div>

<div>&nbsp;</div>

<div>Starting kernel ...</div>

<div>&nbsp;</div>

<div>Booting Atheros AR934x</div>

<div>[ &nbsp; &nbsp;0.000000] Linux version 2.6.31--LSDK-9.2.0_U6.616 (tplink@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Mon Sep 9 14:32:03 CST 2013</div>

<div>[ &nbsp; &nbsp;0.000000] Ram size passed from bootloader =128M</div>

<div>[ &nbsp; &nbsp;0.000000] flash_size passed from bootloader = 8</div>

<div>[ &nbsp; &nbsp;0.000000] CPU revision is: 0001974c (MIPS 74Kc)</div>

<div>[ &nbsp; &nbsp;0.000000] ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 450 ahb 225</div>

<div>[ &nbsp; &nbsp;0.000000] Determined physical RAM map:</div>

<div>[ &nbsp; &nbsp;0.000000] &nbsp;memory: 08000000 @ 00000000 (usable)</div>

<div>[ &nbsp; &nbsp;0.000000] Zone PFN ranges:</div>

<div>[ &nbsp; &nbsp;0.000000] &nbsp; Normal &nbsp; 0x00000000 -&gt; 0x00008000</div>

<div>[ &nbsp; &nbsp;0.000000] Movable zone start PFN for each node</div>

<div>[ &nbsp; &nbsp;0.000000] early_node_map[1] active PFN ranges</div>

<div>[ &nbsp; &nbsp;0.000000] &nbsp; &nbsp; 0: 0x00000000 -&gt; 0x00008000</div>

<div>[ &nbsp; &nbsp;0.000000] Built 1 zonelists in Zone order, mobility grouping on. &nbsp;Total pages: 32512</div>

<div>[ &nbsp; &nbsp;0.000000] Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M
Continue Reading

NAS down! NAS down!

My home nas has decided to die for the second time, good job I keep a cold spare. I've swapped the drives over and the raid is currently rebuilding. I am now on my third shuttle so thinking I will replace it with a HP N54L Microserver and be done with it, just need to wait for one of their cashback offers to crop up then I'll buy one.
Continue Reading