|

楼主 |
发表于 2003-5-28 14:44:46
|
显示全部楼层
2. Your kernel is newer (higher) then 2.4.2-2
When you have a newer kernel (say 2.4.8 from Mandrake 8.1) then you have a problem. You must now make a choice : forget the whole thing and wait for Itex or Alcatel or someone else to write an appropriate driver for your kernel. You can play it safe and buy yourself another ADSL modem which has appropriate drivers for Linux. Or you can take a chance and go where only a few have gone before : downgrade your kernel. The first two options won't be discussed here, for obvious reasons.
Downgrading your kernel is in fact much simpler (sort of) than upgrading. Recompiling an older kernel over a new one will propably give you some errors or won't even work at all. But you can download a package which contains the old kernel and just install it as if it was an ordinary package. You can download it from rpmfind (try searching with keyword kernel) or when you have a Redhat-like distribution you can download it directly from this ftp-site.
Install the package.
#rpm -hv kernel-2.4.2-2.i386.rpm
When the installation is succesfull, look a new kernel in your boot folder. You can use this command to view the contents of /boot.
Somewhere there is a file named :
vmlinuz-2.4.2-2
#ls /boot
Now you have to rename your old kernel
#mv /boot/vmlinuz /boot/vmlinuzold
and rename the new kernel
#mv /boot/vmlinuz-2.4.2-2 /boot/vmlinuz
Now you have to reboot your computer and the new kernel should be loaded
#reboot
To check if the new kernel is loaded, you can use this command
#uname -r
Install the driver using insmod.
Don't forget to verify the vpi and vci settings with you ISP. The values I used are specific for my ISP.
#insmod itex1483-2.4.2-2.o vpi=8 vci=35 framing=1
Now you have to check if the driver was installed.
#lsmod
When your driver is somewhere in there, you can move on and check if your system has loaded a new ethernet device. If the Speed Touch PC card is the only network card, it will be called eth0. If you already have an other network card installed (eth0), the new device will be eth1. You can check this with
#ifconfig -a
If no new ethX device was loaded, load it manually (replacing X with 0 or 1, see above)
#ifconfig ethX up
A new card should be up and you are ready to install the Point-to-Point Protocol. You can download it from Roaring Penguin and install it
#rpm -Uvh rp-pppoe-3.3-1.i386.rpm
To set up your connection, some configuration is in order
You must provide username, device name : eth0 or eth1 (see above), demand value : no, primary and secondary DNS, your password and firewall-setting. Most information should be provided by your ISP. Choose yes to save the configuration file.
#/usr/sbin/adsl-setup
Now it is time for the big test
#/usr/sbin/adsl-start
When everything is working, you should get
Now you can surf, read mail, etc.
...Connected!
Otherwise you will get an error.
Don't panic, first try connecting again. If it still doesn't work, it probably means that your vci and vpi settings are not right. Be sure to check them with your ISP.
TIMED OUT!
When this occurs, unload the module
#rmmod itex1483-2.4.2-2
and reload it with the right settings. If this still does not work, try looking at your routing table
#route
Maybe the default route is localhost..?? If the default route is not the IP that you use for internet, like localhost, you might delete it and set up a new default route. Check your man page howto delete & setup new default route.
# man route
or try
#route --help |
|