0
votes
0answers
17 views

I need a dynamic script for changing Host IPs depending on computer name that I can shoot over the network

Does anyone know how to make a Batch/Script, that I can modify, for looking up the host computer name and build the IP and gateway off of it. we have a simple setup of computer name refers to ...
1
vote
1answer
26 views

Add IPtables rule by script at the request of another computer

I wonder, is it possible to make an script, which adds rule in iptables by request from other pc? I mean, script "knows" what to do, but addres for rule comes from request. And how do you think it ...
0
votes
0answers
23 views

Script to email administrator when a duplicate IP is found on the network

I know this is a bit of a custom requirement but I was hoping someone currently has (or can put together) a script that checks for duplicate IP addresses on a network (something that might occur when ...
0
votes
1answer
89 views

Script to enable/disable IPv4 on a specific network adapter Win 7

For reasons I don't wish to get in to at the moment I need to occasionally disable Internet Protocol Version 4 (IPv4) on my wireless card, then enable it some time later. Currently I go into the ...
1
vote
1answer
76 views

Set IP Address based on User Name

So I have a script from my old XP installation that sets the IP address based on what the username is. Here is the script: 'Get Username set objNetwork = wscript.CreateObject("wscritp.network") ...
0
votes
1answer
53 views

How to let any user without root change specific network(qdisc) settings?

I have made a simple router from a Linux PC, for the purpose of simulating poor network conditions using qdisc (netem and tbf). Now, I want to allow any user to activate specific presets that I have ...
0
votes
2answers
510 views

Using sqlplus as tnsping alternative

Is it possible to use sqlplus as an alternative for tnsping since tnsping wasn't installed with the oracle setup. I simply want to check via batch script, whether the definitions from the tnsnames.ora ...
3
votes
1answer
813 views

Is there a script to add port forwarding rule in home router?

TL;DR: I am looking for a script or a cron job, which will periodically run on a linux host (fedora on raspberry pi) which will check if a port forwarding rule still exists in the router and add it if ...
0
votes
0answers
51 views

Windows script to log network information when network goes down

My mom's internet goes down intermittently while she's browsing the web. A little yellow caution triangle pops in her task bar and Google Chrome says "website not available." I would like to capture ...
1
vote
4answers
7k views

Script - How to check if a network path is available and then map it

I would like an screen saver / logon script that checks if a network path is available and then map it to a unit. If it is not available it disconnects/don't connect. Network path is ...
2
votes
3answers
12k views

How to disable ipv6 on a specific interface in linux?

Could someone tell me how to disable ipv6 auto-config on a specific network interface in CentOS? The current situation is: A PC has two network adapters eth0 and eth1 that are connecting to the same ...
1
vote
1answer
543 views

Windows batch file or script to load exported Wi-Fi XML profiles onto a new laptop

This probably is as simple as reconfiguring the standard code used by MS for the same thing but .. I hope maybe someone has already done it. You can easily export a Wi-Fi profile to a USB including ...
2
votes
3answers
1k views

How to test stability of wireless router

I had a wireless router that would intermittently drop connections, so I had switched to using a different router. I have since updated the firmware on the problematic router. Is there an easy way to ...
0
votes
0answers
45 views

Network issue when using wget script

I asked this question on the Unix & Linux site a few days back but I'm stuck with an answer of why. We receive an .xml feed of new items from our apparel vendors but I cannot get the wget script I ...
6
votes
4answers
4k views

How to prevent password popup everytime for changing network configuration in OS X Mountain Lion?

I have a few network scripts that I used under OS X Lion that automatically created a ssh connection and then changed network configuration on my local machine to run traffic through the ssh tunnel. ...
2
votes
2answers
834 views

Script or tool to get the IP address of a remote host

I want to set an environment variable with the IP address of a given remote host. This is the solution I've arrived to: export IP=`curl http://network-tools.com/default.asp?host=www.example.com | ...
2
votes
1answer
968 views

How can I monitor total transferred network traffic on a given interface

I need to monitor the amount of traffic that has passed through a given interface (mobile broadband dongle), so that I am informed when the total reaches (or nears) a given amount. I have practically ...
1
vote
3answers
1k views

Linux get single bandwidth usage sample

What I want to do is to write a script that gathers some information (like cpu temperature and bandwidth usage) and logs it into a file. I can't figure out how to get a single sample of the current ...
2
votes
4answers
5k views

Downloading a RAR file from Mediafire using WGET

Example: http://www.mediafire.com/?tjmjrmtuyco This was what I tried... wget -A rar [-r [-l 1]] <mediafireurl> That is to say, I tried with and without the recursive option. It ends up ...
25
votes
2answers
15k views

How to launch a command on network connection/disconnection?

I have a wifi connection that requires to authenticate using a web form once the wireless link is established. I know how to automate the authentication with a script that uses curl/curlIE. But how ...
2
votes
0answers
350 views

Use GRUB/GRUB2 to PXE boot OS image

Here is the situation I am in: I currently have a Windows drive that boots XP. The BIOS does not support PXE booting so this is out of the question. Therefore, I was thinking I could install a ...
0
votes
1answer
278 views

Detecting USB connection automatically in a network

I am having one network in my home (10 machines) with all machines are configured with Windows XP. I want to get an automatic log from all users in the network if anybody access their USB drive. I ...
1
vote
2answers
1k views

How to backup/sync saved game folders between multiple computers

I'm trying to basically sync some saved game files (in this case from Red alert 3) over 2 computers. So what I would like to happen is when I start my game, a script or batch file searches a network ...
0
votes
1answer
623 views

How to run script before starting vpn connection?

I need to run a bash script BEFORE connecting to a vpn (which I do by clicking the network manager applet). I need this script because when connecting to the vpn the routes are incorrect. The script ...
0
votes
2answers
801 views

Changing MAC address in a linux machine (fedora 8)

I am doing a test on MAC learning and for that ,I need to change my MAC address of linux machine while the interface is UP. To be more clear, consider eth1 in a fedora core 8 machine. And while the ...
0
votes
1answer
562 views

dialup connection script

I've just started working for a company who produce a specialist modem. In the test department they simulate actual use with a bunch of pc's acting as clients connecting over this modem. As such ...
0
votes
1answer
256 views

logging into network share

I am logging into a network share through a batch script to start a test I can get the shared program logged in but then up comes the windows prompt "run" or "cancel". Not all of the machines have ...
1
vote
2answers
283 views

Connect to a network via the command line

I want to be able to connect to a network via command line in Windows. My goal is to script out remoting into my work computer. I hate having to always manually connect to the VPN connection and ...