Автор Тема: ASUS USB ADSL модем под SuSe 9.3  (Прочетена 1378 пъти)

vagabundo

  • Напреднали
  • *****
  • Публикации: 29
    • Профил
ASUS USB ADSL модем под SuSe 9.3
« -: Aug 23, 2005, 18:59 »
Извинявам се задето повтарям въпроса, но не мога да го редактирам или махна на началната страница.

Имам инсталиран вин2к и suse 9.3 оставил съм си fat 32 място на харда, което се използва от двете операционни системи.
Там съм свалил от sourceforge.net драйвер за модема  ASUS AAM 6000UG и съм го разархивирал с winrar, надявам се, че разархивирането под уиндоус е същото. Съответната папка е достъпна и под линукс - там има HTML файл от лойто съвсем не ми става ясно какво да правя по-нататък.
Моля помогнете с малко разяснения.

текста на файла е:

  1) Install following packages :

Quote:

kernel-source
ppp
libpcap0 (also called libpcap '<img'> )
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/ZyXEL-630-11-HowTo.html (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 http://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 http://www.google.com '<img'>
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 '<img'> ) 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!!!'<img'>
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Странно държание на ADSL под SuSE 9.1
Настройка на хардуер
Coque 3 1618 Последна публикация Jul 08, 2004, 22:18
от
adsl connection - Suse 9.1
Настройка на програми
delirious 2 1477 Последна публикация Nov 09, 2004, 19:28
от BOT_ev
Проблем с записвачка ASUS DVD+/-RW
Настройка на хардуер
hafte 3 5010 Последна публикация Jun 27, 2005, 16:05
от hafte
Asus a6r
Настройка на хардуер
hafte 4 4414 Последна публикация May 11, 2006, 21:01
от hafte
Проблем със подкарването на adsl под suse 10.2
Настройка на хардуер
Bitaljus 4 1698 Последна публикация Jan 03, 2007, 10:06
от karaman