This instructions
works only with kernels compiled with gcc 2.9x. This instructions doesn't work with kernels
compiled with gcc 3.x (Red Hat 8.0).
This installation is assembled by instructions MINI-FAQ about the ESS modem driver. Modem ES2838 requires kernel 2.4.18, which is part of distribution Red Hat 7.3. Modem probably not work on older kernels.
For installation you will need this files:
esscom_orig.o
fixscript17
install
fixscript18
ess_resolver.c
I suppose, that you have downloaded files into directory /root/download/ES2839_2.4.18, but it is not needfully. Use command cd /root/download/ES2839_2.4.18 for moving to working directory. Use command ls for assure yourself. Unresolved symbols you can repair with two ways.
First way is usage script fixscript17 or fixscript18 . Use script sh fixscript17 esscom_orig.o esscom.o for fixing module esscom.
cd /root/download/ES2839_2.4.18 ls sh fixscript17 esscom_orig.o esscom.o |
Log file of script must not contain any error. You get corrected module esscom.o. After it you can run installation script sh install.
sh install |
Author of this program is lordbuffy.
Second way is using program ess_resolver. You must compile program. I must repare direcroty include before compiling. Před kompilací jsem musel provést opravu cesty include. I renamed directory /usr/include/linux to /usr/include/linux-orig. After it I made link to directory /usr/src/linux-2.4.18-3/include/linux.
cd /usr/include mv linux linux-orig ln -s /usr/src/linux-2.4.18-3/include/linux linux |
After it I compiled the program.
gcc ess_resolver.c -o ess_resolver |
After successful compiling you can repair unresolved symbols. Rename esscom_orig.o to esscom.o. You can list unresolved symbols with program depmod.
mv esscom_orig.o esscom.o depmod -e esscom.o |
Now you can repair unresolved symbols with program ess_resolver.
./ess_resolver esscom.o depmod -e esscom.o |
If list is clear from unresolved symbols you can use module esscom.o.
Create directory /lib/modules/kernel/misc and copy there file esscom.o. Change word kernel in name of directory in exchange for number of your kernel, I use 2.4.18-3.
Open file /etc/rc.d/rc.local and on end of file write command for module installation insmod esscom. This command install module into kernel after each start.
# /etc/rc.d/rc.local insmod esscom |
Installation is finished and you can connect to Internet.
© Petr Sidlo, 12. 10. 2003