Sponsored Content
Operating Systems Solaris New to Solaris (Checking/Adding network and harddisk) Post 302957999 by dennis3 on Saturday 17th of October 2015 01:55:53 PM
Old 10-17-2015
Regarding the network part

First of all, whenever you change something hardware wise, run the following:
Quote:
touch /reconfigure
init 6
rm -rf /reconfigure
There are several ways to force Solaris to scan and update it self for new hardware but this is the method I like the most.

Second, using the following command you can see all the Ethernet cards that are physically connected to the computer:
Quote:
dladm show-dev
Third, before you can use the card you need to plumb it, basically it allows the OS to use it and assign an IP to it, once you do that you'll see it when you run ifconfig. You plumb an interface only once, the automatic plumbing job belongs to the file you create per interface:
Quote:
/etc/hostname.e1000g0
/etc/hostname.e1000g1
and so on..
This User Gave Thanks to dennis3 For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a network printer

I recently added an HP deskjet printer to our Solaris network. I deleted the old printer which this one is replacing. I did everything in Printer Admin. I could think of. The problem now is that when I go to print something out of Star Office, my new printer is not a valid choice from the drop... (3 Replies)
Discussion started by: awells
3 Replies

2. UNIX for Dummies Questions & Answers

Adding a Unix Server to a Windows 2000 Network

Hi everyone Firstly I apologise for my total lack of knowledge about UNIX. Its unfortunately something I have never had any exposure to (Until Now). I administer a smallish Windows 2000 network with all the usual bits and pieces that involves, and have been given the task of joining a Unix... (3 Replies)
Discussion started by: maestro
3 Replies

3. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

4. Shell Programming and Scripting

Network checking while running a script

hi, i am new to this scripting stuff so please help. i need a script that should check network connection while process.bsh is running which connects to a server for some time (e.g. 30 secs to a minute) and I wanted to make sure that network interruption does not happen during this time period... (2 Replies)
Discussion started by: bun $ ny
2 Replies

5. Windows & DOS: Issues & Discussions

Adding subnet on windows network

Hi All, I have a windows network that I need to improve network speed. Unfortunately, it's running on one subnetwork. So I would like to put multi subnet on it. I don't want to put cisco routing and switching yet. I'm new to it and I would like to put linksys router and unmanaged switch for... (1 Reply)
Discussion started by: itik
1 Replies

6. Solaris

how to install solaris on portable external harddisk

Hi Fnds, I dont have enough space on my Vista based PC and I want solais to be installed on a portable external hard disk. Can anybody tell me how I can install solaris on external harddisk. cheers :), Vinodky (1 Reply)
Discussion started by: vinodky
1 Replies

7. Solaris

Network interface down after adding static route

Please , I have a problem I have add a statis route on Solaris 10, but after this, the network interface of Server was Offline. The system is in cluster mode (3.2) route add -net 10.10.1.128 -netmask 255.255.255.128 10.10.1.51 ------------------- lo0:... (1 Reply)
Discussion started by: Ruggero
1 Replies

8. UNIX for Advanced & Expert Users

need help adding network printer on SVR4

We have a very old and unsupported box. It runs DC/OSx, SVR4. For the past 12 years all printers have been connected via terminal servers and working well. Now those terminal servers are dying and cannot be replaced or repaired. Of course the right solution is to upgrade, but that's not gonna... (10 Replies)
Discussion started by: jbcamel
10 Replies

9. AIX

Procedure for adding a new harddisk to a server

how will you add new new HDD to server and explain the HDD installation procedure? (2 Replies)
Discussion started by: gopikumar
2 Replies
SHELL-QUOTE(1p) 					User Contributed Perl Documentation					   SHELL-QUOTE(1p)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)
All times are GMT -4. The time now is 09:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy