LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-20-2006, 04:15 AM   #1
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Rep: Reputation: 15
Installing ISP program


Hi,

I am new to Fedora and Linux. I have FC running without a problem.

My ISP connection is through LAN. But before I can use my internet I need to install a program which takes care of user authentication.

It is a small file of 14Kb and my os is showing it as an executable file. But I dont know how to run it.

I tried double clicking it, but to no avail.

Sorry if this is not the right forum for this question but I am at a loss.

Please help.
 
Old 01-20-2006, 05:00 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by gugabaga
Hi,

I am new to Fedora and Linux. I have FC running without a problem.

My ISP connection is through LAN. But before I can use my internet I need to install a program which takes care of user authentication.

It is a small file of 14Kb and my os is showing it as an executable file. But I dont know how to run it.

I tried double clicking it, but to no avail.

Sorry if this is not the right forum for this question but I am at a loss.

Please help.
I recommend changing thread title to
(How do I Authenticate/Login to DSL connection in Linux?)

Maybe put it in Networking

the ISP has given you a Windows Program to connect to the internet.


I personally recommend buying a modem/router since it will log in for you.
You'll never have to ever again.
 
Old 01-20-2006, 05:17 AM   #3
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
ISP client program installation

Hi Carl,

The ISP's windows prog I have been using for a long time without any hitch.

I went to the ISP's web site and downloaded their linux distribution which came in a tar file. I extracted the tar file to find a readme.txt file and the client program.

The contents of the readme file is below......

README

crclient 1.1 for Unix/Linux

Contents
* Introduction
* Make
* Options
* Example of Configuration File


Introduction

Cyberoam Client is a part of the Cyberoam product which is a complete solution to
Employee Internet Management. This tool provides an interface for the client to
communicate with the Cyberoam server. There are various options provided which help the
client to effectively communicate with the server.

Make
crclient supports two modes at the time of compilation.
1) Single Login
2) Multiple Login
In case of single login only one user is allowed to login at a time. For
enabling single mode the macro CFLAGS in the Makefile has to be disabled.
#CFLAGS=-D__MULTILOGIN__

In case of multiple login option the more then one user can login at a given
time. The macro CFLAGS has to be enabled before making the files.
CFLAGS=-D__MULTILOGIN__

Other make options include the clean option. Before making the file after the macro is
enabled/disabled the clean option should be used.
Ex.
$make clean.

Options

-u : The option is responsible for sending a login request to the server. It requires
username as a parameter.

-s : The option is for setting preferences for the client. Preferences such as AskonExit,
AutoLogin, ShowNotification and Server Address can be set using this option. The
preference values are then reflected in the Configuration file.

-l: This option is used to send a logout request to the server. In case of Multiple
Login mode this option requires argument i.e Username.

-h: provides help for the client.

-d: Specify the location for log file.

-v: Sets the verbose mode on. This option is for debugging purpose.

-V: Provides Current Version information.

-f: Specify the location for the configuration file.

Example of Configuration File

AskonExit 0
AutoLogin 0
FirstTime 1
Password
Port 6060
SavePassword 0
Server 192.9.203.203
User ankit
ShowNotification 1
LiveRequestTime 180
AlreadyLoggedIn 0
VersionId 1
Version crclient1.1

The configuration file includes the above showm parameters. First Configuration file is searched
at /etc, if not found it is searched in the user's home directory. If the configuration file is
not found at both the places a file is created in the user's home directory by accepting the
essential parameters from the User.

NOTE :

i) User has to manually disable the SavePassword option in the configuration file by setting the
value of SavePassword field to zero , once the option is enabled.

ii) Also, if the savepassword option is enabled and Password field is found to be null in the
configuration file the user have to disable the savepassword option i.e by setting the
SavePassword field to 0, inoder to login.

iii) If -f option is specified the full path along with the filename should be specified.
Ex. /home/ankit/CyberClient.conf.

iv) In case of Sun Solaris the multiple process issue is vulnerable.No gaurantee is taken to
control multiple client process invocation.

v) In case of '-d' option if log file cannot be opened at the specified location client exits.
In absence of '-d' option preference for log location is
1) '/var/log'
2) Users home directory
3) '/tmp'
If all the three preferences fail logging will be done on standard output.
 
Old 01-20-2006, 05:58 AM   #4
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by gugabaga
Hi,

I am new to Fedora and Linux. I have FC running without a problem.

My ISP connection is through LAN. But before I can use my internet I need to install a program which takes care of user authentication.

It is a small file of 14Kb and my os is showing it as an executable file. But I dont know how to run it.

I tried double clicking it, but to no avail.

Sorry if this is not the right forum for this question but I am at a loss.

Please help.
In linux to Run an Executable
you need to use a commandline (like Konsole)
and type
./executable

if it spits error denied
chmod +x executable
(allows your system to run it and try ./excecutable again)





cool that readme in mind

the program wont work unless you run it as root (windows version is adminsitrator)



You use KDE?

open the folder you extracted the tar.
Hit F4 (this will open a Konsole at that directory)

type 'make' at the $
$make

(i guess it asks for you passwords etc here?)
if it doesnt open kwrite or a text editor open this file /home/you/CyberClient.conf. edit it to your passwor d use retc

once that is done in Konsole again
$./crclient



PS send me a link to the program so i can check it out better

Last edited by carl0ski; 01-20-2006 at 06:02 AM.
 
Old 01-20-2006, 06:39 AM   #5
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
ISP client installation

Quote:
Originally Posted by carl0ski
In linux to Run an Executable
you need to use a commandline (like Konsole)
and type
./executable

if it spits error denied
chmod +x executable
(allows your system to run it and try ./excecutable again)





cool that readme in mind

the program wont work unless you run it as root (windows version is adminsitrator)



You use KDE?

open the folder you extracted the tar.
Hit F4 (this will open a Konsole at that directory)

type 'make' at the $
$make

(i guess it asks for you passwords etc here?)
if it doesnt open kwrite or a text editor open this file /home/you/CyberClient.conf. edit it to your passwor d use retc

once that is done in Konsole again
$./crclient



PS send me a link to the program so i can check it out better
Hi Carl,

Thanks for your prompt replies.

But I am still unable to make any headway....

I tried running executable but each and everytime it was COMMAND NOT FOUND.

Also I tried chmod...... error was "Cannot find 'executable': No such file or directory"
I tried searching for that file but came up blank.
And yes, I have logged in as root.

Does this mean that my installation has been incomplete?

Also you mentioned KDE. I have been using GNOME as that was the default which came up. In your opioin which is better.
 
Old 01-20-2006, 07:21 AM   #6
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by gugabaga
Hi Carl,

Thanks for your prompt replies.

But I am still unable to make any headway....

I tried running executable but each and everytime it was COMMAND NOT FOUND.

Also I tried chmod...... error was "Cannot find 'executable': No such file or directory"
I tried searching for that file but came up blank.
And yes, I have logged in as root.

Does this mean that my installation has been incomplete?

Also you mentioned KDE. I have been using GNOME as that was the default which came up. In your opioin which is better.
I personally like KDE since i really like the Applications that come with it. and i like all the pretty menu bars


But you should at least try both at some stage.

And remember a link to download this program your trying to install

Last edited by carl0ski; 01-20-2006 at 07:22 AM.
 
Old 01-20-2006, 07:21 AM   #7
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
ISP prog

The ISP program can be downloaded from the below link

[rapidshare.de/files/11418610/CyberoamLinuxClient.tar.gz.html]

Regards
 
Old 01-20-2006, 08:31 AM   #8
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
"I tried running executable but each and everytime it was COMMAND NOT FOUND.

Also I tried chmod...... error was "Cannot find 'executable': No such file or directory"
I tried searching for that file but came up blank.
And yes, I have logged in as root.

Does this mean that my installation has been incomplete?

Also you mentioned KDE. I have been using GNOME as that was the default which came up. In your opioin which is better."

You don't reference the file by 'executable' you reference it by it's name, the file you download is a tarball (several files combined into 1 archive, and it is zipped via gunzip. You will need to unzip it, then unroll the tarball, or have you done this already? once you do that

move to the directory you un-tared to:

cd /directory

make the executable file executable

chmod 755 <file_name>

(since you need to run it as root to install login as root)

su
<password>

then run the file with ./file_name

follow instructions theron.

If that fails somewhere, post the exact name of the executable
 
Old 01-20-2006, 06:19 PM   #9
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by gugabaga
The ISP program can be downloaded from the below link

[rapidshare.de/files/11418610/CyberoamLinuxClient.tar.gz.html]

Regards
that gz file contains two file
crclient and README.txt

if youve have trouble extracting the file
i uploaded it
http://rapidshare.de/files/11460768/crclient.html

Save it to /home/youruser


this is what should happen
open a terminal in gnome
Code:
bash-3.00$ cd /home/youruser
bash-3.00$ ./crclient

Usage : ./crclient [OPTION]..[-f filepath]

        -h, --help                       displays the help for Client and exit.
        -l, --logout [Username]          logout from the current session.
                                         When Configured for Multiple-Login Username Required.
        -s, --setpreferences             Set Preferences for the client.
        -u, --user <username>            get username at the time of login.
        -f, --filepath <filepath>        set path for Configuration file.
        -d, --logfilepath <filepath>     set path for log file. Default:'/var/log/crclient.log'.
        -V, --version                    displays the current version.
        -v, --verbose                    Sets debugging Mode .

                         Either -u OR  -l option is must.
All You'd probably need to is

$./crclient -u gugabaga


Then i assume it will request a password

Last edited by carl0ski; 01-20-2006 at 06:22 PM.
 
Old 01-20-2006, 09:13 PM   #10
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
ISP problem solved

Thanks carloski.

The problem has been solved. Exactly the way you told me.

But now how do I write a batch file or something of that sort which when executed should connect me automatically.

Also I am being able to use this feature from root. How do I let other users access to this resource.

Thanks once again for all your help.

Gugabaga
 
Old 01-20-2006, 10:36 PM   #11
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
in the terminal where you typed ./crclient -u gugabaga

do this
type
su

and type Root Password when asked

and then run this. to add to /etc/rc.local (will do it automatically everytime you boot.


echo "cd /home/youruser; ./crclient -u gugabaga" >> /etc/rc.local
 
  


Reply



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
Changing ISP, apt-get can not see new ISP proxy linx win Debian 0 01-05-2005 03:41 AM
Installing a Program? snoopyswiss Linux - Newbie 2 08-18-2004 07:23 AM
Installing a program PhuckFonix Linux - Newbie 6 05-29-2004 01:36 PM
Need program to Ping ISP in Mnk 9.1 esage Mandriva 4 10-29-2003 11:59 AM
installing program help!!!!!!!!! shadow Linux - General 8 07-09-2003 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:45 AM.

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