cotacota 发表于 2004-12-5 17:51:34

conexant芯片usb adsl modem驱动安装zt

以下是转贴自http://www.linuxquestions.org的一篇关于安装具有conexant芯片usb adsl modem的驱动的帖子,希望能给想要在linux上安装类似斯达康ut-300u类型usb adsl猫的朋友一些启发。

Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official( post #1)

I made this HowTo to help others like me to connect with ease
Note : i am still a newbie and this is my first howto so bear with me

Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official :

1) Go to http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz

2) Install the kernel source from rpmdrake

3) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

4) Recompile the kernel
# cd /usr/src/linux

backup the .config by copying to any other location

# make mrproper

restore the .config

# make menuconfig

Go to section

Device Driver -> Networking Support -> Networking Options -> ....

<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL)
[*] Do NOT send ICMP if no neighbour (EXPERIMENTAL)
<M> LAN Emulation (LANE) support (EXPERIMENTAL)
<M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
<M> RFC1483/2684 Bridged protocols
[*] Per-VC IP filter kludge




Then Go to section

Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)

then save

# make

# make bzImage

# make modules

# make modules_install

# make install

5) Restart

6) Go to rpmdrake and search for atm these packages will be the result
liblinux-atm1 , liblinux-atm1-devel , linux-atm , ppp-pppoatm
install them

7) Untar cxacru package to any folder and type
# make new

8) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site

9) Edit file /etc/cxacru to your needs
here is mine :

#
# Config file for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)

# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""

# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=

# ATM
VPI=8
VCI=35

# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=
GATEWAY=

10) Edit your options file in /etc/ppp
#lock
#noauth
#noipdefault
#usepeerdns

noipdefault
noauth
persist
lcp-max-configure 50
-pap
usepeerdns
name any
user "insert your uname here"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35

11) Edit the pap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password'

12) Edit the chap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password' *

13) Edit the resolv.conf in /etc and insert in it your DNS
if you dont know it you could get it from windows by typing ipconfig /all

14) Go to /usr/sbin
# su

# ./cxstart.sh


And wish that it will connect the first time

帖子具体地址:
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=186990

ygw_ycf 发表于 2004-12-5 18:51:14

呵呵,公社有现成的rpm包
页: [1]
查看完整版本: conexant芯片usb adsl modem驱动安装zt