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.




134 posts

Master Geek


# 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 | 3


134 posts

Master Geek


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

'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

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




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


 
 
 
 




134 posts

Master Geek


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

'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

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




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




134 posts

Master Geek


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

'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

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




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


257 posts

Ultimate Geek


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




 

 

 


 
 
 
 


'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

  # 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




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


257 posts

Ultimate Geek


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






 

 

 


'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

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





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




134 posts

Master Geek


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

'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

  # 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?




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




134 posts

Master Geek


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

'That VDSL Cat'
11027 posts

Uber Geek

Trusted
Spark
Subscriber

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




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




134 posts

Master Geek


  # 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 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



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 »

Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18


Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.