[Linux] Netwerk traag na ongeveer 1 MB

Pagina: 1
Acties:

  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
Ik heb een vreemd probleem met mijn netwerk. De setup:
Mijn laptop heeft een Edimax PCMCIA netwerk kaartje (100 Mbit). Deze is via een crosslink kabel verbonden met mijn desktop, waarvoor ik de onboard netwerkaansluiting gebruik. Mijn desktop is ook nog verbonden met een ander netwerk (via een aparte 3com netwerk kaart), en dat werkt prima. Ik gebruik mijn laptop ook op een ander netwerk (wel met een ander /etc/sysconfig/network/cfg-eth-pcmcia-1), en dat werkt ook goed.

Beide systemen werken op Linux, SuSE 8.0. Op de desktop is de SuSE firewall aangezet om het verkeer te routeren tussen mijn laptop en het Internet (via het al genoemde netwerk). De destop heeft IP 192.168.0.2 op de netwerkinterface (eth1) naar het huisnetwerk (en via de huisserver naar het Internet) en IP 192.168.1.1 naar de interface (eth0) waar de laptop aan verbonden wordt. De laptop zit op 192.168.1.2. In alle gevallen gebruik ik subnetmask 255.255.255.0.

Het probleem:
Ik kan prima tussen mijn desktop en mijn laptop en visa versa pingen, inloggen met secure shell, en zelfs FTP-en. Met probleem begint als ik veel data wil verslepen van de ene naar de andere machine. Na ongeveer 1 MB datatransport klapt de verbinding in elkaar. De ping schiet omhoog van <1 ms naar boven de 40.000. Het is net alsof er een of andere buffer volloopt waarna er niets meer gebeurd. Het maakt overigens niet uit of ik als protocol FTP, SMB, Fish of wat dan ook gebruik. Het maakt ook niet uit of de desktop aan het andere netwerk verbonden is of niet.

Heeft iemand enig idee waar dit aan kan liggen? :?
:?


[Edit: aanvullende info]

[ Voor 15% gewijzigd door ATS op 16-07-2003 08:29 ]

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


  • Equator
  • Registratie: April 2001
  • Laatst online: 16:12

Equator

Crew Council

🦺#Rodekruis #whisky #barista

En zet je firewall eens uit.. Die heb je niet nodig om het routeren tot stand te brengen..

Kan je ook wat meer info geven over de gebruikte IP adressen, en je routing tabel..

Ook je gebruikte ipchains/iptables zou wel leuk zijn..

  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
Het uitzetten van de firewall heeft geen effect, maar is wel nodig om verkeer vanaf mijn laptop naar het internet te kunnen routeren. Welke info over mijn IP adressen wil je nog meer hebben? De broadcast staat op de standaard 192.168.1.255, en op dit netwerk zitten verder geen andere machines (crosscable...)
De ifcfg-eth0 die ik op de desktop gebruik is ziet er zo uit:

BOOTPROTO="static"
BROADCAST="192.168.1.255"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
STARTMODE="onboot"
UNIQUE="CLZK.K9WUehUzi26"

en de bijbehorende ifroute-eth0 alsvolgt:
#route configuration for network between desktop and laptop
192.168.1.0/24 192.168.1.2 255.255.255.0 eth0

Dit levert de volgende route tabel op:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default cumulus 0.0.0.0 UG 0 0 0 eth1

cumulus is de hostname van de router, een alias voor 192.168.0.1 wat in mijn hosts file staat.

Op de laptop heb ik deze routingtabel, waarbij ik wil aantekenen dat het opvragen ervan lang duurt:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default andre 0.0.0.0 UG 0 0 0 eth0


Ik zie met ifconfig geen errors:
eth0 Link encap:Ethernet HWaddr 00:50:2C:00:D7:FB
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:2cff:fe00:d7fb/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5701 errors:0 dropped:0 overruns:0 frame:45
TX packets:3138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8472803 (8.0 Mb) TX bytes:211846 (206.8 Kb)
Interrupt:11 Base address:0xe800


Ik gebruik de SuSE firewall, en ik manipuleer dus niet direct de ipchains of iptables. Mijn config voor deze firewall is:

# 1.)
# Should the Firewall be started?
#
# This setting is done via the links in the /etc/init.d/rc?.d runlevel
# directories, which can be tweaked with a runlevel editor (or manually)

#
# 2.)
# Which is the interface that points to the internet/untrusted networks?
#
# Enter all the network devices here which are untrusted.
#
# Choice: any number of devices, seperated by a space
# e.g. "eth0", "ippp0 ippp1 eth0:1"
#
FW_DEV_EXT="eth1"

#
# 3.)
# Which is the interface that points to the internal network?
#
# Enter all the network devices here which are trusted.
# If you are not connected to a trusted network (e.g. you have just a
# dialup) leave this empty.
#
# Choice: leave empty or any number of devices, seperated by a space
# e.g. "tr0", "eth0 eth1 eth1:1" or ""
#
FW_DEV_INT="usb0 eth0"

#
# 4.)
# Which is the interface that points to the dmz or dialup network?
#
# Enter all the network devices here which point to the dmz/dialups.
# A "dmz" is a special, seperated network, which is only connected to the
# firewall, and should be reachable from the internet to provide services,
# e.g. WWW, Mail, etc. and hence are at risk from attacks.
# See /usr/share/doc/packages/SuSEfirewall2/EXAMPLES for an example.
#
# Special note: You have to configure FW_FORWARD to define the services
# which should be available to the internet and set FW_ROUTE to yes.
#
# Choice: leave empty or any number of devices, seperated by a space
# e.g. "tr0", "eth0 eth1 eth1:1" or ""
#
FW_DEV_DMZ=""

#
# 5.)
# Should routing between the internet, dmz and internal network be activated?
# REQUIRES: FW_DEV_INT or FW_DEV_DMZ
#
# You need only set this to yes, if you either want to masquerade internal
# machines or allow access to the dmz (or internal machines, but this is not
# a good idea). This option supersedes IP_FORWARD from
# /etc/sysconfig/network/options
#
# Setting this option one alone doesn't do anything. Either activate
# massquerading with FW_MASQUERADE below if you want to masquerade your
# internal network to the internet, or configure FW_FORWARD to define
# what is allowed to be forwarded!
#
# Choice: "yes" or "no", defaults to "no"
#
FW_ROUTE="yes"

#
# 6.)
# Do you want to masquerade internal networks to the outside?
# REQUIRES: FW_DEV_INT or FW_DEV_DMZ, FW_ROUTE
#
# "Masquerading" means that all your internal machines which use services on
# the internet seem to come from your firewall.
# Please note that it is more secure to communicate via proxies to the
# internet than masquerading. This option is required for FW_MASQ_NETS and
# FW_FORWARD_MASQ.
#
# Choice: "yes" or "no", defaults to "no"
#
FW_MASQUERADE="yes"
#
# You must also define on which interface(s) to masquerade on. This is
# normally your external device(s) to the internet.
# Most users can leave the default below.
#
# e.g. "ippp0" or "$FW_DEV_EXT"
FW_MASQ_DEV="$FW_DEV_EXT $FW_DEV_INT"
#
# Which internal computers/networks are allowed to access the internet
# directly (not via proxys on the firewall)?
# Only these networks will be allowed access and will be masqueraded!
#
# Choice: leave empty or any number of hosts/networks seperated by a space.
# Every host/network may get a list of allowed services, otherwise everything
# is allowed. A target network, protocol and service is appended by a comma to
# the host/network. e.g. "10.0.0.0/8" allows the whole 10.0.0.0 network with
# unrestricted access. "10.0.1.0/24,0/0,tcp,80 10.0.1.0/24,0/0tcp,21" allows
# the 10.0.1.0 network to use www/ftp to the internet.
# "10.0.1.0/24,tcp,1024:65535 10.0.2.0/24" is OK too.
# Set this variable to "0/0" to allow unrestricted access to the internet.
#
FW_MASQ_NETS="0/0"

#
# 7.)
# Do you want to protect the firewall from the internal network?
# REQUIRES: FW_DEV_INT
#
# If you set this to "yes", internal machines may only access services on
# the machine you explicitly allow. They will be also affected from the
# FW_AUTOPROTECT_SERVICES option.
# If you set this to "no", any user can connect (and attack) any service on
# the firewall.
#
# Choice: "yes" or "no", defaults to "yes"
#
# "yes" is a good choice
FW_PROTECT_FROM_INTERNAL="no"

#
# 8.)
# Do you want to autoprotect all running network services on the firewall?
#
# If set to "yes", all network access to services TCP and UDP on this machine
# will be prevented (except to those which you explicitly allow, see below:
# FW_SERVICES_{EXT,DMZ,INT}_{TCP,UDP})
#
# Choice: "yes" or "no", defaults to "yes"
#
FW_AUTOPROTECT_SERVICES="no"

#
# 9.)
# Which services ON THE FIREWALL should be accessible from either the internet
# (or other untrusted networks), the dmz or internal (trusted networks)?
# (see no.13 & 14 if you want to route traffic through the firewall) XXX
#
# Enter all ports or known portnames below, seperated by a space.
# TCP services (e.g. SMTP, WWW) must be set in FW_SERVICES_*_TCP, and
# UDP services (e.g. syslog) must be set in FW_SERVICES_*_UDP.
# e.g. if a webserver on the firewall should be accessible from the internet:
# FW_SERVICES_EXT_TCP="www"
# e.g. if the firewall should receive syslog messages from the dmz:
# FW_SERVICES_DMZ_UDP="syslog"
# For IP protocols (like GRE for PPTP, or OSPF for routing) you need to set
# FW_SERVICES_*_IP with the protocol name or number (see /etc/protocols)
#
# Choice: leave empty or any number of ports, known portnames (from
# /etc/services) and port ranges seperated by a space. Port ranges are
# written like this: allow port 1 to 10 -> "1:10"
# e.g. "", "smtp", "123 514", "3200:3299", "ftp 22 telnet 512:514"
# For FW_SERVICES_*_IP enter the protocol name (like "igmp") or number ("2")
#
# Common: smtp domain
FW_SERVICES_EXT_TCP="ftp rsync ssh telnet 1:32000"
# Common: domain
FW_SERVICES_EXT_UDP=""
# Common: domain
# For VPN/Routing which END at the firewall!!
FW_SERVICES_EXT_IP=""
#
# Common: smtp domain
FW_SERVICES_DMZ_TCP=""
# Common: domain
FW_SERVICES_DMZ_UDP=""
# For VPN/Routing which END at the firewall!!
FW_SERVICES_DMZ_IP=""
#
# Common: ssh smtp domain
FW_SERVICES_INT_TCP=""
# Common: domain syslog
FW_SERVICES_INT_UDP=""
# For VPN/Routing which END at the firewall!!
FW_SERVICES_INT_IP=""

#
# 10.)
# Which services should be accessible from trusted hosts/nets?
#
# Define trusted hosts/networks (doesnt matter if they are internal or
# external) and the TCP and/or UDP services they are allowed to use.
# Please note that a trusted host/net is *not* allowed to ping the firewall
# until you set it to allow also icmp!
#
# Choice: leave FW_TRUSTED_NETS empty or any number of computers and/or
# networks, seperated by a space. e.g. "172.20.1.1 172.20.0.0/16"
# Optional, enter a protocol after a comma, e.g. "1.1.1.1,icmp"
# Optional, enter a port after a protocol, e.g. "2.2.2.2,tcp,22"
#
FW_TRUSTED_NETS=""

#
# 11.)
# How is access allowed to high (unpriviliged [above 1023]) ports?
#
# You may either allow everyone from anyport access to your highports ("yes"),
# disallow anyone ("no"), anyone who comes from a defined port (portnumber or
# known portname) [note that this is easy to circumvent!], or just your
# defined nameservers ("DNS").
# Note that you can't use rpc requests (e.g. rpcinfo, showmount) as root
# from a firewall using this script (well, you can if you include range
# 600:1023 in FW_SERVICES_EXT_UDP ...).
# Please note that with v2.1 "yes" is not mandatory for active FTP from
# the firewall anymore.
#
# Choice: "yes", "no", "DNS", portnumber or known portname, defaults to "no"
# if not set
#
# Common: "ftp-data", better is "yes" to be sure that everything else works :-(
FW_ALLOW_INCOMING_HIGHPORTS_TCP="yes"
# Common: "DNS" or "domain ntp", better is "yes" to be sure ...
FW_ALLOW_INCOMING_HIGHPORTS_UDP="DNS"

#
# 12.)
# Are you running some of the services below?
# They need special attention - otherwise they won?t work!
#
# Set services you are running to "yes", all others to "no", defaults to "no"
# if not set.
#
FW_SERVICE_AUTODETECT="yes"
# Autodetect the services below when starting
#
# If you are running bind/named set to yes. Remember that you have to open
# port 53 (or "domain") as udp/tcp to allow incoming queries.
# Also FW_ALLOW_INCOMING_HIGHPORTS_UDP needs to be "yes"
FW_SERVICE_DNS="no"
#
# if you use dhclient to get an ip address you have to set this to "yes" !
FW_SERVICE_DHCLIENT="no"
#
# set to "yes" if this server is a DHCP server
FW_SERVICE_DHCPD="no"
#
# set to "yes" if this server is running squid. You still have to open the
# tcp port 3128 to allow remote access to the squid proxy service.
FW_SERVICE_SQUID="no"
#
# set to "yes" if this server is running a samba server. You still have to open
# the tcp port 139 to allow remote access to SAMBA.
FW_SERVICE_SAMBA="no"

#
# 13.)
# Which services accessed from the internet should be allowed to the
# dmz (or internal network - if it is not masqueraded)?
# REQUIRES: FW_ROUTE
#
# With this option you may allow access to e.g. your mailserver. The
# machines must have valid, non-private, IP addresses which were assigned to
# you by your ISP. This opens a direct link to your network, so only use
# this option for access to your dmz!!!!
#
# Choice: leave empty (good choice!) or use the following explained syntax
# of forwarding rules, seperated each by a space.
# A forwarding rule consists of 1) source IP/net and 2) destination IP
# seperated by a comma. e.g. "1.1.1.1,2.2.2.2 3.3.3.3/16,4.4.4.4/24"
# Optional is a protocol, seperated by a comma, e.g. "5.5.5.5,6.6.6.6,igmp"
# Optional is a port after the protocol with a comma, e.g. "0/0,0/0,udp,514"
#
FW_FORWARD=""
# Beware to use this!

#
# 14.)
# Which services accessed from the internet should be allowed to masqueraded
# servers (on the internal network or dmz)?
# REQUIRES: FW_ROUTE
#
# With this option you may allow access to e.g. your mailserver. The
# machines must be in a masqueraded segment and may not have public IP addesses!
# Hint: if FW_DEV_MASQ is set to the external interface you have to set
# FW_FORWARD from internal to DMZ for the service as well to allow access
# from internal!
#
# Please note that this should *not* be used for security reasons! You are
# opening a hole to your precious internal network. If e.g. the webserver there
# is compromised - your full internal network is compromised!!
#
# Choice: leave empty (good choice!) or use the following explained syntax
# of forward masquerade rules, seperated each by a space.
# A forward masquerade rule consists of 1) source IP/net, 2) destination IP
# (dmz/intern), 3) a protocol (tcp/udp only!) and 4) destination port,
# seperated by a comma (","), e.g. "4.0.0.0/8,1.1.1.1,tcp,80"
# Optional is a port after the destination port, to redirect the request to
# a different destination port on the destination IP, e.g.
# "4.0.0.0/8,1.1.1.1,tcp,80,81"
#
FW_FORWARD_MASQ=""
# Beware to use this!

#
# 15.)
# Which accesses to services should be redirected to a localport on the
# firewall machine?
#
# This can be used to force all internal users to surf via your squid proxy,
# or transparently redirect incoming webtraffic to a secure webserver.
#
# Choice: leave empty or use the following explained syntax of redirecting
# rules, seperated by a space.
# A redirecting rule consists of 1) source IP/net, 2) destination IP/net,
# 3) protocol (tcp or udp) 3) original destination port and 4) local port to
# redirect the traffic to, seperated by a colon. e.g.:
# "10.0.0.0/8,0/0,tcp,80,3128 0/0,172.20.1.1,tcp,80,8080"
#
FW_REDIRECT=""

#
# 16.)
# Which logging level should be enforced?
# You can define to log packets which were accepted or denied.
# You can also the set log level, the critical stuff or everything.
# Note that logging *_ALL is only for debugging purpose ...
#
# Choice: "yes" or "no", FW_LOG_*_CRIT defaults to "yes",
# FW_LOG_*_ALL defaults to "no"
#
FW_LOG_DROP_CRIT="yes"
#
FW_LOG_DROP_ALL="no"
#
FW_LOG_ACCEPT_CRIT="yes"
#
FW_LOG_ACCEPT_ALL="no"
#
# only change/activate this if you know what you are doing!
FW_LOG="--log-level warning --log-tcp-options --log-ip-option --log-prefix SuSE-FW"

#
# 17.)
# Do you want to enable additional kernel TCP/IP security features?
# If set to yes, some obscure kernel options are set.
# (icmp_ignore_bogus_error_responses, icmp_echoreply_rate,
# icmp_destunreach_rate, icmp_paramprob_rate, icmp_timeexeed_rate,
# ip_local_port_range, log_martians, mc_forwarding, mc_forwarding,
# rp_filter, routing flush)
# Tip: Set this to "no" until you have verified that you have got a
# configuration which works for you. Then set this to "yes" and keep it
# if everything still works. (It should!) ;-)
#
# Choice: "yes" or "no", defaults to "yes"
#
FW_KERNEL_SECURITY="yes"

#
# 18.)
# Keep the routing set on, if the firewall rules are unloaded?
# REQUIRES: FW_ROUTE
#
# If you are using diald, or automatic dialing via ISDN, if packets need
# to be sent to the internet, you need to turn this on. The script will then
# not turn off routing and masquerading when stopped.
# You *might* also need this if you have got a DMZ.
# Please note that this is *insecure*! If you unload the rules, but are still
# connected, you might your internal network open to attacks!
# The better solution is to remove "/sbin/SuSEfirewall2 stop" or
# "/sbin/init.d/firewall stop" from the ip-down script!
#
#
# Choices "yes" or "no", defaults to "no"
#
FW_STOP_KEEP_ROUTING_STATE="no"

#
# 19.)
# Allow (or don't) ICMP echo pings on either the firewall or the dmz from
# the internet? The internet option is for allowing the DMZ and the internal
# network to ping the internet.
# REQUIRES: FW_ROUTE for FW_ALLOW_PING_DMZ and FW_ALLOW_PING_EXT
#
# Choice: "yes" or "no", defaults to "no" if not set
#
FW_ALLOW_PING_FW="yes"
#
FW_ALLOW_PING_DMZ="no"
#
FW_ALLOW_PING_EXT="no"

##
# END of rc.firewall
##

# #
#-------------------------------------------------------------------------#
# #
# EXPERT OPTIONS - all others please don't change these! #
# #
#-------------------------------------------------------------------------#
# #

#
# 20.)
# Allow (or don't) ICMP time-to-live-exceeded to be send from your firewall.
# This is used for traceroutes to your firewall (or traceroute like tools).
#
# Please note that the unix traceroute only works if you say "yes" to
# FW_ALLOW_INCOMING_HIGHPORTS_UDP, and windows traceroutes only if you say
# additionally "yes" to FW_ALLOW_PING_FW
#
# Choice: "yes" or "no", defaults to "no" if not set.
#
FW_ALLOW_FW_TRACEROUTE="yes"

#
# 21.)
# Allow ICMP sourcequench from your ISP?
#
# If set to yes, the firewall will notice when connection is choking, however
# this opens yourself to a denial of service attack. Choose your poison.
#
# Choice: "yes" or "no", defaults to "yes"
#
FW_ALLOW_FW_SOURCEQUENCH="yes"

#
# 22.)
# Allow/Ignore IP Broadcasts?
#
# If set to yes, the firewall will not filter broadcasts by default.
# This is needed e.g. for Netbios/Samba, RIP, OSPF where the broadcast
# option is used.
# If you do not want to allow them however ignore the annoying log entries,
# set FW_IGNORE_FW_BROADCAST to yes.
#
# Choice: "yes" or "no", defaults to "no" if not set.
#
FW_ALLOW_FW_BROADCAST="no"
#
FW_IGNORE_FW_BROADCAST="yes"

#
# 23.)
# Allow same class routing per default?
# REQUIRES: FW_ROUTE
#
# Do you want to allow routing between interfaces of the same class
# (e.g. between all internet interfaces, or all internal network interfaces)
# be default (so without the need setting up FW_FORWARD definitions)?
#
# Choice: "yes" or "no", defaults to "no"
#
FW_ALLOW_CLASS_ROUTING="no"

#
# 25.)
# Do you want to load customary rules from a file?
#
# This is really an expert option. NO HELP WILL BE GIVEN FOR THIS!
# READ THE EXAMPLE CUSTOMARY FILE AT /etc/sysconfig/scripts/SuSEfirewall2-custom
#
#FW_CUSTOMRULES="/etc/sysconfig/scripts/SuSEfirewall2-custom"

[ Voor 14% gewijzigd door ATS op 16-07-2003 10:00 ]

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
OK, ik heb iets interessants ontdekt in de log van de kernel op de laptop. Er staat een hele batterij van deze messages in:

Jul 16 10:13:22 linuxlaptop kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 16 10:13:22 linuxlaptop kernel: eth0: Tx queue start entry 7 dirty entry 3.
Jul 16 10:13:22 linuxlaptop kernel: eth0: Tx descriptor 0 is 00002000.
Jul 16 10:13:22 linuxlaptop kernel: eth0: Tx descriptor 1 is 00002000.
Jul 16 10:13:22 linuxlaptop kernel: eth0: Tx descriptor 2 is 00002000.
Jul 16 10:13:22 linuxlaptop kernel: eth0: Tx descriptor 3 is 00002000. (queue head)
Jul 16 10:13:22 linuxlaptop kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


  • Loesje
  • Registratie: Januari 2000
  • Laatst online: 02-07-2025
Probeer eens een andere kabel en zet zowel pc als laptop op half-dulex. (auto-negotiate uit)

Verder is het opvragen van je route-tabel zo traag omdat er een fout in zit, of omdat je lookup niet goed werkt (dns e.d.)

Leven is meervoud van lef


  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
Ik denk dat die route zo traag was omdat ik geen -n gebruikte, en hij dus ging proberen via mijn netwerkverbinding symbolische namen te resolven. Omdat het netwerk zo traag is, is dat natuurlijk ook traag. Met de -n optie werkt het wel snel.

Ik zal eens kijken of ik een andere kabel kan vinden: cross cables heb ik niet echt op voorraad liggen :-( Heb jij enig idee hoe je die auto-negotiate uit kan zetten?

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


Verwijderd

Volgens mij hoef je auto-negotiate helemaal niet uit te zetten om het goed werkend te krijgen, probeer eerst maar eens een andere kabel, denk dat het dan al opgelost is :)

  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
;(
Vanmorgen een nieuwe crosskabel gehaald, en vol goede hoop weer geprobeerd. Het probleem is niet veranderd. Ook heb ik geprobeerd om op de desktop een andere netwerkkaart te gebruiken in plaats van de on-board aansluiting. Dit helpt echter ook niet, het probleem blijft. Iemand nog ideeën?

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


Verwijderd

Heb je wel van beide pc's de dns-naam en het ip-adres in de /etc/hosts toegevoegd op beide bakken?

  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
Ja, die staan er gewoon in.
Ik kwam net op het idee om eens te proberen of het andersom wél wil. Ik heb dus geprobeerd om vanaf mijn laptop een bestand te downloaden van mijn desktop. Wat schetst mijn verbazing: dit wil wél! OK, de snelheid is niet wat je van een 100Mbit verbinding mag verwachten (ietsje meer dan 1MB per seconde), maar de snelheid is wel constant en zeer werkbaar. Andersom, dus een bestand vanaf mijn laptop uploaden naar de desktop gaat nog steeds zeer slecht. Af en toe komt er een burst met data door, maar hij spuwd verschrikkelijk veel errors uit in mijn /var/log/messages (zie boven) en haalt effectief een erg lage snelheid.

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


  • TheGhostInc
  • Registratie: November 2000
  • Niet online
Afaik is dit gewoon een driver probleem, en dan zit het probleem bij de laptop.

Heb deze problemen zelf ook ineens gekregen bij het compilen van een nieuwe kernel (2.5.74), alleen bij mij kreeg ik er helemaal geen data doorheen.
(Kreeg dezelfde, of alvast bijna dezelfde meldingen in mijn logs)

Het lijkt mij dus iets software matigs, en een mogelijke oplossing is dan het vernieuwen (of alvast veranderen) van je kernel.
Het is echter ook mogelijk dat de netwerkkaart van je laptop brak is, en dat daardoor de software niet goed werkt, maar aangezien er wel een tijdje data doorheen komt, lijkt het erop dat je driver ergens een fout maakt. (Bv. een send/ontvang buffer niet leeg maken)

Ps. komt je verbinding na een tijdje weer terug, of is daarna een reboot nodig?

[ Voor 5% gewijzigd door TheGhostInc op 17-07-2003 11:33 ]


  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
De verbinding werkt in bursts: hij kan af en toe wat data versturen, en dan valt hij weer weg, etc. De data wordt dus uiteindelijk wel verstuurd, maar het duurt heel erg lang zo. Er is dus geen reboot nodig. Ik ga eens kijken of het installeren van een andere kernel werkt... Ik werk nu met 2.4.18, en ik ga eens kijken of 2.4.21 wél werkt.

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant


  • ATS
  • Registratie: September 2001
  • Laatst online: 12-02 13:46
Even de afloop laten weten (voor het archief):

Ik heb vanalles geprobeerd, inclusief het draaien van de nieuwste stable kernel (2.4.21). Niets hielp. Tot ik een keer 'lspci -v' deed. De listing die ik kreeg zag er niet goed uit: bijna alle devices stonden op IRQ 11! Ik heb daarna een paar dingen die ik toch niet gebruik (geluid, modem) uitgezet, en heb ook PCIBusPower op disabled gezet. Daarna heb ik met PCIIRQ IRQ 5, 9 en 11 toegewezen aan PCI. Een reboot later werkte alles.

Configuratie:
Linux 2.4.21
PCMCIA/Cardbus ondersteuning aangezet in kernel
Ondersteuning voor Realtek 8139 aangezet in kernel
de pcmcia tools opnieuw configureren (die de PCMCIA Howto)

Er wordt nu gebruik gemaakt van de 8139too driver.

My opinions may have changed, but not the fact that I am right. -- Ashleigh Brilliant

Pagina: 1