LinuxQuestions.org
Register a domain and help support LQ
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 06-05-2003, 02:08 AM   #1
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Rep: Reputation: 0
Smile Newbie needs help getting Redhat box online


I'm an absolute linux newbie (just installed Redhat, in fact). The OS installed fine, but I can't seem to get online. The motherboard I'm using (a K7S5A PRO) has an onboard NIC, and I thought it might not be working, so I put in another NIC I had lying around, but that won't work either. When I open the Network Configuration tool in the GUI, it appears as though Redhat recognizes both NICs, so I would assume it's allready installed the drivers, but I could be wrong.

After looking at several sites and reading as many related posts on this site as I could find, I realized I should try running ifconfig. However, typing 'ifconfig' at the command line returns an error, saying the command does not exist. At the same time, and from the same directory, typing 'man ifconfig' returns info on the ifconfig command. What's with that?

I've tried hooking the system straight up to my cable modem, but that doesn't work, even though the same set up works with my winxp PC. Therefor, I don't think it's a problem with my cable modem or the ethernet cables. Right now both machines are connected to an old 10mb hub, and the XP box connects to the net fine. I don't think the problem is there.

Just in case you need system specs, the Redhat box is a homebrew system with an Athlon XP 1700+, K7S5A PRO mobo, 512mb ddr, 40gb hdd, VooDoo 3000 16mb video card. I installed RedHat 9, using the full install option (the one that takes up something like 4.2gb)

I'd appreciate any help you guys can offer, I've allready tried several sites and looking through back posts on this forum. Just keep in mind that I'm a total linux newbie, so please go into as much detail as you can =) Thanx in advance.

Last edited by awilliams; 06-05-2003 at 02:16 AM.
 
Old 06-05-2003, 02:13 AM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
"/sbin/ifconfig" will list all your active network interfaces

What kind of isp do you have?

Last edited by zmedico; 06-05-2003 at 02:15 AM.
 
Old 06-05-2003, 02:18 AM   #3
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
I use Road Runner, a local Cable ISP. I also have an MSN dial up account I could try if I got really desperate =)
 
Old 06-05-2003, 02:26 AM   #4
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
ifconfig seems to be working now, and it tells me I've got eth0 (the NIC I added) and eth1 (the onboard NIC). I've got the LAN cable hooked up to eth1, and ifconfig lists that IP as 127.0.0.1. I tried the command 'ifup eth1' only to have it respond 'Determining IP information for eth1... failed'

Any idea what could be causing this?
 
Old 06-05-2003, 02:35 AM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Well I'd just focus on one interface and try to get the internet working.

If you can't get it working with the /usr/bin/neat gui, you can also try the /usr/sbin/setup program on the command line.

I never use ifup or ifdown directly. Usually "/sbin/service network restart" is all I need.

Last edited by zmedico; 06-05-2003 at 02:37 AM.
 
Old 06-05-2003, 02:36 AM   #6
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry to be inconsistent, but ifconfig seems to list 'eth0, eth1, and lo'. It states that's lo's IP is 127.0.0.1 What is 'lo' ? Is there a tutorial for ifconfig out there somewhere I should be reading? I tried a google search and looked around on some newbie linux sights, but no real results. Thanx in advance for any replies
 
Old 06-05-2003, 02:40 AM   #7
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
lo is the virtual loopback interface that the computer can use to talk to itself. Its address is always 127.0.0.1. The Linux Documentation Project has some really good howtos and guides for neworking.

http://tldp.org
 
Old 06-05-2003, 02:56 AM   #8
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
This might be a stupid question, but I'm getting kind of desperate... under the DNS tab of the Network Config utility for RedHat's GUI, there are a bunch of servers I can specify (Hostname, Primary DNS, Secondary DNS, etc... ). By default, these were all blank, and they still are. Should I have filled in these fields, and if so, where would I find the information needed?

I also tried the /sbin service network restart from the command line, but once again, the system was unable to 'determine IP information for eth1'

Last edited by awilliams; 06-05-2003 at 03:01 AM.
 
Old 06-05-2003, 03:04 AM   #9
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
You might not need to fill in anything. Sometimes you can just run "/usr/sbin/setup" and set it up for DHCP and your suddenly on the internet. Your isp should be able to tell you what DNS addresses to use.

Quote:
Originally posted by awilliams
I also tried the /sbin service network restart from the command line, but once again, the system was unable to 'determine IP information for eth1'
If eth0 is working then you can use that

Last edited by zmedico; 06-05-2003 at 03:07 AM.
 
Old 06-05-2003, 03:12 AM   #10
awilliams
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you for the advice ZMedico, but it doesn't seem to be working right now. It's past 3am here now, and i"ve got school in the morning, so I'm going to go to bed... maybe I can get this working tomorrow.

I tried that DHCP thing, but to no avail =( I don't know what DNS info to fill in, and I can't find it under my ISP's crummy website, and I won't be able to call them until tomorrow.

Oh well, tomorrow is another day =) maybe I can get her online then... no one ever said gnu/linux would be easy. Well, acually, a lot of people said that, but I didn't really believe them... what fun would this be if everything worked right away? The best way to learn is by troubleshooting, or so my experience has been.
 
Old 06-05-2003, 03:18 AM   #11
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by awilliams
The best way to learn is by troubleshooting, or so my experience has been.
Background knowledge makes troubleshooting easier.
 
  


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
Cannot get online with Mandrake 10.2 and PCI ADSL card - newbie! vedekandy_2005 Linux - Networking 3 06-29-2005 08:18 AM
Newbie Linux Guide Online judge_neo Linux - Newbie 2 11-11-2004 12:42 PM
Can't get linux box online! sfhseric06 Linux - Newbie 12 09-12-2004 08:34 PM
can't browse windows workgroup when linux box online revdshepard Linux - Networking 2 02-04-2004 03:14 PM
Newbie with Mandrake 9.2 can't get online bangy Linux - Networking 5 08-31-2003 03:46 PM


All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration