Orbi WiFi 7 RBE973
Reply

Rif.: New firmware with built in Torrent Client

ittroll
Apprentice

Re: New firmware with built in Torrent Client


@richud wrote:

Firmware

DGND3x00_2016-04-10_09:49.tar.xz


 

Many thanks for the update and your continued work on this. My 3700 has been rock solid since your last Genie release and so I am hoping for more of the same. Smiley Happy

Message 1001 of 1,478
GreyKat
Aspirant

Re: New firmware with built in Torrent Client

Hi All,

 

I own DGND3800B Annex B (German version) and wanted to try this custom firmware.

But, unfortunately, there is some issue with MTD mapping, rootfs cannout be mounted and kernel panic occurs.

 

Anybody has any ideas how to fix it?

 

Below is the full output: 

 

DGND3800B Boot Code V1.0.10
CFE version 1.0.37-104.4 for BCM96368 (32bit,SP,BE)
Build Date: Mon Jan 13 16:53:32 CST 2014 (finerain@SW-server)
Copyright (C) 2000-2009 Broadcom Corporation.

Parallel flash device: name AM29LV320MT, id 0x2201 size 32768KB
Total Flash size: 32768K with 256 sectors
ethsw: found bcm53115!
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 134217728 bytes (128MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.100  
Gateway IP address                :   
Run from flash/host (f/h)         : f  
Default host run file name        : vmlinux  
Default host flash file name      : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)          : 1  
Board Id (0-11)                   : 96368MVWG  
Number of MAC Addresses (1-32)    : 10  
Base MAC Address                  : c4:04:15:XX:XX:XX  
PSI Size (1-64) KBytes            : 24  
Enable Backup PSI [0|1]           : 0  
System Log Size (0-256) KBytes    : 0  
Main Thread Number [0|1]          : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x80010000, Entry Address: 0x803b1000
Decompression OK!
Entry at 0x803b1000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x803b1000
Linux version 2.6.21.5 (rich@PortegeR830) (gcc version 4.2.3) #1 Sun Apr 10 09:50:34 BST 2016
Parallel flash device: name AM29LV320MT, id 0x2201 size 32768KB
96368MVWG prom init
CPU revision is: 0002a031
Determined physical RAM map:
 memory: 07ece000 @ 00000000 (usable)
On node 0 totalpages: 32462
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 221 pages used for memmap
  Normal zone: 28145 pages, LIFO batch:7
Built 1 zonelists.  Total pages: 32209
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
brcm mips: enabling icache and dcache...
Primary instruction cache 64kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (21 instructions).
Synthesized TLB load handler fastpath (33 instructions).
Synthesized TLB store handler fastpath (33 instructions).
Synthesized TLB modify handler fastpath (32 instructions).
PID hash table entries: 512 (order: 9, 2048 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 124564k/129848k available (3027k kernel code, 5204k reserved, 684k data, 104k init, 0k highmem)
KLOB Pool 1 Initialized: 1048576 bytes <0x80c00000 ... 0x80d00000>
Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
wait instruction: enabled
NET: Registered protocol family 16
Total Flash size: 32768K with 256 sectors
registering PCI controller with io_map_base unset
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
BLOG v2.1 Initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
io scheduler cfq registered
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
physmap platform flash device: 02000000 at b8000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
  Unknown Amd/Fujitsu Extended Query version 1.5.
gen_probe: No supported Vendor Command Set found
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 17 MTD partitions on "physmap-flash.0":
0x02000100-0xedf80000 : "rootfs"
mtd: partition "rootfs" is out of reach -- disabled
0x02000000-0xedf80000 : "fw_upgrade"
mtd: partition "fw_upgrade" is out of reach -- disabled
0xedf80000-0xeff80000 : "SP"
mtd: partition "SP" is out of reach -- disabled
0xeff80000-0xf1f80000 : "MISC"
mtd: partition "MISC" is out of reach -- disabled
0xf1f80000-0xf3f80000 : "DPF"
mtd: partition "DPF" is out of reach -- disabled
0xf3f80000-0xf5f80000 : "T_Meter1"
mtd: partition "T_Meter1" is out of reach -- disabled
0xf5f80000-0xf7f80000 : "T_Meter2"
mtd: partition "T_Meter2" is out of reach -- disabled
0xf7f80000-0xf9f80000 : "ST_Turkey"
mtd: partition "ST_Turkey" is out of reach -- disabled
0xf9f80000-0xfbf80000 : "ST_Russian"
mtd: partition "ST_Russian" is out of reach -- disabled
0xfbf80000-0xfdf80000 : "POT"
mtd: partition "POT" is out of reach -- disabled
0xfdf80000-0xfdfa0000 : "ST_German"
mtd: partition "ST_German" is out of reach -- disabled
0xfdfa0000-0xfdfc0000 : "ST_Other"
mtd: partition "ST_Other" is out of reach -- disabled
0xfdfc0000-0xfdfe0000 : "ST_English"
mtd: partition "ST_English" is out of reach -- disabled
0xfdfe0000-0xfe000000 : "ST_Portuguese"
mtd: partition "ST_Portuguese" is out of reach -- disabled
0xfe000000-0x00000000 : "board_data"
mtd: partition "board_data" is out of reach -- disabled
0x00000000-0x02000000 : "nvram"
0x00000000-0x02000000 : "whole_flash"
bcm963xx_mtd driver v1.0
File system address: 0xb8020100
Broadcom DSL NAND controller (BrcmNand Controller)
i=0, CS[0] = 0
brcmnand_probe: CS0: dev_id=01f1001d
NAND Config: Reg=75042200, chipSize=128 MB, blockSize=512K, erase_shift=13
busWidth=1, pageSize=2048B, page_shift=11, page_mask=000007ff
timing1 not adjusted: 5363444f
timing2 not adjusted: 00000fc6
BrcmNAND mfg 1 f1 SPANSION_S30ML01GP_08 128MB

Found NAND: ACC=d3000000, cfg=75042200, flashId=01f1001d, tim1=5363444f, tim2=00000fc6
BrcmNAND version = 0x0201 128MB @00000000
brcmnand_probe: CS0: dev_id=01f1001d
1. Found NAND chip on Chip Select 0, chipSize=128MB, usable size=128MB, base=0x00000000
brcmnand_scan: B4 nand_select = 40000002
brcmnand_scan: After nand_select = 40000002
page_shift=11, bbt_erase_shift=19, chip_shift=27, phys_erase_shift=19
Brcm NAND controller version = 2.1 NAND flash size 128MB @16000000
brcmnand_scan:  mtd->oobsize=64
brcmnand_scan: oobavail=50, eccsize=512, writesize=2048
brcmnand_scan, eccsize=512, writesize=2048, eccsteps=4, ecclevel=15, eccbytes=3
brcmnand_default_bbt: bbt_td = bbt_main_descr
Bad block table found at page 65280, version 0xFF
Bad block table found at page 65024, version 0xFF
    numchips=1, size=8000000
Creating 1 MTD partitions on "bcm63xx-nand.0":
0x00000000-0x08000000 : "storage"
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:0a.0 to 64
ehci_hcd 0000:00:0a.0: EHCI Host Controller
ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.0: irq 15, io mem 0x10001500
ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:09.0 to 64
ohci_hcd 0000:00:09.0: OHCI Host Controller
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:09.0: irq 13, io mem 0x10001600
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry

===>brcm_board_init: GPIO->GPIOBaseMode=0x3b000

===>brcm_board_init: GPIO->GPIOMode=0x1f0003
Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xb0000100 (irq = 10) is a BCM63XX
ttyS1 at MMIO 0xb0000120 (irq = 11) is a BCM63XX
bcmxtmrt: Broadcom BCM6368B2 ATM/PTM Network Device v0.3 Apr 10 2016 09:49:46
netem: version 1.2
u32 classifier
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
6WIND/LSIIT IPv6 multicast forwarding 0.1 plus PIM-SM/SSM with *BSD API
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
Initializing MCPD Module
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
end_request: I/O error, dev mtdblock0, sector 2
EXT3-fs: unable to read superblock
end_request: I/O error, dev mtdblock0, sector 2
EXT4-fs: unable to read superblock
end_request: I/O error, dev mtdblock0, sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev mtdblock0, sector 0
SQUASHFS error: sb_bread failed reading block 0x0
end_request: I/O error, dev mtdblock0, sector 0
FAT: unable to read boot sector
VFS: Cannot open root device "31:0" or unknown-block(31,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
Rebooting in 1 seconds..

 

Model: DGND3800B|N600 Wireless Dual Band Gigabit VDSL2 Modem Router
Message 1002 of 1,478
w3wilkes
Prodigy

Re: New firmware with built in Torrent Client

@richud, Finally got a window and the time to load up the current 4-10 version and all appears to be well, thanks! This was actually the first time the router has been booted since mid December so I'm expecting this same level of availability. Again, thanks for all that you've done.

Message 1003 of 1,478
Aircomms
Aspirant

Re: New firmware with built in Torrent Client

Can anyone tell how to disable ad-block once it is run. I unticked the box but the block file remains. I am unsure how to remove it.

Message 1004 of 1,478
w3wilkes
Prodigy

Re: New firmware with built in Torrent Client

Are you saying the ads are still being blocked or just that the block file is still there? Have you tried rebooting the device?

Message 1005 of 1,478
GreyKat
Aspirant

Re: New firmware with built in Torrent Client


2015-05-13 11:34 PM @richud wrote:


@nicefile, looks like those flash areas have the wrong addresses. Supposed to be between 0x00000000-0x02000000 and yours appears to be trying to start above that. Have you tried flashing it again? Looks like something screwed up with the process. ax0r7ag0z seemed to flash it ok on his 3800 from what he said.

I just tried to flash different versions of original firmware and noticed, the same issue with build V3.0.0.8 and below. From V3.0.0.10 and higher is OK.

 

Is it possible that the reason is different boot loader versions?

 

Here is:

DGND3700 Boot Code V1.0.8
CFE version 1.0.37-104.4 for BCM96368 (32bit,SP,BE)
Build Date: Mon Feb 21 17:59:46 CST 2011 (finerain@moonlight)
Copyright (C) 2000-2009 Broadcom Corporation.

and in my router:

DGND3800B Boot Code V1.0.10
CFE version 1.0.37-104.4 for BCM96368 (32bit,SP,BE)
Build Date: Mon Jan 13 16:53:32 CST 2014 (finerain@SW-server)
Copyright (C) 2000-2009 Broadcom Corporation.
Model: DGND3800B|N600 Wireless Dual Band Gigabit VDSL2 Modem Router
Message 1006 of 1,478
mauriva
Guide

Rif.: New firmware with built in Torrent Client

Hi!

I use richud firmware on my DGND3700v1 since Genie version (now on 2016-04-10).

Since the first flash I got several problems with my P2P clients (emule and tixati for torrent).

If I use one of these on for several ours (not both!), the internet connection becomes very slow.

I must do a reboot of the router to return to normality.

I don't use an aggressive configurations for the client: for example, I leave the defaults for tixati...

Never had this problems with original firmware.

 

Another strange thing.

When I open my emule client first time after a router reboot, the ports are open (high ID), but if I use for several ours the client, close it and reopen, the ports are closed (without any changes in my router configuration).

 

I don't know how investigate this problems: are firmware related or are wrong configurations of the clients?

Message 1007 of 1,478
Giaki
Aspirant

Rif.: New firmware with built in Torrent Client

I got the same problems of mauriva with emule, problems that I haven't got in the previous releases
Message 1008 of 1,478
ogeid79
Aspirant

Rif.: New firmware with built in Torrent Client

After update with the latest firmware (2016.04.10-Annex A) my Netgear DGND3700v1 don't show my USB Disk connected anymore..... there is some fix for solving the problem?

Is possible to return to Oem Firmware? Because in the new Genie interface i don't find the update section....

Thank you very much

Message 1009 of 1,478
w3wilkes
Prodigy

Rif.: New firmware with built in Torrent Client

Update is located at Advanced tab -> Administration - Logs -> Router Update.

 

For attached USB disk access did you enable it? Settings are at Advanced tab -> Media Sharing. Try enabling NFS and SMB/CIFS.

Message 1010 of 1,478
ogeid79
Aspirant

Rif.: New firmware with built in Torrent Client

Thank you very much for your answer! I enable NFS and SMB/CIFS but still not working... I think that is possible the problem is driver of usb disk, the disk in an usb Western Digital 500GB 2,5" and with original firmware it work...

I can try with another type of Hdd... 

 

Message 1011 of 1,478
ittroll
Apprentice

Rif.: New firmware with built in Torrent Client

Is the WAN-to-LAN reassignment working OK on the GENIE firmware? This worked for me on the old firmware but isn't doing anything for me now (I don't have call to use it very often). I tried removing and reapplying the setting which it did without error.

Message 1012 of 1,478
w3wilkes
Prodigy

Rif.: New firmware with built in Torrent Client

WAN to LAN is working fine for me. Don't know if it matters, my Internet / ADSL interface setting is set to WAN1. In Advanced - ADSL Settings I also have checked Enable This Interface.

Message 1013 of 1,478
ittroll
Apprentice

Rif.: New firmware with built in Torrent Client

OK thanks, must be something I am doing then. I also have the WAN1 setting enabled (I am using BT Fibre). The port shows a link light but it don't see a device in ARP.

Message 1014 of 1,478
Troopy
Aspirant

Re: New firmware with built in Torrent Client

Hi richud

 

I having been using your pre genie firmware with sky fibre without any problems and decided to try the newer Genie version however i cant get it to work now with sky.

One major thing i did notice was when entering the DHCP Client Extra Options i got a warning about incorrect characters and it would put the txt in with extra characters at the begining with -x 0x3d: i believe the space was the problem.

Message 1015 of 1,478
richud
Apprentice

Re: New firmware with built in Torrent Client

@mauriva, @Giaki sorry I don't know...generally as you probably know, when the NAT table gets full it will start to all go slow, but nothing should have changed between firmware (or nothing I have changed anyway)

 

These are the defaults, you can perhaps try altering them on the router to make the timeouts quicker/ different window sizes.
(Actually I think there were previously only set starting Transmission, not system default as now - but they should help not hinder the NAT table getting too big)

 

#network defaults
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
echo 300 > /proc/sys/net/ipv4/tcp_keepalive_time
echo 4194304 > /proc/sys/net/core/rmem_max
echo 4194304 > /proc/sys/net/core/wmem_max

 

You could also try fiddling with the QoS (bitbucket size)  too, search on wiki for 'tc qdisc'

 

Are you interested in a eMule client in the firmware, I was contemplating it a while ago but no one ever mentioned wanting it?

 

@ogeid79, look at the system log for things relating to USB, you should initially see it connect and then mount - without pasting the relevant bits to look at I can't really help.

 

@ittroll: should be, works ok for me, device on other end (Kodi box) shows up in ARP, pings etc.

 

@Troopy: I just double checked what it filters - it allows anything between ascii char (in hex) of \x20-\x7E , which is space to a tilde.
I can only assume you have a tab or newline or something in there, have you cut n' pasted it?

Model: DGND3700v1|N600 WIRELESS DUAL BAND GIGABIT ADSL2+ MODEM ROUTER
Message 1016 of 1,478
jackal992
Aspirant

Re: New firmware with built in Torrent Client

Hi @richud !

It would be very nice to have an eMule client integrated in the firmware!

I also saw that the newest Genie firmware have what is called "Netgear downloader" that allow to download files via Bit Torrent, Emule, or via FTP/HTTP links (as shown at http://kb.netgear.com/app/answers/detail/a_id/26250/~/how-to-configure-the-netgear-downloader-featur...), so also the FTP/HTTP download option would be a very nice addition! 

 

Thank you again for all your work on this firmware!!

Message 1017 of 1,478
Troopy
Aspirant

Re: New firmware with built in Torrent Client

 Hi richud

 

Yes i copied and pasted it and also tried by typing it, this is what i did in the pre Genie firmware and get a pop up that says

"The account name or domain name contains illegal characters.this may cause the system to behave unexpectedly"

If for instance i copy -x 0x3d:757365726e616d6540736b7964736c7c70617373776f7264

i then get          -x&#32;0x3d:757365726e616d6540736b7964736c7c70617373776f7264

 

This is how i did it in the older firmware is it wrong?

 

cheers

Message 1018 of 1,478
GForce007
Aspirant

Re: New firmware with built in Torrent Client

I have noticed that when my ADSL2+ connection drops out, it regains the connection however does not properly sync/authenticate until I restart the modem/reapply some settings to force restart.

Message 1019 of 1,478
gxrino
Aspirant

Re: New firmware with built in Torrent Client

Hi @richud,

seems that you are looking for new features to enrich your superior firmware.Smiley LOL
Do you think it will be possible to port a fail2ban client on your next firmware version?
Thanks for your good job.

Message 1020 of 1,478
richud
Apprentice

Re: New firmware with built in Torrent Client

@jackal992: no promises but if I get bored one day I might add emule, I need a headless one that is c/c++ only i.e. no java, perl or python, any suggestions?
You can download FTP/HTTP stuff easily enough, curl is in the firmware (and wget from busybox), just no GUI.

 

@Troopy: I think you can see form your own post you are introducing crap into it with how you are cutting and pasting ! try pasting into notepad and then copying from notepad (assuming you are with windows)

 

@gxrino: noperz, it uses iptables which this firmware doesn't use. (and I think it needs Python too).

Model: DGND3700v1|N600 WIRELESS DUAL BAND GIGABIT ADSL2+ MODEM ROUTER
Message 1021 of 1,478
Troopy
Aspirant

Re: New firmware with built in Torrent Client

@Troopy: I think you can see form your own post you are introducing crap into it with how you are cutting and pasting ! try pasting into notepad and then copying from notepad (assuming you are with windows)

 

I have tried to type it in manually and get the same result, i have typed it manually into notepad then copied and pasted it and get the same result.

I never had this problem before in the pre genie firmware and i have actually copy/pasted the exact same txt from notepad that always worked in pre genie.

 

If i remove the space after -x i dont get the pop up saying illegal characters.

 

Thanks

Message 1022 of 1,478
Retired_Member
Not applicable

Web interface

@richud Managed to source this router off eBay and uploaded your firmware last night. Whilst I have not had a chance to have a in depth look, really just want to say a big thank you for all your hard work on this. It is great being part of a community and sharing ideas etc. Man Happy

 

Quick question re the web interface. I like to customise and tweak things - who doesn't. Can I SSH onto the router and locate the .html files so I can then amend the code? If not, what would be the best way of achieving this? I come from a WINTEL background.

Message 1023 of 1,478
Usernam3
Aspirant

Re: New firmware with built in Torrent Client

https://community.netgear.com/t5/forums/replypage/board-id/home-dsl-modems-routers/message-id/11166 Hi there. First of all I would like to say a big THANK YOU for providing this excellent firmware. 🙂 I have 2 of these devices, purchased very cheaply off of ebay, liberated with your full featured linux build. 🙂 The transmission build is ideal for use in the the PPPoE router role as it has telnet and ssh daemons built in which facilitates data collection from a network attached modem. There is one thing that I wish to do, but cannot see how to do it. On a 'normal' Netgear / Broadcom modem like the DGN2200 you can select 'modem only' mode (sometimes also known as 'bridge mode'), and then use a separete router as the firewall / PPP session initiator etc. I cannot see how to do this with the DGND3700v1 Can you either explain how to set this up with the Transmission firmware ( I could add an iptables init script if I knew what had to go in it!) or add an option to the GUI, similar to what is in other Netgear modem/routers? Thanks again for all your great work. 🙂
Message 1024 of 1,478

Re: New firmware with built in Torrent Client

Hi Richud,

 

Once again thanks for the firmware, its been running brilliantly.

Just have a question wrt the mini SNMP daemon. Could this be updated so that it can fetch data for an interface when it hits its max value? I understand that this is just over 4GB...

Message 1025 of 1,478
Top Contributors
Announcements

Orbi WiFi 7