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.

^__^
3466 posts

Uber Geek
+1 received by user: 470

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.

^__^
3466 posts

Uber Geek
+1 received by user: 470

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.

^__^
3466 posts

Uber Geek
+1 received by user: 470

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.)

229 posts

Master Geek
+1 received by user: 43

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.





^__^
3466 posts

Uber Geek
+1 received by user: 470

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

229 posts

Master Geek
+1 received by user: 43

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. :)







^__^
3466 posts

Uber Geek
+1 received by user: 470

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.

^__^
3466 posts

Uber Geek
+1 received by user: 470

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.

^__^
3466 posts

Uber Geek
+1 received by user: 470

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:





Trending now »

Hot discussions in our forums right now:

Has Spark (Telecom) locked their iphone 6 ?
Created by anewguy2014, last reply by michaelmurfy on 17-Dec-2014 14:32 (25 replies)
Pages... 2


In defence of cats
Created by Rikkitic, last reply by DarthKermit on 17-Dec-2014 15:40 (68 replies)
Pages... 3 4 5


Slaughter of Innocents
Created by networkn, last reply by networkn on 19-Dec-2014 17:46 (64 replies)
Pages... 3 4 5


Do I have the right to return this?
Created by corksta, last reply by old3eyes on 21-Dec-2014 07:28 (41 replies)
Pages... 2 3


Police Camera Van Disguise
Created by Reanalyse, last reply by joker97 on 21-Dec-2014 07:19 (62 replies)
Pages... 3 4 5


Spray Foam Insulation
Created by AACTech, last reply by timbosan on 19-Dec-2014 16:58 (36 replies)
Pages... 2 3


Why I’m a paid subscriber to geekzone
Created by sdavisnz, last reply by sdavisnz on 20-Dec-2014 23:05 (35 replies)
Pages... 2 3


How to upload 150GB of photos to iCloud?
Created by josephhinvest, last reply by timbosan on 17-Dec-2014 15:05 (35 replies)
Pages... 2 3



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.