JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 15.04.2012, 16:29
makaveli333
Guest
 
Posts: n/a
Default Cisco + Dir - 600

Wie oben schon erwähnt suche ich ein script für den Cisco Model DPC3208 + DIR-600 für ein reconnect. Habe schon das Internet durchforstet und fand kein Script der funktionierte.
(Internetanbieter Unitymedia)

Bedanke mich für jede Antwort.
Reply With Quote
  #2  
Old 28.04.2012, 00:59
makaveli333
Guest
 
Posts: n/a
Default

Hätte einen Skript der nur zur hälfte funktionier d.h. das Modem reconnected aber ich bekomm keine neue Mac Adresse. Kann mir wer da weiter helfen ?

echo 1. Modem Cisco EP3212 wird neugestartet
curl -d "SADownStartingFrequency=618000000" **External links are only visible to Support Staff****External links are only visible to Support Staff**

echo 2. MAC-Adresse des DIR-600 Routers wird geaendert
if not exist "zahl.txt" set /a zahl=10
for /f %%i in (Zahl.txt) do set /a zahl=%%i
curl -b cookies.txt -c cookies.txt -m 10 "**External links are only visible to Support Staff**
curl -b cookies.txt -c cookies.txt -m 10 -d "login_n=admin&login_name=admin&log_pass=&login_pass=" "**External links are only visible to Support Staff**
curl -b cookies.txt -c cookies.txt -m 10 "**External links are only visible to Support Staff**
curl -b cookies.txt -c cookies.txt -m 10 -d "wan_mac=%Zahl%" "**External links are only visible to Support Staff**
set /a zahl=zahl+1
if %zahl%==91 set /a zahl=10
echo %zahl% > Zahl.txt
exit

Last edited by makaveli333; 28.04.2012 at 03:34.
Reply With Quote
  #3  
Old 28.04.2012, 08:21
Xavyer
Guest
 
Posts: n/a
Default

Bei admin&log_pass=&login_pass=" " muss zwischen die "" das Passwort. Stimmt den auch die IP des Routers?
Reply With Quote
  #4  
Old 28.04.2012, 21:08
makaveli333
Guest
 
Posts: n/a
Default

Jo das Passwort hab ich jetzt momentan gelöscht aber die ip des Routers stimmt.
Das Problem ist das die Mac Adresse nicht geändert wird. Der reconnect selber klappt. Nur wie gesagt er switscht von einer IP adresse zur anderen d.h. zwei IP Adressen.
Reply With Quote
  #5  
Old 29.04.2012, 20:19
makaveli333
Guest
 
Posts: n/a
Default

echo 1. Modem Cisco EP3212 wird neugestartet
curl -d "SADownStartingFrequency=618000000" **External links are only visible to Support Staff****External links are only visible to Support Staff**

echo 2. MAC-Adresse des DIR-600 Routers wird geaendert
if not exist "zahl.txt" set /a zahl=71
for /f %%i in (Zahl.txt) do set /a zahl=%%i
curl -b cookies.txt -c cookies.txt -m 10 -d "ACTION_POST=LOGIN&LOGIN_USER=admin&LOGIN_PASSWD="Passwort"&login=Anmelden" "**External links are only visible to Support Staff**>nul
curl -b cookies.txt -c cookies.txt -m 10 "**External links are only visible to Support Staff**>nul
curl -b cookies.txt -c cookies.txt -m 10 -d "ACTION_POST=DHCP&hostname=DIR-600&mac1=1c&mac2=bd&mac3=b9&mac4=90&mac5=d5&mac6=%cb%&clonemac=1c%%3Abd%%3Ab9%%3A90%%3Ad5%%3A%zahl%& dns1=&dns2=&mtu=1500&dh_eap_type=1&dh_authentication=0&dh_username=&dh_password=&dh_password_v=" "**External links are only visible to Support Staff** >nul
curl -b cookies.txt -c cookies.txt -m 10 "**External links are only visible to Support Staff**>nul
set /a zahl=zahl+1
if %zahl%==61 set /a zahl=71
echo %zahl% > Zahl.txt
rem Pause
exit

So mit diesen Skript lässt sich der Cisco 3208 restarten und der Router bekommt einer neue Mac Adresse. Das Problem ist troz der neuen MAC Adresse bleibt die Ip gleich. Wie kann das sein ????
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 01:53.
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.