LinuxQuestions.org
Help answer threads with 0 replies.
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-12-2005, 01:43 AM   #1
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Rep: Reputation: 0
Question Internet Connection Problem


Hi everyone!

I'm BRAND new to linux (just installed it today). I'm trying to set up a PHP server using www (dot) lamphowto (dot) com/lamp.htm as a guide. It advised that I install the base OS. I chose Red Hat 9 for this. So I chose "Minimal Install" when I was given the option of packages to install. Upon reboot after the install, I am dumped to a command prompt! YAY! I'm back to my DOS roots which I really enjoyed! Next the tutorial tells to search for already installed packages using 'rpm' All goes well and no packages are found. The next step of the tutorial I am supposed to use wget to download install packages. This is where I run in to a problem. My internet connection is not found! I came to you guys to see if anyone could offer me some help.... after searching and reading many post on these boards to no avail. I believe I have compiled a list of all the information about my connection that you will nee, but please let me know if I have missed anything and I will get the information posted ASAP.

I connect to the internet via Comcast.
I have a router with the IP address of 10.1.1.1.
It will assign IP address up to 10.1.1.51 using DHCP.
The computer I am trying to use is a P3 - 600Mhz.
When I run ifconfig -i it tells me my ip address is 127.0.0.1.

I found something on another post that told me to set up my internet with a devices number (rl1 or something like that), but I was unable to find what this number was on my computer.

If there is anything else I need to post about my problem, please let me know!

Thank you kindly,
Sitaga
 
Old 01-12-2005, 01:57 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
ok step by step,
127.0.0.1 is your loopback device. ur NIC gets no IP from ur router?
what is ifconfig -i ?

to configure ur NIC type:
ifconfig eth0 ip netmask
ifconfig eth0 up (start network, to stop use ifconfig eth0 down)

what does ifconfig shows?
 
Old 01-12-2005, 02:05 AM   #3
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
It looks like your ethernet card is not installed. I don't know what exactly RH9 installs in "minimal install", but to me it seems you have chose the hard way. I would rather choose the "custom install", and select what I need for a functional system (in particular, network components, gcc compiler, make and bison programs, kernel sources, and so forth), excluding the x server (since you don't want GUI, which I can quite understand), and of course Apache, MySQL and PHP which you want to install from sources.

Once the system installed, test the networking functions and the internet connectivity. Then if everything works you can start setting up the AMP part of your server. If it doesn't, check if your ethernet card is supported, and get the driver (using another PC of course, and... yes... a diskette)

Last edited by cidrolin; 01-12-2005 at 02:07 AM.
 
Old 01-12-2005, 02:06 AM   #4
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
ifconfig shows

Link encap: Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carriers:0
collisions:0 txqueuelen:0
RX bytes:3926 (3.8 Kb) TX bytes: 3936 (3.8 Kb)

When I type 'ifconfig eth0 10.1.1.1 netmask' it returns with eth0: unknown interface: No such device

I know this network card works because right before installing Red Hat, I downloaded several tools in my windows install. Since then I have formatted the drive and install the core Red Hat 9 files.

Is there anything else I should try?

Thanks a ton for you help thus far!
Sitaga
 
Old 01-12-2005, 02:09 AM   #5
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
loopback works, so networking kernel components are loaded, that tells us nothing about the card being supported though.
 
Old 01-12-2005, 02:10 AM   #6
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
You may be right cidrolin... I think I will do that. I'll let you all know when I'm done and the results. Thanks for the help thus far!

Sitaga
 
Old 01-12-2005, 02:12 AM   #7
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
Wow! you guys are fast on the replies! hehe Is there a way I can check to see if the card is supported or not? Like I said, I'm new to Linux, please forgive me for my lack of knowledge.
 
Old 01-12-2005, 02:19 AM   #8
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
usually googling with
Code:
card make - card type/model - Linux
will bring in the needed info; you may also use the search engine on redhat website.

As you PC seems somewhat outdated it's dubious that the card might not be supported, but one never knows... The next thing to ponder is whether the "minimal install" also screens the hardware and installs the matching drivers. That's why I suggested the "custom install instead".

Last edited by cidrolin; 01-12-2005 at 02:22 AM.
 
Old 01-12-2005, 02:22 AM   #9
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
why donīt u install fedora?! as far as I can remember in FC2 minimal installation there is network support included....RH9, donīt know?!?

addendum:
in ur case: ifconfig eth0 10.1.1.1 255.0.0.0 ;-)
 
Old 01-12-2005, 02:29 AM   #10
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
come to think of it , try also
[code]ifup eth0[code]
to try bringing up the ethernet and see what comes up.
 
Old 01-12-2005, 02:09 PM   #11
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
It looks like my card is not supported. Off I go to the store to a new one!
 
Old 01-13-2005, 01:08 AM   #12
Sitaga
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
I actually tried Fedora Core 3 before buying a new card and it works now. Thanks for all the help guys, it was truely apprecaiated!
 
  


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
Internet connection problem Swetko Linux - Networking 1 11-09-2005 10:36 AM
Internet Connection Problem genrl Linux - Networking 6 09-23-2005 03:43 PM
yet another internet connection problem muffinman newb Linux - Networking 17 12-14-2004 02:03 PM
internet connection problem inc0gs Red Hat 3 07-19-2004 01:42 PM
internet connection problem!? romo Linux - Networking 2 12-03-2001 03:03 AM

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

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