LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-24-2006, 05:43 PM   #46
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15

i thought jilliagre would help me, but didnt!
 
Old 04-24-2006, 06:14 PM   #47
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Is your company allowing you to connect to the Internet through the Windows machine ?
If not, I'm afraid you are breaking LQ forum rules ...

Anyway, this is more a Windows question, and Windows isn't my cup of tea.

What does ICS provides ? I guess NAT and a DHCP service. So I would try to get my IP address through DHCP and see if the DNS service follows.
 
Old 04-24-2006, 07:02 PM   #48
apt-get-dude
Member
 
Registered: Mar 2006
Posts: 98

Rep: Reputation: 15
Comment though...

To disable the lack of a fully qualified name, svcadm will not cut it since hasan mentioned that he was running solaris 9 (unless I missed something in one of the many long replies).
 
Old 04-24-2006, 07:18 PM   #49
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15
Please forgive me. Yes initially i started with solaris 9, and i used that svcadm thing with solaris 9. But now i've installed solaris 10 on both my home desktop machine and the notebook. And yes i've completely overlooked the fact that i didnt have to go through manually making /etc/hosts, /etc/netmask, /etc/hostname.iprb0 and starting svcadm service in Solaris 10! (but did have to make /etc/resolv.conf).

Just now to test the windows ICS feature in the corporate LAN, i took off the cross cable from solaris notebook and connected it to one of the windows machine, to see if i can really access the internet and it was working. In windows, the secondary machine's tcp/ip properties is showing 192.168.0.93 (given by primary windows ICS feature) and 192.168.0.1 for all Gateway\DHCP\DNS servers.

Now how would this reflect in solaris 10, so that my solaris notebook start browsing the internet?

[i must add when my solaris notebook was connected to the windows machine i was able to ping both the NIC's IP address i.e. 192.168.0.1 (secondary-hooked up to solaris via cross cable) and 172.18.54.98 (primary-connected to corporate's LAN), but i was not able to ping the DNS servers (172.18.56.24 & 172.18.56.25)]

Last edited by hasan; 04-24-2006 at 07:30 PM.
 
Old 04-24-2006, 07:46 PM   #50
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You do not show your Solaris network configuration, and if you got it through DHCP or set it manually.
 
Old 04-24-2006, 09:11 PM   #51
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15
Solaris is configured manually. It is set NOT to use DHCP. I've manually given it 192.168.0.4.

---------------------------------------------------
/etc/hosts
#
#Internet host table
#
127.0.0.1 localhost
192.168.0. solaris2 loghost
----------------------------------------------------
/etc/netmask

192.168.0.0 255.255.255.0
----------------------------------------------------
/etc/hostname.iprb0

solaris2
-----------------------------------------------------
/etc/resolv.conf

domain warid.com
nameserver 172.18.56.24
nameserver 172.18.56.25
------------------------------------------------------
/etc/defaultrouter

192.168.0.1
------------------------------------------------------
 
Old 04-24-2006, 09:45 PM   #52
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Your /etc/hosts file is buggy, I guess a typo while copying.

Anyway, these settings are inconsistent with the Windows machine that works.

Why not using DHCP ?

Why not setting the DNS nameserver to be 192.168.0.1 as you tell it is under windows ?
 
Old 04-25-2006, 07:43 PM   #53
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15
I was able to access the internet. It had something to do with the default gateway IP. The windows XP machine's primary NIC had another entry for default gateway. Remember initially i was not able to ping any of the DNS servers? During trials, i also entered the default gateway's IP address in the 2nd NIC's (the NIC connected to my solaris notebook via cross) default gateway field. I went back to my solaris notebook and tried to ping the DNS servers, it did not work. I removed the default gateway entry from the windows machine's secondary NIC and left the tcp/ip properties just with NIC's IP address 192.168.0.1 and subnet mask. Went back to my solaris box and while playing around i tried to ping the DNS servers again and this time it pinged!!!! after a while i removed the domain name from /etc/resolv.conf and just left the nameservers in. But still there was no browsing. Then i entered the proxy server's IP address in the browser settings and now i've internet .... plus i also updated the pkg-get configuration file with proxy settings.

--------------------------------------------------------------------------------------------------
(1) Now i have some other questions. Mplayer is the most popular movie/media player for linux/unix, but i'm a newbie and cannot play with compiling, environment variables, package-dependency issues, i would use blastwave. Unfortunately blastwave doesnt have the gui frontend for mplayer. so i installed gxine. Launching gxine first time also installs the appropriate mozilla plugins. The realplayer plugin it updated in mozilla browser's plugins is based on realplayer8 and i want to remove that plugin, since i have access to real player 10 for solaris. I cannot find gxine's realplayer plugin in mozilla plugins (/usr/sfw/lib/mozilla/plugins).

(2) blastwave's guide spoke and recommended installing all softwares under /opt/csw. All the packages installed through pkg-get will get installed in relative directories. If we download and try to install packages manually then i dont know where? /opt/csw/lib or /opt/csw/share?

(3) Has any one installed xearth program (the background wallpaper with rotating earth) on solaris? i installed it through blastwave, but how to run it?

(4) I got real player 10's solaris installer from helix community's website
https://player.helixcommunity.org/2005/downloads/

(5) And how do we uninstall packages we install manually through pkgadd or .bin installers (like this realplayer installer)?

Can all the experienced people download and install it and let us know the steps. Which directory to install. I tried to install it and it has installed and launching the player first time also installed the helper plugins for mozilla browser and it is playing real media's audio/video. But my installation complained about lot of errors which i can not understand. I feel my installation is not clean, therefore i would like gurus to install it and let us know the steps.

[for example, in the begining of the realplayer installation it complained that i do not have libiconv(libiconv.so) and if i does have it then i have to update system's library path, something LD_LIBRARY_PATH environment variable.]

Last edited by hasan; 04-25-2006 at 08:12 PM.
 
Old 04-26-2006, 01:43 AM   #54
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by hasan
--------------------------------------------------------------------------------------------------
(1) Now i have some other questions. Mplayer is the most popular movie/media player for linux/unix, but i'm a newbie and cannot play with compiling, environment variables, package-dependency issues, i would use blastwave. Unfortunately blastwave doesnt have the gui frontend for mplayer.
It does, gmplayer is part of the Blastwave mplayer package.
Quote:
(2) blastwave's guide spoke and recommended installing all softwares under /opt/csw. All the packages installed through pkg-get will get installed in relative directories. If we download and try to install packages manually then i dont know where? /opt/csw/lib or /opt/csw/share?
All Blastwave packages are designed to be installed under /opt/csw and they always go there.
Non Blastwave packages (installed with pkgadd) should go on their default location, tarballs and custom build may go to /opt/local or another custom directory under /opt.
Quote:
(3) Has any one installed xearth program (the background wallpaper with rotating earth) on solaris? i installed it through blastwave, but how to run it?
It's a very old X11 program.
If you wan't it as a background, you need to have a window manager allowing a transparent background, which JDS/Gnome doesn't (or at least I haven't figured out how to do it).
You can use the "-noroot" option with xearth to see its output under JDS.
Quote:
(5) And how do we uninstall packages we install manually through pkgadd or .bin installers (like this realplayer installer)?
Packages are removed with the pkgrm command. Applications having their own installer should have their own uninstaller too.
Quote:
Can all the experienced people download and install it and let us know the steps. Which directory to install. I tried to install it and it has installed and launching the player first time also installed the helper plugins for mozilla browser and it is playing real media's audio/video. But my installation complained about lot of errors which i can not understand. I feel my installation is not clean, therefore i would like gurus to install it and let us know the steps.

[for example, in the begining of the realplayer installation it complained that i do not have libiconv(libiconv.so) and if i does have it then i have to update system's library path, something LD_LIBRARY_PATH environment variable.]
Software complaining about a missing libiconv are poorly designed, as this library isn't necessary with Solaris, the iconv functions being in libc. If they insist wanting one libiconv, there is one (duplicating the standard one) with blastwave in /opt/csw/lib.
Beyond that, there is no generic installation procedure, you have to read the readme and other documentation files to know how a particular package is to be installed.
 
Old 04-26-2006, 05:07 PM   #55
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15
I tried again to get gmplayer from blastwave but they dont have it. I did " pkg-get -D gmplayer " to see if they have it, but they dont.

You think realplayer 10 for solaris from official source could be poorly designed? I do have libiconv installed on my system. I dont know how to export environment variables. And that realplayer installer also installed the realplayer icon in the proper menu, after i rebooted the machine. That is, under application-multimedia. Whereas i installed xmms through blastwave and it did not install the icon in the relevant menu (although i can run xmms but typing and entering xmms in "run application".

getting back to gmplayer. If i'm able to get gmplayer installed on solaris 10, will it also get installed with mozilla browser plugins and will it play all the common audio files (windows media format, real format, mp3) as well as play all video format (VCDs\DVDs)?

[If gmplayer the gui front end of mplayer is not avaiable from blastwave, is there another way to download and install gmplayer?]
--------------------
How can i remove sun's default installations like java media player, totem movie player? If i have newer version of totem movie player avaiable from blastwave and if i get that then i will have 2 installations of totem on my system, because pkg-get will install totem under /opt/csw.

Last edited by hasan; 04-26-2006 at 07:35 PM.
 
Old 04-26-2006, 07:43 PM   #56
apt-get-dude
Member
 
Registered: Mar 2006
Posts: 98

Rep: Reputation: 15
Have you run find / -name gmplayer? At least in linux (I believe solaris is the same), mplayer is the name of the package and when you install it, gmplayer is the gui front-end.

You probably have it installed.Check again.
 
Old 04-26-2006, 08:11 PM   #57
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
apt-get-dude is correct, gmplayer is part of the mplayer package, and is logically found in /opt/csw/bin/gmplayer

Blastwave has pages showing each files provided by every package, eg.:
http://www.blastwave.org/filesearch/mplayer
Quote:
You think realplayer 10 for solaris from official source could be poorly designed? I do have libiconv installed on my system.
No big deal, but indeed a mistake from the official source.
Quote:
I dont know how to export environment variables.
export VARIABLENAME
Quote:
And that realplayer installer also installed the realplayer icon in the proper menu, after i rebooted the machine. That is, under application-multimedia. Whereas i installed xmms through blastwave and it did not install the icon in the relevant menu (although i can run xmms but typing and entering xmms in "run application".
I'm sure you can add it to the menu. Can't tell you how, I'm not yet a big fan of gnome so I'm rarely using it.
Quote:
getting back to gmplayer. If i'm able to get gmplayer installed on solaris 10, will it also get installed with mozilla browser plugins and will it play all the common audio files (windows media format, real format, mp3) as well as play all video format (VCDs\DVDs)?
Not automatically. I've never tried but I guess you can configure your browser to use gmplayer as an external helper for the media mime-types.

Quote:
How can i remove sun's default installations like java media player, totem movie player? If i have newer version of totem movie player avaiable from blastwave and if i get that then i will have 2 installations of totem on my system, because pkg-get will install totem under /opt/csw.
You don't need to remove existing installations.
Precisely because Blaswave install its packages in /opt/csw, there will be no collision. Your system will have duplicate software, but they can coexist safely.
This came from Blastwave design decision to create a separate software ecosystem.

Last edited by jlliagre; 04-26-2006 at 08:13 PM.
 
Old 04-26-2006, 08:30 PM   #58
hasan
Member
 
Registered: Oct 2003
Distribution: N/A
Posts: 77

Original Poster
Rep: Reputation: 15
Yes i've found gmplayer. Launching it first time gave some errors. Let me copy paste them here
--------------------------------------------------------------------
# gmplayer
MPlayer 1.0pre5-2.95.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1116 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
MMX2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /opt/csw/etc/mplayer/mplayer.conf: No such file or directoryReading config file //.mplayer/config
[cfg] read config file: //.mplayer/gui.conf
Reading config file //.mplayer/gui.conf: No such file or directory
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
Reading //.mplayer/codecs.conf: Can't open '//.mplayer/codecs.conf': No such file or directory
Reading /opt/csw/etc/mplayer/codecs.conf: Can't open '/opt/csw/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: //.mplayer/font/font.desc
Font /opt/csw/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file //.mplayer/input.conf: No such file or directory
Can't open input config file /opt/csw/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '//.mplayer/Skin'
SKIN dir 2: '/opt/csw/share/mplayer/Skin'
-----------------------------------------------------------------
mplayer is complaining it cant open certain files because they dont exist. Will it degrade mplayer's performance in absence of those files?

It also displayed that my system supports MMX2 but it is disabled. How do i enable it?

jlliagre what desktop environment or window manager do you use?

Lets say, to save disk space on my 15GB hard drive i want to remove unwanted programs, and i want to remove applications installed by default solaris installation,then? (can we customize individual applications during OS installation?)

Last edited by hasan; 04-26-2006 at 08:35 PM.
 
Old 04-27-2006, 02:21 AM   #59
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by hasan
mplayer is complaining it cant open certain files because they dont exist. Will it degrade mplayer's performance in absence of those files?
These are optional configuration files not provided with the package so the messages are expected.
I doubt they have any effect on performance.
Quote:
It also displayed that my system supports MMX2 but it is disabled. How do i enable it?
You can't, as it was the packager's choice not to enable MMX2 support. If you really want it, you have to build yourself your own mplayer, which may be a difficult task.
Quote:
jlliagre what desktop environment or window manager do you use?
A custom made icewm.
Quote:
Lets say, to save disk space on my 15GB hard drive i want to remove unwanted programs, and i want to remove applications installed by default solaris installation,then? (can we customize individual applications during OS installation?)
At installation time, you can select between 5 or 6 installations groups (from Reduced networking meta-cluster, text only O/S to full install with OEM).
After installation, you can certainly remove unwanted packages. This is called minimization, and is more often done for security than for saving space.
You can use the prodreg GUI to visualize the packages installed, and remove those unwanted.
Pay attention to the dependancies it may complain of, removing too much packages may break some parts or all of the O/S ...
 
Old 04-27-2006, 05:48 AM   #60
apt-get-dude
Member
 
Registered: Mar 2006
Posts: 98

Rep: Reputation: 15
If you have 15 gb, you should have about 11gb of free space if you installed the entire distribution. That is plenty. I would not remove anything but yes, you can.
To find out which metacluster you installed, run find /var/sadm -name CLUSTER and then cat the file. That will tell you which one you have. Ex: CLUSTER=SUNWCXall is equals to entire distribution plus OEM support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 9 Server & Windows XP Home Networking kingtas Linux - Networking 5 01-21-2005 03:01 PM
Security & Home Networking citog Linux - Security 5 08-04-2003 10:12 AM
DUN autodialler & NIC Home networking MikeP Linux - Networking 2 10-06-2002 06:14 PM
Solaris networking? Dave Campbell Linux - Networking 9 08-23-2002 04:50 PM
Simple Home Networking & HTML Editor RedHatMN Linux - Newbie 3 04-04-2001 06:54 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration