1. Introduction

	This document provides information of making (mini)Vigor 128/204 work under Linux 
	operating system. Please follow the steps described below to upgrade the kernel 
	and PPP daemon to the versions specified in this document for making all things 
	work togather. If you have problem regarding the Kernel, PPP daemon, there are many 
	HOW-TO documents can  be found on the internet. Please DO NOT send E-Mail to our 
	support account for information regarding Linux.
	
	 	
2. Update Kernel and PPP daemon 

	- Kernel: version 2.4.18 is required
	
		(a) Get Kernel source archieve, linux-2.4.18.tar.gz,  from ftp://ftp.kernel.org/
		     pub/linux/kernel/v2.4 and put it under /usr/src. 
		     		     
		(b) Decompress the kernel source as follows:
		
		         cd /usr/src
		         mv linux linux-old
		         tar -xzvf linux-2.4.18.tar.gz
		         cd  linux
		
		(c) build new Kernel by the following commands:
		
		         make mrproper
		         make xconfig
		         make dep
		         make modules
		         make modules_install
		         make bzImage
		         
		     Some configuration items of the kernel are very critical, they are listed below:
		     		     	   	
		     	- Block devices:
		     	   	say 'Y' to 'Generic PCI bus-master DMA support'.for USB
		     	   	say 'Y' to 'Use PCI DMA by default when available'.
		     	   	say 'Y' to the correct chip set for your mother board.
		     	   	
		     	   	if this is not configured correctly, the Vigor 128/204 can still work but the
		     	   	data transfer will be disturbed whenever there is any hard disk activity.
		     	   	
		       - USB support:
		       		say 'Y' to 'Support  for USB'.
		       		say 'Y' to the correct USB host controller (UHCI or OHCI, depends on
		       		your machine).
		       		
		       		If this is not configured correctly, all USB devices won't work. 	       		
		       
                       - Loadable Module Support
                            say 'N' to 'Set Version Information on all module symbols'
		(c) Install new Kernel
		
			 Copy bzImage and System.map to /boot:          
		         	cp /usr/src/linux/arch/i386/boot/bzImage /boot/linuxUSB
		         	mv /boot/System.map /boot/System.map.old
		         	cp /usr/src/linux/System.map /boot 		         	   
			 
			 Add the the following lines to file /etc/lilo.conf:
			 
			 	timeout = ....			 
				image=/boot/linuxUSB
			 	label=linuxUSB
				root=/dev/hda1
			 	read-only			 
				image=...... 

			 Run lilo again(Don't forget this step, otherwise the boot sector won't upadate).
			 Reboot the computer. You can change the 'linuxUSB' to whatever you like.
			 
			 The new Kernel should be the default kernel to load. If the new Kernel cause a
			 boot problem, type 'linux'  when you see the "lilo:" prompt upon reboot, to force 
			 the use of the old kernel.
			  	
	- PPP Daemon: version 2.4.2 is required
	
		Get ppp-2.4.2.tar.gz from ftp://linuxcare.com.au/pub/ppp/ and put it under /, then decompress and install it by the commands:

                 tar -xzvf ppp-2.4.2.tar.gz
                 cd ppp-2.4.2
                 ./configure
                 make
                 make install
                 
		
	 	  
		
		
2. Driver Installation

	- rpm -ivh miniVigor128-for-2.4.18-V1.1-1.i386.rpm
	- reboot computer
			
	After the reboot, you can choose  /dev/ttyUSBx, where x can be 0, 1, 2 or 3,  as the 
	virtual serial port for your communication software. Some communication softwares
	can only choose port between modem, ttyS0, ttyS1, ttyS2 and ttyS3, you can symbolic
	link 'modem' to 'ttyUSBx' by the following command:
	
	      rm -f /dev/modem 
	      ln -s /dev/ttyUSB0 /dev/modem
	
	The initial string for various B channel protocaols are as follows:
	
	AT+IBP = 0 (HDLC)
	AT+IBP = 1 (X.75)
	AT+IBP = 8 (Draytek's Multi-Link PPP)
	AT+IBP = 10(linux's PPP, this is default)
	
 
3. Known Issues

        1. Can not work under symmetric multiple processer machine.


