PDA

View Full Version : knoppix may ping everything but can't load a page



jacksonon
03-22-2005, 03:30 PM
Hello,

I'm newbie to Linux and Knoppix. I've run it from Live CD to install it and get some more experience with this system. But before installation I want internet connection for all help I can get. And that's where the problem starts.

My computer has ASUS K8N motherboard with Nvidia nForce3 250 chipset. It's placed in the network and connects with internet by hub->router. I run network-setup (as normal user and as a root), everything went ok. After that I'm enable to ping other computers in network and in internet, but connection is very slow - so slow, that it was a success when I saw a title of one web page. Also when I try to connect to router via http I get user/password popup from it, but after that it tries to download a page from it so slow as from www. Propably it can be a problem with full duplex on the ethernet card (as it was on win xp) - net works well only when duplex is set to half. But I couldn't change it using either mii-tool and ethtool. Mii-tool says there are no active mii interfaces, ethtool can't get full information from eth0 (only some basic) (I tried also as root) . And I wasn't able to find information about option in which my card is working - is it half or full duplex. With ethtool I wasn't able to findout is my card working as 10Mb or 100Mb. When I run Knoppix from CD on other computers in the net, it behaves very well - I get normal connection to www. Below i present some of my actions. I hope someone will help to solve my problem.
Regards
kuba

NETCARDCONFIG


ifconfig eth0 192.168.0.11 netmask 255.255.255.0 broadcast 192.168.0.63 up
route add default gw 192.168.0.1
SIOCADDRT: File exists
auto lo eth0
Setting Nameserver in /etc/resolv.conf to 193.110.120.5
Done.



IFCONFIG


root@ttyp4[knoppix]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:D8:1F:7B:E5
inet addr:192.168.0.11 Bcast:192.168.0.63 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:195 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25453 (24.8 KiB) TX bytes:5666 (5.5 KiB)
Interrupt:21 Base address:0x2000


MII-TOOL


root@ttyp4[knoppix]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found


ETHTOOL


root@ttyp2[knoppix]# ethtool eth0
Settings for eth0:
Supports Wake-on: g
Wake-on: d
Link detected: yes


ETHTOOL 2


root@ttyp2[knoppix]# ethtool -s eth0 \speed 10
Cannot get current device settings: Operation not supported
not setting speed
root@ttyp2[knoppix]# ethtool -s eth0 \duplex half
Cannot get current device settings: Operation not supported
not setting duplex

jacksonon
03-29-2005, 12:35 PM
Hello,

I've downloaded the newest knoopix 3.8 Now I may change duplex settings and speed setting using ethtool, but my conection stil doesn't want to work well. I get about 25% lost packets using ping in local area and in the internet. Does someone know what cause may be ?

Below i present some info given me by ethtool


Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: externel
Auto-negotiation: off
Supports Wake-on: g
Wake-on: d
Link detected: yes

Please help
Kuba