Solaris Sustaining Engineer
Sriram Popuri's Weblog
Archives
« January 2006 »
SunMonTueWedThuFriSat
1
2
3
4
5
6
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today
XML
Search

Links
OpenSolaris User Group OpenSolaris: Love at First Boot
Referrers

Today's Page Hits: 21

« Previous day (Jan 5, 2006) | Main | Next day (Jan 7, 2006) »
20060107 Saturday January 07, 2006
Belenos (BeleniX), the sun god, is raising.
If I look back and see the progress BeleniX made, its simply amazing.
Thanks to Moinak for the initiative. BeleniX was started to evangelize OpenSolaris and we were able to evangelize OpenSolaris in a much betterway.
BeleniX seems to have attracted more people to our user group at Bangalore.
Bangalore OpenSolaris User Group (BOSUG) alias is the most viewed
and the second most active alias of all other user groups.
One can see the feature differences between BeleniX 0.1 and 0.2 and 0.2 to 0.3.
Someone in a user-group alias correctly said,
"BeleniX is moving at a very fast pace. Every 4 weeks we are seeing a release"
Now if compression goes well, then BeleniX makes a huge leap ahead.
This would make a huge difference as booting from livecd will be faster
and also we can sqeeze-in more apps.
Each time Moinak says we have more space, we think what can be added to the CD.
Now with compression (using zlib) we get nearly 60-70% more space.
Which can allow us to squeeze-in more than 1.5 GB. An extra space of 800MB!
Now again the big question what can we add? :)
Other things that are due are
enhancements to hdinstaller like allowing partition resizing, auto updating grub entries,
preserving existing Solaris slices so that BeleniX can co-exist with Solaris and OpenSolaris based distros,
network configuration,  adding support to create zfs slices, pkg selection tool and some bug fixes.
pkgsrc part is also done. Will be included in 0.4
Surya and Saurabh, from my team (Solaris Sustaining) implemented reiserfs read-only support.
They are planning to release that under CDDL. So hopefully we can get that as well.
Hopefully we will see support for ntfs as well.
So 0.4 might be one more big release. more driver support...more apps.
Sometime back in a discussion, just after BeleniX 0.2 released,
I told Moinak, "BeleniX will have as much popularity as
Knoppix now has in Linux world.". Might be an impossible
task that day, but now its quite possible.
Moinak had to agree it now. :)

Jan 07 2006, 12:55:58 AM IST Permalink

Configuring pppoe on BSNL networks
In some areas, in India, you need to configure pppoe for BSNL
to connect to net.
docs.sun.com has a very good document
on this, but thought a quick guide to configure would be helpful.
So here is a quick quide to setup pppoe for BSNL networks.
(This is not restricted to BSNL, it should be applicable to any service which is based on pppoe.)

SUNW ppp packages should be already available for you unless you didn't install.If you didn't install you need the following packages.
Install them from your Solaris CD.

SUNWpppd - Solaris PPP Device Drivers.
SUNWpppdr - Solaris PPP configuration files.
SUNWpppdt - Solaris PPP Tunneling.
SUNWpppdu - Solaris PPP daemon and utilities.

There will be a file myisp.tmpl in /etc/ppp/peers directory.
copy it to file name bsnl
cp /etc/ppp/peers/myisp.tmpl /etc/ppp/peers/bsnl
edit bsnl file using you favorite editor. The uncommented section should look like
the following. where INTERFACE should be your ethernet interface name and
USERNAME is your broadband user name.

connect "/usr/bin/chat -f /etc/ppp/myisp-chat"  # dial into ISP.
sppptun
plugin pppoe.so
connect "/usr/lib/inet/pppoec INTERFACE"
user USERNAME           # my account name at my ISP
remotename bsnl # name of the ISP; for pap-secrets
noauth                  # do not authenticate the ISP's identity (client)
noipdefault             # assume no IP address; get it from ISP
defaultroute            # install default route; ISP is Internet gateway
updetach                # log errors and CONNECT string to invoker
noccp                   # ISP doesn't support free compression

Now there are 2 configuration files to update.
/etc/ppp/pap-secrets
/etc/ppp/chap-secrets
In these two files add the entry as follows

USERNAME        bsnl    PASSWORD

where USERNAME is your broadband username
and PASSWORD is you broadband password.

your configuration is done.

now run

#/usr/sbin/sppptun plumb pppoe INTERFACENAME
#/usr/sbin/sppptun plumb pppoed INTERFACENAME
#/usr/bin/pppd debug call bsnl

(debug is optional.)

you need to specify dns server to resolve dns names.
create a file in /etc with name resolve.conf
and copy the nameserver info.
for example:
echo nameserver  61.1.96.69 > /etc/resolv.conf

note: The ip specified here is bsnl nameserver,
         but might be different for you. Please ask your bsnl operator.
 dns file.
cp /etc/nsswitch.dns /etc/nsswitch.conf
Make a backup copy so that you can copy back when needed nexttime.
cp /etc/resolv.conf /etc/resolv.conf.bsnl

copy
In case you are still not able to resolv dns name.
check if dns/client service is running or not.
svcs -a | grep dns/client
if not enabled
svcadm enable dns/client
if not online, try starting
svcadm restart dns/client
or
svcadm refresh dns/client


Jan 07 2006, 12:42:14 AM IST Permalink