LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2009, 03:58 AM   #1
sonusikka
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
help new to redhat , adsl setup problem!!


please help me in out how to configure adsl connection in red hat.
also m unbale to run fdisk and dmseg commands fron root....it shows error command not found

Last edited by sonusikka; 07-03-2009 at 01:49 AM.
 
Old 07-02-2009, 04:18 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sonusikka View Post
please help me in out how to configure adsl connection in red hat.
See if you can get started by reading the generic DSL HOWTO for Linux.


Quote:
Originally Posted by sonusikka View Post
also m unbale to run fdisk and dmseg commands fron root....it shows error command not found
Prefix your command with "/sbin/" (also note we have a spellchecker) and if you want it to be persistent expand your /root/.bash_profile PATH statement with "PATH=$PATH:/sbin", save, then "source /root/.bash_profile".
 
Old 07-02-2009, 04:49 AM   #3
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
there is another solution regarding modem

Configure your Modem as PPPOE if its support then you simple configure LAN IP

using root user enter command
setup

then in Network configuration option
set IP and subnet of yor LAN
and gatway IP is the of your modem.

I do not know your network structure
This is simple case.
 
Old 07-02-2009, 04:54 AM   #4
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Hi Sonusikka,
First of all welcome to the world of linux.
As you have written you are new to linux as first of all i want know i much
you comfortable with linux. I mean how long you are using linux.

It help us to give you solution accordingly. As installing or using ADSL in linux
is not a easy task. Even most of linux expert are never tried it. If i just give u link
of the site i dont think it goona help you more.

By saying this i does not mean that linux is tough or hard. Linux a fun, it is a game
as much as you play with linux you really enjoy it.

thanks ...
 
Old 07-02-2009, 07:59 AM   #5
sonusikka
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
@sohail0399

i tried setting up adsl connection through gui interface in setting new internet connection and then going into xdsl and giving ip and gateway and subnet etc but when i tried to activate it doesn't get activated!!
 
Old 07-02-2009, 08:04 AM   #6
sonusikka
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
@vap16oct1984

i ws using ubuntu for about 3 months but redhat seem to b totally quite different.
i just installed red hat some days back but unable to set up adsl connection , i tried it through stting up new internet connection and then giving ip ,gateways primary and sec dns etc but to no effect as when i try to activate it reports cant b activated

also I'm unable to run fdisk and dmseg commands(after logging as root)
 
Old 07-02-2009, 08:32 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sonusikka View Post
i ws using ubuntu for about 3 months but redhat seem to b totally quite different.
i just installed red hat some days back but unable to set up adsl connection , i tried it through stting up new internet connection and then giving ip ,gateways primary and sec dns etc but to no effect as when i try to activate it reports cant b activated

also I'm unable to run fdisk and dmseg commands(after logging as root)
Ok, which version are you using, and of what distro? Are you using RedHat or Ubuntu now?

And vap16oct1984 is wrong. Setting up a PPPOE 'dialer' is not difficult, and is well documented, for both RedHat/Fedora and Ubuntu. The software can be obtained from source here http://www.roaringpenguin.com/products/pppoe, along with the documentation. You might also be able to install it through a repository.

As far as the fdisk/dmesg problems, it appears you're having some sort of system issue. If this is a new installation, I'd strongly suggest a clean install...
 
Old 07-02-2009, 12:50 PM   #8
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Question

Well TBone,
It looks like there is some problem with your reading skills.
Quote:
Originally Posted by TB0ne View Post
Ok, which version are you using, and of what distro? Are you using RedHat or Ubuntu now?

And vap16oct1984 is wrong. Setting up a PPPOE 'dialer' is not difficult, and is well documented, for both RedHat/Fedora and Ubuntu.
Souniska has clearly written that now he/she using Redhat. So there is no
more question like Ubanto or Redhat?

I have never written that setting up a PPPOE is difficult. You have got wrong concept here. Even i have not taked about PPPOE. Using PPPOE is an alternate solution .By saying alternate solution i hope you understand its second choice if first one fails.

But what is actually asked here is about setting ADSL in Linux.

Sohail0399 had already talked about configuring modem as PPPOE. But the question comes if it support or not.
 
Old 07-02-2009, 01:13 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by vap16oct1984 View Post
Well TBone,
It looks like there is some problem with your reading skills.

Souniska has clearly written that now he/she using Redhat. So there is no
more question like Ubanto or Redhat?
Nope, but there are clearly problems with your spelling and English skills. And if you read what he posted, he installed Ubuntu (NOT Ubanto), then installed RedHat...but doesn't say which he's CURRENTLY using. Guess there's reading skills, and actually UNDERSTANDING what you read...which is where your problem seems to lie.

Quote:
I have never written that setting up a PPPOE is difficult. You have got wrong concept here. Even i have not taked about PPPOE. Using PPPOE is an alternate solution .By saying alternate solution i hope you understand its second choice if first one fails.
Oh? You didnt'?? What's this, from an earlier post BY YOU:

Code:
As installing or using ADSL in linux
is not a easy task. Even most of linux expert are never tried it.
Sure sounds like you're saying it's difficult to get things working (like when you say "is not a easy task"). And while it seems like you're saying "PPPoE is easy, but ADSL is difficult", that's kind of splitting hairs. Read the link sent by unSpawn, about setting up DSL, and pay attention to section 3.3. If a router or hardware based unit is doing it, that is what's making the PPPoE connection. If you DON'T HAVE HARDWARE doing it, you need SOFTWARE to do PPPoE. In essence...setting up ADSL *IS* setting up PPPoE, in some manner.


Quote:
But what is actually asked here is about setting ADSL in Linux.
Sohail0399 had already talked about configuring modem as PPPOE. But the question comes if it support or not.
It was suggested to him, but the OP has never said if he's tried it, or what (if anything) he's done, which is why the question was asked. And PPPoE is well supported by Linux.

Even if the hardware is 100% supported under Linux, you have to initiate the PPPOE connection, somehow...either through third party software (like Roaring Penguin), or through a Linux utility. Any ADSL modem is going to need a PPPOE initiator, either software (like the CD/DVD provided by your broadband company), or hardware (a home router), which makes the modem connect. The PPPOE dialer from Roaring Penguin IS that software initiator...that's what it does. You can go through the GUI/command line, or whatever else you want to set up a network connection, but until you MAKE THE MODEM CONNECT, you're going nowhere.

Grow up...if you can't take someone saying you're wrong (when you ARE), don't post things like this. There's no need to be insulting, especially when you're not understanding what's being said.

Last edited by TB0ne; 07-02-2009 at 02:38 PM.
 
Old 07-02-2009, 06:19 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Aww, come on. Let's focus on helping the OP. So the both of you relax a bit, OK? Thanks!
 
Old 07-02-2009, 07:35 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by unSpawn View Post
Aww, come on. Let's focus on helping the OP. So the both of you relax a bit, OK? Thanks!
Done....and at the risk of sounding like a six-year-old:

"He started it!"
 
Old 07-02-2009, 10:09 PM   #12
sonusikka
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
@all

guys chill down, stop arguing over others reading skill and all, if ny one has doubt i make it clear that I'm currently using red hat 9(just installed-gave no error or installation problem), i used ubuntu earlier and now replaced it with red hat 9.
so please tell me how to set up internet connection , i have usb modem. it works well in xp and in ubuntu also was automatically configured just after ubuntu installation .But in red hat guide me how to configure it.
also can ny1 tell me how configure it to use pendrives and problem regarding using fdisk and dmseg command error!!

with regards
sonusikka
 
Old 07-03-2009, 12:50 AM   #13
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
RedHat 9

Forget about RedHat 9. It's outdated and no longer supported. You have far more chance with a recent distro.

If you want to continue, you're going to get some serious headches in getting it to work. You probably must find drivers for your modem and compile them yourself. Next you might find that the required libraries for the compile are outdated and need to be replaced by newer versions. You might also need a newer kernel version.
The same applies for all kinds of other HW that you might have (I had a usb flash disk that I never got to work under RH8 and it was no option to upgrade the box to a newer version or other kernel).

It will be a fun project, but if you want to get started with Linux, forget RH9.

PS If you want something that is still RH, go for either Fedora or Centos (or buy the latest RH).

Last edited by Wim Sturkenboom; 07-03-2009 at 01:12 AM. Reason: Changed title
 
Old 07-03-2009, 01:08 AM   #14
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
root access

With regards to root access, can you please describe how you gained root access? Did you login in the gui or console as root or as normal user. If the latter, did you use su root or su - root to get root access?

Can you post the output of echo $PATH
Code:
wim@btd-techweb01:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/share/texmf/bin:.
wim@btd-techweb01:~$ su - root
Password:
root@btd-techweb01:~# echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/share/texmf/bin
root@btd-techweb01:~#
The first line in above example is for the normal user 'wim', the second bold line for the root user.

Last edited by Wim Sturkenboom; 07-03-2009 at 01:11 AM. Reason: added echo $PATH
 
Old 07-03-2009, 02:49 AM   #15
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Well TB0ne,
lets be friend. We all are here with common goal. And the goal is to make linux much
more better place for the people. We are here to help people, give them idea's ,view's.
So that they can enjoy linux.

We all here to discuss things issue related to linux and share our ideas with them.

Its not about you or me. Its for all the people of the world who loves linux.
 
  


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
error starting the redhat console in redhat certification system 7.1 ceenu99 Linux - General 0 01-17-2006 06:22 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Enterprise 3 08-13-2005 12:28 PM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Software 3 08-12-2005 10:18 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Newbie 1 08-11-2005 04:11 PM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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