Internet over CDMA for the best operating system

To make an internet connection on Solaris laptop easy, I've prepared a support package. It is provided "as is". Use at your own risk. If you want to accept and continue, you will need:

  • valid contract to be able to use internet over CDMA in Czech Republic
  • a x86 computer running Solaris OS, preferably some latest OpenSolaris based distribution like Solaris Express
  • an usb CDMA modem either older GTRAN or AnyDATA
  • package VTBcdmacz.pkg
  • optional experimental package VTBcdmafil.pkg with filtering module, which blocks sending of packets with source ip address other than assigned one. Such an action is usually followed by immediate disconnect by ISP. (requires Solaris Express build > 60).
  • credentials for your connections: user(mobile number) and password, which you will get with the modem

Quick installation:

The procedure is easy, install the package and use /usr/sbin/cdmactl, which is an user interface for setting up the connection and controlling it (it's a simple perl script). Here is an example:


# ### Install the package from the internet or local copy:
# pkgadd -d http://blogs.sun.com/vita78/resource/cdma_052007/VTBcdmacz.pkg

# ### Configure your account, check the system and go online 
# /usr/sbin/cdmactl configure
# /usr/sbin/cdmactl check
# /usr/sbin/cdmactl start

What commands does cdmactl offer?

  • cdmactl configure - setup the configuration, will ask for your credentials and write the configuration files for pppd daemon.
  • cdmactl check - to make sure things are working correctly, correct any defects it will find
  • cdmactl start - connect to the internet, once you have configured your system and ensured it is ready, this command enables the connection to the internet. You can monitor the activity with pgrep -l cdma and tail -f /var/adm/messages.
  • cdmactl stop - disconnect from the internet
  • cdmactl signal - monitor the signal quality. To find a good place where the modem or antenna will have a signal and the connection will work at best, you can try this experimental feature, which is available only for AnyDATA modem.

Comments:

You really shouldn't deliver 3rd party software into /usr/bin; that's what /opt is for. And your stuff will break if you ever try to install the package into a sparse zone, since /usr will be mounted lofs,ro. Kernel level drivers should be delivered as SUNW_HOLLOW packages into /kernel/drv/..., everything else into /opt/ (binaries, libraries, man pages), data into /var/opt/, and configuration into /etc/opt/... That's the System V way.

Posted by UX-admin on únor 23, 2007 at 01:07 dop. CET #

Thanks for reminding me System V rules, you are right. I'll fix that.

Posted by vita on únor 23, 2007 at 01:58 dop. CET #

No problem. "Solaris users looking out for Solaris users", which in turn builds more knowledge and the expertise of the community as a whole raises to a higher level.

Posted by UX-admin on únor 23, 2007 at 11:27 dop. CET #

Post a Comment:
Comments are closed for this entry.
About

vita78

Search

Categories
Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today