No internet connection with 7140 in ATA mode

The output shows that dsld -i -n -g is started as expected. The "-g" option even shows that the init script recognised that you stripped UPnP. If you manually start dsld like mentioned here, is there an error on the command line or in dmesg? Does the process run afterwards?

Edit: Olistudent had the idea of you changing rc.net like this:
Code:
   igddstart
   multidstart

   if [ "$CONFIG_DSL" ] ; then
     if [ "`pidof dsld`" = "" ] ; then
       if [ "$CONFIG_RAMSIZE" = 8 ] ; then
         dsld -i -n $NICEPARAM -r 600 $VERBOSEPARAM $DSLDDPARAM
       else
         [COLOR="Blue"][B]dsld -i -n $NICEPARAM $VERBOSEPARAM $DSLDDPARAM[/B][/COLOR]
       fi
     fi
   fi
Please replace the blue line by
Code:
(dsld -i -n $NICEPARAM -fv $DSLDDPARAM > /dsld.log 2>&1) &
Then you can attach dsld.log to your next message.
 
Zuletzt bearbeitet:
Hi

Clean reboot(with the special rc.S script)
There are NO "dsld" process after the reboot! inspect with "ps"
If I run dsld -i -n manualy it start without errors! and the router is working.

Sory for all the problem.

Flemming
 
Flemse, it would be much less bothersome for us to help you if you would just read our hints more carefully and report accordingly. I would much prefer this to receiving your execuses. Anyway, let's go on and get that bitch nailed down.
 
Hi
@Ralf The same as if I dont use -g. No error the process exist!
Flemming
 
@Alexander
I do what i can to be clearly. I working on the new image it's loading at the moment.

Flemming
 
@Alexander

There are no file /dsld.log after reboot with the image.

I think maybe if [ "$CONFIG_RAMSIZE" = 8 ] ; then is true because i use 7140 8mb ram ? Sory for asking.

Flemming
 
The condition is false (see your own log) and should be. Please replace the blue line in the "else" branch, as I said. And as I also said, read more carefully.

Oh, by the way: Usually there is no use in replacing the file's content under build/modified/... because this directory is completely re-created each time you call make. You will have to either create a patch for the file or build your firmware like this after having edited the file under build/modified/...:
Code:
./fwmod -p -d build dl/fritz.box_fon_wlan_7140.annexb.30.04.33.image
The resulting image will be in the build directory in this case and have a somewhat strange name.

Another hint: Please do not copy rc.S from build/modified to root, it will not work as expected.

And yet another hint (by olistudent): Please change the path to dsld.log from /dsld.log to /tmp/dsld.log. You cannot write to "/" because you do not have an NFS root like he does while he is developing. Never mind what an NFS root is at all, just follow the advice. ;-)
 
Zuletzt bearbeitet:
Thanks for information

The output is here!

***rc.net.txt(only the last line)***
sh -x /etc/init.d/rc.net > /var/rc.net.txt 2>&1
Code:
+ pidof dsld
+ [  =  ]
+ [ 32 = 8 ]
+ dsld -i -n -fv -g


***dsld.log.txt***
(dsld -i -n $NICEPARAM -fv $DSLDDPARAM > /var/dsld.log 2>&1) &
Code:
/var/mod/root $ cat /var/dsld.log.txt 
dsld: Couldn't load shared library  libavmssl.so - File not found - No such file or directory (2)
dsld: startup (May 10 2007 13:17:18)
dsld: new cpmac driver detected
dsld: INEToverLAN: interface eth0 not usable, exit

Flemming
 
Interesting, but one answer ist still missing. :rolleyes: What is the result, if you start
Code:
dsld -fv -i -n -g
manually if dsld is not running after the boot process? (Kill the process via Str-C afterwards.)
 
Output is here:

Code:
/var/mod/root $ dsld -fv -i -n -g
dsld: Couldn't load shared library  libavmssl.so - File not found - No such file or directory (2)
dsld: startup (May 10 2007 13:17:18)
dsld: new cpmac driver detected
dsld: DSL Mac ##:##:##:##:##:##
dsld: VOIP Mac ##:##:##:##:##:##
dsld: VCC2 Mac ##:##:##:##:##:##
dsld: VCC3 Mac ##:##:##:##:##:##
dsld: compiled tc filter  to 0 classes
dsld: compiled tc filter tc:rtp,sip to 2 classes
dsld: compiled tc filter tc:tcp_ack to 1 classes
dsld: compiled tc filter tc:dns,sipdns,ntpdns,tr069dns to 4 classes
dsld: compiled tc filter tc:http_req,tr069 to 2 classes
dsld: compiled tc filter tc:icmp to 1 classes
dsld: compiled tc filter  to 0 classes
dsld: speed 16576/832 (LAN)
dsld: showtime
dsld: EVENT(22): Internetverbindung wurde erfolgreich hergestellt. IP-Adresse: 10.0.0.100, DNS-Server: 10.0.0.1 und 10.0.0.1, Gateway: 10.0.0.1
dsld: BUDGET led: off

Flemming
 
Zuletzt bearbeitet von einem Moderator:
Maybe the network interfaces are not ready yet, I do not know. Let us verify it by patching rc.S once more, this time adding another line:
Code:
...
[B]ifconfig | sed -r 's/([0-9A-F]{2}:?){6}/##:##:##:##:##:##/' > /tmp/ifconfig.log 2>&1[/B]
(dsld -i -n $NICEPARAM -fv $DSLDDPARAM > /tmp/dsld.log 2>&1) &
...

Please post ifconfig.log and also send the output of the same command created manually:
Code:
ifconfig | sed -r 's/([0-9A-F]{2}:?){6}/##:##:##:##:##:##/' > /tmp/ifconfig-later.log 2>&1

BTW: The sed command anonymises your MAC addresses, just in case you wonder.
 
Now we got somthing

It's look like the network is not ready?

**This is "rc.net" dsld output**
Code:
/var/mod/root $ cat /var/log/dsld.log 
dsld: Couldn't load shared library  libavmssl.so - File not found - No such file or directory (2)
dsld: startup (May 10 2007 13:17:18)
dsld: new cpmac driver detected
[B]dsld: INEToverLAN: interface eth0 not usable, exit[/B]
/var/mod/root $


**This is ifconfig from the "rc.net" in the else statement**
Code:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

**This is ifconfig JUST after boot up**
Code:
/var/mod/root $ ifconfig | sed -r 's/([0-9A-F]{2}:?){6}/##:##:##:##:##:##/'                               
cpmac0    Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:256 
          RX bytes:285532 (278.8 KiB)  TX bytes:884762 (864.0 KiB)

eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:1782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:285532 (278.8 KiB)  TX bytes:884762 (864.0 KiB)

eth0:1    Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          inet addr:192.168.178.253  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

lan       Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          inet addr:192.168.178.1  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:1782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:253456 (247.5 KiB)  TX bytes:876902 (856.3 KiB)

lan:0     Link encap:Ethernet  HWaddr ##:##:##:##:##:##  
          inet addr:169.254.1.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:258 errors:0 dropped:0 overruns:0 frame:0
          TX packets:258 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:35482 (34.6 KiB)  TX bytes:35482 (34.6 KiB)


Flemming
 
Then try in file /etc/init.d/rc.net in function multidstart insert "sleep 1" (or sleep 2), similar to the function igddstart.
Code:
multidstart()
{
   if [ "`pidof multid`" = "" ] ; then
      eval multid $MULTIDPARAM $VERBOSEPARAM
[B]      sleep 1[/B]
   fi
}
starting multid creates eth0, so give it a little extra time
 
Not very reliable and a bit ugly. How about replacing the simple sleep by
Code:
while ! ifconfig eth0 > /dev/null 2>&1; do
    sleep 1
done
 
Or maybe even better: select package cpmaccfg in ds-mod "make menuconfig"/"Package selection"/"Standard packages".
Then you can call "cpmaccfg ssm ata" to configure the switch and you need not rely on multid to do that.
 
Hi

Sorry for the late reply, byt I have played a little with the box…

I prefer English so I made a English image with the small mod from your suggestion.
All is working, sleep 2 or the while loop both works.

But sometime when I load the mod_image to the box, it's not responding anymore, therefore I must use the rescue exe from avm…

Anyway the 7140 is now working.
I have made I think 20 reboot and every time the net is working:)

---
@Alexander you talk about in:

#8“Maybe you have the well-known factory reset problem”

How to make a complete clean factory reset on the box.
I ask because I have 3 Fritz and one of them will not save the phone configuration!
---

Thanks for all the help and top support!!!:D

If I can be to any help, just ask...

Regards
Flemming
 
flemse schrieb:
I ask because I have 3 Fritz and one of them will not save the phone configuration!
Yes, that might be the factory reset problem. The simple solution ist to reload an standard AVM image, konfigure your box, and only then load ds-mod to your box. After that, don't reset to factory default.

Most likely this problem will be fixed in the next version.
 
Meanwhile you may want to read this thread: http://www.ip-phone-forum.de/showthread.php?t=147394. Hopefully your German is good enough. Becareful when reading Oliver's patch, it contains some little copy & paste errors which I explain further down the thread. Correction: Oliver has already fixed the posted patch, he just told me. So there is no need to worry.
 
Zuletzt bearbeitet:

Statistik des Forums

Themen
246,381
Beiträge
2,251,143
Mitglieder
374,038
Neuestes Mitglied
dopamin78
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.