LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2007, 02:39 AM   #1
Vardhaman
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Rep: Reputation: 0
Configuring ADSL connection & Installing appilications


hi,...i recently made the switch from windows to Linux (FC 6) and have a couple of questions in which i need help.

Firstly i have adsl internet connection and was successfully able to configure it on the root account using /sbin/adsl-setup but now i cannot activate my connection from any other account. i get the message "access denied".How can i configure my connection so that i can use it on other accounts also?

Secondly can anyone please give me step-by-step instructions on how to install applications.
i tried unpacking the .tar.bz file and running he executable file inside. that works for some applications but others such as mplayer do not have the executable files inside them. how to install such applications?

Thankyou.
 
Old 01-10-2007, 03:13 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Firstly i have adsl internet connection and was successfully able to configure it on the root account using /sbin/adsl-setup but now i cannot activate my connection from any other account. i get the message "access denied".How can i configure my connection so that i can use it on other accounts also?
You could, of course, make adsl-start suid-root but I don't know if it's sensible. Another way is to configure sudo for the people who need to be able to start/stop the connection, so that they could just
Code:
sudo /sbin/adsl-start
That is probably the easiest way. If I'm right you'll need to add those users into the group called sudoers and then configure your /etc/sudoers, for example by adding this kind of line:
Code:
vardhaman  localhost=/sbin/adsl-start
and perhaps the same kind for /sbin/adsl-stop too, which would enable the uservardhaman to run, with sudo, the commands. Alternatively you could create a new group or use some existing one, and instead of the user, give that permission for a group and then add the desired users to that group (in this case, write the group name instead of the username in sudoers file and write a % mark in front of the group name). More information: read
Code:
man sudoers
Quote:
Secondly can anyone please give me step-by-step instructions on how to install applications.
i tried unpacking the .tar.bz file and running he executable file inside. that works for some applications but others such as mplayer do not have the executable files inside them. how to install such applications?
In Fedora the way to go is to use yum to handle package installing and updating: to update your (complete) system, run (as root, or if you have configured sudo then with it)
Code:
yum update
to install some program called programname, run
Code:
yum install programname
and so on. It's really easy as far as the program you ask for is in the Fedora reposities (you can add extra reposites, use Search here in LQ to find more detailed information) and you know how the package name is exactly written (without any version numbers). If it's not in the reposities, try to locate an .rpm package from the web, like from rpm.pbone.net for example -- for Fedora Core 6 (if you have a 32-bit system, it's i386 version, if you have a 64-bit system, it's x86_64). Only if you can't find rpms (which are the easiest to install either by double-clicking on them or running rpm -i packagename.rpm), use archived files like those .tar.gz ones.

Archived files like the one you mentioned are a bit different. They can be installed any way the programmer has decided, there is no general method. It could include an install script that you would make executable and then run, it could include source code that you would configure and compile, or something else..if you find inside the archive, read these two files: README and INSTALL. They have the information you are looking for. If it's source code, one way to compile it is
Code:
./configure
make
su
make install
but that may vary depending on the code, it might need autoconf or something else..there should be those two files, or a doc directory/files or something, where it's told so read them every time.

If you find an install script like install.sh inside, you can run it like this (it's not executable by default for security reasons, and the first command below needs to be run only once per script):
Code:
chmod +x install.sh
./install.sh
provided that you are working inside the directory where the script file is in. The same goes for .bin and .run files etc.
 
Old 01-10-2007, 03:14 AM   #3
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
My ADSL uses a router/hub, so I don't think I can help with that.

Installing apps is easy. On your Applications Menu, is an item called "Add/Remove Software" if your using Gnome, or if you use KDE, it's on the K menu and may be called Package Manager. This will give you lists of applications in groups. The ones that are installed have a green tick. Find the ones you want to install, tick the box, click apply and get some coffee while it does it for you.

If you download and unpack, you may not get the files in the right folders and it most likely wont run. However if you download a package as an RPM with the extension .rpm at the end of the file name, these can be installed by right-clicking on the downloaded file, and choosing "Install" from the pop-up menu.

The reason for using packages is that they should find and install any dependencies (other software that your application needs to run properly) automatically and into the correct folders.
 
  


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
configuring Mandrake 9.2 on home LAN with ADSL connection AndyD Linux - Networking 18 01-12-2006 09:37 AM
Installing SuSE 10.0 over the network with ADSL connection hardstyleFX SUSE / openSUSE 2 10-18-2005 03:40 PM
Setup Network & ADSL Connection (Internet Sharing) on SuSE 9.2 egcoder Linux - Networking 0 01-31-2005 06:47 PM
configuring ADSL connection with USB Modem nemesix Linux - Networking 3 01-06-2005 01:47 PM
Mandrake 10 - computer freezing after configuring adsl connection. BluePyre Mandriva 9 06-06-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:03 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