[
FaqDiagFr ] [
In English ] [
En Espanol? ] [
Deutsch ]
This FAQ a bit more technical, identifies the commands to launch in order to diagnose precisely the problems encountered. Rather that ask for them one at a time in the forum, I've put the most useful in
eaglediag (see
DocEagleDiagUs DocEagleDiagFr to install it), which enables me to ask only for remaining precisions.
The format used permits a copy/past as is in Linux (no character at the beginning of commands, comment separated by a #).
Those commands are to be launched in a Terminal window, as root (su -).
In case of a problem, generic answer
Provide information about : distrib', driver version, modem type, launch eaglediag (see
DocEagleDiagUs)
For Mandrake 9.2, read
Mandrake 9.2 includes the eagle-usb driver 1.0.4
For Mandrake 9.x (<9.2) and Red Hat, and other distributions install the 1.9.x version see www.eagle-usb.org
Compilation errors
uname -a # gives kernel version
cat /etc/mandrake-release # Mandrake version
cat /etc/redhat-release # Red Hat version, available in Mandrake too
cat /etc/gentoo-release # Gentoo version
cat /etc/debian_version # Debian version
cat /etc/slackware-version # Slackware version
cat /etc/SuSE-release #
SuSE version
cat /proc/version # provides more precise indications on kernel, notably gcc version used
gcc -v | grep -i "gcc " # gives gcc version to be compared to the one used to compile kernel (must be identical)
gcc --version # gives gcc version (does not work for Debian, a priori)
ls -l /usr/src/ | grep linux # indicates which kernel sources are used to compile (link /usr/src/linux)
rpm -q kernel-source # for rpm based distributions, verify installed package
Synchronization / connection errors
Check status
ping 213.228.0.42 # check ping IP (avoid DNS problem...) to verify that connection is good, if KO : not connected or Firewall too restrictive (Search for shorewall on the forum, there's a bug with default configuration)
ping www.free.fr # check DNS resolution, otherwise have a look at
/etc/resolv.conf
grep -iE "usb|adi|eagle|pci|ppp|dhclient|dhcp|respawn" /var/log/messages # 1st sieve in
/var/log/messages (do not copy/paste everything in the forum, sort it out before !), respawn is for "dégroupés" which have left a line in
/etc/inittab
Basic check
showstat # show VPI/VCI/encapsulation + attenuation + bad ATM trames + modem state
eaglestat # show VPI/VCI/encapsulation + attenuation + bad ATM trames + modem state (1.0.5pre1)
lsmod | grep usb # checks module is correctly loaded and obtain driver usb type (uhci, ohci...)
lsusb # check usb peripherics connected
cat /etc/resolv.conf # check for DNS (either hard coded, or added by pppd if
usepeersdns, or added by dhcpcd or dhclient)
ls -l /etc/resolv.conf # can be a link to
/etc/ppp/resolv.conf
ifconfig -a # provides the list of interfaces, ethX associated with the driver must be there ; if ipv6 (or net6) appears : ask for removal
route -n # provides the routing, sometimes a
route del default is necessary when the gateway is wrong
Optimization
cat /proc/interrupts # verify that no IRQ conflicts, notably with network card (change in the BIOS or with a jumper)
sed "s/user.*@/user 12345678@/g" $OPTION_FILE # OPTION_FILE=/etc/ppp/options /etc/ppp/options.adsl /etc/ppp/peers/adsl permits to list the content of configuration file of ppp without displaying the user login (who should nevertheless check before copy/paste personal informations !)
lspci -v # list all connected devices (does not give latency...)
cat /proc/pci # check latency (should be 32 instead of 64)
setpci -v -s 00:07.2 latency_timer=20 # replace 00:07.2 by your bus number of course to set latency to 32 (20 in hexa)
If too many errors with usb or NETDEV Watchdog,
- add noacpi in the append of /etc/lilo.conf and launch lilo by /sbin/lilo -v
- verify that IPv6 support is not activated (inet6 appears with ifconfig -a), disable it... for example, renaming the module (if anyone finds a better method, could he precise it for his distribution...)