 | |
07-27-2003, 12:06 AM
|
#1 (permalink)
| | Registered User
Join Date: Feb 2003 Location: Texas Tech
Posts: 716
| » 
network problems on linux :(
Ok so I just installed Red Hat 7.3. When I installed I didn't have an internet connection so it didn't set that up during the install, but now I just bought a hub, connected through our cable modem and I can't get a connection. I'm a total newb right now so I have no idea what to do in the configurations or anything, but another computer connected on the hub has XP and is running fine. So what do I need to do to get a connection with redhat? Also, when I'm booting up it goes through this long checklist and says "OK" next to everything except "eth0", it says FAILED, so I'm guessing that has something to do with it as well.
All the connections are plugged in and the network card works just fine.
|
| |
07-27-2003, 01:20 AM
|
#2 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
My suggestion is that you get a router that can connect to your ISP instead of a hub, and connect both boxes to the router as a LAN - then use one of Redhat 7.3s networking configuration tools and configure your Linux system/network device:
* a static IP address -in the range of your router's internal address
*subnetmask -this will probably be 255.255.255.0
* default gateway -it will be your router's internal IP address
* nameserver IPs that your ISP uses
Maybe use netconf, or you might find a graphical tool in Redhat's control center (there may even be a link to it on the KDE root desktop).
Under your current setup, if the Windows box is off, it would be just like the Linux box was directly connected to your modem -if Linux supports the connection type used by your ISP you could probably use one of the graphical utilities to configure a pppoe connection or whatever your ISP uses, including your user name and password or whatever.
Last edited by CMonster; 07-27-2003 at 01:27 AM.
|
| |
07-27-2003, 07:04 AM
|
#3 (permalink)
| | Registered User
Join Date: Oct 2002 Location: Scotland, UK
Posts: 2,946
|
Also, using a router would make things much more secure.
Even setting up the Windows box for internet connection sharing/internet connection firewall would be better, and then just have the 2 computers into the hub, and the windows box also plugged into the cable modem.
you would then just have to run netconf or whatever and set the IP/netmask (easy enough) and set the DNS and Default gateway to the IP of the windows box.
This maybe isn't the best or most convenient way, but it will get you up and running faster.
__________________
_____
NuKeS
|
| |
07-27-2003, 11:37 AM
|
#4 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
For setting up the router, home LAN, or just configuring the Linux box for direct connection you need to know what type of modem you have and what type of connection your ISP is using, for example:
modem -what is the physical type of connection ?ethernet?usb?
connection -is it a self authenticating modem that will assign TCP/IP information to your computer using DHCP? or does your ISP use PPPoE? some other protocol? or do you have a static IP address?
|
| |
07-27-2003, 12:13 PM
|
#5 (permalink)
| | Registered User
Join Date: Feb 2003 Location: Texas Tech
Posts: 716
|
it's a cable modem through ethernet (not usb) and i'm pretty sure it uses DHCP
__________________
Thermaltake Xaser III V1000A case
Asus A7N8X Deluxe pcb 2.0
(2) 512mb Kingmax pc3200
Athlon XP 2500+
-Thermalright SLK-900A
-Vantec Tornado 92mm
-Arctic Silver III
Enermax EG465p 431w Whisper p/s
GeForce4 Ti4600 128mb
(2) IBM 40gb 7200rpm HDD's
|
| |
07-27-2003, 12:15 PM
|
#6 (permalink)
| | Registered User
Join Date: Feb 2003 Location: Texas Tech
Posts: 716
|
and another thing. even when i put the linux machine directly connected to the cable modem, it still doesn't have a connection. i dont know anything about network configurations in linux so if anyone could tell me some easy steps to follow that would be awesome
__________________
Thermaltake Xaser III V1000A case
Asus A7N8X Deluxe pcb 2.0
(2) 512mb Kingmax pc3200
Athlon XP 2500+
-Thermalright SLK-900A
-Vantec Tornado 92mm
-Arctic Silver III
Enermax EG465p 431w Whisper p/s
GeForce4 Ti4600 128mb
(2) IBM 40gb 7200rpm HDD's
Last edited by jmoore2001; 07-27-2003 at 12:18 PM.
|
| |
07-27-2003, 01:36 PM
|
#7 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Mid-Atlantic
Posts: 1,361
|
If it said eth0 failed during boot,you may need to configure the ethernet card.What card or chipset is on the computer?
Try typing ifup eth0 to see what message you get back.Probably wont help but it could give a clue.
I agree with Cmonster and nukes:get a router.
lynch
__________________
Seldom right,but never in doubt...
|
| |
07-27-2003, 02:25 PM
|
#8 (permalink)
| | Registered User
Join Date: Feb 2003 Location: Texas Tech
Posts: 716
|
it's a 3com network card. Remember, I'm a newb so I don't know HOW to configure the ethernet card...can anyone tell me how I need to go about doing that?
Lynch: Where do i type 'ifup eth0' into? the console under root or what?
__________________
Thermaltake Xaser III V1000A case
Asus A7N8X Deluxe pcb 2.0
(2) 512mb Kingmax pc3200
Athlon XP 2500+
-Thermalright SLK-900A
-Vantec Tornado 92mm
-Arctic Silver III
Enermax EG465p 431w Whisper p/s
GeForce4 Ti4600 128mb
(2) IBM 40gb 7200rpm HDD's
|
| |
07-27-2003, 02:28 PM
|
#9 (permalink)
| | Registered User
Join Date: Feb 2003 Location: Texas Tech
Posts: 716
|
ok, i just typed in
ifup eth0
into the console and this is what i got:
Determining IP for eth0....failed
Hope this helps! I really want to figure all this out and get my internet connection working :/
__________________
Thermaltake Xaser III V1000A case
Asus A7N8X Deluxe pcb 2.0
(2) 512mb Kingmax pc3200
Athlon XP 2500+
-Thermalright SLK-900A
-Vantec Tornado 92mm
-Arctic Silver III
Enermax EG465p 431w Whisper p/s
GeForce4 Ti4600 128mb
(2) IBM 40gb 7200rpm HDD's
|
| |
07-27-2003, 02:33 PM
|
#10 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Augsburg, Germany
Posts: 3,814
|
Yep, hub no work to share a cable/DSL modem. You need a router.
And if you want to run the modem directly on the Linux box's ethernet line, you need to plant PPP services onto the eth0 port. Most distributions have easy setup software that lets you do this.
Last edited by Peter M; 07-27-2003 at 02:35 PM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |