JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01.02.2012, 20:53
seppi
Guest
 
Posts: n/a
Default (Kabel D. DIR-615 H1 V8) Script oder Empfehlung für neuen WLAN Router mit MAC Change

Hallo zusammen,

bin bei Kabel Deutschland und habe einen D-Link DIR615 H1 V8.01 bekommen der am Tomson THG540 hängt.

Da ich für diesen kein Script finde wie JD die MAC autom. ändern kann möchte ich den Router gerne tauschen.

Für welche WLAN N Router (mit aktueller Firmware) gibt es funktionierende MAC Change Scripts?

Bitte auch um einen Link zu dem passenden Script der jeweiligen Empfehlung.

Falls jemand für den DIR-615 in der dieser aktuellen Firmware ein funktionierendes Script hat nehme ich es natürlich auch gerne!

Danke!
Reply With Quote
  #2  
Old 01.02.2012, 21:40
Freeloader
Guest
 
Posts: n/a
Default

does the router have mac cloning feature in it ?
Reply With Quote
  #3  
Old 01.02.2012, 22:10
seppi
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Freeloader View Post
does the router have mac cloning feature in it ?
Yes the DIR-615 is able to do this, look at the very end of this screenshot:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #4  
Old 02.02.2012, 00:38
Freeloader
Guest
 
Posts: n/a
Default

here read that thread if you still cant figure it out contact me tomorrow through JD chat and I can help you with this via teamviewer > please try this first http://board.jdownloader.org/showthread.php?t=28267
Reply With Quote
  #5  
Old 02.02.2012, 00:45
Freeloader
Guest
 
Posts: n/a
Default

first record a random mac AND make sure you write this mac down somewhere, also copy the script in a text document. AFter this record the normal mac (default mac) and put this in a text document too. Then combine these two scipts into one and put in JDs liveheaders section. The thread Ive sent to you explains this very well but again if you can not solve the problem please feel free to contact me via jd support chat. If Im not available just wait or try again later.
Reply With Quote
  #6  
Old 02.02.2012, 21:22
seppi
Guest
 
Posts: n/a
Default

Hi Freeloader,

thank you! After reading I tried a little but I was not successfull.
However I found a nice free and easy tool that generates random mac's for my nic.

**External links are only visible to Support Staff****External links are only visible to Support Staff**
I use this command in a .bat file:
tmac -n LAN-Verbindung -nr -re -s

I can't figure out how I can build a script that clones this new mac to my dir-615 router...

For the cable modem reboot this liveheader/curl works for me:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /HardwareInfo.htm HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /CmState.htm HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /InitialScan.htm HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /goform/InitialScan HTTP/1.1
Host: %%%routerip%%%

mCmInfoDsFreq1=578000000&mCmInfoUsId1=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /goform/InitialScan HTTP/1.1
Host: %%%routerip%%%

mCmInfoDsFreq1=578000000&mCmInfoUsId1=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]



Would be awesome if you can help me with the rest!

Thank you!
Reply With Quote
  #7  
Old 03.02.2012, 00:04
Freeloader
Guest
 
Posts: n/a
Default

please contact me via JD chat and we can do this together.
Reply With Quote
  #8  
Old 03.02.2012, 14:23
remi
Guest
 
Posts: n/a
Default

If the technitium solution works for you, you can use jD's Batch Reconnection method to call the script.
Reply With Quote
  #9  
Old 03.02.2012, 23:24
Freeloader
Guest
 
Posts: n/a
Default

use macshift as it can hande commands better that technitium has a complete guide and I also have a script for this so JD can automate the whole process via this tool.

download macshift devices.natetrue.com/macshift/

this is your batch script.

Code:
@echo off

::Burada ipconfig komutunu kullanarak ağımızın MAC adresini öğrenip "mac" olarak kaydediyoruz.
FOR /F "TOKENS=3 DELIMS=.: " %%A IN ('IPCONFIG /ALL ^|FINDSTR /I /C:"Fiziksel"') DO set mac=%%A

::Burada bir kontrol noktası var, eğer MAC adresimiz eşitliğin sağındakiyle aynıysa altındaki atamayı yapmaya gerek olmadığından second aşamasına gidiyor.
if %mac%==00-E0-0C-89-29-75 goto second
::Eğer eşitlik doğru değilse MAC adresini yukarıdakine ayarlıyoruz.
macshift.exe -i "inter2" 00E00C892975

::adres değişimi tamamlandı, çıkışa gidiyor.
goto end

::Eğer yukarıdaki eşitlik doğruysa kodumuz bu aşamaya atlıyor ve MAC adresini varsayılana ayarlıyor.
:second
macshift.exe -i "inter2" -d

:end
contact me through chat if u need further assistance

Last edited by Freeloader; 03.02.2012 at 23:28.
Reply With Quote
  #10  
Old 04.02.2012, 14:30
remi
Guest
 
Posts: n/a
Default

I hope seppi trusts the script as it contains Turkish.
Reply With Quote
  #11  
Old 05.02.2012, 16:01
seppi
Guest
 
Posts: n/a
Default

Hi,

I trust the script, but I don't get why there is this line
macshift.exe-i "inter2" 00E00C892975

and this macshift.exe -i "inter2" -d

To get a random mac with this tool I used this:
macshift.exe -i LAN-Verbindung -r
and it works fine.

.........

Also I still don't have the "main" part where the new mac of my nic gets cloned into my dlink dir-615.


We can do a teamviewer / remote connection now untill the next 6 hours. I'll send you my email via private message.

Thank you!
Reply With Quote
  #12  
Old 05.02.2012, 20:46
Freeloader
Guest
 
Posts: n/a
Default

lets do this tomorrow, I will also show you how it works. If you can get a new IP by changing the machine mac address that tool will do the job. If you get a mac address by changing the router mac directly from the interface then I doubt that it'll work.

Some ISPs only allow 2 mac address changes 1 default mac and one custom mac which is defined by the user. At > macshift.exe-i "inter2" 00E00C892975 script will set the mac to 00E00C892975 (cutstom mac). Anyway will look ino this tomorrow I will PM you when Im available.
Reply With Quote
  #13  
Old 06.02.2012, 03:20
Enomine Enomine is offline
Bandwidth Beast
 
Join Date: Oct 2010
Posts: 137
Default

Hi Seppi. Deine Anfrage hört sich so an als würdest du gerne neue IP´s von KD bekommen, wenn du reconnectest, weil du ja von KD normalerweise die gleiche IP-Adresse wiederbekommst bei gleicher Mac-Adresse.
Falls dem so ist gebe ich folgenden Gedankenanstoß: Bist du dir sicher, dass die MAC-Adresse deines Routers dabei relevant ist? In diesem Szenario würde ich die MAC-Adresse deines Tomson Modems für relevanter halten.

Danke - Enomine
Reply With Quote
  #14  
Old 06.02.2012, 07:58
seppi
Guest
 
Posts: n/a
Default

Hi Enomine,

genau neue IP mit Kabel. Das erste Gerät hinter dem Modem ist für die IP "zuständig".

Also wenn ich den DLINK wegnehme und ein anderes Gerät anstecke, z.B. meinem PC bekomm ich ne neue IP.

Wenn ich am Router selbst die MAC ändere klappt es auch (beides mal muss aber auch das Kabelmodem neugestartet werden).

Wird die MAC am Kabelmodem geändert (habe ich nicht probiert aber oft gelesen geht nix mehr weil diese beim Anbieter registriert sind).


Also ich brauche eigentlich nur noch ein Script welches meine MAC am PC auf den DLink clont und dann das Modem bootet.

Wär schön wenn jemand sowas machen kann.

Danke!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 20:56.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.