2
votes
1answer
59 views

Is there a command to scan my network and check the conflict IPs

It's hard job to find the duplicate IP when this happens. You know you have then to search all network IPs to check the duplicate. So is there a command line or a script to do that for me?
6
votes
2answers
121 views

How to run a script when there is a change in your local IP?

Before marking as a duplicate: this is not about dynamic DNS or similar things. I know how to run a script every time my networks goes up; it is a simple matter of adding a script in the directory ...
0
votes
1answer
106 views

Network Manager dispatcher.d script error

I wrote a script in "/etc/NetworkManager/dispatcher.d" to open the Firefox preferences dialog whenever I connect to a particular network (college wifi), because I have to enable proxy. The script is ...
0
votes
0answers
23 views

Does anyone know how to connect to network Drives using scripts?

I've looked around, but I couldn’t find anything that worked. I'm trying to create a script that runs at startup which connects to my colleges network folder(smb://stuff/stuff). This script would ...
0
votes
2answers
609 views

Run scripts automatically in server after ssh connection

how to run a script automatically in server soon after client system establish ssh connection with the server for ex: suppose a user will logon to my computer from another system(connected via lan) ...
0
votes
0answers
18 views

How to creat scripts with daily summary

How to creat scripts which showing me daily summary containing the number of data sent and received for a pre-defined fixed networks applications (wget, SMTP, FTP). Thank you for any idea :)
2
votes
1answer
1k views

How to set system-wide proxy address using shell script?

I want to set system Proxy address through my Qt application. So i was wondering if i could write a script which can be executed by my application every time to change the proxy address. I tried : ...
1
vote
1answer
40 views

How can I make Xubuntu automatically tally the number of times a machine loads?

I would like to pilot Xubuntu in a school computer lab environment. The solution requires shared access devices that are independent of the school's Windows environment. I would like to collect data ...
1
vote
1answer
2k views

Wi-FI not working on ASUS U56E on Ubuntu 13.04

I don't think this is a huge problem because it seemed to be an easy fix for Ubuntu 11 and 12 so now I'm using 13.03 and cannot find a solution to my Wi-Fi problem. My lap-top can find all the ...
4
votes
0answers
223 views

NetworkManager run script before connection based on SSID

Is it possible to have NetworkManager run a script before it connects to a wifi network and pass the SSID of the network to the script (or just execute a script based on SSID)? I'm switching back from ...
0
votes
0answers
40 views

How can I write user given values into the network/interfaces file using an Sh Script

How to write a shellscript that asks the user to provide Network information and write it down to /etc/network/interfaces
1
vote
0answers
22 views

Bash Script to set “system wide” proxy settings [duplicate]

I am wondering if there is a command (or series of commands) that would do the same thing as network-network proxy-apply system wide. I believe I can export a variable, but I think that that button ...
3
votes
3answers
467 views

How do I run a simple Zenity script after disconnecting from WiFi?

I am running Kubuntu 12.10 64bit. I am trying to get a bash script to execute when I am disconnected from the network. I created a file in the folder /etc/network/if-down.d/ called test which has a ...
3
votes
2answers
532 views

Bash script won't stay open in background after running through while

I can't get the following bash script to stay open after the first message is received from NC: #!/bin/bash port=3333 nc -l $port | while read msg; do notify-send Alert "$msg"; done After the first ...
1
vote
1answer
652 views

How do I delay Upstart's net-device-up signal until a condition is met?

I need to wait for a specific condition to be met a network interface is considered "up". Upstart is sending its net-device-up signal before this condition is met, which cases the scripts that depend ...
0
votes
1answer
1k views

Can i change the network section of my conky to support my wifi?

So I've been having fun with setting up my new conky which I downloaded recently (i'm running Ubuntu 12.04). I am having a problem with the section of the conky which measures network parameters. ...
0
votes
2answers
388 views

How do I decrease the timeout on ifup?

I'm writing a shell script that brings up an Ethernet interface (configured for DHCP) to determine whether it's connected to a network. If it isn't, I'd like to be able to report in a timely manner ...
3
votes
3answers
1k views

How to copy files to multiple hosts across the network?

I have more than 200 Ubuntu systems to which I want to copy a file. How can I copy files to multiple hosts across the network? What possibilities do I have? Note: This question is related to How to ...
7
votes
2answers
4k views

Call script after connecting to a wireless network

Is there a way for me to call a shell script once I connect to a specific wireless network? Reason I want to do this is I have to login to the network before I can start using it and I would like to ...
4
votes
1answer
725 views

Script to dial 3g link in case network is down?

I want to set up an Ubuntu router with automatic fail-over to a 3G link. I can probably set up routing and link aggregation, but I don't know how to monitor link status and dial the 3G link in case it ...
1
vote
3answers
2k views

How to Write a Shell Script to Move Files from FTP Server to Network Share Drive

I have customers who upload large amounts of data to my FTP server (an Ubuntu 9.10 machine). Once the files are uploaded, I am faced with transferring them to a local Droboshare network drive so our ...
1
vote
2answers
718 views

connecting and copying files with scp — ubuntu 10.04

I have a work computer. I have a home computer. I want to be able to share files between with scp, both our computers are behind routers, which assign a local ip. 198.168.0.* As well as knowing their ...