- Posts: 613
- Thank you received: 0
NIC problem
19 years 7 months ago #7977
by nske
Replied by nske on topic Re: NIC problem
try this:
- Myson_NIC.tar.gz
You will need the source code of your kernel extracted (or linked) to /usr/src/linux
- Myson_NIC.tar.gz
Installation:
1. copy the source code mtd80x.c to Linux,
2. compile the source code, the instruction for compiling the driver is as follows:[code:1]#gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c mtd80x.c [/code:1]
3. insert the driver as module,
[code:1] #insmod mtd80x.o[/code:1]
4. bind your card to an IP address
[code:1] #ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}[/code:1]
5. add your card to IP routing table,
[code:1] #route add -net ${NETWORK} netmask ${NETMADK} eth0[/code:1]
6. now, you should be able to ping local network.
You will need the source code of your kernel extracted (or linked) to /usr/src/linux
19 years 7 months ago #7978
by aminos
Replied by aminos on topic Re: NIC problem
Thanks nske,
thanks nske for your help, Your response help me a lot
Thanks again :oops:
thanks nske for your help, Your response help me a lot
Thanks again :oops:
19 years 7 months ago #7979
by nske
Replied by nske on topic Re: NIC problem
no problem, hopefully it's the proper driver and compiles against newer kernels. Let us know whether it works
19 years 7 months ago #7986
by aminos
Replied by aminos on topic Re: NIC problem
Well,
Actually the compilation works fine, but when i tried to install the module, it's said that the module works with 2.0.X Kernels and as I have 2.4.X one, insmod mtd80x.o did not work.
Actually the compilation works fine, but when i tried to install the module, it's said that the module works with 2.0.X Kernels and as I have 2.4.X one, insmod mtd80x.o did not work.
19 years 7 months ago #7987
by aminos
Replied by aminos on topic Re: NIC problem
Well,
I found in one site that :
If your Linux kernel is any new version above than 2.4.5
(included) and it is a new installation, you can configure the
kernel by following console commands to enable the driver for
100/10M Ethernet PCI Adapter.
[code:1]
#/usr/src/menuconfig
[/code:1]
Enable the option of "Myson MTD-8XX PCI Ethernet support"
in "Ethernet (10 or 100 M bit)" of "Network device support" as a
loadable module or system default module.
[code:1]
#make dep
#make clean
#make bzImage
#cp /usr/src/linux-2.4.X/arch/i386/boot/bzImage /boot
[/code:1]
Then, edit /etc/lilo.conf, run "/sbin/lilo", and then reboot
your Linux system. After new kernel has been rebooted, it will
automatically load the driver for this adapter."
so i'll try that and see what will happen [/code]
I found in one site that :
If your Linux kernel is any new version above than 2.4.5
(included) and it is a new installation, you can configure the
kernel by following console commands to enable the driver for
100/10M Ethernet PCI Adapter.
[code:1]
#/usr/src/menuconfig
[/code:1]
Enable the option of "Myson MTD-8XX PCI Ethernet support"
in "Ethernet (10 or 100 M bit)" of "Network device support" as a
loadable module or system default module.
[code:1]
#make dep
#make clean
#make bzImage
#cp /usr/src/linux-2.4.X/arch/i386/boot/bzImage /boot
[/code:1]
Then, edit /etc/lilo.conf, run "/sbin/lilo", and then reboot
your Linux system. After new kernel has been rebooted, it will
automatically load the driver for this adapter."
so i'll try that and see what will happen [/code]
Time to create page: 0.128 seconds