има описание как се инсталира но имам трудности да го
разбера - долупосочените неща в шел ли да ги пиша? как се
компилира и т.н.
1) Install following packages :
Quote:
kernel-source
ppp
libpcap0 (also called libpcap ;) )
ppp-pppoatm (IF you are using pppoatm)
rp-pppoe (IF you are using pppoe)
libusb
libusb-dev
linux-atm
2) Copy the amedyn-200x-xx-xx-src.tgz to /usr. Type the
following command in a shell :
Quote:
su
cd /usr/
tar xzvf amedyn-200x-xx-xx-src.tgz
cd /usr/amedyn
make
that is unpack, change into the unpacked dir, and compile by
typing make
3) Setting up your protocol:
for pppoe :
http://www.csn.ul.ie/~caolan/TechTexts/...
(point 4, 6, 7)
for pppoa only :
edit the /etc/amedyn file as the following...
Quote:
# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM
(pppoa),
#3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)
# 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=
and replace the VPI and VCI with the ones your ISP told you
4) edit the /etc/ppp/pap-secrets
Quote:
# Secrets for authentication using PAP
# client server secret IP addresses
username<tab>*<tab>PaSsWoRd<tab>*
Replace the <tab> with a tabulation key.
Replace with your username/password.
5) edit /etc/ppp/options and write:
Quote:
lock
defaultroute
noipdefault
usepeerdns
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 username
user username
plugin usr/lib/pppd/VERSION/pppoatm.so
VPI.VCI
replace the username with your username and VPI.VCI with the
ones your ISP told you (e.g. 8.35) and VERSION with your
pppd's version (e.g. 2.4.1 or 2.4.2)
6) Now to connect type amstart.sh and you should see the
driver
loaded, and inited, then type ifconfig to verify that you
have the ppp0 interface.
If you're connected you sould be able to ping an ip, try :
Quote:
ping 216.239.59.147
if it worked, seems like your conection works, now test DNS
solving by trying to ping a web adress (if it fails jump to
step 7)
Quote:
ping www.google.com
if the host is unreachable then edit /etc/resolve.conf and
/etc/ppp/resolve(if you want you can replace this file and
put a link to /etc/resolve.conf , to do that type as a root
ln -sf /etc/resolve.conf /etc/ppp/resolve ) .conf and add
something like this :
Quote:
nameserver first_dns
nameserver second_dns
you should put your ISP's dns here in the same order by
replacing the first_dns and second_dns with their ips, if
you don't know them, just look for them on www.google.com
:)
To stop connection, run amstop.sh, to connect again then run
amstart.sh (if it will not work then run amstop.sh, unplug
the modem for 10 seconds and then run amstart.sh)
7) If step 6 fails but all seems ok and the modem still
doesn't work try to edit xdslusb (there are 2 files, one is
for the kernel 2.4 and the other one is for the 2.6, they
are named according to the kernel's they are for :) ) source
files
in the directory /usr/amedyn/init and use change this :
Quote:
#define UDSL_DEFAULT_RCV_BUF_SIZE 64
#define UDSL_DEFAULT_SND_BUF_SIZE 32
8) if you want your computer to start the connection at boot
type in the /usr/amedyn dir as root :
Quote:
make add_service
9) for more help please got to forum on sourcefoge's zyxel
630-11 project page and also have look at /var/log/message
and /var/log/syslog to try to detect some error (please
don't post these files on the forum!!!)
|