What are you looking for Joey - has a bit of Malware get through your defences??
Urgently need your help, because you have an English Windows OS in use.
Open Command Prompt and sequentially enter
Code:netsh -c interface dump>%temp%\netcfg.txtIf Notepad opened the netcfg.txt file, please copy section IPv4-Configuration and paste it here.Code:notepad /a "%temp%\netcfg.txt"
Thanks for helping.
Look Here -> |
What are you looking for Joey - has a bit of Malware get through your defences??
In hindsight I should have posted my Facebook status as: "I've blown the head gasket on my 1997 XR3i" rather than "I've just buggered a 14 year old escort".
The police still haven't seen the funny side, my lap top's been confiscated and the wife has gone off to her mum's.
Never had a bit of Malware on my computers since almost 20 years now, believe it or not.
Seriously, I'm working on huge program realized in pure DOS, in which I want to programmatically disable / enable active network connections. Example
Because the program is intended for English and/or German localized Windows OS I have to know the English terms, too.Code::disableNetwork rem LAN IF %locale% EQU en_US ( SET _interface="Local Area Connection" ) ELSE ( SET _interface="LAN-Verbindung" ) netsh interface set interface !_interface! Disabled > NUL 2>&1 IF %locale% EQU en_US ( SET _interface="Local Area Connection" ) ELSE ( SET _interface="Ethernet" ) netsh interface set interface !_interface! Disabled > NUL 2>&1 rem WiFi IF %locale% EQU en_US ( SET _interface="Wireless Network Connection" ) ELSE ( SET _interface="Drahtlosnetzwerkverbindung" ) netsh interface set interface !_interface! Disabled > NUL 2>&1 IF %locale% EQU en_US ( SET _interface="Wireless Network Connection" ) ELSE ( SET _interface="WiFi" ) netsh interface set interface !_interface! Disabled > NUL 2>&1 SET "_interface=" SET network_disabled=1 GOTO :EOF
Seymour Butts (02-04-15)
here's mine (windows 8)
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
set interface interface="Ethernet-WFP Native MAC Layer LightWeight Filter-0000" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="ethernet_11" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="ethernet_3" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="other_1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
popd
# End of IPv4 configuration
jwoegerbauer (02-04-15)
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
popd
# End of IPv4 configuration
im late lol
https://www.facebook.com/philquad68
Hey Philquad,
I'm really disappointed. Why don't power on your Windows laptop and then provide me with the information requested? I need the terms especially those related to WiFi.
win7
# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
set interface interface="Local Area Connection 4" forwarding=disabled advertise=disabled mtu=1400 metric=0 siteprefixlength=0 nud=disabled routerdiscovery=disabled managedaddress=disabled otherstateful=disabled weakhostsend=disabled weakhostreceive=disabled ignoredefaultroutes=disabled advertisedrouterlifetime=0 advertisedefaultroute=disabled currenthoplimit=0 forcearpndwolpattern=disabled enabledirectedmacwolpattern=disabled
popd
# End of IPv4 configuration
jwoegerbauer (02-04-15)
me to mate
whys mine not the same?
paste 1st code - enter
2nd code - enter
im on desktop, not wireless?
maybe im unhackable like lol
#========================
# Interface configuration
#========================
pushd interface
popd
# End of interface configuration
# ----------------------------------
# IPHTTPS Configuration
# ----------------------------------
pushd interface httpstunnel
reset
popd
# End of IPHTTPS configuration
# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
popd
# End of IPv4 configuration
# ----------------------------------
# IPv6 Configuration
# ----------------------------------
pushd interface ipv6
reset
set interface interface="Local Area Connection* 9" forwarding=disabled advertise=disabled mtu=1280 metric=0 siteprefixlength=0 nud=disabled routerdiscovery=disabled managedaddress=disabled otherstateful=disabled weakhostsend=disabled weakhostreceive=disabled ignoredefaultroutes=disabled advertisedrouterlifetime=0 advertisedefaultroute=disabled currenthoplimit=0 forcearpndwolpattern=disabled enabledirectedmacwolpattern=disabled
popd
# End of IPv6 configuration
# ----------------------------------
# ISATAP Configuration
# ----------------------------------
pushd interface isatap
popd
# End of ISATAP configuration
# ----------------------------------
# 6to4 Configuration
# ----------------------------------
pushd interface 6to4
reset
popd
# End of 6to4 configuration
# ----------------------------------
# ISATAP Configuration
# ----------------------------------
pushd interface isatap
popd
# End of ISATAP configuration
#========================
# Port Proxy configuration
#========================
pushd interface portproxy
reset
popd
# End of Port Proxy configuration
# ----------------------------------
# TCP Configuration
# ----------------------------------
pushd interface tcp
reset
set global rss=enabled chimney=automatic autotuninglevel=normal congestionprovider=none ecncapability=disabled timestamps=disabled netdma=enabled dca=enabled
popd
# End of TCP configuration
# ----------------------------------
# Teredo Configuration
# ----------------------------------
pushd interface teredo
set state type=client servername=teredo.ipv6.microsoft.com. servervirtualip=0.0.0.0
popd
# End of Teredo configuration
# ----------------------------------
# 6to4 Configuration
# ----------------------------------
pushd interface 6to4
reset
popd
# End of 6to4 configuration
https://www.facebook.com/philquad68
Every machine is hackable!
To see which network adapters are present and what is their state, in Command Prompt enter
orCode:netsh Interface IPv4 Show Interfaces>%temp%\interfaces.txt
Code:netsh Interface IPv6 Show Interfaces>%temp%\interfaces.txt
That's result for my Windows 8.1.1 laptop (German Windows OS)
As you can see WiFi is listed.
--------------------
That's the batch file which delivered output shown above
Code:@ECHO OFF ECHO Test on IPv4 adapters (connected) ECHO( netsh Interface IPv4 Show Interfaces>%temp%\interfaces.txt FOR /f "skip=2 tokens=4*" %%a IN (%temp%\Interfaces.txt) DO ( If %%a==connected ( ECHO %%b ) ) ECHO( PAUSE ECHO( ECHO Test on IPv6 adapters (connected) ECHO( netsh Interface IPv6 Show Interfaces>%temp%\interfaces.txt FOR /f "skip=2 tokens=4*" %%a IN (%temp%\Interfaces.txt) Do ( If %%a==connected ( ECHO %%b ) ) ECHO( PAUSE DEL %temp%\interfaces.txt > NUL 2>&1 Exit /b
Last edited by jwoegerbauer; 02-04-15 at 06:24 PM.
i see the problem your having there in german
just to clarify, driicken \ taste
ok a few more i'll be happy as, id go atleast 8 super dry or carlton dry if available
if not, try cmd:// tooheys: extra dry - 330mml
but watch out for the c\\Heineken code as its misleading
your memory beer load drops bu 10%
ps, cant i just log onto my router to see whats connected?
Last edited by Philquad; 02-04-15 at 06:40 PM.
https://www.facebook.com/philquad68
My intention is to programmatically stop and start Network Adapters (NICs) in a batch file - as explained in post #3, so a check what devices are connected to the router doesn't help at all.
FYI: In between got the problem language independently solved!
Thanks all for your input.
P.S.:
A bottle of Tooheys Extra Dry in Germany costs € 2.79EUR == $ 3.98 AUD ( which are € 0.81 EUR == $ 1.16 AUD / 100ml ) . Only maniacs will pay so much for a bottle beer here.
Last edited by jwoegerbauer; 03-04-15 at 06:33 PM.
Here's mine Joey - if it helps - Nothing special
# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
set interface interface="Local Area Connection* 1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="WiFi" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Bluetooth Network Connection" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 12" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="ethernet_3" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
popd
# End of IPv4 configuration
In hindsight I should have posted my Facebook status as: "I've blown the head gasket on my 1997 XR3i" rather than "I've just buggered a 14 year old escort".
The police still haven't seen the funny side, my lap top's been confiscated and the wife has gone off to her mum's.
jwoegerbauer (03-04-15)
shit, $38 box / 24 = $1.58 here, we're forced into it us dumb aussies
as its $45 box or 2 for 78 so we save lots, drink more
just to prolong the agony
why is my ipv4 bugger all like you guys
& mostly ipv6 ?
https://www.facebook.com/philquad68
IPv6 was established in 1998. It' a replacement for IPv4, not simply an upgrade. Since then - 17 years ago! - all hosts (servers) should have switched to IPv6, so all clients ( PCs ) - theoretically - must only use IPv6 to communicate with a server. To be backward compatible, most (older?) PCs have NICs that support both IPv4 and IPv6. To clarify things: If the client today wants to connect to a server, first of all the request is made using IPv6. If this fails, then secondly the request is made using IPv4. The server acts equally: Most times an intermediate Linux server at server side does the translation, which takes some milliseconds.
Philquad (04-04-15)
Bookmarks