LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-02-2004, 11:14 PM   #1
MaloventEvil
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
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

 
Old 02-02-2004, 11:37 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
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.
 
Old 02-02-2004, 11:52 PM   #3
MaloventEvil
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Manufacturer: Lite-On
Driver: tulip
Card: LNE100TX

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

-MaloventEvil

Last edited by MaloventEvil; 02-02-2004 at 11:55 PM.
 
Old 02-03-2004, 03:21 AM   #4
MaloventEvil
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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?
 
Old 02-03-2004, 12:46 PM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
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
 
Old 02-03-2004, 06:48 PM   #6
MaloventEvil
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 02-03-2004, 07:51 PM   #7
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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
 
Old 02-03-2004, 08:15 PM   #8
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
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"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



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

All times are GMT -5. The time now is 04:20 PM.

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