Re: [OpenIndiana-discuss] Seeking ffmpeg with librtmp and lame compiled in, for OI b148

2011-10-12 Thread Charles Seeger
+-- "Hans J. Albertsson" wrote (Wed, 12-Oct-2011, 21:22 +0200):
| 
| Does anyone out there have a ready-compiled ffmpeg of very recent date 
| that includes rtmp and lame support compiled in, i e linked to librtmp 
| and liblame?

Sorry, no help with these binaries.

| I can't seem to get the downloadable sources to play ball properly.

FWIW, this worked for ffmpeg-0.8.5 on S11 Express (gcc 3.4.2, gmake 3.81):

#! /bin/sh
PATH=`getconf PATH`:${PATH}
export PATH

bash ./configure\
--cc=gcc\
--disable-yasm  \
--extra-libs=/usr/lib/values-xpg6.o

'gmake check' appeared to be working until this failure:

diff: tests/data/regression/lavfi/pixfmts_copy_le: No such file or 
directory
gmake: *** [fate-lavfi-pixfmts_copy_le] Error 2

Which may or may not be a bug with the build and test harness.
I haven't investigated any further.  The fix might be as simple
as putting /usr/xpg4/bin before /usr/bin in PATH.

However, it does complain about compiler bugs at runtime:

Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.

I have only used ffplay with a couple of .flv files thusfar, so I can't
vouch for this build beyond that.

HTH.
Chuck


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] ssh sessions timing out?

2011-10-12 Thread Richard L. Hamilton
Are you going through a firewall?  Some of 'em can do that to you.  That may 
not be the intent, but it can be the effect if they're set up wrong or not 
scaling well.

On Oct 12, 2011, at 10:56 PM, Dan Swartzendruber wrote:

> This one is driving me nuts.  I can't seem to keep an ssh session open for
> more than 10 minutes or so.  When I check after that, putty has an error up
> about "network error caused software abort" (or words to that effect.)  I
> have TCP/IP keepalives turned on, as well as ssh keepalives, and that hasn't
> helped.  This is the only server that has this problem :(  I've double and
> tripled checked the putty settings and don't see anything helpful.  Any
> ideas?  Thanks!
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

-- 
The waitress asked, "Do you want lemon or no lemon with that iced tea?"
Naturally, I said "yes", and then burst out laughing, because there simply
wasn't any other answer in Boolean logic.  She didn't get it, but I got
the lemon, which I wanted anyway.  Later, I realized a quantum computer
could have offered another answer: Schroedinger's Lemon!


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] ssh sessions timing out?

2011-10-12 Thread Doug Hughes

On 10/12/2011 10:56 PM, Dan Swartzendruber wrote:

This one is driving me nuts.  I can't seem to keep an ssh session open for
more than 10 minutes or so.  When I check after that, putty has an error up
about "network error caused software abort" (or words to that effect.)  I
have TCP/IP keepalives turned on, as well as ssh keepalives, and that hasn't
helped.  This is the only server that has this problem :(  I've double and
tripled checked the putty settings and don't see anything helpful.  Any
ideas?  Thanks!


you could try running sshd -d, or put a 'truss' onto the sshd after 
running to see what it's doing.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] ssh sessions timing out?

2011-10-12 Thread Dan Swartzendruber
This one is driving me nuts.  I can't seem to keep an ssh session open for
more than 10 minutes or so.  When I check after that, putty has an error up
about "network error caused software abort" (or words to that effect.)  I
have TCP/IP keepalives turned on, as well as ssh keepalives, and that hasn't
helped.  This is the only server that has this problem :(  I've double and
tripled checked the putty settings and don't see anything helpful.  Any
ideas?  Thanks!

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Howto proceed, when new to (openindiana) development

2011-10-12 Thread Josef 'Jeff' Sipek
On Wed, Oct 12, 2011 at 04:55:55PM +0200, Per Sjoholm wrote:
> On 10/12/2011 02:06 AM, Josef 'Jeff' Sipek wrote:
> >On Tue, Oct 11, 2011 at 10:04:51AM +0200, Per Sjoholm wrote:
> >>.
> >>Suggestion on howto proceed
> >Hello!
> >
> >We have a mailing list for development (oi-dev@...) and an IRC channel
> >(#oi-dev on FreeNode).  I strongly suggest that you go into the IRC channel
> >since you'll get help there much more quickly.
> >
> >Regardless, OI is switching to a unified build system, called oi-build -
> >yes, not very creative.  There is a wiki page that describes how to get
> >started with it: http://wiki.openindiana.org/oi/Building+with+oi-build
> >
> >Once you get the hang of the system, it's pretty easy to add new packages.
> >
> >Welcome aboard!
> >
> >Jeff.
> >
> Thanks
> 
> Need help with 2 problem
> pkg  this version is excluded
> Sun studio
> 
> I created a oi-build zone
> 
> And followed http://wiki.openindiana.org/oi/Building+with+oi-build
> 
> zlogin oi-build
> root@oi-build:~# history
> 1  /usr/bin/pkg set-publisher -p http://pkg.openindiana.org/experimental/
> 2  /usr/bin/pkg set-publisher -P oi-experimental
> 3  /usr/bin/pkg set-publisher --non-sticky openindiana.org
> 4  /usr/bin/pkg image-update -v
>  pkg publisher
> PUBLISHER TYPE STATUS   URI
> oi-experimental  (preferred)  origin   online   
> http://pkg.openindiana.org/experimental/
> openindiana.org  (non-sticky) origin   online   
> http://pkg.openindiana.org/dev/
> sfe-encumberedorigin   online   
> http://pkg.openindiana.org/sfe-encumbered/
> sfe   origin   online   
> http://pkg.openindiana.org/sfe/

Looks right.  Sadly, /experimental is broken at the moment - we accidentally
published a newer version of pkg(1) that depends on the new python in there
... but you can't install that python version before you upgrade your
pkg(1).  If you stick around #oi-dev, you should know more or less as soon
as we fix it.

Jeff.

-- 
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually
  followed by the installation of Linux or some other Unix-like operating
  system.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] get suspend-to-ram working (works only in single-user-mode)

2011-10-12 Thread commb07
hi everyone

i'm new to openindiana and try to get S3 working on my old p5b
deluxe/core 2 duo system. although it has an ati card (4550, but i also
testet with an nvdia 8800 gts), after some hours of trial-and-error and
reading i got it working in single-user-mode. thinking it mitght be a
problem with xorg i installed the server-version, but the problem is the
same: the system enters supsend-to-ram just fine, but on resume i get an
empty screen with blinking cursor, while in single user mode after some
seconds i have a working terminal.

so far i have done:
1.i checked in /etc/power.conf that there was a line 'S3-support enable'
like mentioned here:
http://blogs.oracle.com/randyf/entry/solaris_suspend_and_resume_how
2.to test S3, i activate suspend for the ati card: 'echo
'vgatext_force_suspend/W1;' | mdb -wk'
3. after 2., i run /usr/sbin/pmconfig (not sure if necessary)

after normal startup, if i execute these 3 steps and then 'uadmin 3 20',
the system goes in suspend but does not resume correctly.
but if i boot into single user mode as described here
http://www.ilkda.com/wordpress/2010/12/28/oracle-solaris-11-express-boot-to-single-user-mode-and-mount-a-home-directory/
the system suspends and resumes just fine.

maybe someone could tell me the differences between normal boot and
single user boot, so i can try to eliminate what prevents S3 from working.
or does someone have a better idea what i could try?

thanks in advance for any help

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Per Sjoholm

On 10/12/2011 10:35 PM, James Carlson wrote:

..
Or just use "ipadm" to administer the addresses ...


http://blogs.oracle.com/observatory/en_US/entry/ipadm

--
Per Sjöholm
Spanga, Stockholm, Sweden



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Dan Swartzendruber
Not everyone installs with a GUI, though...

-Original Message-
From: Matt Connolly [mailto:matt.connolly...@gmail.com] 
Sent: Wednesday, October 12, 2011 4:43 PM
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] Static IP configuration problem

On 13/10/2011, at 5:55 AM, Dan Swartzendruber wrote:
> LinuxBSDos.com wrote:
>> Those are the steps we used to take in Linux a long time ago. This is one
>> area that oi will have to address to make non-techy users lives a bit
>> easier.
>>  
> Yeah, I know.  I've been around the block a few times (I started using
Linux in 1994 for a self-started business.)  Even for techies this is a
nuisance.  So you are a new admin who has been tasked with installing a
server, and you were persuaded to try OI.  You get it configured and... no
IP address?  So you go to a workstation elsewhere and start googling for how
to fix basic issues like this.  This should, IMO, be done by the installer,
not as an afterthought.  I followed a somewhat different approach that
involves a pseudo-static IP via nwam.  That seems to work too, but I
honestly have no idea if it is better, worse or the same (on the merits) as
the approach already mentioned here.

My machine is set up with a static IP address, configured by nwam. I used
the GUI to set it up, it wasn't that hard. The hardest thing I found was
getting to the right spot in the GUI.

I also notice that there's no man pages installed for `nwamadm` or `nwamcfg`
- at least on my system. Do others have them?

I agree, it would be nice to have the installer be able to set up static IP
address networking.

-Matt
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Chris Mosetick
I like using ipadm to setup static addresses too. Except that it is hard
because last time I checked in OI b151, there is still no man page for
ipadm.

https://www.illumos.org/issues/559  2010-12-19

Things like man pages that were present in older OS releases are missing.
I'm baffled as to why this is or how this happened. It seems like this is
creating "new work" for things that were "already done." This does not delve
into the fact that there are man pages that really need to be updated too,
which is a related but different topic.

On Wed, Oct 12, 2011 at 1:35 PM, James Carlson wrote:

>
> Or just use "ipadm" to administer the addresses ...
>
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Matt Connolly
On 13/10/2011, at 5:55 AM, Dan Swartzendruber wrote:
> LinuxBSDos.com wrote:
>> Those are the steps we used to take in Linux a long time ago. This is one
>> area that oi will have to address to make non-techy users lives a bit
>> easier.
>>  
> Yeah, I know.  I've been around the block a few times (I started using Linux 
> in 1994 for a self-started business.)  Even for techies this is a nuisance.  
> So you are a new admin who has been tasked with installing a server, and you 
> were persuaded to try OI.  You get it configured and... no IP address?  So 
> you go to a workstation elsewhere and start googling for how to fix basic 
> issues like this.  This should, IMO, be done by the installer, not as an 
> afterthought.  I followed a somewhat different approach that involves a 
> pseudo-static IP via nwam.  That seems to work too, but I honestly have no 
> idea if it is better, worse or the same (on the merits) as the approach 
> already mentioned here.

My machine is set up with a static IP address, configured by nwam. I used the 
GUI to set it up, it wasn't that hard. The hardest thing I found was getting to 
the right spot in the GUI.

I also notice that there's no man pages installed for `nwamadm` or `nwamcfg` - 
at least on my system. Do others have them?

I agree, it would be nice to have the installer be able to set up static IP 
address networking.

-Matt
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread James Carlson
Ray Arachelian wrote:
> On 10/12/2011 03:23 PM, Lucas Van Tol wrote:
>> I think /etc/netmasks is where you would store the netmask?
>>
>> echo $NETWORK   $NETMASK >> /etc/netmasks
>>
> It is and I was just about to reply to point out that if you forget
> this, you can get in trouble since it may pick /8 for a 10.x.x.x
> address, or /16 for a 172.15.x.x for example when you might not want it
> to. :) netmask should be in the form of 255.255.255.0 for class C.

I can't recommend using /etc/netmasks for anything.  It's a brutal hack
and really doesn't work right for modern CIDR networks.

Instead, just specify "address/length" or "name/length" for the address
on the interface.

In other words, if you would previously have done something like this:

# echo 10.1.0.0 255.255.0.0 >> /etc/netmasks
# echo 10.1.0.1 > /etc/hostname.foo0

I recommend doing this instead:

# echo 10.1.0.1/16 > /etc/hostname.foo0

It's easier, and it has the great benefit that it works right with CIDR
netmasks without fuss.

Or just use "ipadm" to administer the addresses ...

-- 
James Carlson 42.703N 71.076W 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Dan Swartzendruber

LinuxBSDos.com wrote:

Those are the steps we used to take in Linux a long time ago. This is one
area that oi will have to address to make non-techy users lives a bit
easier.
  
Yeah, I know.  I've been around the block a few times (I started using 
Linux in 1994 for a self-started business.)  Even for techies this is a 
nuisance.  So you are a new admin who has been tasked with installing a 
server, and you were persuaded to try OI.  You get it configured and... 
no IP address?  So you go to a workstation elsewhere and start googling 
for how to fix basic issues like this.  This should, IMO, be done by the 
installer, not as an afterthought.  I followed a somewhat different 
approach that involves a pseudo-static IP via nwam.  That seems to work 
too, but I honestly have no idea if it is better, worse or the same (on 
the merits) as the approach already mentioned here.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread LinuxBSDos.com

Those are the steps we used to take in Linux a long time ago. This is one
area that oi will have to address to make non-techy users lives a bit
easier.


--
Fini D.
http://LinuxBSDos.com



> Also, don't forget to edit /etc/resolv.conf and /etc/nsswitch.conf since
> you're not getting DNS server details from a DHCP server.
> (Might also be useful to set up ntp if you're going to use it.)
>
> On 10/12/2011 03:15 PM, Karl Dag Gursli wrote:
>>
>> First do : svcadm disable network/physical:nwam
>> Then: svcadm enable network/physical:default
>> Then add hostname and ip to /etc/hosts
>> Make a /etc/hostname.e1000g0 and add the hostname from /etc/hosts
>> Add the hostname to /etc/nodename
>> Add the default route to /etc/defaultrouter
>
>


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Ray Arachelian
Also, don't forget to edit /etc/resolv.conf and /etc/nsswitch.conf since
you're not getting DNS server details from a DHCP server.
(Might also be useful to set up ntp if you're going to use it.)

On 10/12/2011 03:15 PM, Karl Dag Gursli wrote:
>  
> First do : svcadm disable network/physical:nwam
> Then: svcadm enable network/physical:default
> Then add hostname and ip to /etc/hosts
> Make a /etc/hostname.e1000g0 and add the hostname from /etc/hosts
> Add the hostname to /etc/nodename
> Add the default route to /etc/defaultrouter


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Ray Arachelian
On 10/12/2011 03:23 PM, Lucas Van Tol wrote:
> I think /etc/netmasks is where you would store the netmask?
>
> echo $NETWORK   $NETMASK >> /etc/netmasks
>
It is and I was just about to reply to point out that if you forget
this, you can get in trouble since it may pick /8 for a 10.x.x.x
address, or /16 for a 172.15.x.x for example when you might not want it
to. :) netmask should be in the form of 255.255.255.0 for class C.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread CJ Keist
Thanks for all the responses.  I had everything except for the 
/etc/hostname.e1000g0 setup.  It is now keeping the ip config during 
reboots!


One other thing I didn't see in the install setup is the ability to 
choose to disable IPV6, that would be nice to put back into the install 
options.




On 10/12/11 1:24 PM, Dan Swartzendruber wrote:


I have to admit this was one of the irritations I ran into when I first
installed. I have never seen a distro that made it so hard to set a
static IP. Yes, I know it's a handful of commands, that isn't the point.
This should be the default, not nwam, IMO of course. And when you google
for 'openindiana static IP', you find several different places that all
give different (sometimes incorrect/incomplete) instructions on what to do.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


--
C. J. Keist Email: cj.ke...@colostate.edu
Systems Group Manager   Solaris 10 OS (SAI)
Engineering Network ServicesPhone: 970-491-0630
College of Engineering, CSU Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Dan Swartzendruber


I have to admit this was one of the irritations I ran into when I first 
installed.  I have never seen a distro that made it so hard to set a 
static IP.  Yes, I know it's a handful of commands, that isn't the 
point.  This should be the default, not nwam, IMO of course.  And when 
you google for 'openindiana static IP', you find several different 
places that all give different (sometimes incorrect/incomplete) 
instructions on what to do.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Lucas Van Tol

You may need to create
/etc/hostname.$ADAPTERNAME file(s);
i.e.
echo xxx.xxx.xxx.xx > /etc/hostname.e1000g0
(Should tell network/physical:default to plumb/ifconfig that address)
I think /etc/netmasks is where you would store the netmask?

echo $NETWORK   $NETMASK >> /etc/netmasks

It looks like you already added the route with -p; so that should stick at 
least...

You should also have network/physical:default enabled, as mentioned before.


> Date: Wed, 12 Oct 2011 15:01:36 -0400
> From: dk...@elmira.edu
> To: openindiana-discuss@openindiana.org
> Subject: Re: [OpenIndiana-discuss] Static IP configuration problem
> 
> probably svcadm enable network/physical:default
> 
> This is something people should fix.  It should always be easy to set up 
> a static address on a unix box.  It is certainly nice that the auto 
> networking is easy but so should the I want to do it myself bit.
> 
> On 10/12/11 02:58 PM, CJ Keist wrote:
> > On a test VM I install OpenIndiana to see how to setup a static on 
> > install but it appears that with version 151a, the manual configure 
> > option is no longer listed. During install it only listed automatic or 
> > none for the network options. What is interesting is that the help for 
> > that step mentioned manual but it was not listed.
> >
> > After much searching I found some commands that worked for setting a 
> > static IP.
> >
> > svcadm disable network/physical:nwam
> > ipadm create-addr -t -T static -a local=xxx.xxx.xxx.xx/21 e1000g0/v4
> > route -p add default xxx.xxx.xxx.1
> >
> > The only problem is that it doesn't keep connection setting upon reboot.
> > When I run the command "dladm show-link" or "dladm show-phys" it shows 
> > the e1000g0 status as unknown until I add the ip and the route.
> >
> > What am I missing to keep the IP config retention during reboots?
> >
> >
> 
> -- 
> Dr. Daniel Kjar
> Assistant Professor of Biology
> Division of Mathematics and Natural Sciences
> Elmira College
> 1 Park Place
> Elmira, NY 14901
> 607-735-1826
> http://faculty.elmira.edu/dkjar
> 
> "...humans send their young men to war; ants send their old ladies"
>   -E. O. Wilson
> 
> 
> 
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
  
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Seeking ffmpeg with librtmp and lame compiled in, for OI b148

2011-10-12 Thread Hans J. Albertsson
Does anyone out there have a ready-compiled ffmpeg of very recent date 
that includes rtmp and lame support compiled in, i e linked to librtmp 
and liblame?


I can't seem to get the downloadable sources to play ball properly.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Karl Dag Gursli

 On 10/12/11 08:58 PM, CJ Keist wrote:
On a test VM I install OpenIndiana to see how to setup a static on 
install but it appears that with version 151a, the manual configure 
option is no longer listed. During install it only listed automatic or 
none for the network options. What is interesting is that the help for 
that step mentioned manual but it was not listed.


After much searching I found some commands that worked for setting a 
static IP.


svcadm disable network/physical:nwam
ipadm create-addr -t -T static -a local=xxx.xxx.xxx.xx/21 e1000g0/v4
route -p add default xxx.xxx.xxx.1

The only problem is that it doesn't keep connection setting upon reboot.
When I run the command "dladm show-link" or "dladm show-phys" it shows 
the e1000g0 status as unknown until I add the ip and the route.


What am I missing to keep the IP config retention during reboots?



First do : svcadm disable network/physical:nwam
Then: svcadm enable network/physical:default
Then add hostname and ip to /etc/hosts
Make a /etc/hostname.e1000g0 and add the hostname from /etc/hosts
Add the hostname to /etc/nodename
Add the default route to /etc/defaultrouter

That should be all.

rgds
Karl Dag

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Daniel Kjar

probably svcadm enable network/physical:default

This is something people should fix.  It should always be easy to set up 
a static address on a unix box.  It is certainly nice that the auto 
networking is easy but so should the I want to do it myself bit.


On 10/12/11 02:58 PM, CJ Keist wrote:
On a test VM I install OpenIndiana to see how to setup a static on 
install but it appears that with version 151a, the manual configure 
option is no longer listed. During install it only listed automatic or 
none for the network options. What is interesting is that the help for 
that step mentioned manual but it was not listed.


After much searching I found some commands that worked for setting a 
static IP.


svcadm disable network/physical:nwam
ipadm create-addr -t -T static -a local=xxx.xxx.xxx.xx/21 e1000g0/v4
route -p add default xxx.xxx.xxx.1

The only problem is that it doesn't keep connection setting upon reboot.
When I run the command "dladm show-link" or "dladm show-phys" it shows 
the e1000g0 status as unknown until I add the ip and the route.


What am I missing to keep the IP config retention during reboots?




--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

"...humans send their young men to war; ants send their old ladies"
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread CJ Keist
On a test VM I install OpenIndiana to see how to setup a static on 
install but it appears that with version 151a, the manual configure 
option is no longer listed. During install it only listed automatic or 
none for the network options. What is interesting is that the help for 
that step mentioned manual but it was not listed.


After much searching I found some commands that worked for setting a 
static IP.


svcadm disable network/physical:nwam
ipadm create-addr -t -T static -a local=xxx.xxx.xxx.xx/21 e1000g0/v4
route -p add default xxx.xxx.xxx.1

The only problem is that it doesn't keep connection setting upon reboot.
When I run the command "dladm show-link" or "dladm show-phys" it shows 
the e1000g0 status as unknown until I add the ip and the route.


What am I missing to keep the IP config retention during reboots?


--
C. J. Keist Email: cj.ke...@colostate.edu
Systems Group Manager   Solaris 10 OS (SAI)
Engineering Network ServicesPhone: 970-491-0630
College of Engineering, CSU Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Rob jones left a message for you...

2011-10-12 Thread Badoo
Rob jones left a message for you...

Its sender and content will be shown only to you and you can delete it at any 
time. You can instantly reply to it, using the message exchange system. To find 
out what's in the message, just follow this link:
http://eu1.badoo.com/0257595692/in/se.xBVUrAUw/?lang_id=3&m=21&mid=4e95b0680003d26411c5

Some more patiently waiting folks:
Emilio (London, United Kingdom)
Beautiful (London, United Kingdom)
Floflotch (London, United Kingdom)

http://eu1.badoo.com/0257595692/in/se.xBVUrAUw/?lang_id=3&m=21&mid=4e95b0680003d26411c5

If the link in this message does not work, try copying and pasting it into your 
browser.

This email is part of our delivery procedure for the message sent by Rob jones. 
If you have received this email by mistake, please ignore it. The message will 
be deleted soon.

Have fun!
The Badoo Team

You have received this email, because a Badoo member has left a message for you 
on Badoo. This is a post-only mailing. Replies to this message are not 
monitored or answered. If you don't want to receive any more messages from 
Badoo, please notify us:
http://eu1.badoo.com/impersonation.phtml?lang_id=3&mail_code=21&email=openindiana-discuss%40openindiana.org&secret=&block_code=815b49&m=21&mid=4e95b0680003d26411c5
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Howto proceed, when new to (openindiana) development

2011-10-12 Thread Per Sjoholm

On 10/12/2011 02:06 AM, Josef 'Jeff' Sipek wrote:

On Tue, Oct 11, 2011 at 10:04:51AM +0200, Per Sjoholm wrote:

.
Suggestion on howto proceed

Hello!

We have a mailing list for development (oi-dev@...) and an IRC channel
(#oi-dev on FreeNode).  I strongly suggest that you go into the IRC channel
since you'll get help there much more quickly.

Regardless, OI is switching to a unified build system, called oi-build -
yes, not very creative.  There is a wiki page that describes how to get
started with it: http://wiki.openindiana.org/oi/Building+with+oi-build

Once you get the hang of the system, it's pretty easy to add new packages.

Welcome aboard!

Jeff.


Thanks

Need help with 2 problem
pkg  this version is excluded
Sun studio

I created a oi-build zone

And followed http://wiki.openindiana.org/oi/Building+with+oi-build

zlogin oi-build
root@oi-build:~# history
1  /usr/bin/pkg set-publisher -p http://pkg.openindiana.org/experimental/
2  /usr/bin/pkg set-publisher -P oi-experimental
3  /usr/bin/pkg set-publisher --non-sticky openindiana.org
4  /usr/bin/pkg image-update -v
 pkg publisher
PUBLISHER TYPE STATUS   URI
oi-experimental  (preferred)  origin   online   
http://pkg.openindiana.org/experimental/
openindiana.org  (non-sticky) origin   online   
http://pkg.openindiana.org/dev/
sfe-encumberedorigin   online   
http://pkg.openindiana.org/sfe-encumbered/
sfe   origin   online   
http://pkg.openindiana.org/sfe/


When installing i get, ???
pkg install pkg:/archiver/gnu-tar
Creating Plan |pkg: No matching version of archiver/gnu-tar can be installed:
pkg://oi-experimental/archiver/gnu-tar@1.26,5.11-1.1:20111010T075037Z: This version is excluded by installed 
incorporation pkg://openindiana.org/consolidation/sfw/sfw-incorporation@0.5.11,5.11-0.151.1:20110912T025548Z



Following 
http://hub.opensolaris.org/bin/view/Community+Group+tools/sun_studio_tools
Install Sun Studio 12 Update 1 


I get "*This application is no longer in service. For those in the community who participated in the past we thank you 
for your contributions."*


Suggestion



--
Per Sjöholm


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] ce networks and aggregations

2011-10-12 Thread James Carlson
Gabriele Bulfon wrote:
> Hi, I was trying to use dladm aggr to aggregate 2 networks, but the system 
> doesn't let me.
> So I read ce network driver does not support aggregation with dladm.
> Somewhere it talks about Sun Trunking allowing the same stuff with older 
> cards.
> Where can I find it (No Oracle points it out) and make my two cards go 
> double?

Is this on OpenIndiana?

If it's on Solaris, you may want Sun Trunking; talk to your local Oracle
representative.

There was (at least at one point) an alternative Cassini driver that
used GLDv3 and was thus usable with dladm.  I don't know if that ever
saw the light of day, though.  Someone on this list or (perhaps)
networking-disc...@opensolaris.org may have references.

http://sstallion.blogspot.com/2008/04/cassini-emancipation.html

A better answer, in my opinion, would be to buy some newer Ethernet
cards.  Many of them perform better than Cassini anyway.

-- 
James Carlson 42.703N 71.076W 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] USB wireless network LinkSys WUSB100

2011-10-12 Thread James Carlson
Maxim Kondratovich wrote:
> Hello,
> please help, how to identify driver name for this device? Looks like
> this device is recognized but not added to list of my network devices...
> I tried to ifconfig usb_mid plumb but looks like it's wrong idea.

I don't believe there are any WUSB100 drivers for Solaris / OpenSolaris
/ OpenIndiana.  Someone will have to write or port one.

"usb_mid" is the driver that attaches if no vendor/class specific driver
is available.  It just attaches default drivers to the device, which
won't include Ethernet functionality (a somewhat unsettled area of the
USB world), but will include the ability to open the device with libusb
and communicate from user space.

-- 
James Carlson 42.703N 71.076W 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] ce networks and aggregations

2011-10-12 Thread Gabriele Bulfon
Hi, I was trying to use dladm aggr to aggregate 2 networks, but the system 
doesn't let me.
So I read ce network driver does not support aggregation with dladm.
Somewhere it talks about Sun Trunking allowing the same stuff with older cards.
Where can I find it (No Oracle points it out) and make my two cards go 
double?
Thanks for any help
Gabriele.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] USB wireless network LinkSys WUSB100

2011-10-12 Thread Maxim Kondratovich

Hello,
please help, how to identify driver name for this device? Looks like 
this device is recognized but not added to list of my network devices...

I tried to ifconfig usb_mid plumb but looks like it's wrong idea.

node name:  device
Vendor: Linksys
Device: WUSB100 RangePlus Wireless USB 
Network Adapter ver. 2
Sub-Vendor: Sub-System: 
binding name:   usb,device

devfs path: /pci@0,0/pci1028,209@1d,7/device@2
bus addr:   2
compatible name:
(usb1737,78.101)(usb1737,78)(usbif1737,classff.ff.ff)(usbif1737,classff.ff)(usbif1737,classff)(usbif,classff.ff.ff)(usbif,classff.ff)(usbif,classff)(usb,device)

driver name:usb_mid
instance:   5
driver state:   Attached
pm-components:  NAME= usb_mid5 Power
driver-minor:   0
driver-major:   2
high-speed: TRUE
usb-product-name:   Linksys RangePlus Wireless Network 
USB Adapter

usb-vendor-name:Cisco-Linksys LLC
usb-raw-cfg-descriptors:9
usb-dev-descriptor: 12
usb-release:200
usb-num-configs:1
usb-revision-id:101
usb-product-id: 78
usb-vendor-id:  1737
compatible: usb1737,78.101
reg:2
assigned-address:   3

- Maxim
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Huawei E1550 usb 3g modem

2011-10-12 Thread James C. McPherson

On 12/10/11 09:15 PM, Andrey N. Oktyabrski wrote:

On 12.10.11 09:24, Andrey N. Oktyabrski wrote:

Good day.

How can I switch it to the modem mode from mass storage mode? Something
same as usb_modeswitch from Linux wanted. Or I must write anything in
the /etc/driver_aliases?

I have got the solution.
Under Windows XP:
- Install modem driver
- In the HyperTerminal switch device to right mode:
AT^U2DIAG=0 - modem-only mode (I use this mode)
AT^U2DIAG=1 - modem+cdrom mode
AT^U2DIAG=255 - modem+cdrom+cardreader mode
AT^U2DIAG=256 - modem+cardreader mode

Under OpenIndiana:
echo 'usbsacm "usb12d1,1001"' >> /etc/driver_aliases

Then we have /dev/cua/0 and use it in the pppd :-)


This post might still be useful to you:

http://blogs.oracle.com/jmcp/entry/vodafone_mobile_broadband_with_a



James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
  http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Huawei E1550 usb 3g modem

2011-10-12 Thread Andrey N. Oktyabrski

On 12.10.11 09:24, Andrey N. Oktyabrski wrote:

Good day.

How can I switch it to the modem mode from mass storage mode? Something
same as usb_modeswitch from Linux wanted. Or I must write anything in
the /etc/driver_aliases?

I have got the solution.
Under Windows XP:
- Install modem driver
- In the HyperTerminal switch device to right mode:
AT^U2DIAG=0- modem-only mode (I use this mode)
AT^U2DIAG=1- modem+cdrom mode
AT^U2DIAG=255  - modem+cdrom+cardreader mode
AT^U2DIAG=256  - modem+cardreader mode

Under OpenIndiana:
echo 'usbsacm "usb12d1,1001"' >> /etc/driver_aliases

Then we have /dev/cua/0 and use it in the pppd :-)

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss