Sponsored Content
Top Forums Shell Programming and Scripting Script to adjust network settings Post 302469494 by DukeNuke2 on Saturday 6th of November 2010 03:18:19 PM
Old 11-06-2010
looks like homework to me...?!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network settings on Red Hat

HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies

2. Shell Programming and Scripting

Adjust the db script

Enclosing a script that is used everyday for database shutdown. In here you will find some code that checks oracle version. That part is very unnecessary since we use only 8.1.7 and will never go back.. Can anyone help me by modifying the code, to never use that part and readjust so script does... (1 Reply)
Discussion started by: ST2000
1 Replies

3. UNIX for Dummies Questions & Answers

Network settings

Total newbie here!! How do I view and alter network settings (ip address, subnet mask and default gateway) in UNIX? Thanks in advance.. (3 Replies)
Discussion started by: ZappaDub
3 Replies

4. Linux

Mandriva 2006 keeps resetting network settings...

I've been looking for documentation on how to stop this behavior. I have two nics in my system. eth0: configured manually and as a dhcp server for the local network eth1: configured w/ dhcp enabled connected to router dns server addresses keep getting reset every few minutes. i suspect... (0 Replies)
Discussion started by: rbetzen
0 Replies

5. Solaris

Network settings

I have problem with network settings. Where i can find network config ? I'm newbie, but i very want learn this OS. I find : /etc/hostname.<interface> /etc/netconfig /etc/netmasks /etc/networks /etc/inet/hosts But where i can write my IP-address and after reboot i be know that my server... (2 Replies)
Discussion started by: jess_t03
2 Replies

6. HP-UX

Network Printer Settings-landscape/portrait mode

Hello everyone.. While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode. But i want to know is there any way we can set this as default behaviour for this printer? After configuration any script we can modify for this... (0 Replies)
Discussion started by: laxmikant
0 Replies

7. UNIX for Dummies Questions & Answers

Linux Server Network Settings - Share Directory Structure

Hello Unix Gurus Who I Hope Reads This, I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies

8. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

9. Shell Programming and Scripting

Script to adjust system time

Hello everyone, I am trying to write a script that will accomplish the following: - query current system time and store result into a variable - wait for some amount of time, say 300 seconds - reset system time to earlier queried time + 1 second I did some basic shell scripting (CSH... (11 Replies)
Discussion started by: xaiu
11 Replies

10. UNIX for Dummies Questions & Answers

Network settings on Motorola System V R32V3.2

Hi, I have inherited a Motorola System V R32V3.2 system. The system works fine, but we need to change the network settings. I've changed the IP address successfully, however I'm lost on the gateway and subnet mask. I've changed the default gateway using route -g10.0.8.1, but it changes back to... (7 Replies)
Discussion started by: Tilmar
7 Replies
WICD-WIRELESS-SETTINGS.CONF(5)					File Formats Manual				    WICD-WIRELESS-SETTINGS.CONF(5)

NAME
wicd-wired-settings.conf - controls Wicd's wireless network settings DESCRIPTION
This file contains configuration information for wireless interfaces in Wicd. This file is located at /etc/wicd/wireless-settings.conf SETTINGS
bssid = <BSSID_of_network> This value can be found using iwconfig(8). essid = <ESSID_of_network> This value can be found using iwconfig(8). hidden = <True|False> This option notes whether the network's ESSID is broadcast or not. channel = <integer_value> Valid channels are dependent upon country. This value can be found using iwconfig(8). mode = <Master|Ad-hoc> This value can be found using iwconfig(8). enctype = <encryption_template> This can take the value of any encryption template shown in /etc/wicd/encryption/templates/. encryption_method = WEP|WPA|WPA2> This value can be found using iwconfig(8). key = <plain_text_key> Be sure this file is readable only by root. automatic = <True|False> This option determines whether Wicd should automatically connect to this network. ip = <None|ip_address> Use this option if you have a static ip address for your system. netmask = <None|networkmask> This setting is only appropriate if a static ip address is configured above. broadcast = <None|broadcast_address> This setting is only appropriate if a static ip address is configured above. gateway = <None|gateway_address> This setting is only appropriate if a static ip address is configured above. use_static_dns = <True|False> True = use static DNS servers instead of accepting what the dhcp server supplies. use_global_dns = <True|False> True = use the global DNS servers provided in wicd-manager-settings.conf(5). This option is only appropriate if "use_static_dns = True" dns1 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" dns2 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" dns3 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" use_settings_globally = <0|1> Wicd keeps track of whether to autoconnect to networks based on bssid. This ensures that you don't accidentally connect to another network that is not yours but happens to have the same essid - for example, there are a lot of commercial routers in use with "linksys" as the essid. 0 = Do not use settings globally 1 = Use settings globally beforescript = <None|arbitrary_script> This defines a script to run before Wicd brings up the connection. IMPORTANT - scripts should ONLY be writable by root and should be located in a directory that is writable by only root. afterscript = <None|arbitrary_script> This defines a script to run after Wicd brings up the connection. IMPORTANT - scripts should ONLY be writable by root and located in a directory that is writable by only root. predisconnectscript = <None|arbitrary_script> This defines a script to run before Wicd disconnects the interface. postdisconnectscript = <None|arbitrary_script> This defines a script to run after Wicd disconnects the interface. IMPORTANT - scripts should ONLY be writable by root and located in a directory that is writable by only root. OTHER
The "use_settings_globally" option determines how an individual network's configuration stanza starts. If the option is "0" (do not use settings globally), then the stanza's top line will be the bssid of the access point (in this format): [00:15:3E:87:D3:68] If the "option is set to "1" (use settings globally), then the first line of the stanza will be in this format: [essid:UA Public Wireless Network] SEE ALSO
wicd(8), wicd-curses(8), wicd-manager-settings.conf(5), wicd-wired-settings.conf(5). wicd-1.7.2.4 WICD-WIRELESS-SETTINGS.CONF(5)
All times are GMT -4. The time now is 03:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy