LinuxQuestions.org
Help answer threads with 0 replies.
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 03-05-2007, 02:08 AM   #1
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
configuring adsl on red hat enterprise ES 3.0


hello everyone,
I am fairly new to this forum as i am to linux itself. Forgive me if my questions sound a bit too elementary , it's just that i have no clue whatsoever about this OS and i'd like to make use of ur expertise.
Now with the intro done, i'd like to pose my question. I am using the red hat enterprise ES 3.0 flavor of linux on my computer. While installing this flavor i was asked to configure the internet connection which i did by entering my connection details and while booting it checks the eth0 connection and it says ok..but when i open mozilla and browse the sites arent opening. I am confused.what could be the problem?? i'd be grateful if u cud get back to me asap.
thanks in advance..have a great day!
 
Old 03-05-2007, 02:18 AM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
What does ifconfig output? If you see eth0 (with a valid ip) listed, then what does /etc/resolv.conf contain? Can you ping the websites you're attempting to view?
 
Old 03-05-2007, 02:56 AM   #3
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
hey rocket,
thanks for da trouble uve taken. i tried out ifconfig..it said bash:command not available. The same output appeared for the /etc/resolv.conf and when i tried to ping google it said unable to find host.
 
Old 03-05-2007, 04:55 AM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Did you try those commands as root, or as a non-priv user? I could be mistaken, but I'm under the impression that "ifconfig" is a "standard" tool on Linux. Try this:

$ su <enter>
password: <enter your root (administrator) password and hit enter>
# ifconfig -a <enter>

If that still fails, let me know. (and know that I'm trying to help and don't intend in any way to insult your intelligence...I only typed this out in this detail because you've stated that you're new to Linux).
 
Old 03-05-2007, 07:57 AM   #5
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
no no not at all..i appreciate u trying to help and i havent taken this as an offense either because i AM that new to linux. i just tried this too..i got the same message it said ifconfig command not found . I dont seem to understand.I dont understand why...
 
Old 03-05-2007, 08:39 AM   #6
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Most of the time it'll be located at /sbin/ifconfig, and you should be able to find it with "which ifconfig" or "find / -iname ifconfig" (both run as root). If you find it, make sure the path to it is on your PATH. Did you get any errors about corrupted or unreadable packages when you installed?

If you don't find ifconfig anywhere, then you could download the rpm for net-tools and install that. It's been QUITE some time since I've used Red Hat, but that *should* give you ifconfig.

Last edited by rocket357; 03-05-2007 at 08:42 AM.
 
Old 03-05-2007, 09:33 AM   #7
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
i typed in "which config" and all i get is /usr/bin/which: no ifconfig in(/usr/kerberos/sbin: /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/prasaad/bin)..ne idea what this means?
 
Old 03-05-2007, 11:13 AM   #8
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Quote:
Originally Posted by prasaad123
i typed in "which config" and all i get is /usr/bin/which: no ifconfig in(/usr/kerberos/sbin: /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/prasaad/bin)..ne idea what this means?

That just means ifconfig isn't on your PATH (if it's on your machine at all). Try this:

$ su
<enter the root password>
# /sbin/ifconfig

and if that doesn't work, try

# /usr/sbin/ifconfig

I don't want to seem like I'm beating a dead horse, so if that doesn't work I'll gracefully bow out and let someone with more RHE specific knowledge step in...
 
Old 03-05-2007, 12:22 PM   #9
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
i did exactly that and yes it did give me info on eth0 regarding the ip address that i had set while installing and the subnet mask as well as the DNS server. so i have assumed that ifconfig does exist in my comp now..if i may.Now how is it that i should proceed???
 
Old 03-05-2007, 03:33 PM   #10
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Ok, now we're making some headway...

Check to see if you can open /etc/resolv.conf in a text editor (vi, emacs, whatever) and tell me what it contains.

Then open a terminal, use "su" to switch to root, and run these commands:

"/sbin/route" (if you get bash: /sbin/route: command not found, then type in "find / -iname route", write down the complete path you get (i.e. /sbin/route), then execute route with the entire path). Let me know if you have an entry "default", and if so, is it the correct gateway for your computer?

Last thing I need you to do is this: post the output from /sbin/ifconfig (eth0 and lo). (If the computer you're on has a public ip, you'll obviously want to scramble it or just put in xxx.xxx.xxx.xxx in your post).

Last edited by rocket357; 03-05-2007 at 03:51 PM.
 
Old 03-06-2007, 02:09 AM   #11
prasaad123
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
when i opened the resolv.config file in the text editor i got the followin info:
nameserver : xx.xx.xx.xx
nameserver :xx.xx.xx.xx
I then searched for the location of the command route and went into the specified directories and typed ls, for which i got:
error_burst gc_interval max_delay min_
error_cost gc_min_interval max_size mtu_expires...etc etc three rows and five cloumns...
on runnin ifconfig i got:
eth0 Link cap:Ethernet Hwaddr (address was given)
inet addr: xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx
Mask :255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
rx packets:0 errors:0 dropped:0
tx packets:4 errors:0 dropped:0
lo Link ecap:Link loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING...etc etc etc
i hope this would suffice!
 
Old 03-06-2007, 01:22 PM   #12
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Check a windows machine that has internet access (on the same network) and make sure the nameservers are the same ones that you have listed on the Linux machine. Also, try to ping your gateway.

You mentioned that you ran "ls" in the directory that contained "route"...that doesn't help me...I need the output of the "route" command. Did you try to run /sbin/route? If that doesn't work try /usr/sbin/route.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 09:03 AM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 01:22 PM
Project on Red Hat Enterprise 4 run on Enterprise 3? Elin Linux - Enterprise 1 07-12-2006 06:21 AM
Project on Red Hat Enterprise 4 run on Enterprise 3? Elin Linux - Newbie 1 07-12-2006 05:03 AM
Configuring Motorola SM56 on Red Hat Enterprise Linux 4 kapilk Linux - Hardware 0 12-22-2005 07:44 AM


All times are GMT -5. The time now is 09:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration