Okay I finally got it working, the 630-C1 is a conexant chipset which
uses accessrunner driver instead of the amedyn driver for the 630-11.
Here's the procedure I used to get it working, in case anyone else is
trying to use this modem with Linux:
Zyxel Prestige 630-C1 (Conexant chipset different to that of 630-11)
Get driver off http://www.sourceforge.net/projects/accessrunnner (I
used the one versioned "update to latest kernels").
Download kernel patch.
For kernel 2.6.1 - 2.6.5 -
http://www.zullinux.it/linux/patch-upto_2.6.5_20040517_accessrunner.gz
For kernel 2.6.6 -
http://www.zullinux.it/linux/patch-2.6.6_20040517_accessrunner.gz
Download modified scripts
http://www.zullinux.it/linux/modified_scripts.tgz
-------------------------------------------------------------------------------------------
(Kernel config section)
Install the kernel source for your particular distribution.
(I use mandrake 10.0 official, got updated kernel 2.6.6 source from
http://rapsys.free.fr )
patch the kernel
cd /usr/src/linux
gunzip patch-2.6.6_20040517_accessrunner.gz |patch -p1
The Prestige 630-C1 isn't directly recognised by this driver so you
will need to modify the driver slightly:
Open up /usr/src/linux/drivers/usb/misc/speedtch.c
Locate
#define CXACRU_VENDORID5 0x0572 /* Vendor = Conexant */
#define CXACRU_PRODUCTID5 0xcb00 /* Product = ADSL
modem (Hasbani project) */
Change it to read
#define CXACRU_VENDORID5 0x0586
#define CXACRU_PRODUCTID5 0x330a
(To double check these values look at /proc/bus/usb/devices after
plugging in modem).
Open up kernel configurator (make menuconfig/make xconfig/make gconfig)
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
Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)
Save
make
make modules_install
make install
Boot using new kernel
---------------------------------------------------------------------------------------
Download and install user space programs as directed by the
instructions for Zyxel 630-11 :
* rp-pppoe a handy pppoe user space implementation
* libusb, required to compile amedyn
* linux-atm, required to compile amedyn
These should all be available on Mandrake through urpmi/rpmdrake.
-----------------------------------------------------------------------------------------
Untar cxacru.tar.gz
Edit file cxacru/init/cxload.c
Below lines
else if (vid == 0x1803 && pid == 0x5510)
return 6;
add
else if (vid == 0x0586 && pid == 0x330a)
return 5;
Edit file cxacru/init/cxiotcl.c
Again below lines
else if (vid == 0x1803 && pid == 0x5510)
return 6;
add
else if (vid == 0x0586 && pid == 0x330a)
return 5;
In cxacru directory, change to root user and type "make". This does
both "make" and "make install"
steps.
-----------------------------------------------------------------------------------
Untar modified_scripts.tar.gz
Replace the scripts cxload.sh and cxunload.sh in /usr/sbin with these scripts
Edit file /etc/cxacru
It reads as following on my system:
# 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=4 # 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=255.255.255.0
GATEWAY=
-------------------------------------------------------------------------------------
Run adsl-setup
>>> Enter your PPPoE user name (default ***): csxxxxxx at adsl.utvinternet.ie
>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0): nas0
This interface is created for you
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no): no
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: server
PASSWORD
>>> Please enter your PPPoE password: your-secret-you-got-from-iolbb
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): 1
>>> Accept these settings and adjust configuration files (y/n)? y
You should be able to run cxstart.sh now to start your modem.
This is what a successful run looks like on my machine:
>>> Inits Conexant AccessRunner <<<
>>> Loading USB controller...
time to remove modules driver
time to remove modules driver speedtch
>>> Removing cxacru driver...
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <jcomas at gna.es>
See credits in documentation
I found ADSL modem with VendorID = 0586 & ProductID = 330a
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
...............
ADSL line is up (Downstream 512 Kbits/s, Upstream 128 Kbits/s)
time to remove modules driver
time to remove modules driver
checking remove modules
>>> Loading driver...
Launching driver in normal mode...
/usr/sbin/cxload.sh successful
Setting PPP over Ethernet...
>>> Setting PPPoE <<<
>>> Loading br2684 kernel module...
>>> Loading ppp_generic...
>>> Loading br2684ctl...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <jcomas at gna.es>
See credits in documentation
I found ADSL modem with VendorID = 0586 & ProductID = 330a
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.8.35, encapsulation: LLC
RFC1483/2684 bridge: Interface configured
>>> Activating interface...
>>> Activating send/receive data...
>>> Loading pppd daemon...
.. Connected!
ping www.google.ie
PING www.google.akadns.net (216.239.59.99) 56(84) bytes of data.
64 bytes from 216.239.59.99: icmp_seq=1 ttl=243 time=67.4 ms
64 bytes from 216.239.59.99: icmp_seq=2 ttl=243 time=73.2 ms
At last :)
> Having problems setting up the Zyxel Prestige 630-C1 modem (got it with
> UTV clicksilver) on Mandrake 10.0 with kernel 2.6.6. (I think it's
> different to the 630-11 described in
>http://www.linux.ie/articles/tutorials/zyxel630-11.php ).
> I followed the instructions on linux.ie to the letter including copying
> the kernel's speedtouch driver and changing the VENDORID/PRODUCTID values
> (changed them to different values to the ones specified to match the ones
> I saw when examining /proc/bus/usb/devices). Also had to change these
> values in amload.c to get it to recognise that I had a modem in the first
> place.
> The error I'm getting is:
> Error claiming usb interface 1: can't claim interface 1: no such file or
> directory.
> Anyone got any ideas?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!