Configure a router name

smartRX

Neuer User
Mitglied seit
23 Aug 2010
Beiträge
15
Punkte für Reaktionen
0
Punkte
0
can someone specify which mods require for Fritz 7140 in order to configure Fritz name and vers. info that will be displayed for outer WAN?

I.e. instead of default info "FRITZ!Box WLAN 7140 Annex A 39.04.67 [Dec 18 2008]" I want to configure any custom name/info. I mean device name at system level, which returned to network scanners when it discover Fritz in WAN, not just on GUI interface that visible for user only.
 
Perhaps it's part of the product name configured in rc.conf?

Regards
Oliver
 
The rc.conf is a part of original firmware? How to edit it? Via telnet access? Or there is some add-on allowing to configure product name from admin GUI? Thanks a lot.
 
Zuletzt bearbeitet:
can someone specify which mods require for Fritz 7140 in order to configure Fritz name and vers. info that will be displayed for outer WAN?

I.e. instead of default info "FRITZ!Box WLAN 7140 Annex A 39.04.67 [Dec 18 2008]" I want to configure any custom name/info. I mean device name at system level, which returned to network scanners when it discover Fritz in WAN, not just on GUI interface that visible for user only.

What scanner does so? An SNMP scanner?! On the WAN interface?!
 
@smartRX: copy the file into the ramdisk (/var/), then edit the copy, then write something like mount -o bind [...] into debug.cfg/rc.custom.
 
What scanner does so? An SNMP scanner?! On the WAN interface?!

Nmap scanner. You can try yourself by scanning IP address where any Fritzboz attached, you'll see scan result show router name and even hardware version. This possibly due Fritz have remote-access feature enabled? (the ones I scanned have this enabled)
 
If you are using Freetz you can change the file when the firmware is created. See fwmod_custom.
I have not used Freetz still, all firmware is original. Is there some separate add-on which allow configure router info? Just dont want install the whole package, need customize only this thing.
I used Nmap to scan another Fritz 7270 with disabled remote access option, the same thing, it returns full name and version. Both Fritz boxes have SIP service at 5060 tcp port - perhaps this is the reason? Nmap is capable to determine this. For security, router should not broadcast this info.
 
Nmap scanner. You can try yourself by scanning IP address where any Fritzboz attached, you'll see scan result show router name and even hardware version.

What you/I can see is the string SIP returns.

5060/tcp open sip AVM FRITZ!Box Speedport W 920V 65.04.82 (Feb 19 2010)

The point is that an attacker will not scan the internet for that string but for targets providing SIP and then check if an exploit succeeds or not.

What you try to accomplish is called "security by obscurity" which won't work. If you want to secure the device shutdown the service.
 
What you/I can see is the string SIP returns.

5060/tcp open sip AVM FRITZ!Box Speedport W 920V 65.04.82 (Feb 19 2010)

The point is that an attacker will not scan the internet for that string but for targets providing SIP and then check if an exploit succeeds or not.

What you try to accomplish is called "security by obscurity" which won't work. If you want to secure the device shutdown the service.
There is other reasons do not broadcast this info. Some ISPs don't allow use routers at all. They can detect router by scanning target IP they assigned, and start MAC filtering again.
 
@smartRX: copy the file into the ramdisk (/var/), then edit the copy, then write something like mount -o bind [...] into debug.cfg/rc.custom.
if possible, can you give a little more details about this, as I'm absolutely new to Linux..
 
the file is .image, POSIX tar archive format, I have trouble to mount it. Does it should be converted to .ISO?
 
It's not about changing the tar-file.

Find the file you want to replace on the box, make a copy of this file on the box, modify the file, and use "mount --bind" to replace the original file.
 
I understand, but where to find it? The extracted archive contains 7 files (chksum, flash_update.ko, flash_update.o, info.txt, install,regelex,signature) and one 'tmp' folder with filesystem.image and kernel.image
 
We're talking about files on the box, not in the firmware images.
So, assuming you want to change the file /etc/init.d/rc.conf, as Oliver suggests in #2, you would do:
Code:
cp -p /etc/init.d/rc.conf /var/tmp
sed -i -e 's/WHAT/EVER/' /var/tmp/rc.conf
mount --bind /var/tmp/rc.conf /etc/init.d/rc.conf
If you were using Freetz, you could do what I suggested in #7.
 
But how to access files on the box?
 
I'm not sure how to understand the question.

As this is the Freetz part of the forum and you don't seem to want to use Freetz, the question doesn't belong here anyway.
 
well, I mean in order to edit firmware files on the box, I need to access it first. I don't understand this point.

As to Freetz, I definitely will try it.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.