d-link dsl 500T trouble

Utilities and tools for networking, routers, setup etc
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: d-link dsl 500T trouble

Post by thechief » Wed Mar 09, 2011 10:03 am

Ok, it is clear that Annex A is the correct one. The only other suggestion I can make is to stop using dsp70A.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: d-link dsl 500T trouble

Post by thechief » Wed Mar 09, 2011 10:11 am

free2rhyme wrote:sorry it didn't work for you.

to thechief,

i have 2 adsl connection with both using dlink 2540t. i installed routertech fw 2.95. as my suggestion step above, my modem only work in router mode if i set nas0 mac instead of using default addr 00:00:02:03:04:05. please kindly tell me how to set this permanently, either using a script or change it in a file.

thanks for your help.
firmware-faq/#autoexec
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Ka4_0k
Novice
Novice
Posts: 14
Joined: Sat Jan 22, 2011 7:54 pm

Re: d-link dsl 500T trouble

Post by Ka4_0k » Thu Mar 10, 2011 9:02 pm

thechief wrote:Ok, it is clear that Annex A is the correct one. The only other suggestion I can make is to stop using dsp70A.
I've already tried to use dsp75a...

Here's what I discovered:

This is the line, that initiates connection

Code: Select all

/usr/sbin/pppd plugin pppoe wbif0 user <username> password <password> nodetach pppoe_ses_id 0 defaultroute usepeerdns mru 1492 maxfail 10 lcp-echo-failure 10 lcp-echo-interval 60 mtu 1492
(I found it in the /proc/<procnum>/cmdline)

I have two interfaces, that may be responsable for establishing the dsl connection (I don't really know which is really used, but there is only one dsl interface on router).

Code: Select all

nas0      Link encap:Ethernet  HWaddr 00:00:02:03:04:05
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:27700 (27.0 KiB)  TX bytes:924 (924.0 B)

wbif0     Link encap:Ethernet  HWaddr 00:44:2B:02:55:44
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:24312 (23.7 KiB)  TX bytes:704 (704.0 B)
First I changed nas0 mac address to 00:5D:82:01:F2:10, than I changed the MTUs of both interfaces to 1492 (There was 1492 in connection settings). Than I tried to launch pppd for each interface (results were the same)

Code: Select all

PPPoE Plugin Initialized
Plugin pppoe called.
Sending PADI
And freezes at that place. Afer I killed it (Ctrl+C) it said

Code: Select all

invalid packet Ether addr: 64:00:00:00:00:00
 PPPoE hdr: ver=0x0 type=0x0 code=0x00 sid=0x0001 length=0x0000 (Unknown)
Failed to negotiate PPPoE connection: 4
Than I tried to change mac addresses for the interfaces to 64:00:00:00:00:00 (that was just a try) and the results were the same. But the numbers of rx and tx bytes are growing all the time.
I can make a suggestion that the connection is already established, but it can't correctly forward it to the LAN... Or it is because wrong modulation so that pppd cannot correctly parse data packets?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: d-link dsl 500T trouble

Post by thechief » Thu Mar 10, 2011 11:31 pm

Sorry, but I have no idea what is going on. There is nothing else I can suggest.

What is the output of this command?

Code: Select all

cat /proc/avalanche/avsar_modem_training
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
notinthisworld
Experienced
Experienced
Posts: 159
Joined: Wed Feb 27, 2008 11:28 am

Re: d-link dsl 500T trouble

Post by notinthisworld » Fri Mar 11, 2011 2:13 pm

maybe you need to downgrade to be able to use dsp 6.x
Image
Ka4_0k
Novice
Novice
Posts: 14
Joined: Sat Jan 22, 2011 7:54 pm

Re: d-link dsl 500T trouble

Post by Ka4_0k » Sat Mar 12, 2011 5:16 am

What is the output of this command?
Code:
cat /proc/avalanche/avsar_modem_training

Code: Select all

SHOWTIME
65537
failTrains=1
maybe you need to downgrade to be able to use dsp 6.x
Does version 2.92 supports dsp6x?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: d-link dsl 500T trouble

Post by thechief » Sat Mar 12, 2011 8:53 am

Ka4_0k wrote:
What is the output of this command?
Code:
cat /proc/avalanche/avsar_modem_training

Code: Select all

SHOWTIME
65537
failTrains=1
"SHOWTIME" shows that the modem has synched successfully with your ISP.
Ka4_0k wrote:
maybe you need to downgrade to be able to use dsp 6.x
Does version 2.92 supports dsp6x?
Yes - and so does v2.93. But I am not sure if that will help you. Your Dlink firmware had DSP 7.3, so I wouldn't have thought that DSP 7.x would be the problem (unless that was a special Dlink build of the DSP (or tiatm.o) driver). Apart from that, it is clear from what you've just posted that the router is connecting to the ISP, so I doubt that the modem part is the problem. But of course there is no harm trying DSP 6.x.

Actually, going back to your first post, there is a problem with your configuration - "Sharing" is enabled. You should disable it.

That being said, you may be dealing with an incompatibility here between RouterTech and your device (at least, as far as pppoe is concerned). See viewtopic.php?f=3&t=3412 for examples of others with similar problems. So you may need to consider returning to your Dlink firmware.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Ka4_0k
Novice
Novice
Posts: 14
Joined: Sat Jan 22, 2011 7:54 pm

Re: d-link dsl 500T trouble

Post by Ka4_0k » Sun Mar 13, 2011 2:42 pm

Actually, going back to your first post, there is a problem with your configuration - "Sharing" is enabled. You should disable it.
Thanks! That solved the problem.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: d-link dsl 500T trouble

Post by thechief » Sun Mar 13, 2011 4:43 pm

I am glad to hear that. :) Sorry I didn't spot it earlier - the "0xffff modulation" debacle can become a red herring - as it was in this case.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
geekgirl
Regular
Regular
Posts: 72
Joined: Sat Feb 27, 2010 3:23 pm
Location: Egypt
Contact:

Re: d-link dsl 500T trouble

Post by geekgirl » Thu Mar 31, 2011 10:16 pm

thechief wrote:
free2rhyme wrote:sorry it didn't work for you.

to thechief,

i have 2 adsl connection with both using dlink 2540t. i installed routertech fw 2.95. as my suggestion step above, my modem only work in router mode if i set nas0 mac instead of using default addr 00:00:02:03:04:05. please kindly tell me how to set this permanently, either using a script or change it in a file.

thanks for your help.
firmware-faq/#autoexec
There's actually a better way to do it, which is the native way (changing the env var which holds the original DSL MAC - in my case it was HW_3). That way, it will also be properly reflected in the web-interface, from "Status" -> "Product Information", next to "DSL MAC".

See steps 4, 5, and 6 in my post for details:
PPPoE fix by changing DSL MAC
Post Reply