1) Modem Resets, Btsync Loses Sync. 2) Wrong Router


UltraMonk

Recommended Posts

Issue 1:

 

I have several Linux boxes here running BTSync and have noticed that if my ADSL Modem gets reset for any reason then the Sync shares will no longer sync.

 

I understand that this would be due to the UPnP ports being lost but BTSync doesn't seem to try and establish new ones after a period of time.

 

Issue 2:

 

I have a Linux box with BTSync at a client's place and he actually has two routers, one for the Internet and another to handle his WiFi.

 

Even though my end shows his box in my BTSync box in BTSync for the folder I set up for him, his BTSync attempts to establish a UPnP connection via the WiFi router instead of the Internet one. The gateway for the network interface is set for the Internet router and I even added an ip route to make doubly sure.

 

Because of this my end is trying to transfer to him but it never transfers to his end, I have not tried the reverse as files are not intended to flow back to me and I do not have easy access to the GUI but I am able to ssh in.

 

Anybody have any thoughts about these issues?

 

Thanks!

 

 

Link to comment
Share on other sites

Issue 1:

Stop restarting your mdem, if it needs to be restarted to handle its usual load you have two possibilities: a) RMA it as its clearly defective B) buy a modem that can handle your use. If you use pptoe I would suggest setting up box with pfsense to act as a modem, then use unmanaged switches and wireless access points after it.

Issue 2:

Tell your client that using two NATs is terrible, and to disable DHCP on his wireless router, and use it as a wireless access point.

Link to comment
Share on other sites

Issue 1:

 

I don't restart my modem due to load problems and I very rarely restart it anyway. This is behaviour I've noticed over quite a few months and has also occurred on the BTSync setups I have at client's places if their modem gets reset for whatever reason. I also just before Christmas did a lot of Ethernet and power rewiring, replacing power boards, got some more switches and got another ups unit. So I just had more occasion to see it happening.

 

It still doesn't get past the problem that if a modem does get reset the UPnP gets lost (as it should) but BTSync doesn't seem to establish new ones.

 

Issue 2:

 

Yeah going to have another talk with him about buying a new modem/router with wireless. The wireless router is used as a wireless access point. Thinking about it now, the Linux box Ethernet cable could be plugged into an Ethernet port on the wireless router, which has an uplink cable to the internet router.

 

I'll give him a call tomorrow and see if he can tell me.

 

Thanks!

Link to comment
Share on other sites

1) It is weird indeed. A workaround could be to do the port fowarding manually. Sadly I haven't had the misfortune of using a NAT at home, and since the UPnP was bugging my television I disabled it. From the logs it appeared it tried pretty frequently to connect to open ports.

2) He only has to disable DHCP on the wireless router and connect it to the other router using one of the other ports than the "WAN" port. He does not need to buy any new hardware.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.