Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! Iam very new to LINUX;I donot even know the basics of it.I have a problem in setting up my LAN card(Realtek RL8139) on a REDHAT 7.2 system.The kernel version ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    3

    Configuring eth0


    Hi!
    Iam very new to LINUX;I donot even know the basics of it.I have a problem in setting up my LAN card(Realtek RL8139) on a REDHAT 7.2 system.The kernel version is 2.4.*(I donot know the number in place of *).Iam looking out for tips and rules of configuring the network card.Please provide me any/all info.Some of the info I collected is as follows:

    Code:
    "#cat /proc/pci" gives a large amount of data;I collected the relevant one:
    Bus 1,device 2,function 0:
    	Ethernet controller:Realtek Semiconductor Co.,Ltd. RL-8139 (rev 16)
    	IRQ 11
    	Master capable. Latency=32. Min Gnt=32,Max Lat=64.
    	I/O at oxc000 [0xc0ff]
    	Non-prefetchable 32bit memory at 0xd4000000 [0xd40000ff]
    
    
    "#cat /etc/modules.conf" gives
    alias parport_lowlevel parport_pc
    alias eth0 8139too
    alias sound-slot-0 i810_audio
    <Some other info.>
    alias usb-controller usb-uhci
    
    
    "#cat /proc/modules"  &  "#lsmod"
    ide-cd  27072	0&#40;autoclean&#41;
    cdrom  28512	0&#40;autoclean&#41;&#91;ide-cd&#93;
    i810_audio                 14544	0&#40;autoclean&#41;
    ac97_codec	8832	0&#40;autoclean&#41;&#91;i810_audio&#93;
    soundcore                 4464	2&#40;autoclean&#41;&#91;i810_audio&#93;
    i810  65984	1
    agpgart  27584	6&#40;autoclean&#41;
    binfat_misc	6416	1
    autofs  11520	0&#40;autoclean&#41;&#40;unused&#41;
    8139too  12832	0&#40;unused&#41;
    ipchains                 3920	0
    usb-uhci                 21536	0&#40;unused&#41;
    usbcore  51712	1&#91;usb-uhci&#93;
    
    
    "#/sbin/ifconfig -a
    eth0  Link encap&#58;Ethernet HWaddr 00&#58;A1&#58;B0&#58;0A&#58;08&#58;4A
    	BROADCAST MULTICAST MTU&#58;1500 Metric&#58;1
    	RX packets&#58;0 errors&#58;0 dropped&#58;0overruns&#58;0 frame&#58;0
    	TX packets&#58;0 errors&#58;0 dropped&#58;0overruns&#58;0 carrier&#58;0
    	collisions&#58;0 txqueuelen=100
    	RX bytes&#58;0 &#40;0.0 b&#41; TX bytes&#58;0 &#40;0.0 b&#41;
    	Interrupt&#58;11 Base address&#58;0x8000
    
    lo	Link encap&#58;Local Loopback
    	inetaddr&#58;127.0.0.1 Mask&#58;255.0.0.0
    	UP LOOPBACK RUNNING MTU&#58;16436 Metric&#58;1
    	RX packets&#58;152 errors&#58;0 dropped&#58;0 overruns&#58;0 frame&#58;0
    	TX packets&#58;152 errors&#58;0 dropped&#58;0 overruns&#58;0 carrier&#58;0
    	collisions&#58;0 txqueuelen=0
    	RX bytes&#58;9906 &#40;9.6 Kb&#41; TX bytes&#58;9906 &#40;9.6 Kb&#41;
    
    
    "#cat /etc/resolv.conf"
    nameserver 172.20.1.1
    nameserver 202.56.250.5
    
    
    
    "#cat /etc/sysconfig/network-scripts/ifcfg-eth0"
    DEVICE=Eth0&#58;0
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet
    USERCTL=no
    PEERDNS=no
    The problem I have is that the explorer says "unknown host" for any address.Also Im not able to ping any address.It says your network card is not properly configured.Looking out for replies.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Can you post the output of lsmod please? Also how do you get your IP? Is it DHCP or statically assigned at the station?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    May 2004
    Posts
    3
    Hi!
    Sorry to ask,but what is lsmod and what is it meant for?Anyway the output of lsmod and cat /proc/modules is the same and is mentioned above.If IP address obtainig method can be obtained by looking at BOOTPROTO in "/etc/sysconfig/network-scripts/ifcfg-eth0", then it is dhcp.
    It is also posted in the earlier code section.Actually, I want my IP address to be statically assigned by myself.The problem is that I would be denied access to the network if I were on a diferent IP address.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •