The modem should work if you take out of PnP mode, it'll just be another serial port and should be listed (ttyS0 is COM1, ttys1 is COM2, etc) on bootup.
ya ok, I thought that would be how to get the modem working.. I'd probably set it to COM 3 (TTYS4)..
The .c file is a C source code, you have to compile it. It should come with a README or INSTALL file that details that for you.
that's the problem.. there is a readme file on the disk.. here are the instructions:
The procedure to activate DFE-538TX on Red Hat 6.X linux is as follows:
step 1: copy the driver rtl8139.c from driver diskette to you linux.
step 2: compile:
The instruction for compiling the driver is include at the end of
the driver file. (run this instruction at /usr/src/linux)
Or you can use the Makefile included in the driver diskette \Linux.
step 3: insert the driver as module:
insmod rtl8139.o
(run 'lsmod' to see if the module is inserted)
step 4: bind your card to an IP address
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST}
netmask ${NETMASK}
(run 'netstat -i' to see if there is a interface 'eth0')
step 5: add your card to IP routing table, then add gateway also your card:
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
(should be able to ping local network now)
gateway:
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
step 6: start inet deamon.
/usr/sbin/inetd
(you are on the network now)
*make sure that your kernel is built with network, fast_ethernet and module
support. Otherwise, you have to rebuild your kernel.
(1:go to /usr/src/linux directory
2:run 'make menuconfig' or 'make config'
3:mark the options list above.
4:exit and rebuild your kernel.
make dep;make clean;make zImage
the file 'zImage' will be at /usr/src/linux/arch/i386/boot/zImage
5:modify /etc/lilo.conf.(this file specify where kernel image is)
6:run 'lilo' )
now, that also includes rebuilding the kernel, giving my card an IP address, binding my card to the IP routing table (I'm guessing that's good for using the computer as a router), and adding a gateway...
my problem is, it refers to this:
step 2: compile:
The instruction for compiling the driver is include at the end of
the driver file. (run this instruction at /usr/src/linux)
Or you can use the Makefile included in the driver diskette \Linux.
now that means I have to look at the .c file right?
here's the last few lines of the .c file:
/*
* Local variables:
* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
* SMP-compile-command: "gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
* cardbus-compile-command: "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"
* c-indent-level: 4
* c-basic-offset: 4
* tab-width: 4
* End:
*/
I'm guessing I have to do this: gcc -DMODULE -......
right? do I to fill in any of the underscores (__)? or just type in the compile command? I don't think I have to do the SMP compile command, nor the Cardbus compile command right? what about c-indent and all the rest?