LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1796|回复: 26

请问一个readme文件,安装modem的问题

[复制链接]
发表于 2003-7-22 15:48:01 | 显示全部楼层 |阅读模式
不是我懒,不使用搜索,而是我是36K拨号,实在是非常慢,希望各位能帮我安装modem,谢谢了
Redhat9.0 ,modem是intel ham 5628 V.29 modem
其中光盘自带linux驱动,readme文件如下。只是我对linux一窍不通,根本看不懂,但是又要使用它来测试PHP程序,请帮忙看下具体操作步骤,谢谢各位了:
  1. ReadMe file for the
  2. Intel?MD563X-HaM V.92 chipset Linux driver

  3. contents:
  4. 1.  License
  5. 2.  Release Notes
  6. 3.  Installation
  7. 4.  File Descriptions
  8. 5.  International Users
  9. 6.  Beta Tester appreciation
  10. 7.  Security issues
  11. 8.  Compilation issues
  12.      a. Instructions for Debian Users
  13.      b. Kernel Source
  14. 9.  Comments, ideas, problems, fixes

  15. ---------------------------------------------------------------------------------
  16. 1. LICENSE

  17. IMPORTANT - read the file "LICENSE.txt" for the INTEL SOFTWARE LICENSE AGREEMENT
  18. BEFORE COPYING, INSTALLING OR USING.


  19. also note:
  20. The serial driver open source code located in the directory "serialdrv"
  21. is work covered under the GNU GENERAL PUBLIC LICENSE (GPL).
  22. The "serialdrv" directory has the GPL in the file "GPL.txt".

  23. ---------------------------------------------------------------------------------
  24. 2. Release Notes
  25.         17 August 2001:

  26. !!!!!!!!!!!        you must completely uninstall previous linux HaM driver files.
  27. !!!!!!!!!!!        especially /etc/hamregistry.bin and /etc/linhamreg.bin

  28.                 This PRE release supports 2.4.x kernels.

  29.                 THIS IS A PRE RELEASE WITH SUPPORT FOR 2.4.X KERNELS!
  30.                 THERE ARE NO GUARANTEES THAT THIS
  31.                 DRIVER WILL WORK WITH YOUR LINUX DISTRIBUTION
  32.                 OR KERNEL VERSION AT THIS TIME.

  33.                 THE 412-2 CORECODE BINARY WAS COMPILED IN MANDRAKE 8.0.

  34.                 THE CURRENT LIST OF DISTRIBUTIONS THAT I HAVE
  35.                 TESTED AND SEEN TO WORK WITH THIS
  36.                 DRIVER ARE THE FOLLOWING:
  37.         *        Mandrake 8.0 with Linux HaM version 412-2 and kernel 2.4.3-20mdk
  38.         *        Redhat 7.1   with Linux HaM version 412-2 and kernel 2.4.2-2
  39.                         /usr/src/linux symbolic link to kernel source must
  40.                         be created for the driver to compile

  41.                 UNVERIFIED WITH 408-2 AT THIS TIME, BUT LIKELY COMPATIBLE:
  42.         *        SuSE 7.1 with both 2.2 and 2.4 kernels.
  43.         *        SuSE 7.0
  44.         *        Redhat 7.0
  45.         *        reports of 408 ham working on Debian with 2.4 kernel

  46.                 VERIFIED AS INCOMPATIBLE AT THIS TIME:
  47.         *        Caldera eDesktop 2.4 (with kernel 2.2.14)
  48.                         many compile warnings from kernel headers.
  49.                         no at OK  response from modem,
  50.                         no "/etc/caldera-release" need for distrabution indentification

  51.                 YOU MAY STILL FIND PROBLEMS ON THESE TESTED VERSIONS.
  52.                 IF YOU DO, EMAIL ME (see end of this readme, section 9),
  53.                 SO THAT I MAY FIX IT.

  54.                 THIS LIST WILL GROW AS MY TESTING CONTINUES AND WITH
  55.                 FEEDBACK FROM LINMODEM USERS, TESTERS, AND VENDORS.

  56. ---------------------------------------------------------------------------------
  57. 3.  INSTALLATION

  58. Prerequisites:
  59.         1. root access
  60.         2. bash shell to run install scripts
  61.         3. a HaM modem
  62.         4. kernel source for the kernel you are running
  63.         /usr/src/linux must symbolically point to this source
  64.         for the makefiles to work.


  65. 6 steps to install
  66.         1. login as ROOT
  67.         2. extract the archive into a directory with "tar -xvf <archivename>.tgz"
  68.         3. cd into the the directory it created.
  69.         4. Type: make clean
  70.         5. Type: make all
  71.         6. Type: make install



  72. The installation script has been designed for the following distributions release versions
  73.         mandrake-release
  74.         SuSE-release
  75.         redhat-release
  76.         debian_version (including Corel)
  77.         slackware-version
  78.         conectiva-version
  79.         bluepoint-release
  80.         Unknown distributions install modules and utilities but
  81.         will not install boot scripts!.

  82. Please examine the haminst script if you have a different distribution.

  83. The driver is split in two.  A ham serial driver and core driver.
  84. The core driver must be loaded first since the serial driver depends on it.
  85. The serial driver registers itself as character device major number 240, minor number 1.
  86. The serial driver takes one argument right now, which is a number to override the default major number if you need to.


  87. ATTENTION:  if the driver compiles but the script just wont work for you.
  88.         Here are the bare minimum steps to get your modem to work.

  89.         0.  log in as root.
  90.         1.  insmod -f hamcore.o
  91.         2.  insmod -f ham.o
  92.         2a. you can start "hamregistry" at this point if you wish.
  93.         3.  rm /dev/ham
  94.         4.  mknod /dev/ham c 240 1   (note "240" is the default, if it does not work see what /proc/devices says ham's major number is)
  95.         5.  ln -s /dev/ham /dev/modem
  96.         6.  start a comm application like minicom and use the modem.
  97.         7.  see section 3 (International Users) for info on setting the correct country settings.


  98. ---------------------------------------------------------------------------------
  99. 4.  FILE DESCRIPTIONS

  100. haminst                installation script to install HaM modules and supporting files


  101. files copied to /lib/modules/(kernel-version)/misc
  102. hamcore.o        driver core code module
  103. ham.o                pseudo serial driver for HaM, depends on hamcore.o

  104. files copied to  /etc/rc.d/...  (path differes per distribution)
  105. hamboot                boot scrip to start and stop HaM modules

  106. files copied to /usr/sbin
  107. hamregistry        hamregistry is the "registry" like tool that the modem uses to get and store persistant data
  108.                 such as county info and profile strings.

  109. files copied to /etc
  110. linhamreg.bin        file that stores the initial persistant data for modem.


  111. ---------------------------------------------------------------------------------
  112. 5.  INTERNATIONAL USERS

  113. hamregistry will store the last country setting you
  114. set in the modem.

  115. in minicom (or equivalent comm application)
  116. the commmand to change country setting is "AT+GCI="
  117. the command takes a t.35 country code in hexadecimal.
  118. below is a list of currently supported t.35 country codes.
  119. you can also put this "AT" command in the init string of
  120. the comm application you are using.

  121. if you are a CTR-21 country I think you should be able to
  122. choose a CTR-21 country on the list and be ok.  but
  123. that's no guarantee.
  124. The same goes for countries that are "USA" compatable.


  125. country code  , t.35 code
  126. ---------------------------
  127. USA        1        B5
  128. ARG        54        07
  129. AUS        61        09
  130. AUT        43        0A
  131. BEL        32        0F
  132. BOL        591        14
  133. BRA        55        16
  134. CHE        41        A6
  135. CHL        56        25
  136. CHN        86        26
  137. COL        57        27
  138. CYP        357        2D
  139. DEU        49        42
  140. DNK        45        31
  141. DOR        47        82
  142. ECU        593        35
  143. ESP        34        A0
  144. FIN        358        3C
  145. FRA        33        3D
  146. GBR        44        B4
  147. GRC        30        46
  148. HKG        852        50
  149. IDN        62        54
  150. IND        91        53
  151. IRL        753        57
  152. ISL        354        52
  153. ISR        972        58
  154. ITA        39        59
  155. JPN        81        00
  156. KOR        82        61
  157. LIE        423        68
  158. LUX        352        69
  159. MEX        52        73
  160. MYS        60        C3
  161. NLD        31        7B
  162. NOR        47        82
  163. NZL        64        7E
  164. PAK        92        84
  165. PAN        507        85
  166. PER        51        88
  167. PHL        63        89
  168. PRT        351        8B
  169. RUS        7        B8
  170. SAU        966        98
  171. SGP        65        9C
  172. SWE        46        A5
  173. THA        66        A9
  174. TUR        90        AE
  175. TWN        886        26
  176. VNM        84        BC


  177. ---------------------------------------------------------------------------------
  178. 6.  Thanks to the following beta testers for their valuable input and suggestions
  179.         during the HaM 333 beta test between January 2 - 26, 2001

  180. Sean Walbran
  181. Rob Clark
  182. Marvin Stodolsky
  183. Dominique Duval
  184. Roman Krais
  185. Ulrich Guenther
  186. Marcelino Viana Pinheiro
  187. Thomas S. Iversen
  188. Jospeh Teichman
  189. Michel Bartolone (MED)
  190. Ramon Gonzalez Montoiro
  191. Ryoji Kawagishi
  192. Torsten Vogel
  193. "jandro"
  194. Ian Carr-de Avelon
  195. Helga Weindl
  196. Ed Casas
  197. Bernhard Hoelcker
  198. Alexander "Sasha" Voytov
  199. Albert Woo
  200. Peter Hirschmann

  201. and all of the helpful Linux HaM users
  202. around the world and at [url]www.linmodems.org[/url]

  203. ---------------------------------------------------------------------------------
  204. 7. Security issues

  205. the haminst and hamboot file install the files and device nodes as
  206. root for the owner and group.
  207. this will cause problems for those who want to user the modem to dialout
  208. using an account other than root.

  209. In SuSE, "dialout" is the group used to install the files and device node.
  210. This way, anyone belonging to the "dialout" group can use the modem to dialout.
  211. (take a look at /etc/group)

  212. I did not want the script to allow full access of the modem to everyone without
  213. "root" knowing.

  214. Edit the hamboot and haminst scripts to fit your needs.

  215. ---------------------------------------------------------------------------------
  216. 8. Compile issues
  217.         a.  DEBIAN USERS!
  218.         the file /usr/include/linux/modversions.h does not exist in debian 2.2
  219.         you must comment out the #include<linux/modversion.h> line from both
  220.         hamdefs.h files in the HaM source code for it to compile.

  221.         b. You will need the kernel source that you are compiling the module for.
  222.         some distributions do not automatically install all the neccisary
  223.         kernel headers in a default installation.  The makefiles look for
  224.         the directory "/usr/src/linux/include/linux".   "/usr/src/linux" is
  225.         a symoblic link to the kernel source you wish to use.  Most distributions
  226.         should have an available archived kernel source for the kernel version
  227.         they are using.  Please read the documentation provided with the kernel
  228.         source as it is a very importaint part of what "linux" is all about.
  229.         If you feel comfortable with compiling the driver with the system header
  230.         files  in "/usr/include", modifiy the makefile's include paths to point
  231.         to "/usr/include" instead of "/usr/src/linux/include"

  232.         please refer to article:
  233.         [url]http://linmodems.org/cgi-bin/ezmlm-cgi?1:mss:3785:200105:pdfckkcmemhofipa[/url]
  234.         for more information concering the "kernel source" issue.

  235. ---------------------------------------------------------------------------------
  236. 9. Comments, ideas, problems, fixes:
  237. please contact

  238. Dorian S. Araneda
  239. Product Engineer,
  240. Intel Residential Access Division (RAD)
  241. [url]http://developer.intel.com/design/modems/[/url]
  242. [url]www.intel.com[/url]   [url]www.intc.com[/url]  (ticker: INTC)
  243. 110 Horizon Dr., Suite 300, Raleigh, NC  27615


  244. other resources and information on linux controllerless modems can be found on
  245. [url]www.linmodems.org[/url]


复制代码
 楼主| 发表于 2003-7-22 15:58:53 | 显示全部楼层
WINDOWS下的图片

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2003-7-22 16:27:25 | 显示全部楼层
3.  INSTALLATION
Prerequisites:
        1. root access
        2. bash shell to run install scripts
        3. a HaM modem
        4. kernel source for the kernel you are running
        /usr/src/linux must symbolically point to this source
        for the makefiles to work.


6 steps to install
        1. login as ROOT
        2. extract the archive into a directory with "tar -xvf <archivename>.tgz"
        3. cd into the the directory it created.
        4. Type: make clean
        5. Type: make all
        6. Type: make install



The installation script has been designed for the following distributions release versions
        mandrake-release
        SuSE-release
        redhat-release
        debian_version (including Corel)
        slackware-version
        conectiva-version
        bluepoint-release
        Unknown distributions install modules and utilities but
        will not install boot scripts!.

Please examine the haminst script if you have a different distribution.

The driver is split in two.  A ham serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device major number 240, minor number 1.
The serial driver takes one argument right now, which is a number to override the default major number if you need to.


ATTENTION:  if the driver compiles but the script just wont work for you.
        Here are the bare minimum steps to get your modem to work.

        0.  log in as root.
        1.  insmod -f hamcore.o
        2.  insmod -f ham.o
        2a. you can start "hamregistry" at this point if you wish.
        3.  rm /dev/ham
        4.  mknod /dev/ham c 240 1   (note "240" is the default, if it does not work see what /proc/devices says ham's major number is)
        5.  ln -s /dev/ham /dev/modem
        6.  start a comm application like minicom and use the modem.
        7.  see section 3 (International Users) for info on setting the correct country settings.

实在是太多了啊,我就帮你说说这个安装部分吧。
  安装
1。要求是root权限,那个modem,kernel的源代码包(如果是rpm包的话,一般是kernel-source-XXX.rpm),一般安装在/usr/src的目录下,而且一般有一个linux-2.4(这个是RH90这样做的)的连接。
2。
安装的步骤        1. 以root登入
        2. 用这个命令 "tar -xvf <archivename>.tgz"在一个目录下解压缩
        3.进入那个目录(解压缩后建立的目录).
        4. 执行: make clean
        5. 执行: make all
        6. 执行: make install
3。最少的步骤让你modem工作
        0.   root登入.
        1.  执行:insmod -f hamcore.o
        2.   执行:insmod -f ham.o
        2a.如果你喜欢你还可以 执行:"hamregistry" .
        3.  执行: rm /dev/ham
        4.   执行:mknod /dev/ham c 240 1   (注意 "240" 是默认的, 如果它不好使 看 /proc/devices 里面 ham's 数字是多少)
        5. 执行: ln -s /dev/ham /dev/modem
        6.  用RH的互联网向导看可以用modem吗??(原文的意思也很简单你可以看看).
        7.具体的设置modem可能还要参考 (5.INTERNATIONAL USERS)
发表于 2003-7-22 18:25:23 | 显示全部楼层
jin.liu说的太完整了。
解压缩后就三步
make clean
make ham
make install
发表于 2003-7-22 22:51:48 | 显示全部楼层
有错
发表于 2003-7-22 22:54:13 | 显示全部楼层
我的猫和 深空的一样啊!在make ham 时提示autoconf.h有问题!然后在make install时就出现erro load ham.o
 楼主| 发表于 2003-7-22 23:22:41 | 显示全部楼层
三步后我用那个什么PPP,在COM3中的猫老是忙,根本就找不到,而且没有dev/modem 和dev/ham这两个目录
发表于 2003-7-23 11:13:47 | 显示全部楼层
最初由 深空 发表
三步后我用那个什么PPP,在COM3中的猫老是忙,根本就找不到,而且没有dev/modem 和dev/ham这两个目录

装驱动时有没有错误?
是不是正确的驱动。我也没有 /dev/moden /dev/ham两个目录。
但一样用。
com3不行的话。换别的口
还有在kppp查询moden能正确查询的到吗。。
发表于 2003-7-23 11:16:57 | 显示全部楼层
最初由 tjjf 发表
我的猫和 深空的一样啊!在make ham 时提示autoconf.h有问题!然后在make install时就出现erro load ham.o

可能驱动错了。。换别的。。。或重新下载。。。
重新下载的还不行的话。可能不是正确的驱动。。
5628的驱动可以去
 楼主| 发表于 2003-7-23 11:27:21 | 显示全部楼层
在COM1和COM2中都能查询到modem,可是我只有一个modem啊,还有是什么ATI查询的,结果都是空的,我随便用其中任何一个连接,都说正在初始化调制解调器,然后就一直处于初始化状态
安装的中间好像出现过一个找不到文件夹什么的,最后一步install出现error,好像是不能启动,我没有截图。驱动是在置顶里下载的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表