Sify Client For Linux should be like Windows.

popcorn

Senior Member
[OP]
Apr 10, 2005
3,105
74
Mumbai
As many users are now shifting to Linux Operating Systems ( as it is free & now comes with many branded computers) , the sify login client should be a graphical and user friendly. Should Sify do something for that? its high time that we are using that 1.3 version which is very difficult for an ordinary person to start and use it or install it. It also does not give any information on the usage etc like the windows version gives.
 

ogtripleog

Regular
Regulars
Sep 11, 2004
774
0
they dont have exactly what you would call a client u know.. just a simple shell script
 


siddhesh

Newbie
Regulars
Mar 29, 2005
68
0
Originally posted by Bhinder@Apr 10 2005, 09:22 PM
they dont have exactly what you would call a client u know.. just a simple shell script
[snapback]7825[/snapback]
[/quote]

Well its not quite a shell script. Its a binary file. The dialer is actually a system of 2 binary programs. One is a service that connects and maintains connection to the server (sifyd). the other is the connection client (sifyconnect).

There is actually a bit of a conflict about the version number. the package name suggests that its 1.3. but then if you untar the package and read the README then you'll see version 1.2 written on it. The app also doesnt have a -v argument to retrieve version number.

Also, the structure of both clients (windows and linux) is quite wierd. There is no connection state maintenance, i.e. if you're connected and the client dies for some reason and we have to start it again, it acts as if you're not connected to the net. the least it could do is query the server to check if you're logged in and get details.

Siddhesh
 

inetbum

Regulars
Regulars
Oct 30, 2004
1,039
1
Nope it's not a simple shell script. The sifyd program which actually makes the connection is a compiled binary file that is a complete program. It is the sifyconnect file which reads the userid and password from the user and writes it to sifyd, which is a shel script.

Also sifyd is already made to be a service since sifyd stands for sify daemon (daemons are supposed to be services). Sifyd automatically gets started on starting up the linux system and it remains in the background. Thus it runs as a service.

Hey sifyfan, I agree a GUI could be made for the Sify client for linux. But in its absence you might like to check out the Sify client available for Macintoshes. It is graphical (rudimentary graphics but atleast they are there :p ) and since it is written in Java all it needs to run on a Linux system is JRE (Java Runtime Environment) installed.

You can see whether you have it installed already on your Linux system by running the command
Code:
java --version
or
Code:
java -v
.

If it's not installed, you can install it by going here.
 

siddhesh

Newbie
Regulars
Mar 29, 2005
68
0
The MAC client has a nice little GUI but then it doesnt have the advanced features that the windows client provides. i tried using it on my system (Debian GNU/Linux with mozilla symlinked with name 'netscape' to get around the requirement for the command invoked). It connects and disconnects allright. but then account status, transfer details and all that cannot be viewed somehow like in the windows client. Still havent been able to figure out why.Siddhesh
 


popcorn

Senior Member
[OP]
Apr 10, 2005
3,105
74
Mumbai
I have Java Installed.
java -version
java version "1.4.2_05"
Java(tm) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(tm) Client VM (build 1.4.2_05-b04, mixed mode)

I get the following error. I am loged in as su.
java -jar BroadbandUI.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11 windowserver using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.(Window.java:275)
at java.awt.Frame.(Frame.java:401)
at java.awt.Frame.(Frame.java:366)
at javax.swing.JFrame.(JFrame.java:154)
at BroadbandUI.LoginWindow.(LoginWindow.java:20)
at BroadbandUI.LaunchDialer.main(LaunchDialer.java:86)

Can you please help me. I am trying to use it in SuSE 9.2 Linux version.

Originally posted by inetbum@Apr 10 2005, 11:43 PM
Nope it's not a simple shell script. The sifyd program which actually makes the connection is a compiled binary file that is a complete program. It is the sifyconnect file which reads the userid and password from the user and writes it to sifyd, which is a shel script.

Also sifyd is already made to be a service since sifyd stands for sify daemon (daemons are supposed to be services). Sifyd automatically gets started on starting up the linux system and it remains in the background. Thus it runs as a service.

Hey sifyfan, I agree a GUI could be made for the Sify client for linux. But in its absence you might like to check out the Sify client available for Macintoshes. It is graphical (rudimentary graphics but atleast they are there  :p ) and since it is written in Java all it needs to run on a Linux system is JRE (Java Runtime Environment) installed.

You can see whether you have it installed already on your Linux system by running the command
Code:
java --version
or
Code:
java -v
.

If it's not installed, you can install it by going here.
[snapback]7835[/snapback]
 

inetbum

Regulars
Regulars
Oct 30, 2004
1,039
1
Try running the command java -jar BroadbandUI.jar as a normal user and not as su/root.
 

popcorn

Senior Member
[OP]
Apr 10, 2005
3,105
74
Mumbai
OH Man U R SO Smart It WORKED!!!
Thanks!!!


Originally posted by inetbum@Apr 11 2005, 08:12 PM
Try running the command java -jar BroadbandUI.jar as a normal user and not as su/root.
[snapback]7881[/snapback]
[/quote]
 

Sushubh

Administrator
Oct 29, 2004
416,935
12,931
Gurugram
just a suggestion. use default colors from next time. we guys can read normal sized black colored content.