OpenWrt Forum Archive

Topic: Fully featured OpenWrt build for the WNDR3700 (NO LONGER MAINTAINED)

The content of this topic has been archived between 13 Apr 2013 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

You guys seem to be troubleshooting blindly. Try to run transmission from the CLI and post any error messages, logs etc. you can find. Look in the documentation to know how.

Transmission-cli protocol :

[14:58:16.684] Transmission 2.22 (12099) started
[14:58:16.685] RPC Server: Adding address to whitelist: 127.0.0.1
[14:58:16.685] RPC Server: Adding address to whitelist: 192.168.0.*
[14:58:16.685] RPC Server: Serving RPC and Web requests on port 127.0.0.1:9091/transmission/
[14:58:16.687] RPC Server: Whitelist enabled
[14:58:16.688] Port Forwarding: Stopped
[14:58:16.689] DHT: Reusing old id
[14:58:16.695] DHT: Bootstrapping from 151 nodes
[14:58:16.880] Saved "/etc/transmission/torrents/Pork Torrents.ru.ebf25cf327b69a1e.torrent"
[14:58:16.881] Pork Torrents.ru: Pausing
[14:58:16.939] Saved "/etc/transmission/resume/Pork Torrents.ru.ebf25cf327b69a1e.resume"
[14:58:16.943] Pork Torrents.ru: Queued for verification
[14:58:16.964] Pork Torrents.ru: Verifying torrent
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  [14:58:17.858] Pork Torrents.ru: Tracker did not respond
[14:58:17.859] Pork Torrents.ru: Tracker did not respond
[14:58:17.859] Pork Torrents.ru: Tracker did not respond
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  [14:58:27.693] Pork Torrents.ru: Starting DHT announce (poor, 16 nodes)
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  [14:58:30.487] Couldn't connect socket 16 to 83.20.189.168, port 11717 (errno 0 - Success)
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  ?)=Wr?O%xW?/??5ZA ?f??7?S?????V6?"?{?????<?x~?????8?1R????M}?`J?^0??
                                                                                                                                                    +???E?/??ei??
????$A?N??>°???:??-?B ©>?3•?`>©'??M??7J????)V?n?B??i?@0?a????kB'????????t7????
?NT?u1}? ?+??{~??.????*????%i?J??M?j%P,u???J`?*?]??)7:?b??b?Vp??????V????V?TB?|?u???7F?g5????I?9?l:"°n  ??q?
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  [14:59:00.537] Couldn't connect socket 0 to 83.20.189.168, port 11717 (errno 0 - Success)
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  [14:59:02.039] Couldn't connect socket 0 to 78.40.81.17, port 16900 (errno 0 - Success)
[14:59:02.049] Couldn't connect socket 0 to 94.181.205.143, port 23453 (errno 0 - Success)
[14:59:02.060] Couldn't connect socket 0 to 94.233.59.218, port 63877 (errno 0 - Success)
......

[14:59:12.693] Couldn't connect socket 0 to 188.134.35.68, port 20927 (errno 0 - Success)
[14:59:12.703] Couldn't connect socket 0 to 84.240.28.72, port 18858 (errno 0 - Success)
[14:59:13.188] Couldn't connect socket 0 to 94.233.59.218, port 63877 (errno 0 - Success)
[14:59:13.189] Couldn't connect socket 0 to 84.240.28.72, port 18858 (errno 0 - Success)
[14:59:13.190] Couldn't connect socket 0 to 188.134.35.68, port 20927 (errno 0 - Success)
Progress: 0.0%, dl from 0 of 0 peers (0.00 KiB/s), ul to 0 (0.00 KiB/s) [None]  ^C
Stopping torrent...
[14:59:57.553] Pork Torrents.ru: Pausing
[14:59:57.560] Saved "/etc/transmission/settings.json"

[14:59:58.035] Saved "/etc/transmission/resume/Pork Torrents.ru.ebf25cf327b69a1e.resume"
[14:59:58.036] DHT: Not saving nodes, DHT not ready
[14:59:58.036] Port Forwarding: Stopped
[14:59:58.037] Pork Torrents.ru: Removing torrent
[14:59:58.037] Pork Torrents.ru: Pausing

Similar posts https://forum.openwrt.org/viewtopic.php?id=28614

(Last edited by matashin on 8 Mar 2011, 18:17)

forgive me if this has been answered already but it doesn't seem this forum software allows for searching single threads. i'd like to get loopback working if possible. can anyone point me in the right direction?

cheers

Question on port forwarding and the firewall.

I have added two rules to my firewall settings page.
1 for https access to my NAS
1 for RDP access to a server

the redirect rule:

config 'redirect'
        option 'src' 'wan'
        option 'dest_ip' '192.168.1.196'
        option 'target' 'DNAT'
        option 'dest' 'lan'
        option 'proto' 'tcp'
        option '_name' 'RDP'
        option 'src_dport' '3389'
        option 'dest_port' '3389'

config 'rule'
        option 'target' 'ACCEPT'
        option '_name' 'RDP'
        option 'src' 'wan'
        option 'dest' 'lan'
        option 'proto' 'tcp'
        option 'src_port' '3389'
        option 'dest_ip' '192.168.1.196'
        option 'dest_port' '3389'

But it does not work?
I can remote SSH, remote Luci to the router.
I can access the https webserver on the nas

I am on the latest build arokh has made.

Any help would be greatly appriciated

You don't need the rule section, only the redirect section. Maybe that's the problem. As far as  I can see the redirect section is correct.

Yep, redirect looks good. Do a tcpdump on the LAN side to see if the packets go through at all.

Latest build was a bit delayed by recent trunk breakage, but it's out now smile

r25968:
- Updated kernel to 2.6.37.3
- Updated busybox to 1.18.3
- Fixed building kmod-gre

I'm including the patched and configured source tree in the download area as well now. Anybody who want to compile themselves just untar and run make smile

(Last edited by arokh on 9 Mar 2011, 15:02)

Hi arokh,
Thank you for an excellent easy to user firmware build for the WNDR3700v1. I really like your updates.

I just moved to OpenWrt in the last few days and you have been my source of inpiration to flash my WNDR3700v1 to OpenWrt.


arokh,
I would appreciate if you or anyone in this forum could help me with configuring my WNDR3700v1 with SSID based VLAN.
Here is my setup...

Netgear GS108Tv2 is my backbone. It has 8 ports.

VLAN 10 - LAN (10.0.0.1)
VLAN 20 - WAN (Public IP)
VLAN 2 - VoIP (10.0.2.1)
VLAN 3 - Video (10.0.3.1)

Port 1 - Modem (VLAN 20)
Port 2 - pfSense WAN (VLAN 20)
Port 3 - pfSense LAN (VLAN 10)
Port 4 - WNDR3700v1 (As an AP) (VLAN 10)
Port 5 & 6 - LAN  (VLAN 10) 10.0.0.x
Port 7 - SetTop box (VLAN 3) 10.0.3.x
Port 8 - ATA (VLAN 2) 10.0.2.x

Everything is working smoothly and as you can see each VLAN has its own subnet. But all these are in port based VLAN with their respective PVIDs.

I have quiet a lot of other wireless devices connecting to the network through WNDR3700v1 which is acting as an AP. All these devices are getting the default LAN (VLAN 10) 10.0.0.x subnet IPs. There is a mix of LAN, VoIP and Video devices connecting through WNDR3700v1 and I would like them to connect to their specific subnets only rather than to local LAN.

I am thinking of SSID based VLAN tagging for all these devices. Is this possible with your latest firmware?

So my WNDR3700 config should look something like this.

Default 11G/N SSID - LAN (VLAN 10) Subnet 10.0.0.x
Default 11A/N SSID - LAN (VLAN 10) Subnet 10.0.0.x

Virtual VoIP SSID 11G/N - VoIP (VLAN 2) Subnet 10.0.2.1
Virtual Video SSID 11G/N - Video (VLAN 3) Subnet 10.0.3.1

Since all my devices (except laptops) are only 11G/N capable, I do not need 11A/N for other VLANs except for the local LAN.

Also, if I could use the WNDR3700v1 WAN port as an uplink port from the Netgear switch then I can make use of all the 4 physical ports on it for attaching other physical devices to it. The 4 physical LAN ports could be on my local LAN (VLAN 10) for now.

I read a lot but totally confused on how to configure the WNDR3700v1 with OpenWrt to achieve the above config.

I would highly highly highly appreciate if you could post me the config that I can copy paste and get my WNDR3700v2 up and running.

arokh wrote:

Why would you need nano btw? Learn to use VI smile

Oh please *do* teach us! That EDLIN on steroids surely could use some education.

I enter 'vi /etc/config/wireless' and can see that WiFi for some strange reason is disabled, but no matter what I do, I cannot change the '1' to a '0'. In fact, it's just because I had a vague memory from way back, that I managed to give the command colon q.

A three step instruction on how to change that stupid 1 to a 0, using vi, would be highly appreciated. smile

bfelten wrote:
arokh wrote:

Why would you need nano btw? Learn to use VI smile

Oh please *do* teach us! That EDLIN on steroids surely could use some education.

I enter 'vi /etc/config/wireless' and can see that WiFi for some strange reason is disabled, but no matter what I do, I cannot change the '1' to a '0'. In fact, it's just because I had a vague memory from way back, that I managed to give the command colon q.

A three step instruction on how to change that stupid 1 to a 0, using vi, would be highly appreciated. smile

I hate vi - unusable, unless you have printed man-pages or very good memory. Bloody bad program. Because of that I use sftp(SecureFX) to edit config files, or nano as you wrote.

bfelten wrote:

A three step instruction on how to change that stupid 1 to a 0, using vi, would be highly appreciated. smile

Come on now. You don’t want to write a novel in it or code a kernel on your router, do you?

1. Use cursor keys to move to zero
2. r, 0
3. :x

Finis

(Last edited by towolf on 9 Mar 2011, 20:20)

PhSnake wrote:
bfelten wrote:
arokh wrote:

Why would you need nano btw? Learn to use VI smile

Oh please *do* teach us! That EDLIN on steroids surely could use some education.

I enter 'vi /etc/config/wireless' and can see that WiFi for some strange reason is disabled, but no matter what I do, I cannot change the '1' to a '0'. In fact, it's just because I had a vague memory from way back, that I managed to give the command colon q.

A three step instruction on how to change that stupid 1 to a 0, using vi, would be highly appreciated. smile

I hate vi - unusable, unless you have printed man-pages or very good memory. Bloody bad program. Because of that I use sftp(SecureFX) to edit config files, or nano as you wrote.

I installed X and ported Microsoft Word ;-D

BTW seriously who's complaining that nano doesn't work? Works fine with me.

bfelten wrote:

A three step instruction on how to change that stupid 1 to a 0, using vi, would be highly appreciated. smile

1. uci del wireless.@wifi-device[0].disabled
2. uci commit wireless
3. wifi

Edit: sorry, overlooked the "using vi" requirement

VI is a bit strange, but once you learn the basics you can edit very quickly. When you start you are in "movement" mode, to edit you need to press an edit button.

a = append, edits after the current character
A = append at the end of a line
i = insert, edits at the current character
I = insert at start of line
o = insert new line

Use w and b to move forward/backward between words, use cw to change entire words and dw to delete a word. Google around for a quick tutorial, you'll never turn back to nano smile

@arokh  - you never cease to amaze me :-)  All up and running with the new trunk, and seems even better than before.

One general question re: minissdpd  -  I have no wired Ethernet clients (only wifi) - is there anything I need to with either upnp or miniDLNA to make them do anything?  I've changed the miniDLNA to use the external drive, but connected wirelessly I can't detect either service?


Updated:

as an example this is my PS3 looking for UPNP - I've disabled securemode for now (same result without);

Mar  9 18:45:26 Router1 daemon.notice miniupnpd[12318]: HTTP listening on port 5000
Mar  9 18:45:26 Router1 daemon.err miniupnpd[12318]: bind(udp): Address already in use
Mar  9 18:45:26 Router1 daemon.info miniupnpd[12318]: Failed to open socket for receiving SSDP. Trying to use MiniSSDPd
Mar  9 18:45:26 Router1 daemon.notice miniupnpd[12318]: Listening for NAT-PMP traffic on port 5351
Mar  9 18:45:27 Router1 daemon.info miniupnpd[12318]: HTTP connection from 192.168.116.177:56977
Mar  9 18:45:27 Router1 daemon.info miniupnpd[12318]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
Mar  9 18:45:27 Router1 daemon.info miniupnpd[12318]: HTTP connection from 192.168.116.177:56976
Mar  9 18:45:27 Router1 daemon.info miniupnpd[12318]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)

The server appears to be up (http://192.168.116.1:5000/rootDesc.xml)

10urn:schemas-upnp-org:device:InternetGatewayDevice:1OpenWRT routerOpenWRThttp://www.openwrt.org/OpenWRT routerOpenWRT router1http://www.openwrt.org/00000000uuid:4c4bd64f-9ebc-4330-a707-55da7d2d09e1urn:schemas-upnp-org:service:Layer3Forwarding:1urn:upnp-org:serviceId:Layer3Forwarding1/ctl/L3F/evt/L3F/L3F.xmlurn:schemas-upnp-org:device:WANDevice:1WANDeviceMiniUPnPhttp://miniupnp.free.fr/WAN DeviceWAN Device20110309http://miniupnp.free.fr/00000000uuid:4c4bd64f-9ebc-4330-a707-55da7d2d09e1MINIUPNPDurn:schemas-upnp-org:service:WANCommonInterfaceConfig:1urn:upnp-org:serviceId:WANCommonIFC1/ctl/CmnIfCfg/evt/CmnIfCfg/WANCfg.xmlurn:schemas-upnp-org:device:WANConnectionDevice:1WANConnectionDeviceMiniUPnPhttp://miniupnp.free.fr/MiniUPnP daemonMiniUPnPd20110309http://miniupnp.free.fr/00000000uuid:4c4bd64f-9ebc-4330-a707-55da7d2d09e1MINIUPNPDurn:schemas-upnp-org:service:WANIPConnection:1urn:upnp-org:serviceId:WANIPConn1/ctl/IPConn/evt/IPConn/WANIPCn.xmlhttp://192.168.116.1/

But the PS3 is still showin uPNP not available (this is my sanity check - it works with the stock & DD-WRT)
Is there something I'm missing? I cant see the DLNA either


2080 root       724 S    minissdpd -i 192.168.116.1
12316 root      1768 S    /bin/sh /etc/rc.common /etc/init.d/miniupnpd reload
12317 root      1604 S    logger -t miniupnpd
12318 root      1032 S    miniupnpd -f /var/etc/miniupnpd.conf -d

Sorry if these are obvious questions..

(Last edited by Dickie on 10 Mar 2011, 00:52)

I think there's a problem with minissdpd, it seems to stop working after a short while and won't respond to discoveries. Looks like for now you'll need disable it and only run one of the services at a time. Might have put too much faith in a project that hasn't seen any updates for 3 years. Will look for a solution.

@banstro

You can't do tagging on an access port, it will need to be in trunk mode. VLAN tag based on SSID? Never heard about that being possible.

(Last edited by arokh on 10 Mar 2011, 10:25)

Hello,

please don't kill me, but I'm new to OpenWRT and  wasn't able to find the following answer:
Whats the difference between the "factory-NA" and the "factory" images?

cuall
mills

NA is for North America.

Thanks a lot!

Best regards
Andi

@kick
@arokh
Figured it out, sort of, I suspect the firewall on the server I was reaching blocked the access based on packet inspection.
When I enabled the masquerade bit on the firewall redirect zone "lan to wan" it started to work.

So the redirect rule itself was correct, and the rule is removed indeed.

Thanks for a great piece of firmware !!!

Stef

(Last edited by stefvanhooijdonk on 10 Mar 2011, 14:42)

@coatto87

And is the issue fixed in transmission CVS? If so, I could build it and add it to my repo.

In the meantime people, ctorrent which is included in this build works great.

2 arokh - yes but ctorrent doesnt have any usable interface, or does it? If yees can you point where to get it and how to install? THX in advance

Why would you need an interface when you have ssh and screen, much quicker smile

because my girlfriend is not tux friend at all - she doesnt even know what ssh is :-(

Lovely firmware,

However, since its very dynamic (improvements all the time) I keep using opkg for upgrading. No problem with that, but the last time there was a new kernel I bricked my router. Is there a simple way to upgrade the kernel and the kernel modules in combination with extroot!?

I did find a link with the advice to force upgrade on the packages (using extroot) and then upgrade kernel (without).

Any fool safe methods / tooling / scripts?

Thanks.

Sorry, posts 851 to 850 are missing from our archive.