card working but DHCP not working

Haoran Wang <[email protected]> Thu, 10 Jul 2003 11:46:19 +0800 (CST)
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <[email protected]>
basic info:
1) network card : Linksys Network Everywhere Fast
Ethernet 10/100 NC100 Version 2.1

2) OS : Suse 7.1, kernel 2.2.18

3) Pentinum MMX 200Mhz

4) network driver: tulip.c: v0.92, pci-scan.c:v1.02,
pci-scan.h:v1.00, kern_compat.h:v.15

5) router : Netgear WGR614(54 Mbps with 4 port switch
DSL/Cable router). The router works with windows
machine.
                    
problem: 
compiling is ok. After reboot I run cat /proc/net/dev.
There is a line starting with eth0 meaning the card is
working. lspci -tv also tells the card is there. I let
the card get IP address automatically. 

But the DHCP failed. Below is part of the boot message
"Starting service dhcp client on  eth0SIOCSIFFLAGS:
Resource temporarily unavailable
SIOCSIFFLAGS: Resource temporarily unavailable
dhcpcd[163]: dhcpStart: ioctl SIOCSIFFLAGS: Resource
temporarily unavailable

startproc:  exit status of /sbin/dhcpcd: 1
 failed".

So it can't get the correct IP address. 

When I compiled it, I use a script provied by Suse.
The compiling flag is different than in the source
code. Below is the compiling flag

"gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2
-DCPU=586 -DMODULE   -c -o "$file".o "$file".c "

Here $file means tulip and pci-scan.

What is wrong? Should I use a newer version of driver
file or use the compiling flag in the source code?

Thanks!

Haoran Wang



_________________________________________________________
Do You Yahoo!? 
国内电邮用户反垃圾调查拉开帷幕
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.tech.yahoo.com/zhuanti/laji/index.html
_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip