Computer Hope

Software => BSD, Linux, and Unix => Topic started by: Soviet_Genius on May 01, 2006, 03:55:27 PM

Title: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on May 01, 2006, 03:55:27 PM
I installed red hat 7 on my old computer. The internet doesn't work. it uses a PCMCIA network card, but I think the problem is that I just need to set up my network, but I have no clue how to do that.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: GX1_Man on May 01, 2006, 05:58:28 PM
It would be a lot easier and less stressful to use something more current.  :D
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on May 01, 2006, 11:49:59 PM
Can't remember the RH7 network installation command.  There is a "druid" (a "wizard") which does the grunt work.  Something like sytem-install-network.  Have a look in /usr/sbin - you'll probably find the command there.

But unless you're doing this on old hardware, I agree with GX1_Man - get a more current distribution.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on May 05, 2006, 04:24:03 PM
A more current distro probably won't work. This one barely works, since the comp only has 120 Pentium 1 and 16 mb RAM.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: GX1_Man on May 05, 2006, 06:16:40 PM
And you are using some sort of graphical window manager I presume? how is that running other than that?

You seem intent on using a hammer on something that needs a screwdriver.  ;)
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on May 07, 2006, 08:11:55 AM
It uses some ancient KDE that looks somewhat like windows 9x and runs in 800X600 (which is the max resolution on that thing)
Title: Re: Internet Doesn't work on Red Hat 7
Post by: GX1_Man on May 07, 2006, 07:47:38 PM
See above.  ::)
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on July 18, 2006, 10:53:43 AM
I set up the network, there was a kajigger in the sbin folder, im pretty sure that i set it up properly and its still doesnt work. it uses netscape 4 i think. i tried pinging my router through some "network utility" thing and it wont work, says "connect: Network is unreachable"
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on July 18, 2006, 10:59:19 AM
Quote
there was a kajigger in the sbin folder
What?
root@iridium:~# kajigger
-bash: kajigger: command not found
???
Title: Re: Internet Doesn't work on Red Hat 7
Post by: GX1_Man on July 18, 2006, 07:51:05 PM
From the urban slang dictionary.

http://www.urbandictionary.com/define.php?term=kajigger


Much like a lappy, I'm afraid.  ::) ::) ::) ::)
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on July 19, 2006, 08:46:26 AM
the actual thing i ran was "./netsetup" then i put in the IP adress for the computer (192.168.123.101) the "netmask" AKA the "subnet mask" (255.255.255.0) and the default gateway (192.168.123.254) but it still doesnt work. Just an idea, maybe i need drivers for my PCMCIA card?


oh and i'm going to russia for a month so don't expect me to reply anything (unless i find a computer and an internet connection (UNLIKELY))
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on July 19, 2006, 09:25:12 AM
Please post the output of the following two commands: ifconfig and route.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on July 19, 2006, 06:15:17 PM
[root@Hitachi /root]#ifconfig
lo              Link encap:Local Loopback
                inet addr:127.0.0.1 Mask:255.0.0.0
                UP LOOPBACK RUNNING MTU: 3924   Metric:1
                RX packets:14 errors:0 dropped:0 overruns:0 frame:0
                TX packets:14 errors:0 dropped:0 overruns:0 carrier: 0
                collisions:0 txqueuelen:0
[root@Hitachi /root]#route
Kernel IP Routing Table
Destination       Gateway      Genmask     Flags     Metric   Ref   Use  Iface
127.0.0.0            *              255.0.0.0      u              0      0       0    lo





I think that somethings wrong (127.0.0.0 ???????????)
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on July 21, 2006, 04:20:43 AM
That tells me your ethernet interface is not actually running.  lo = loopback; it's a kind of "dummy" interface for computers with no network card, so that you can still run servers (e.g. web servers) on a machine with no network card.  The address will be 127.0.0.1.  (No idea why you even have a gateway configured for the loopback interface - that's wrong and pointless!)

Still, all may be resolved by one simple command:
ifup eth0
That will usually bring up the relevant interface.  If that command completes successfully, check the output of ifconfig and route again.  Things should look a bit different.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on August 17, 2006, 12:38:43 PM
Delaying eth0 Initialization.

thats the thing after "ifup eth0", ifconfig, same thing as before
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on August 17, 2006, 01:47:24 PM
Pardon?
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on August 17, 2006, 04:38:43 PM
after i typed "ifup eth0" it said "Delaying eth0 Initialization." after i tried ifconfig it said the same thing as before
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on August 19, 2006, 04:09:45 AM
Is this a laptop you're using?

What happens if you try "ifdown eth0" first?  Is your DHCP server up and running?
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on August 21, 2006, 09:52:46 AM
Yes, it is a laptop I'm using. When i try "ifdown eth0" nothing happens, it doesnt give a response.What's a DHCP server?
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on August 21, 2006, 03:02:29 PM
Let me ask a different question.  How did you configure that interface?  Have a look under (I think) /etc/network.  There is probably a file "eth0" or something like that.  What's in it?  What kind of network hardware do you have?  If it's PCMCIA, is the PCMCIA system running?

DHCP - this is where computers ask another computer for their IP address, gateway, DNS servers, etc., rather than being manually configured.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Soviet_Genius on August 24, 2006, 12:35:14 PM
Nothing is working, and i think trying to reinstall Windows 98 is much easier than trying to make the PCMCIA card work, which is clearly the problem since that DHCP thing option in the netconfig doesnt work. Screw this.
Title: Re: Internet Doesn't work on Red Hat 7
Post by: Rob Pomeroy on August 24, 2006, 04:11:32 PM
As you wish.