[osol-discuss] help in clearing the login screen....

2007-12-12 Thread kishankumar poondichetlur
Hi All,

Am new to Solaris.I have installed open solaris express community edition 
b66.The installation is successful.While installing i was asked for an 
alphanumeric username which i entered as pcr123.

The login screen also came successfully.But when i enterd the username it didnt 
accept.It says login incorrect.Also i tried the user name as root.Still the 
same problem.I didnt enter any password.Anyway i can skip this screen ??? I 
dont want any username or password.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Equivalent of OBP 'probe-scsi-all' from inside

2007-12-12 Thread Chandan Maddanna
Dear Kyle,

The number of cable connected has nothing to do with the controllers that is 
visible.

Even if you are connected through just one cable, the number of controllers 
visible will be the same.

But it seems like what you are asking for is lun masking. That is seeing just 
some luns and not seeing some.

So if this is what you want to do, than in normal entry level storage arrays we 
will have to implement it on the client side ( solaris box connected to the 
array ).

Hope this helps.

-- Chandan Maddanna
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread Chandan Maddanna
Dear Frank,

I use this small script i had written for mounting iso images. hope it helps..

Save the below contents in a file called mountiso.sh

#!/usr/bin/bash
mkdir $2
lofiadm -a $1 /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have mounted $1 under the 
folder $2\n\n


and then give this script file executable permission form command prompt.

#  chmod +x ./mountiso.sh

and use this script to mount iso images...


For example lets say you have an iso image called /opt/testfile1.iso and you 
want to mount it under /testfilecontents

Than use the script as follows :

#  ./mountiso.sh   /opt/testfile1.iso /testfilecontents


and you are done, you will have all the contents of the iso visible under 
/testfilecontents folder.


Best Regards,

-- Chandan Maddanna
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread Zhang, Frank F
Chandan
Thanks for your detailed explanation, but my requirement is a little 
different from what you have done here, I want to mount an IMG file, not an ISO 
file, and also I want to specify the mount offset during mounting.




Thanks!
Frank


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandan Maddanna
Sent: 2007年12月12日 16:50
To: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] Does Solaris has similar Linux command mount -o

Dear Frank,

I use this small script i had written for mounting iso images. hope it helps..

Save the below contents in a file called mountiso.sh

#!/usr/bin/bash
mkdir $2
lofiadm -a $1 /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have mounted $1 under the 
folder $2\n\n


and then give this script file executable permission form command prompt.

#  chmod +x ./mountiso.sh

and use this script to mount iso images...


For example lets say you have an iso image called /opt/testfile1.iso and you 
want to mount it under /testfilecontents

Than use the script as follows :

#  ./mountiso.sh   /opt/testfile1.iso /testfilecontents


and you are done, you will have all the contents of the iso visible under 
/testfilecontents folder.


Best Regards,

-- Chandan Maddanna
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread Casper . Dik


#!/usr/bin/bash
mkdir $2
lofiadm -a $1 /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have mounted $1 under 
the folder $2\n\n


You should realize that lofiadm actually outputs the device used, so
the script can be written so as not to require only /dev/lofi/1

I've attached my scripts which I use for mounting/unmounting lofi volumes.

It detects pcfs, ufs and hsfs filesystem and mounts them; it remembers
the mount and a single lofiumount without arguments will unmount all
you mounted.

I've written these a long time ago, shortly after lofiadm was added,
I think.

Usage is simple:

lofimount file.iso /mnt

lofiumount /mnt

lofimount file.ufs /mnt

etc.

#!/usr/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the License).
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets [] replaced with your own identifying
# information: Portions Copyright [] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Author: [EMAIL PROTECTED]
#


PATH=/usr/sbin:$PATH
export PATH
if [ ! -x /usr/sbin/lofiadm ]
then
echo $0: Only supported on systems with lofiadm (Solaris 8+) 21
exit 1
fi

usage ()
{
echo Usage: $0 [-o options] file dir 12
exit 1
}

options=
while getopts o: c
do
case $c in
o)  if [ -n $options ]
then
usage
fi
options=$OPTARG,
;;

*)  usage;;
esac
done
shift `expr $OPTIND - 1`

state=/var/run/.lofi-$LOGNAME

if [ $# = 0 ]
then
 cat $state
 exit
fi
f=$1
dir=$2
if [ ! -f $f -o ! -d $dir ]
then
usage
fi
case $f in
/*) ;;
*) f=`pwd`/$f;;
esac

lofi=`lofiadm -a $f`
if [ $lofi =  ]
then
exit 1 # Lofi printed an error
fi

fstyp=`fstyp $lofi`

# Sanity
case $fstyp in
ufs | udf) opt=nosuid; fsck -o p $lofi;;
pcfs) opt=foldcase,hidden;;
hsfs) opt=ro,nosuid;;
*)
echo $0: unexpected filesystem type \$fstyp\ 21
lofiadm -d $lofi
exit 1;;
esac
opt=$options$opt
if [ ! -w $f ]
then
opt=$opt,ro
fi

if mount -F $fstyp -o $opt $lofi $dir
then
echo $lofi $dir $f  $state
exit 0
else
lofiadm -d $lofi
exit 1
fi
#!/usr/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the License).
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets [] replaced with your own identifying
# information: Portions Copyright [] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Author: [EMAIL PROTECTED]
#

PATH=/usr/sbin:$PATH
export PATH
p=`basename $0`
if [ ! -x /usr/sbin/lofiadm ]
then
echo $p: Only supported on systems with lofiadm (Solaris 8+) 21
exit 1
fi

state=/var/run/.lofi-$LOGNAME

# Nothing to do?
[ -f $state ] || exit 0

if [ $# -gt 1 ]
then
echo Usage: $p [file|dir] 12
exit 1
fi
 $state.new
while read lofi dir file
do
if [ -z $1 -o $1 = $dir -o $1 = $file ]  umount $dir
then
lofiadm -d $lofi
echo $p: Unmounted $dir ($file)
else
echo $lofi $dir $file  $state.new
fi
done  $state

mv $state.new $state
if [ -s $state ]
then
exit 1
else
rm -f $state
exit 0
fi
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Laptop testing OpenSolaris (Indiana) on ODM laptops

2007-12-12 Thread Ghee Teo
W. Wayne Liauh wrote:
 Well, maybe if the Sun licensing meant I got a free
 one :)   
 Otherwise, that form factor really isn't my cup of
 tea at all.

 Cheeri,
 Calum.

 

 Well, we have very different understandings of the term Sun licensing (do 
 you think Sun will allow the Asus EeePCs to use its name as is?) :-)  The 
 EeePCs do look faddy on the outside:

 http://taiwan.cnet.com/digilife/0,289053,20126344,00.htm

 i.e., until you open the lid (both the LED screen and the OS do not really 
 appeal to professionals).
   
  Well, the 8G model almost filled the gap for me. BTW, do you know what 
kind of Chinese input method
does the EeePC supports? I use a pen tablet to enter Chinese text, and 
as this is only available and run on
Windows, that is the only reason I still have a Windows partition in my 
laptop.

-Ghee
 Everex is coming out with an UMPC with a similar form factor:

 http://www.linuxdevices.com/news/NS6962839488.html

 Can't comment on it until I actually look at one.

 However, I am curious if there is a possibility of a SunRay-type 
 nano-notebook?
  
  
 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] help in clearing the login screen....

2007-12-12 Thread kishankumar poondichetlur
I fixed the problem.just a minor issue.Thanx to all
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] installing updates?

2007-12-12 Thread Shawn Walker
On Dec 12, 2007 8:06 AM, Cheng Thao [EMAIL PROTECTED] wrote:
 Let's say I have build 77 installed but wanted to upgrade to build 79.   I'm 
 wondering if we can install updates rather than doing a clean install of a 
 new build?

You can run the upgrade program from the installer or use liveupgrade;
otherwise, no, not currently.

-- 
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/

To err is human -- and to blame it on a computer is even more so. -
Robert Orben
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] installing updates?

2007-12-12 Thread Cheng Thao
Let's say I have build 77 installed but wanted to upgrade to build 79.   I'm 
wondering if we can install updates rather than doing a clean install of a new 
build?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Build 78 ,79

2007-12-12 Thread Stefan Gaertner
me too. Need WPA2 AES for wpi, included build 78.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Build 78 ,79

2007-12-12 Thread Robin Bowes
Stefan Gaertner wrote:
 me too. Need WPA2 AES for wpi, included build 78.

And I'm waiting to see what CIFS support is like in b78 before I install
Samba!

R.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Build 78 ,79

2007-12-12 Thread Casper . Dik

Stefan Gaertner wrote:
 me too. Need WPA2 AES for wpi, included build 78.

And I'm waiting to see what CIFS support is like in b78 before I install
Samba!


Samba is still installed in b78 also.

Casper

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Equivalent of OBP 'probe-scsi-all' from inside

2007-12-12 Thread Kyle McDonald
Chandan Maddanna wrote:
 Dear Kyle,

 The number of cable connected has nothing to do with the controllers that is 
 visible.

   
Not really. It's my understanding that each port a cable could connect 
to is seen as a seperate controller.
Also Controllers with no devices attached are not visible (in 
/dev/dsk/c*t*d*, etc.)
 Even if you are connected through just one cable, the number of controllers 
 visible will be the same.

   
When I say 'controllers' I'm talking about FC interface cards in the 
Server. Maybe I'm using the wrong term? What do you mean by controller?
 But it seems like what you are asking for is lun masking. That is seeing just 
 some luns and not seeing some.
   
No. I want to know what luns or devices are reachable on the other end 
of the cable I've plugged into the board in the server.
 So if this is what you want to do, than in normal entry level storage arrays 
 we will have to implement it on the client side ( solaris box connected to 
 the array ).

   
This isn't connected to an entry level box. The box on the other end is 
an EMC Symetrix Array.
 Hope this helps.
   
It's a start.

More info;

I started with 2 pairs of servers.
Each pair of servers had 4 links (2 for each server in the pair) to the 
same pool of disks (or luns.)
So each server in the pair had redundant links to it's set of disks 
which it shared with the other server in the pair.

I want to reduce this to only 1 server (for now,) and give it the right 
combination of cables from these 2 pairs of servers, so that it will be 
able to see all the disks from both pools.

So I want to plug in each of the 8 cables, and try to determine which of 
the disks are visible on the other end.

If this was scsi, and sparc, I'd use 'probe-scsi-all' from OBP, to see 
which disks show up on which cables/ports/controllers.

What can I use for FC?

I discovered 'cfgadm'. And I manged to get it to list the 4 controllers, 
and  1 disk on each. However the ID of that one disk doesn't look 
anything like the WWN of the targets  I see in  /dev/dsk.  On top of 
that why is there is only one disk? I see 18 targets in /dev/dsk, 
shouldn't I see 18 disks listed mong the 4 controllers?

   -Kyle

 -- Chandan Maddanna
  
  
 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread Kyle McDonald

[EMAIL PROTECTED] wrote:
  

#!/usr/bin/bash
mkdir $2
lofiadm -a $1 /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have mounted $1 under the 
folder $2\n\n




You should realize that lofiadm actually outputs the device used, so
the script can be written so as not to require only /dev/lofi/1

I've attached my scripts which I use for mounting/unmounting lofi volumes.

It detects pcfs, ufs and hsfs filesystem and mounts them; it remembers
the mount and a single lofiumount without arguments will unmount all
you mounted.

I've written these a long time ago, shortly after lofiadm was added,
I think.

Usage is simple:

lofimount file.iso /mnt

lofiumount /mnt

lofimount file.ufs /mnt

etc.

  

That's cool Casper.

I know it needs polishing, but I've attached a script I wrote and placed 
in /usr/lib/fs/lofi/mount, so that I could put entries like  this in 
/etc/vfstab:


/export/Solaris/ISOs/sol-nv-b74-x86-dvd.iso - /export/Solaris/sNV/b74_x 
lofi - yes fstype=hsfs


Maybe I can extend it to detect the fstype automatically from your script.

 -Kyle

#/bin/ksh
#
#

if [ $1 = -o ]; then
  OPTS=$2
  shift 2
fi

FILE=$1
MTPT=$2

if [ ${OPTS} !=  ]; then
  SAVE_IFS=${IFS}
  IFS=,

  set - ${OPTS}

  IFS=${SAVE_IFS}

  OPTS=

  while [ ${1}x != x ]; do
case $1 in
  fstype=* )
# Use fancy shell pattern/regexp assignment operation.
TYPE=`echo $1 | sed s/fstype=//`;;
  * )
# use new fancy assignment shell operation.
if [ ${OPTS} =  ]; then
  OPTS=-o $1
else
  OPTS=${OPTS},$1
fi;;
esac

shift
  done
 
fi

LOFI=
LOOP=0

if [ -r ${FILE} ]; then
  while [ ${LOFI} =  -a ${LOOP} -lt 10 ]; do

LOFI=`lofiadm ${FILE} 2/dev/null`
#   LOFI=`lofiadm ${FILE}`

if [ ${LOFI} =  ]; then
  LOFI=`lofiadm -a ${FILE} 2/dev/null`
# LOFI=`lofiadm -a ${FILE}`
fi

if [ ${LOFI} =  ]; then
  LOOP=`echo ${LOOP} + 1 | bc`
  echo Looping(${LOOP}) 12
  sleep 1
fi

  done
else
  echo mount: open: ${FILE}: No such file or directory
fi

#echo FILE:${FILE} 12
#echo MTPT:${MTPT} 12
#echo TYPE:${TYPE} 12
#echo OPTS:${OPTS} 12
#echo LOFI:${LOFI} 12

if [ ${LOFI} =  ]; then
  echo Aborting! 12
  exit 1
fi

echo mount -F ${TYPE} ${OPTS} ${LOFI} ${MTPT} 12
mount -F ${TYPE} ${OPTS} ${LOFI} ${MTPT}

exit $?
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Build 78 ,79

2007-12-12 Thread Robin Bowes
[EMAIL PROTECTED] wrote:
 Stefan Gaertner wrote:
 me too. Need WPA2 AES for wpi, included build 78.
 And I'm waiting to see what CIFS support is like in b78 before I install
 Samba!
 
 
 Samba is still installed in b78 also.

s/install/setup/ :p

R.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] CIFS kernel client

2007-12-12 Thread Joerg Schilling
Hi,

is there already a known timeframe when a CIFS client will be available?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread Nico Sabbi
Il Wednesday 12 December 2007 16:29:05 Kyle McDonald ha scritto:
 [EMAIL PROTECTED] wrote:
  #!/usr/bin/bash
  mkdir $2
  lofiadm -a $1 /dev/lofi/1
  mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have
  mounted $1 under the folder $2\n\n
 
  You should realize that lofiadm actually outputs the device
  used, so the script can be written so as not to require only
  /dev/lofi/1
 
  I've attached my scripts which I use for mounting/unmounting lofi
  volumes.
 
  It detects pcfs, ufs and hsfs filesystem and mounts them; it
  remembers the mount and a single lofiumount without arguments
  will unmount all you mounted.
 
  I've written these a long time ago, shortly after lofiadm was
  added, I think.
 
  Usage is simple:
 
  lofimount file.iso /mnt
 
  lofiumount /mnt
 
  lofimount file.ufs /mnt
 
  etc.

 That's cool Casper.

 I know it needs polishing, but I've attached a script I wrote and
 placed in /usr/lib/fs/lofi/mount, so that I could put entries like 
 this in /etc/vfstab:


I have a similar (but worse) problem: in linux I need to mount the
individual slices from an image file, thus I need to find the
offsets of the slices.
Unfortunately linux's fdisk can't recognize Sun's slices, but the 
kernel can (from raw partitions of course).

According to a file in the linux kernel sources the structure is this:

struct sun_disklabel {
unsigned char info[128];   /* Informative text string 
*/
struct sun_vtoc {
__be32 version; /* Layout version */
char   volume[8];   /* Volume name */
__be16 nparts;  /* Number of partitions */
struct sun_info {   /* Partition hdrs, sec 
2 */
__be16 id;
__be16 flags;
} infos[8];
__be16 padding; /* Alignment padding */
__be32 bootinfo[3];  /* Info needed by mboot */
__be32 sanity;   /* To verify vtoc sanity */
__be32 reserved[10]; /* Free space */
__be32 timestamp[8]; /* Partition timestamp */
} vtoc;
__be32 write_reinstruct; /* sectors to skip, writes */
__be32 read_reinstruct;  /* sectors to skip, reads */
unsigned char spare[148]; /* Padding */
__be16 rspeed; /* Disk rotational speed */
__be16 pcylcount;  /* Physical cylinder count */
__be16 sparecyl;   /* extra sects per cylinder */
__be16 obs1;   /* gap1 */
__be16 obs2;   /* gap2 */
__be16 ilfact; /* Interleave factor */
__be16 ncyl;   /* Data cylinder count */
__be16 nacyl;  /* Alt. cylinder count */
__be16 ntrks;  /* Tracks per cylinder */
__be16 nsect;  /* Sectors per track */
__be16 obs3;   /* bhead - Label head offset */
__be16 obs4;   /* ppart - Physical Partition */
struct sun_partition {
__be32 start_cylinder;
__be32 num_sectors;
} partitions[8];
__be16 magic;  /* Magic number */
__be16 csum;   /* Label xor'd checksum */
} * label;


I guess that the partitions[8] identifies the slices, correct?
(did I dream that they were 16? )
Please, correct me if Iìm wrong.

Thanks,
Nico
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Ignacio Marambio Catán
On Dec 12, 2007 12:54 PM, Joerg Schilling
[EMAIL PROTECTED] wrote:
 Hi,

 is there already a known timeframe when a CIFS client will be available?

 Jörg

there is one already, a beta
http://www.opensolaris.org/os/project/smbfs/downloads/Beta2/

nacho
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Don Traub
Yep, and we've been making frequent code drops available over the last 
few months.


We're feature-complete according to the requirements set forth, and are 
plowing through the remaining bugs. Not many left! We've penciled in 
build 84 as our target, pending final bug and test cycles.


Download the code, see how it works for you, and share any issues or 
feedback. There's a lot more that needs to be done with it following the 
initial delivery.


Regards,
Don Traub


Ignacio Marambio Catán wrote:

On Dec 12, 2007 12:54 PM, Joerg Schilling
[EMAIL PROTECTED] wrote:
  

Hi,

is there already a known timeframe when a CIFS client will be available?

Jörg



there is one already, a beta
http://www.opensolaris.org/os/project/smbfs/downloads/Beta2/

nacho
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
  


--
http://www.sun.com/solaris  *Don Traub*
Senior Engineering Manager, Solaris Storage Software
*Sun Microsystems, Inc.*
500 Eldorado Blvd., MS UBRM05-171
Broomfield, CO. 80021
Phone x41860/303-547-3537
Cell 303-888-0683
Fax 303-272-7736
Email [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.sun.com/solaris

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Does Solaris has similar Linux command mount -o

2007-12-12 Thread chandan maddanna
Thanks frank,

yes, you can use standard img format also, BUt i donno about the mount
offset thng.

Also Caspers script is more better one. so you can use that too. ALso if you
get to know about the offset usage, Kindly share with me.


Thanks and Warm Regards,

-- Chandan Maddanna

On Dec 12, 2007 2:39 PM, Zhang, Frank F [EMAIL PROTECTED] wrote:

 Chandan
Thanks for your detailed explanation, but my requirement is a little
 different from what you have done here, I want to mount an IMG file, not an
 ISO file, and also I want to specify the mount offset during mounting.




 Thanks!
 Frank


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Chandan Maddanna
 Sent: 2007年12月12日 16:50
 To: opensolaris-discuss@opensolaris.org
 Subject: Re: [osol-discuss] Does Solaris has similar Linux command mount
 -o

 Dear Frank,

 I use this small script i had written for mounting iso images. hope it
 helps..

 Save the below contents in a file called mountiso.sh

 #!/usr/bin/bash
 mkdir $2
 lofiadm -a $1 /dev/lofi/1
 mount -F hsfs -o ro /dev/lofi/1 $2  echo -e \n\t I have mounted $1
 under the folder $2\n\n


 and then give this script file executable permission form command prompt.

 #  chmod +x ./mountiso.sh

 and use this script to mount iso images...


 For example lets say you have an iso image called /opt/testfile1.iso and
 you want to mount it under /testfilecontents

 Than use the script as follows :

 #  ./mountiso.sh   /opt/testfile1.iso /testfilecontents


 and you are done, you will have all the contents of the iso visible under
 /testfilecontents folder.


 Best Regards,

 -- Chandan Maddanna


 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Joerg Schilling
Don Traub [EMAIL PROTECTED] wrote:

 Yep, and we've been making frequent code drops available over the last 
 few months.

 We're feature-complete according to the requirements set forth, and are 
 plowing through the remaining bugs. Not many left! We've penciled in 
 build 84 as our target, pending final bug and test cycles.

 Download the code, see how it works for you, and share any issues or 
 feedback. There's a lot more that needs to be done with it following the 
 initial delivery.

I installed it and after I did a reboot, the /dev/nsmb was present.

I cannot see an export list and I cannot mount filesystems from a netap server.

smbutil view //[EMAIL PROTECTED]/ 
Password:
smbutil: session setup phase failed: syserr = Zugriff verweigert
smbutil: could not login to server FILESRV: syserr = Zugriff verweigert

mount -F smbfs //[EMAIL PROTECTED]/br /tmp/dir
Password:
mount: session setup phase failed: syserr = Zugriff verweigert


Any idea?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Robert . Thurlow
Joerg Schilling wrote:
 Don Traub [EMAIL PROTECTED] wrote:
 
 Yep, and we've been making frequent code drops available over the last 
 few months.

 We're feature-complete according to the requirements set forth, and are 
 plowing through the remaining bugs. Not many left! We've penciled in 
 build 84 as our target, pending final bug and test cycles.

 Download the code, see how it works for you, and share any issues or 
 feedback. There's a lot more that needs to be done with it following the 
 initial delivery.
 
 I installed it and after I did a reboot, the /dev/nsmb was present.
 
 I cannot see an export list and I cannot mount filesystems from a netap 
 server.
 
 smbutil view //[EMAIL PROTECTED]/ 
 Password:
 smbutil: session setup phase failed: syserr = Zugriff verweigert
 smbutil: could not login to server FILESRV: syserr = Zugriff verweigert
 
 mount -F smbfs //[EMAIL PROTECTED]/br /tmp/dir
 Password:
 mount: session setup phase failed: syserr = Zugriff verweigert
 
 
 Any idea?

Try smbutil view -A //filesrv to see if anonymous share listing
works better.  After that, we'd need to figure out authentication;
a snoop would help a lot there.

Rob T
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Joerg Schilling
[EMAIL PROTECTED] wrote:

  smbutil view //[EMAIL PROTECTED]/ 
  Password:
  smbutil: session setup phase failed: syserr = Zugriff verweigert
  smbutil: could not login to server FILESRV: syserr = Zugriff verweigert
  
  mount -F smbfs //[EMAIL PROTECTED]/br /tmp/dir
  Password:
  mount: session setup phase failed: syserr = Zugriff verweigert
  
  
  Any idea?

 Try smbutil view -A //filesrv to see if anonymous share listing
 works better.  After that, we'd need to figure out authentication;
 a snoop would help a lot there.

Thank you, this gives a list of shares.

ShareType   Comment
---
...
nfsv4festplatte NFSV4 Test - keep off

25 shares listed from 28 available

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] CIFS kernel client

2007-12-12 Thread Joerg Schilling
[EMAIL PROTECTED] wrote:

 Try smbutil view -A //filesrv to see if anonymous share listing
 works better.  After that, we'd need to figure out authentication;
 a snoop would help a lot there.

Maybe this new error helps:

mount -F smbfs //[EMAIL PROTECTED]/u /tmp/dir
mount: session setup phase failed: syserr = Zugriff verweigert
mount: main(lookup): bad keychain entry
Password:

mount: session setup phase failed: syserr = Zugriff verweigert

This happens after I did a smbutil login

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] SXDE based on b77?

2007-12-12 Thread Mark Drummond
I just downloaded the DVD for SXCR build 77. It appears to include SXDE as
well. Is this SXDE 9/07?

It's a bit confusing because, from the SXDE web pages, I can download an
SXDE 9/07 DVD, OR I can download an SXCR build 70b DVD. Only, they are the
same DVD. Different download web pages in SDLC, but the download in both
cases consists of 3 files which are named the same and are the same sizes.

Now, more confusion. With the build 77 DVD I just downloaded, when I select
SXDE from the grub boot menu, it boots a build 77 kernel. Is this going to
install a build 77 based SXDE? Or is it using the the build 77 kernel during
the install but I will actually end up with a build 70b based SXDE 9/07?

Just trying to sort out the spaghetti.

Thanks,
Mark

-- 
Georgia: Why am I not doing what they're doing?
Rube: Because you're doing what you're doing. When it's time for you to do
something else you'll do that.
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] installing updates?

2007-12-12 Thread Gary Gendel
I've upgraded fine using one of two methods.

1) Start the installation from the new CD, at some point you'll be asked if you 
want to do an initial install or upgrade.  Choose upgrade.  This still takes 
roughly the same amount of time as a full install. On one of my machines this 
meant over an hour downtime.

2) Use LiveUpgrade.  This requires an alternative boot partition, but it allows 
you to upgrade while the system is live.  You only need to do a reboot at the 
end.  The nice thing is that if you find something broken you can go back to 
the previous install.

Gary
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] SXDE 9/07 install fails immediately

2007-12-12 Thread Mark Drummond
I am trying to install SXDE 9/07 in a vmware 6.x vm. After stepping through
the installation GUI, when I click the last button to begin the install, the
GUI comes back immediately with an installation failed error message,
*but* the installer is actually still running in teh background. My disk and
the dvd drive are still spinning and you can see installf in the ps output.

Anyone else seeing this?

-- 
Georgia: Why am I not doing what they're doing?
Rube: Because you're doing what you're doing. When it's time for you to do
something else you'll do that.
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] SXDE based on b77?

2007-12-12 Thread Alan Coopersmith
All SXCE releases contain the SXDE installer (and I believe the extra tools),
they just haven't gone through the same extended test cycles  respins with
fixes that SXDE releases do.   If you choose the SXDE installer, you'll get
build 77 installed SXDE-style, but with all the newer bits not in the SXDE 9/07
release (which was build 70b).

-Alan Coopersmith-   [EMAIL PROTECTED]
 Sun Microsystems, Inc. - X Window System Engineering

Mark Drummond wrote:
 I just downloaded the DVD for SXCR build 77. It appears to include SXDE
 as well. Is this SXDE 9/07?
 
 It's a bit confusing because, from the SXDE web pages, I can download an
 SXDE 9/07 DVD, OR I can download an SXCR build 70b DVD. Only, they are
 the same DVD. Different download web pages in SDLC, but the download in
 both cases consists of 3 files which are named the same and are the same
 sizes.
 
 Now, more confusion. With the build 77 DVD I just downloaded, when I
 select SXDE from the grub boot menu, it boots a build 77 kernel. Is this
 going to install a build 77 based SXDE? Or is it using the the build 77
 kernel during the install but I will actually end up with a build 70b
 based SXDE 9/07?
 
 Just trying to sort out the spaghetti.
 
 Thanks,
 Mark
 
 -- 
 Georgia: Why am I not doing what they're doing?
 Rube: Because you're doing what you're doing. When it's time for you to
 do something else you'll do that.
 
 
 
 
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PulseAudio

2007-12-12 Thread Dev Mazumdar
Here's a list of features I pulled off Pulse Audio's website:
http://en.wikipedia.org/wiki/PulseAudio


The main PulseAudio features include:

* Per-application volume controls [1]

OSS already does that.

* An extensible plugin architecture with support for loadable modules.

If you look at http://pulseaudio.org/wiki/Modules - they are talking about 
Pulse audio functionality being implemented as modules - similar to GStreamer.

OSS is multiplatform and already has a lot of features that they talk about.

* Compatibility with many popular audio applications.

OSS is 100% in coverage. Pulse talks about many popular apps.

* Support for multiple audio sources and sinks.

OSS has virtual mixer and input multiplexer built in.

* Low-latency operation and support for latency measurement.

Can't get lower than the driver in kernel.

* A zero-copy memory architecture for processor resource efficiency.

No copy needed for OSS apps. You write your buffers directly to the driver.

* A command-line interface with scripting capabilities.

OSS also has command line apps and also provide PhP/Perl scripting and support 
in Java.

* A sound daemon with command line reconfiguration capabilities.

Pulse is a replacement for ESD and nothing more. With OSS v4 you don't need a 
mixing daemon because OSS gives you virtual devices for mixing directly.

Pulse has network features but I really don't know who would use it. Network 
audio is now redefined to be VOIP. Pulse audio doesn't support any kind of X 
Windows protocol or VoiceXML or VoiceHTML so really I don't know what the 
benefits of their network architecture are.

* Built-in sample conversion and resampling capabilities.

OSS has superior Sample Rate convertors...infact you can control the quality 
(high quality vs fast processing)

* The ability to combine multiple sound cards into one.

This usually never works because each card's crystal freqs and latencies will 
prevent the application from outputting audio in a phase lock...which means 
after a while output from one sound card will drift.

* The ability to synchronize multiple playback streams.

OSS does this as well.we have a Remux driver that allows you to take 4 
output streams and create a 5.1 surround stream.



4Front is going to make GStreamer talk directly to OSS and we've already 
contracted the Gstreamer developers to do this work. Part of the deliverables 
will be

1) a Gstreamer configuration panel to configure audio devices

2) a Gnome volume panel that exposes all OSS mixer elements - hopefully it will 
look nicer than ossxmix that comes with OSS.

3) Direct interaction between GStreamer and OSS drivers and no need for any 
intermediate mixing daemons like Pulse audio or ESD or whatever else.

4) Support for 7.1 multichannel and rates upto 192Khz, 24bit.


However there is no problem in having Pulse Audio sit on top of OSS if there is 
some Pulse Audio app that isn't supporting OSS (I can't imagine there being any 
such app).

Look at the mixing technology within Pulse Audio and then compare it to what 
we've done in Open Sound: http://manuals.opensound.com/sources/grc3.c.html



regards
Dev
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] ipfilter and tcp timeouts - painful

2007-12-12 Thread Anne Moore
HI All, I'm running 25 Opensolaris boxes in my business and since we put in
a new firewall all of our connections (remotely) to the OpenSolaris boxes
disconnection after 1 minute of inactivity. If there is activity, it does
not disconnect.
 
We can't change firewall, unfortunately. But I was hoping there was some way
to send keep-alives via the IPfilter (or something) else to keep my inactive
sessions alive. It's causing us a major problem, so I'm stuck.
 
Is there anyway on OpenSolaris you know of to keep connections to the server
alive?
 
Thank you for the help.
 
Anne
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] onnv_79 : Bad kernel fault at addr=0xcf0a7334

2007-12-12 Thread Dennis Clarke

warning : long email follows
--
onv_79 builds fine :

$ cat log/log.2007-12-12/mail_msg

 Nightly distributed build started:   Tue Dec 11 23:19:27 EST 2007 
 Nightly distributed build completed: Wed Dec 12 17:55:13 EST 2007 

 Total build time 

real18:35:46

 Nightly argument issues 

Warning: the N option (do not run protocmp) is set; it probably shouldn't be

 Build environment 

/usr/bin/uname
SunOS aequitas 5.11 gazelle i86pc i386 i86pc

/opt/onbld/bin/nightly ./opensolaris.sh
nightly.sh version 1.118 2007/10/29

/opt/SUNWspro/bin/dmake
dmake: Sun Distributed Make 7.7 2005/10/13
number of concurrent jobs = 4

32-bit compiler
/opt/onbld/bin/i386/cw -_cc
cw version 1.22
primary: /opt/SUNWspro/bin/cc
cc: Sun C 5.8 Patch 121016-05 2007/01/10
shadow: /usr/sfw/bin/gcc
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

64-bit compiler
/opt/onbld/bin/i386/cw -_cc
cw version 1.22
primary: /opt/SUNWspro/bin/cc
cc: Sun C 5.8 Patch 121016-05 2007/01/10
shadow: /usr/sfw/bin/gcc
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

/usr/java/bin/javac
java full version 1.6.0_01-b06

/usr/ccs/bin/as
as: Sun Compiler Common 12 SunOS_i386 snv_64 04/30/2007

/usr/ccs/bin/ld
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.608

Build project:  default
Build taskid:   97

 Build version 

gazelle

 Make clobber ERRORS 


 Make tools clobber ERRORS 


 Tools build errors 


 SCCS Noise (DEBUG) 


 Build errors (DEBUG) 


 Build warnings (DEBUG) 


 Elapsed build time (DEBUG) 

real 15:22:33.3
user 10:29:00.0
sys   2:41:08.4

 Build noise differences (DEBUG) 


 Check ELF runtime attributes 


 Diff ELF runtime attributes (since last build) 


 'dmake lint' of src ERRORS 


 Elapsed time of 'dmake lint' of src 

real  2:34:31.7
user  1:46:40.0
sys 27:03.7

 lint warnings src 


 lint noise differences src 


 cstyle/hdrchk errors 


 Find core files 


 Impact on file permissions 



BFU seems fine :

$ su -
Password:
Dec 12 19:08:48 aequitas su: 'su root' succeeded for LOGIN on /dev/console
Sun Microsystems Inc.   SunOS 5.11  gazelle Dec. 05, 2007
SunOS Internal Development:  dclarke 2007-12-05 [gazelle]
bfu'ed from /export/gazelle/archives/i386/nightly on 2007-12-05
Sun Microsystems Inc.   SunOS 5.11  snv_70b October 2007
# cd /export/gazelle
# ls -lap archives/i386/nightly
total 646656
drwxr-xr-x   2 dclarke  csw 1024 Dec 12 15:06 ./
drwxr-xr-x   3 dclarke  csw  512 Dec 12 15:03 ../
-rw-r--r--   1 dclarke  csw71034 Dec 12 15:06 conflict_resolution.gz
-rw-r--r--   1 dclarke  csw  82015400 Dec 12 15:04 generic.kernel
-rw-r--r--   1 dclarke  csw  25745808 Dec 12 15:04 generic.lib
-rw-r--r--   1 dclarke  csw  5242768 Dec 12 15:04 generic.root
-rw-r--r--   1 dclarke  csw  1351680 Dec 12 15:03 generic.sbin
-rw-r--r--   1 dclarke  csw  198610948 Dec 12 15:05 generic.usr
-rw-r--r--   1 dclarke  csw  1402880 Dec 12 15:05 i86pc.boot
-rw-r--r--   1 dclarke  csw  8156160 Dec 12 15:04 i86pc.root
-rw-r--r--   1 dclarke  csw  1658880 Dec 12 15:04 i86pc.usr
-rw-r--r--   1 dclarke  csw  6087680 Dec 12 15:04 i86xpv.root
-rw-r--r--   1 dclarke  csw   471040 Dec 12 15:05 i86xpv.usr
# PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
# export PATH
# FASTFS=/opt/onbld/bin/`uname -p`/fastfs;export FASTFS
# BFULD=/opt/onbld/bin/`uname -p`/bfuld;export BFULD
# GZIPBIN=/usr/bin/gzip;export GZIPBIN
# env
BFULD=/opt/onbld/bin/i386/bfuld
COLUMNS=80
EDITOR=/usr/xpg4/bin/vi
FASTFS=/opt/onbld/bin/i386/fastfs
GZIPBIN=/usr/bin/gzip
HOME=/
HZ=100
LANG=C
LC_ALL=C
LINES=24
LOGNAME=root
MAIL=/var/mail/root
PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
SHELL=/sbin/sh
TERM=vt100
TZ=Canada/Eastern

# /opt/onbld/bin/bfu /export/gazelle/archives/i386/nightly
Copying /opt/onbld/bin/bfu to /tmp/bfu.822882
Executing /tmp/bfu.822882 /export/gazelle/archives/i386/nightly

Loading /export/gazelle/archives/i386/nightly on /

Creating bfu execution environment ...
/tmp/bfu.822882[2742]: /net/onnv.eng/export/gate/public/bin/acr: cannot open
chmod: WARNING: can't access /tmp/bfubin/acr
Verifying archives ...
Performing basic sanity checks ...
/etc/svc/repository.db: passed integrity check
Disabling kernel module unloading ... moddebug:   0   = 
 0x2
Dec 12 19:11:42 aequitas genunix: ce: unable to resolve dependency,
Dec 12 19:11:42 aequitas genunix: cannot load module 'misc/laggr'
Unmounting /lib/libc.so.1 ...
Disabling sendmail temporarily ...
Disabling remote logins ...
Disabling syslog temporarily ...
Killing httpd ...
Disabling fmd temporarily ...
Killing nscd ...
Turning on delayed i/o ...
Filesystem   Mode
/safe
/usr safe

Saving 

Re: [osol-discuss] onnv_79 : Bad kernel fault at addr=0xcf0a7334

2007-12-12 Thread John Levon
On Wed, Dec 12, 2007 at 08:03:03PM -0500, Dennis Clarke wrote:

 cd75dadc unix:die+105 (e, cd75db88, cf0a73)
 cd75db74 unix:trap+13d1 (cd75db88, cf0a7334,)
 cd75db88 unix:cmntrap+10b (cd6e01b0, cd6e,)
 cd75dbe8 unix:kstat_delete+c (cf0a7270)
 cd75dc04 ii:iidetach+84 (ca4625c8, 0)

Known bug (6581192). You can't see it on bugs.opensolaris.org, but it
was fixed in build 73 - unfortunately your BFU won't upgrade the
relevant bits, so you'll need to install again...

A simple workaround is rem_drv ii

regards
john
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] onnv_79 : Bad kernel fault at addr=0xcf0a7334

2007-12-12 Thread Dennis Clarke

 On Wed, Dec 12, 2007 at 08:03:03PM -0500, Dennis Clarke wrote:

 cd75dadc unix:die+105 (e, cd75db88, cf0a73)
 cd75db74 unix:trap+13d1 (cd75db88, cf0a7334,)
 cd75db88 unix:cmntrap+10b (cd6e01b0, cd6e,)
 cd75dbe8 unix:kstat_delete+c (cf0a7270)
 cd75dc04 ii:iidetach+84 (ca4625c8, 0)

 Known bug (6581192). You can't see it on bugs.opensolaris.org

ermmm .. boo hoo for b.o.o

but at least it isn't anything unknown, which is a good thing.

and Thank you for pointing this out for me. I will say that everything seems
to be working fine after the reboot.

, but it
 was fixed in build 73 - unfortunately your BFU won't upgrade the
 relevant bits, so you'll need to install again...

 A simple workaround is rem_drv ii

That is an easy fix.

Thank you again.  I will watch for the release of snv_78 and perhaps install
that.

Dennis

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ipfilter and tcp timeouts - painful

2007-12-12 Thread Anne Moore
Hello David

Thanks for the code. Unfortunately, it doesn't work as it is. It just
continually pings forever, and it interferes with the command line by always
showing 64 bytes from ip.domain.com: icmp forever. Thus, the user
can't type anything.

Any others ideas I've love to hear about them.

Thank you!

Anne 

-Original Message-
From: David Lloyd [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 6:25 PM
To: Anne Moore
Cc: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful

Annew,

Anne Moore wrote:
 HI All, I'm running 25 Opensolaris boxes in my business and since we 
 put in a new firewall all of our connections (remotely) to the 
 OpenSolaris boxes disconnection after 1 minute of inactivity. If there 
 is activity, it does not disconnect.
  
 We can't change firewall, unfortunately. But I was hoping there was 
 some way to send keep-alives via the IPfilter (or something) else to 
 keep my inactive sessions alive. It's causing us a major problem, so I'm
stuck.
  
 Is there anyway on OpenSolaris you know of to keep connections to the 
 server alive?

#!/bin/sh

while [ 1 ]; ping some.ip.com; sleep 60; do

# end of script

DSL

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ipfilter and tcp timeouts - painful

2007-12-12 Thread Tim Spriggs
Hello Anne,

SSH has a setting (man sshd_config) for sending keep alive packets. 
Search for TCPKeepAlive

Thanks,
-Tim

Anne Moore wrote:
 Hello David

 Thanks for the code. Unfortunately, it doesn't work as it is. It just
 continually pings forever, and it interferes with the command line by always
 showing 64 bytes from ip.domain.com: icmp forever. Thus, the user
 can't type anything.

 Any others ideas I've love to hear about them.

 Thank you!

 Anne 

 -Original Message-
 From: David Lloyd [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 12, 2007 6:25 PM
 To: Anne Moore
 Cc: opensolaris-discuss@opensolaris.org
 Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful

 Annew,

 Anne Moore wrote:
   
 HI All, I'm running 25 Opensolaris boxes in my business and since we 
 put in a new firewall all of our connections (remotely) to the 
 OpenSolaris boxes disconnection after 1 minute of inactivity. If there 
 is activity, it does not disconnect.
  
 We can't change firewall, unfortunately. But I was hoping there was 
 some way to send keep-alives via the IPfilter (or something) else to 
 keep my inactive sessions alive. It's causing us a major problem, so I'm
 
 stuck.
   
  
 Is there anyway on OpenSolaris you know of to keep connections to the 
 server alive?
 

 #!/bin/sh

 while [ 1 ]; ping some.ip.com; sleep 60; do

 # end of script

 DSL

 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Finding external USB disks

2007-12-12 Thread David Dyer-Bennet
What are the approaches to finding what external USB disks are currently 
connected?   I'm starting on backup scripts, and I need to check which 
volumes are present before I figure out what to back up to them.  I 
suppose I could just try all the ones that I know about and see which 
are there (the list is small enough this is actually feasible), but it's 
inelegant.  (On Solaris Nevada, currently build 76 I think).

The external USB backup disks in question have ZFS filesystems on them, 
which may make a difference in finding them perhaps?

I've glanced at Tim Foster's autobackup and related scripts, and they're 
all about being triggered by the plug connection being made; which is 
not what I need.  I don't actually want to start the big backup when I 
plug in (or power on) the drive in the evening, it's supposed to wait 
until late (to avoid competition with users).  (His autosnapshot script 
may be just what I need for that part, though.)

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Finding external USB disks

2007-12-12 Thread Anil Gulecha
On 12/13/07, David Dyer-Bennet [EMAIL PROTECTED] wrote:
 What are the approaches to finding what external USB disks are currently
 connected?   I'm starting on backup scripts, and I need to check which
 volumes are present before I figure out what to back up to them.  I
 suppose I could just try all the ones that I know about and see which
 are there (the list is small enough this is actually feasible), but it's
 inelegant.  (On Solaris Nevada, currently build 76 I think).

 The external USB backup disks in question have ZFS filesystems on them,
 which may make a difference in finding them perhaps?

 I've glanced at Tim Foster's autobackup and related scripts, and they're
 all about being triggered by the plug connection being made; which is
 not what I need.  I don't actually want to start the big backup when I
 plug in (or power on) the drive in the evening, it's supposed to wait
 until late (to avoid competition with users).  (His autosnapshot script
 may be just what I need for that part, though.)


You can try 'rmformat' to see all removable media connected.

Also try 'dmesg' after connecting the device.

~Anil
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Finding external USB disks

2007-12-12 Thread Ignacio Marambio Catán
On Dec 13, 2007 12:35 AM, David Dyer-Bennet [EMAIL PROTECTED] wrote:
 What are the approaches to finding what external USB disks are currently
 connected?   I'm starting on backup scripts, and I need to check which
 volumes are present before I figure out what to back up to them.  I
 suppose I could just try all the ones that I know about and see which
 are there (the list is small enough this is actually feasible), but it's
 inelegant.  (On Solaris Nevada, currently build 76 I think).

 The external USB backup disks in question have ZFS filesystems on them,
 which may make a difference in finding them perhaps?

 I've glanced at Tim Foster's autobackup and related scripts, and they're
 all about being triggered by the plug connection being made; which is
 not what I need.  I don't actually want to start the big backup when I
 plug in (or power on) the drive in the evening, it's supposed to wait
 until late (to avoid competition with users).  (His autosnapshot script
 may be just what I need for that part, though.)

there is cfgadm i guess, check cfgadm_usb(1M)

nacho
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ipfilter and tcp timeouts - painful

2007-12-12 Thread Anne Moore
Yes, I have that SSH setting already in place. However, all the other
connections (SQL, ORACLE, LDAP, etc.), all close after 1 minutes of
inactivity. That's why I'm trying to get this script working for all those
other programs and connections to the server...

Thank you anyway though. If you have any other ideas I'd love to hear them!

Anne

-Original Message-
From: Tim Spriggs [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 10:42 PM
To: Anne Moore
Cc: 'David Lloyd'; opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful

Hello Anne,

SSH has a setting (man sshd_config) for sending keep alive packets. 
Search for TCPKeepAlive

Thanks,
-Tim

Anne Moore wrote:
 Hello David

 Thanks for the code. Unfortunately, it doesn't work as it is. It just 
 continually pings forever, and it interferes with the command line by 
 always showing 64 bytes from ip.domain.com: icmp forever. Thus, 
 the user can't type anything.

 Any others ideas I've love to hear about them.

 Thank you!

 Anne

 -Original Message-
 From: David Lloyd [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 12, 2007 6:25 PM
 To: Anne Moore
 Cc: opensolaris-discuss@opensolaris.org
 Subject: Re: [osol-discuss] ipfilter and tcp timeouts - painful

 Annew,

 Anne Moore wrote:
   
 HI All, I'm running 25 Opensolaris boxes in my business and since we 
 put in a new firewall all of our connections (remotely) to the 
 OpenSolaris boxes disconnection after 1 minute of inactivity. If 
 there is activity, it does not disconnect.
  
 We can't change firewall, unfortunately. But I was hoping there was 
 some way to send keep-alives via the IPfilter (or something) else to 
 keep my inactive sessions alive. It's causing us a major problem, so 
 I'm
 
 stuck.
   
  
 Is there anyway on OpenSolaris you know of to keep connections to the 
 server alive?
 

 #!/bin/sh

 while [ 1 ]; ping some.ip.com; sleep 60; do

 # end of script

 DSL

 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] How can I install the CIFS service to a Core Group Solaris 10 install?

2007-12-12 Thread John Klimek
I'm trying to build a simple Solaris 10 file server using ZFS + CIFS... That 
means I don't need X Windows or anything like that, etc.

During the Solaris 10 installation I chose the Core Group for the 
installation so that it doesn't install all of the extra software associated 
with the other installation groups.

How do I go about installing the CIFS service?

I've read the page here:  
http://opensolaris.org/os/project/cifs-server/gettingstarted.html

...and when I run svcadm enable -r smb/server it gives me an error about the 
service not being found or something like that... (sorry I'm not at the server)

How do I go about installing just the core CIFS service/software so I can share 
my ZFS file systems via CIFS?

Thanks,
John
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Finding external USB disks

2007-12-12 Thread David Dyer-Bennet
Anil Gulecha wrote:
 On 12/13/07, David Dyer-Bennet [EMAIL PROTECTED] wrote:
   
 What are the approaches to finding what external USB disks are currently
 connected? 
 You can try 'rmformat' to see all removable media connected.
 

Ah, that's looking useful.  Thanks also to those who pointed out cfgadm.

Now, what's that Label reported by rmformat?  It's unknown in all 
the examples I have to try.   Is this something I can set with rmformat 
or fdisk or something?  So that I could recognize the volumes by a 
string I applied to it myself? 

Or are there serial numbers accessible on USB hard drives that I can get 
access to?  That would be a unique identifier for each drive, and I 
could store those and use those to recognize which ones were mounted.

 Also try 'dmesg' after connecting the device.
 
That last doesn't fit my model, I'm looking to check for the presence of 
various devices in a script run in cron, so the device may not have been 
connected *recently*. 

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ipfilter and tcp timeouts - painful

2007-12-12 Thread Andrew C. Henle
This should set it to 30 seconds:

ndd set /dev/tcp tcp_keepalive_interval 3
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] DESKTOP BACKGROUND - View from the moon

2007-12-12 Thread Kevin Mitnick
I saw this background:
http://blogs.sun.com/dp/entry/cool_desktop_backgrounds
and of course in that thread NOBODY shows a link to the .png/.jpg
I am in the same boat as the 1st guy in that post.
Does someone have just that file? Or a compressed collection of the included 
backgrounds for that build? I don't have them in mine and it would be really 
nice if someone could provide a link or something that gets me at least the one 
shown above.

Let me know.

[EMAIL PROTECTED]

THANKS IN ADVANCE!!
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org