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-02-2004, 10:04 PM   #1
jamil5454
Member
 
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Rep: Reputation: 15
redhat 6.2 network config


I've got an old AMD 233 system with 48Mb RAM that I'm trying to set up as a web/ftp server. I got Apache and WU-FTP set up and working but for some reason the network interface isn't working. I can test the servers with loopback but not through my home network. The card on the system has the realtek8139 chip in it, and redhat6.2 came with support for it. I configured it to use DHCP because of my Dlink 4-port router (also acts as a simple dhcp server), but it's like the computer isn't even connected to the network. I used LinuxConfig and tried to manually set the IP address (192.168.0.103) but that didn't work either. The network works fine when i have redhat7.3 installed but the it runs too slow on my old system. Could it be because RH7.x uses kernel 2.4.x and RH6.x used kernel 2.2.x? This is really bugging me cause I thought redhat would be easy to set up as a server . Appreciate the help.



Oh yeah when I look at Network Configuration, it says that eth0 is activated, but it sure doesn't seem like it!

Last edited by jamil5454; 01-02-2004 at 10:06 PM.
 
Old 01-03-2004, 02:01 AM   #2
codecruncher
Member
 
Registered: Aug 2003
Location: Austria
Distribution: Fedora Core release 2 (Tettnang)
Posts: 37

Rep: Reputation: 15
My guess is that the kernel module isn't loaded. What output does lsmod give?

regards
codecruncher
 
Old 01-03-2004, 08:53 AM   #3
jamil5454
Member
 
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
wow thanks, that seems to be the culprit. i did lsmod and here's what it showed:
"rtl8139 12388 0 <autoclean> unused"

Any suggestions on how to enable the module?
Obviously I'm a newb. sorry

Last edited by jamil5454; 01-03-2004 at 08:56 AM.
 
Old 01-03-2004, 02:11 PM   #4
codecruncher
Member
 
Registered: Aug 2003
Location: Austria
Distribution: Fedora Core release 2 (Tettnang)
Posts: 37

Rep: Reputation: 15
Well, unused means, that the module is there and that as soon as it is needed, the kernel will/should load it.

I am not sure, but did 'netconfig' exist in 6.2?

Could you post your /etc/sysconfig/networ-scripts/ifcfg-eth0 file?
And the output of /sbin/ifconfig?

Anothter thing, I know that tools like linuxconf seem like a great idea, but trust me, they are not. They change config files, you don't know what is going on, ... better do it the hard way.

HTH
codecruncher
 
Old 01-03-2004, 05:49 PM   #5
jamil5454
Member
 
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
I ran netconfig, and redhat 6.2 has it. There was a problem though - when I selected DHCP/BOOTP and hit OK nothing happened. The terminal screen would flash with a message extremely quick and then just sit there like I hadn't hit Enter. I couldn't read the message - it showed for about 2 - 5 milliseconds. When I run ifconfig all it shows is the loopback interface, not eth0. The configuration works fine on all other distros of linux, except Redhat 6.x series. The reason I really wanna get this working is becuase I bought a book that came with redhat 6.2 and it would basically teach me the basics of linux. It also showed me how to get Apache and Wu-Ftp working. But it didn't tell me what to do if my network didn't work.


Here's my ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=dhcp
IPADDR=
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
USERCTL=no
ONBOOT=yes


First, I think I see a couple problems with this. It should have gotten all the values for netmask, gateway, etc. from my DLink router. The network should be 192.168.0.1, and the gateway should be different too.

Here's what shows when I run 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:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0


It doesn't even show the eth0 interface, but when I go to
GNOMEMenu-->AnotherLevel Menus-->Administration-->Network Configuration, it says that the interface eth0 is activated. Netscape doesn't work, I can't ping the machine from other computers on the network, and I definitely can't access the FTP and Web server that are running . I really wanna get it figured out cause I'm thinkin about goin back to win98, which was a breeze to setup.

Last edited by jamil5454; 01-03-2004 at 05:51 PM.
 
  


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
redhat-config-network and trouble Pedroski Linux - Software 1 04-18-2004 12:48 PM
cant get into redhat-network-config Digital_Err0r Linux - Networking 1 04-03-2004 07:35 AM
Redhat Config Network Keynote Linux - Newbie 0 03-02-2004 10:39 PM
redhat-config-network jimmye68 Linux - Networking 1 08-23-2003 08:57 PM
redhat-config-network CrAzY_cAfCaSi Linux - Networking 2 07-16-2003 10:29 PM

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

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