#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
Bei admin&log_pass=&login_pass=" " muss zwischen die "" das Passwort. Stimmt den auch die IP des Routers?
|
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
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 ???? |
Thread Tools | |
Display Modes | |
|
|