From: email@ozanenginoglu.com
Date: Thu 01 Jan 2004 - 09:54:36 EST
#last modified september 7, 12:00
This document want to try to help you to install the modem,
I've written it when I was making things and I restart from zero
to test it again it work for me i'll hope it'll for you !
I use Mandrake 9.1 and I'm a linux beginner
So informations are for mandrake but if you know your system
I suppose it will not be too hard to understant what i want to do ...
step 0 : need to begin :
---------------------
zx630-11 or aam6000ug with alcatel chipset (AME) if not sure for asus see :
http://sourceforge.net/forum/forum.php?thread_id=904707&forum_id=294814
these 5 packages :
libusb0.1_4-devel-0.1.6a-2mdk.rpm
--->cd3 mandrake9.1
libusb0.1_4-0.1.6a-2mdk.rpm
--->cd3 mandrake9.1
libpcap0-0.7.2-2mdk.i586.rpm
--->cd3 mandrake9.1
liblinux-atm1-2.4.1-2mdk.i586.rpm
--->cd3 mandrake9.1
ppp-2.4.1-12mdk.i586.rpm --->ftp://ftp.rediris.es/sites/carroll.cac.psu.edu/
mandrake-devel/cooker/i586/Mandrake/RPMS/ppp-2.4.1-12mdk.i586.rpm
ppp-pppoatm-2.4.1-12mdk.i586.rpm --->ftp://ftp.rediris.es/sites/carroll.cac.
psu.edu/mandrake-devel/cooker/i586/Mandrake/RPMS/ppp-pppoatm-2.4.1-12mdk.i58
6.rpm
http://prdownloads.sourceforge.net/linux-usb/speedtouch-1.7.tar.gz?download
--->download speedtouch-1.7.tar.gz
a) for zx630-11 only :
http://prdownloads.sourceforge.net/zyxel630-11/zx630-11-2003-07-14-src.tgz?d
ownload --->firmware loader for zx630-11 modem if ti's yours
b) for aam6000ug only :
http://prdownloads.sourceforge.net/aam6000ug/amedyn-2003-07-21-src.tgz?downl
oad --->firmware loader for aam600ug modem if ti's yours
and finaly : a system running mandrake linux & a brain ;)
-> !!! need also to correctly follow all steps !!!
step 1 : installing pakages
------------------------
>in graphical mode intall these pakages by lauching them and entering root
pasword
libusb0.1_4-devel-0.1.6a-2mdk.rpm
libusb0.1_4-0.1.6a-2mdk.i586.rpm
libpcap0-0.7.2-2mdk.i586.rpm
liblinux-atm1-2.4.1-2mdk.i586.rpm
ppp-2.4.1-12mdk.i586.rpm
ppp-pppoatm-2.4.1-12mdk.i586.rpm
step 2 : installing firmware loader
-------------------------------
a) for zx630-11 only :
>begin a shell as su : type su and then your password
>copy zx630-11-2003-07-14-src.tgz to /usr directory : cp
zx630-11-2003-07-14-src.tgz /usr
>go to /usr/ : cd /usr
>uncompress : tar -xzvf zx630-11-2003-07-14-src.tgz
>open zxioctl.c : kedit zx630-11/init/zxioctl.c
>make a change : change u_ioctl.ifno = 0 by u_ioctl.ifno = 1
>close and save change
>open zxioctl.c : kedit zx630-11/init/zxload.c
after this line :
printf(gettext("ADSL line is up\n"));
remove those :
len = transfer_ctrl_msg(adsl_handle, VENDOR_REQUEST_OUT, 0x30, 0x03,
0x00, NULL, 0);
if (len < 0)
return -1;
len = transfer_ctrl_msg(adsl_handle, VENDOR_REQUEST_IN, 0x0e, 0x03,
0x00, buf, 0x0c);
if (len < 0x0c)
return -1;
>close and save change
>go to amedyn home directory : cd zx630-11
>make amedyn : make
>make sure there is no error!
>loging out root user : exit
b) for aam6000ug only :
>begin a shell as su : type su and then your password
>copy amedyn-2003-07-21-src.tgz to /usr directory : cp
amedyn-2003-07-21-src.tgz /usr
>go to /usr/ : cd /usr
>uncompress : tar -xzvf amedyn-2003-07-21-src.tgz
>open amioctl.c : kedit amedyn/init/amioctl.c
>make a change : change u_ioctl.ifno = 0 by u_ioctl.ifno = 1
>close and save change
>open zxioctl.c : kedit amedyn/init/amload.c
this is not absoloutely necessary to get the modem work but, if you do it
leds would
appear like in windows when adsl line is up ...
so after this line :
printf(gettext("ADSL line is up\n"));
remove those :
len = transfer_ctrl_msg(adsl_handle, VENDOR_REQUEST_OUT, 0x30, 0x03,
0x00, NULL, 0);
if (len < 0)
return -1;
len = transfer_ctrl_msg(adsl_handle, VENDOR_REQUEST_IN, 0x0e, 0x03,
0x00, buf, 0x0c);
if (len < 0x0c)
return -1;
>close and save change
>go to amedyn home directory : cd amedyn
>make amedyn : make
>make sure there is no error!
>loging off root user : exit
step 4 : i supose it to creat a source of kernel...
----------------------------------------------
>indentify your kernel in a shell : uname -r
by example it return : 2.4.21-0.13mdk
>login as root
>go to /usr : cd /usr
>type : urpmi kernel-source-2.4.21-0.13mdk
if you kernel is 2.4.21-0.13
accept if it needs to install somethings
>logout root : exit
step 3 : intalling Speedtouch modem driver
--------------------------------------
>lauch a shell where speedtouch-1.7.tar.gz is located
>uncompress : tar -xzvf speedtouch-1.7.tar.gz
>go to speedtouch-1.7 dir : cd speedtouch-1.7
>edit speedtouch.c : kedit speedtouch.c
>modify vid and pid (<=>vendor ID and product ID) :
Replace :
#define SPEEDTOUCH_VENDORID 0x06b9
#define SPEEDTOUCH_PRODUCTID 0x4061
by
for Zyxel 630-11:
#define SPEEDTOUCH_VENDORID 0x06b9
#define SPEEDTOUCH_PRODUCTID 0xa5a5
or
for Asus AAM6000UG:
#define SPEEDTOUCH_VENDORID 0x0b05
#define SPEEDTOUCH_PRODUCTID 0x6206
as explained in README file...
>save changes and exit
>go to super user : su
>configure : ./configure
>make : make
>make sure there is no error!
step 4 : configuring scripts
-------------------------
>edit /etc/ppp/options : kedit /etc/ppp/options
>here is an example of what you need to put in :
lock
defaultroute
noipdefault
noauth
sync
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
passive
asyncmap 0
lcp-echo-interval 2
lcp-echo-failure 7
#replace user@domain by your coorect info
name user@domain
user user@domain
plugin /usr/lib/pppd/2.4.1/pppoatm.so
#see by example http://www.eicon.com/support/helpweb/adsl/adsl_settings.asp
#to know what to put and replace VPI.VCI by coorrect value...
VPI.VCI
-->note that i've delete #lkqldjlqjldqsl in my config file :)
>save and exit
>edit /etc/ppp/pap-secrets : kedit /etc/ppp/pap-secrets
>put something like that :
# Secrets for authentication using PAP
# client server secret IP addresses
user@domain * password *
-->you must type : user@domain<tab>*<tab>*<tab>
>save and exit
>edit /etc/ppp/pap-secrets : kedit /etc/ppp/chap-secrets
>put something like that :
# Secrets for authentication using CHAP
# client server secret IP addresses
user@domain * password *
-->you must type : user@domain<tab>*<tab>*<tab>
>save and exit
step 6 restart linux
------------------
>!!!!Don't know why but restart linux !!!!
otherwhise i get an error futher
step 5 lauching driver and conection
--------------------------------
>in su mode type in coorect order at speedtouch dir :
a) for zx630-11 only :
modprobe -r speedtch.o
/usr/zx630-11/init/zxload
insmod speedtch.o
/usr/zx630-11/init/zxioctl 1
pppd usepeerdns
b) for aam6000ug only :
modprobe -r speedtch.o
/usr/amedyn/init/amload
insmod speedtch.o
/usr/amedyn/init/amioctl 1
pppd usepeerdns
>try ping, this is a simple test to know if you can surf the web :
ping www.google.com
check if it return time...
>if there is some problems please check you've done all things coorectly and
make have not return any error
>I hope I've not make too many spelling mistakes and you'll be able to get
working it !
#Emmanuel Counasse from belgium, september 2003
#Contact me : manuc66 [nospam] yahoo.fr
-->french is my natural language but you can write in english, sorry for
Spanish user ...
----------------------------------------------------------------------
merhabalar, yukarıda gördüğünüz "zyxel prestige 630-11" modemimin kurulum
aşamaları. fakat maalesef ben birşey anlayamıyorum. ilk olarak ben redhat
9.0 kullanıyorum fakat sanırım bu doküman mandrake 9.1 için yazılmış. ayrıca
step 0: need to begin kısmında --> cd3 mandrake 9.1 demiş. benim linuxum
mandrake olmadığından ne yapıcağımı bilemedim. o rpg leri yüklemek zorunda
mıyım? nasıl olucak bu iş birisi bana türkçe ve açıklayıcı bir şekilde
anlatabilirse çok sevinirim. iyi günler.