Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



132 posts

Master Geek
+1 received by user: 5


Topic # 143203 6-Apr-2014 16:19 One person supports this post Send private message

Hi all,

Ran into an issue whereby a lot of the python based applications on my NAS were having name resolution issues. Python usually returns this as an Errno -5. In any case, it turns out that on the latest version of fritz (06.03 - maybe earlier too) - if you have custom DNS addresses in use (For me, unotelly) - then dependant on your version of Python (2.7.6-7) you might have the same issues. This may effect other software too - I'm not sure.

In the end it was easy to reproduce. Simply SSH into the NAS, ping an address. It worked. Log into a python shell and fire off a getURL, errno -5. Uncool.

I found out that if I used the SNAPS DNS - it worked fine. Any other predefined DNS with Fritz - failure. But only in python.

In the past I've found the built-in implementation of fritz's DNS and DHCP to be a little lacking, I don't believe it uses dnsmasq and configuration of it is pretty poor.

So after a day of researching and reconfiguring my network - I've created a custom Freetz firmware and installed that. The only packages I really went for were dnsmasq and dropbear for SSH access. Everything else was left stock. Freetz under default configuration will make a bunch of other changes under the hood, generally all for the better. Most you won't notice.

After doing this - everything works again with no issues. I can now forward domains internal to my network and have all the configurability one might require with dnsmasq. :)

VDSL sync speeds are all the same, no effect from what I can tell there.

Note: doing this voids warranty, and don't expect support from SNAP if you do it. However, you can always restore the original firmware back again. I'm only posting this really to help out anyone that might fall into the same category as me. Don't fool around with this if you don't know what you're doing. :)

Gotcha: Be sure to disable the fritz DHCP server and enable freetz's one. Freetz can be accessed at fritz.box:81

For those keen hit me up and I can pass on the firmware.

Cheers,

-- Craig.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2


132 posts

Master Geek
+1 received by user: 5


  Reply # 1019524 6-Apr-2014 16:22 Send private message

Oh - heck - I think there's a known issue with the 06.03 firmware whereby it won't work with broadcom based cabinets, so perhaps avoid this if you're connecting to one of those.

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019525 6-Apr-2014 16:35 Send private message

6.03 firmware, or anything more than 5.21/22 should be avoided for VDSL. FAR too many issues with it, along with typically having worse sync rates.

as for the dameon, yes your right. the fritz doesnt run dnsmasq by default.



132 posts

Master Geek
+1 received by user: 5


  Reply # 1019526 6-Apr-2014 16:37 One person supports this post Send private message

I think that statement applies only to certain exchanges. I've been running 06.03 for a long while now, and my sync rates have been fine on VDSL. For what its worth, I'm on an Ikanos exchange.

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019529 6-Apr-2014 16:55 Send private message

Cadriel: I think that statement applies only to certain exchanges. I've been running 06.03 for a long while now, and my sync rates have been fine on VDSL. For what its worth, I'm on an Ikanos exchange.


on shorter lines, it has been noticably slower. 

all exchanges run the same gear.



132 posts

Master Geek
+1 received by user: 5


  Reply # 1019536 6-Apr-2014 17:33 Send private message

Interesting.. I had no idea; I can see my cabinet from our front door, it's pretty close.  So what's the best firmware to be using at the moment? I might downgrade and see if I get faster speeds. Currently 06.03 and the two prior to that all had the same sync speeds for me.

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019538 6-Apr-2014 17:36 Send private message

Cadriel: Interesting.. I had no idea; I can see my cabinet from our front door, it's pretty close.  So what's the best firmware to be using at the moment? I might downgrade and see if I get faster speeds. Currently 06.03 and the two prior to that all had the same sync speeds for me.


5.21/22

just because its outside the door, doesnt mean alot. 


6.03 updates the bootloader though, so you cant downgrade (freetz may bypass this, i have not tested.)

220 posts

Master Geek
+1 received by user: 40

Subscriber

  Reply # 1019542 6-Apr-2014 17:46 One person supports this post Send private message

It just so happens I have 7390 sitting here that I have a few issues with - I might give your firmware a try and see how it goes. If there is no change to my issues I might come back to you for some additional help, if that's ok. I'm running off a 7360 at the moment but have the 7390 here testing as well.




I shoot Canon

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019543 6-Apr-2014 17:55 Send private message

cjmchch: It just so happens I have 7390 sitting here that I have a few issues with - I might give your firmware a try and see how it goes. If there is no change to my issues I might come back to you for some additional help, if that's ok. I'm running off a 7360 at the moment but have the 7390 here testing as well.


once again ill say it!

jealous at your toys!


i wanna tinker with freetz at some point too.. :L

220 posts

Master Geek
+1 received by user: 40

Subscriber

  Reply # 1019557 6-Apr-2014 19:14 Send private message

hio77:
cjmchch: It just so happens I have 7390 sitting here that I have a few issues with - I might give your firmware a try and see how it goes. If there is no change to my issues I might come back to you for some additional help, if that's ok. I'm running off a 7360 at the moment but have the 7390 here testing as well.


once again ill say it!

jealous at your toys!


i wanna tinker with freetz at some point too.. :L


If I didn't think you'd download it and hide in a corner somewhere, I'd have posted a pic of my 'home' network. :)






I shoot Canon

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019558 6-Apr-2014 19:20 Send private message

cjmchch:
hio77:
cjmchch: It just so happens I have 7390 sitting here that I have a few issues with - I might give your firmware a try and see how it goes. If there is no change to my issues I might come back to you for some additional help, if that's ok. I'm running off a 7360 at the moment but have the 7390 here testing as well.


once again ill say it!

jealous at your toys!


i wanna tinker with freetz at some point too.. :L


If I didn't think you'd download it and hide in a corner somewhere, I'd have posted a pic of my 'home' network. :)




note to self, dont show cjmchch my "re-installation backups" collection.. 




132 posts

Master Geek
+1 received by user: 5


  Reply # 1019561 6-Apr-2014 19:32 Send private message

I hope its okay to post these here. I've just built another one based on 05.23 for anyone that wants it.

The custom images:

06.03
https://dl.dropboxusercontent.com/u/1509277/7390_06.03-freetz-devel-11930.en_20140406-124834.image 

05.23
https://dl.dropboxusercontent.com/u/1509277/7390_05.23-freetz-devel-11930.en_20140406-193016.image

Both have the same configuration, just different firmware. I've only tried the 06.03 firmware.

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019562 6-Apr-2014 19:33 Send private message

Cadriel: I hope its okay to post these here. I've just built another one based on 05.23 for anyone that wants it.

The custom images:

06.03
https://dl.dropboxusercontent.com/u/1509277/7390_06.03-freetz-devel-11930.en_20140406-124834.image 

05.23
https://dl.dropboxusercontent.com/u/1509277/7390_05.23-freetz-devel-11930.en_20140406-193016.image

Both have the same configuration, just different firmware. I've only tried the 06.03 firmware.


5.23? is that a beta firmware?



132 posts

Master Geek
+1 received by user: 5


  Reply # 1019563 6-Apr-2014 19:35 Send private message

Its the latest one available for the 7390 in the 05.2x line. Well, according to Freetz it is.

I believe I can select the 05.5x line too if people want.

^__^
2525 posts

Uber Geek
+1 received by user: 246

Subscriber

  Reply # 1019565 6-Apr-2014 19:37 Send private message

Cadriel: Its the latest one available for the 7390 in the 05.2x line. Well, according to Freetz it is.

I believe I can select the 05.5x line too if people want.


ah i see.

5.55 was known to be slightly unstable compared to 5.21.


also the point that the exploit for myfritz came into play too if im not mistaken. 



132 posts

Master Geek
+1 received by user: 5


  Reply # 1019567 6-Apr-2014 19:41 2 people support this post Send private message

Well, whats nice about Freetz - is they have 'patches' that can remove individual features and components from the original firmware. So for example, one of their patches removes MyFritz. Or WLAN - or whatever really. My firmware above doesn't touch any of that, but the possibility is there.

There's also patches to 'fix' things in Fritz that the developers of Freetz felt necessary.

Its also smart in the fact that when you tell it to install dnsmasq, it disables multid's DNS and DHCP. 

In any case, if you've hit some exploit you want to avoid, there's every possibility that Freetz has it covered already. :)

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Lightbox press event release
Created by freitasm, last reply by Flickky on 31-Jul-2014 23:06 (85 replies)
Pages... 4 5 6


New Mobile plans coming?
Created by nunasdream, last reply by BigHammer on 31-Jul-2014 19:32 (74 replies)
Pages... 3 4 5


Does acupuncture work?
Created by timmmay, last reply by darkasdes2 on 31-Jul-2014 22:30 (49 replies)
Pages... 2 3 4


Checking UHF aerial is working
Created by OnceBitten, last reply by B1GGLZ on 28-Jul-2014 21:49 (21 replies)
Pages... 2


2010 Honda Jazz, Suzuki Swift - which has higher maintenance cost?
Created by joker97, last reply by jonathan18 on 31-Jul-2014 10:47 (76 replies)
Pages... 4 5 6


No PIN No Pay
Created by old3eyes, last reply by Kyanar on 31-Jul-2014 23:32 (18 replies)
Pages... 2


2 x PS4s to give away. Geekzone members only.
Created by BigPipeNZ, last reply by bjorn on 31-Jul-2014 15:43 (72 replies)
Pages... 3 4 5


Hierarchy of a mistake: Gerry Brownlee
Created by joker97, last reply by DonGould on 29-Jul-2014 21:57 (93 replies)
Pages... 5 6 7



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.