LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling Tulip ethernet driver from source mandrak. (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-tulip-ethernet-driver-from-source-mandrak-320454/)

kieara 05-05-2005 01:41 PM

compiling Tulip ethernet driver from source mandrak.
 
Hi!
I´ve just installed my first Linux, mandrake 10.1 community, kernel 2.6.8.1-10mdk. Everything else seems to be fine, just can´t get my network up. Two days of google and I think that the problem is that Mandrake is installing by default an old version of Tulip ethernet driver. Before crying for more help I´d like to try their new driver that is available as an C code. Could some one help me on this question, for example to which directory I should compile the new driver, if I need to compile something else as well, and if there is some other changes in some files I should do. I have gcc 3.4.1 installed.
Thanks in advance.

__J 05-06-2005 03:00 AM

it depends on exactly what you have, just source or source already configured to be built? where did you get this driver, as Mandrake 10.1 will have a newer kernel so the driver shouldn't be too different than what you have. post the errors you are having getting your network enabled maybe that will help.

kieara 05-06-2005 12:58 PM

Hi thanks for reply.
I found out that I´ve got no need to compile a driver since I can ping myself which apparently means that my network card is working.
If I try to use dhcp to get IP:s I get error,
#dhclient eth0

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:50:bf:b1:79:b5
Sending on LPF/eth0/00:50:bf:b1:79:b5
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received
No working leases in persistent database - sleeping
.........
then I tried to set IP manually
ifconfig looks like this
eth0 Link encap:Ethernet HWaddr 00:50:bf:b1:79:b5
inet addr:62.78.146.87 Bcast:62.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:feb1:79b5/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:1993 dropped:0 overruns:0 carrier:3986
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xd400

lo Link encap:Local Loopback
inet addr:127.0.01 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1585 errors:0 dropped:0 overruns:0 frame:0
TX packets:1585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:173894 (169.9 Kb) TX bytes: 173894 (169.8 Kb)

#ifup eth0
#ping
destination host unreachable

cheers,

__J 05-06-2005 01:47 PM

have you tried dhcpcd? does your ISP require a hostname to be passed to it and/or a password?

kieara 05-09-2005 03:23 PM

Thanks for help. This turned out to be another kind of a hardware problem. It was actually my cable modem that wasnt working properly.

__J 05-09-2005 03:26 PM

good to know you got it all working.


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