LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   HELP! (please) (https://www.linuxquestions.org/questions/linux-networking-3/help-please-141654/)

MaloventEvil 02-02-2004 11:14 PM

HELP! (please)
 
I recently installed Redhat and I can't get my ethernet card to recieve an IP from my DHCP server... How can I overcome this! (I dont know the brands, but I have tried two seperate network cards to no avail.) When I set the card to DHCP and try to activate it, the activation window just hangs.

Thanks for your input,
MaloventEvil

:newbie:

Pcghost 02-02-2004 11:37 PM

The control center might help determine the type of card you are using. Set the Interface to not activate on boot, and after a clean boot, start the interface. If it still hangs check the settings for the card (if available) suck as frame type and speed against the settings for the network.

MaloventEvil 02-02-2004 11:52 PM

Manufacturer: Lite-On
Driver: tulip
Card: LNE100TX

what now? (i dont know how to do the other settings you pointed out)

-MaloventEvil
:newbie:

MaloventEvil 02-03-2004 03:21 AM

update: I found a kingston ethernet card and went to their website to download the drivers for linux. suprise suprise! when i compiled, TONS OF ERRORS! AH!!!!!!

Someone help! the card is a KNE110TX where can i find drivers for it?

Pcghost 02-03-2004 12:46 PM

Do you even get activity or connection lights on the NIC or the hub? Tulip is an extremely common network card driver in Linux. Also make sure you know the status of the firewall on the machine before you begin troubleshooting.

iptables -L <--- Will list your current firewall status.

A quick google for the NIC came up with quite a bit of info. Check out the top two first.
http://www.google.com/linux?hl=en&lr...=Google+Search

MaloventEvil 02-03-2004 06:48 PM

Here are some of the commands i ran to try to narrow down the problem... but to no avail. Any ideas?

PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.062 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.047 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.038 ms


ifconfig:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7445 errors:0 dropped:0 overruns:0 frame:0
TX packets:7445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:509656 (497.7 Kb) TX bytes:509656 (497.7 Kb)

iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (2 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable


HELP PLEASE! NEED INTERNET!

Thanks,
-MaloventEvil
:newbie:

aclaunch 02-03-2004 07:51 PM

As root do "lsmod"; in the output is there the tulip driver? If yes then we need to get the card recognized, if not , then it needs to be loaded. If not do, as root "modprobe tulip" and if there are no error messages, do a "lsmod" again to make sure it is there. Also, what kind of a network setup do you have - cable directly to computer, router, dialup ???

Good Luck,
Alan

dubman 02-03-2004 08:15 PM

your interface is not up. You may need to configure your /etc/sysconfig/networking-script/ifcfg-eth0 file. For dhcp this file should read:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

once this file is set correctly you can try the command "#ifup eth0"

also, post the output of "ifconfig -a"


All times are GMT -5. The time now is 02:30 AM.