opensuse 12 10Mb internet instead 100Mb...

openSuse 12 uses my ethernet card as 10Mb, but it’s 100Mb card
on LAN i have on windows almost 80Mb but on openSUSE 12

http://www.speedtest.net/result/1614521068.png

hardware cable, socket are ok
driver: default sky2

is there something i should know about internet configuration?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do you mean that if you run the same speedtest from the same machine at
the same location the report says you can operate at a full 100 Mb/s, or
do you mean you know your card is 10/100 (capable of 100 Mb/s) card and
you’re concerned that your speedtest to the Internet is only going
around 10 Mb/s? Unless your pipe to the Internet is extraordinarily
fast you will seldom get 100 Mb/s in an Internet speedtest, though you
could easily get that speed transferring files on your local network.

Good luck.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO0WPfAAoJEF+XTK08PnB5ahAQAKLD8taQNzajLaGFH9qu5Rpo
ZFBnnXTmflUvHpVeRnQeNJWeW36jk5imm+Ojrt8GgaBFyFimoXmU9KWz8pIz0ndJ
i1+PvVGb5m4tP+7B1zvEKyJtHLGv9PqeFMxdx6nSYoZDfA8szl1wyc6v4QdKMe9u
eMNkliHev3sQpHQKzPaUzBmGN1aMAWh0PzosJHrh6gRyGs5LWgM+PsrK/iaClHFR
exp9nZR0VYRnhaT/2ID0uQYBu7YUEwwSpZW0Y4jV1qiez7p8DwgAwZUz9dDqeRcN
glXCK/iIjQJPavOQc+cobwybATTEK7RMz7I5lMHzhqvKynPbgBbcn7lKhVkvBV0U
RmmclVgPy6lmkxVHarg1AbCM9HeWsguH5Hcbb6RmRJOXS9riU0IkSNsMxLrO9Cfb
53Gj0SvhST5RN3rNYbERiLSaDoqlmTrGpnT7gmnDzGLUI2z0c4l/2Ru0WaEbRMCI
ljf6CEQtCWEI35uu4e8woKtqkO7ntYJnRkXLkIukyZ0/atm9FDy6zbIOyF1YD7Lw
/NJek8GO9AgyPGZAIlRhgk3TAwCxl86w6wyXETN7Wlc9gN+IGP1Kjs9z8b7SipAA
ChEVXkygiaQVjOwd4G2H1OLlXlRAT83V+Ra7IJQS9Hk7WLNRe5lJt0l5ZJiZNhnm
6ikJIuO0vb030muUwFLs
=sh+n
-----END PGP SIGNATURE-----

speedtest on windows shows 80Mb (i have removed winsows and installed openSUSE - I know that I can have several systems on one machine)
my ethernet card Marvell Yukon
system openSuse 12 x86_64 (also during Installation of system I had problem with instalator when I tried to configure interent settings manually, but (during format-install) when I did automatic configuration - system installed without errors)?

On Sat, 26 Nov 2011 21:56:02 +0000, overprophet wrote:

> openSuse 12 uses my ethernet card as 10Mb, but it’s 100Mb card on LAN i
> have on windows almost 80Mb but on openSUSE 12
>
> [image: http://www.speedtest.net/result/1614521068.png]
>
> hardware cable, socket are ok driver: default sky2
>
> is there something i should know about internet configuration?

When you have a 100 Mbps network card, you’re not going to get that speed
to the Internet unless you’ve got a really fast Internet connection.

It’s like a series of water pipes. If you’ve got an 8" diameter pipe and
fill it all the way, and then connect it to a 2" diameter pipe, you’re
not going to be able to push as much water through the 2" diameter pipe
as you can the 8" diameter pipe.

A speedtest is going to be limited to the smallest bandwidth between you
and the speedtest site.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Please tell us more about your network card and the driver it’s using.

/sbin/lspci -nnk

to check this.

Also output of this command after running the speed test would be helpful :

/sbin/ifconfig

Also check the output of this commands to see the duplex information :

# dmesg | grep -i duplex
# ethtool eth0

eth0 is just an example. Enter your interface name there (most likely eht0). Note that ethtool might not be installed by default. If it’s not just install it.

Best regards,
Greg

Hmm… My NIC also defaults to 10 Mb/s using the sky2 driver.

03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] [11ab:4381] (rev 11)

	Subsystem: ASUSTeK Computer Inc. Device [1043:8439]

	Kernel driver in use: sky2

dmesg | grep -i duplex’ gives:

   21.082586] sky2 0000:03:00.0: eth0: Link is up at 10 Mbps, full duplex, flow control both

I set it to 100 Mb/s like this:

ethtool -s eth0 advertise 0x008

Bug?

Generally autoconfiguration of duplex is bugged works 90% of the time :slight_smile: the problem is that it’s hard to figure out whever the problem is in the PC or the device the PC is connected to. The autoconfiguration mismatch problems are also often caused by faulty cables.

Best regards,
Greg

Thanks for clearing that up. Still, it never happened under 11.4 though. Now I just have to get after.local to work under systemd, but of a nuisance to type in that ethtool-command every time I boot. Get these errors:

insserv: warning: script 'after.local' missing LSB tags and overrides

insserv: script name after.local is not valid, skipped!

Guess I’ll have to dig into the man-pages, even if they have a sleep inducing effect on me :slight_smile:


/sbin/lspci -nnk

06:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] [11ab:4381] (rev 11)
	Subsystem: Samsung Electronics Co Ltd Device [144d:c06a]
	Kernel driver in use: sky2
---------------------------------------------------------------------------------------------------------------


/sbin/ifconfig

eth0      Link encap:Ethernet  HWaddr xxxxxxxxxxxxxxxx  
          inet addr:xxxxxxxxxxxxxx  Bcastxxxxxxxxxxxxxx  Mask:255.255.248.0
          inet6 addr:xxxxxxxxxxxxxxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:435637 errors:0 dropped:0 overruns:0 frame:0
          TX packets:384055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:641541017 (611.8 Mb)  TX bytes:23783123 (22.6 Mb)
          Interrupt:19 

---------------------------------------------------------------------------------------------------------------

# dmesg | grep -i duplex

   24.495361] sky2 0000:06:00.0: eth0: Link is up at 10 Mbps, full duplex, flow control both

---------------------------------------------------------------------------------------------------------------


# ethtool eth0

Settings for eth0:
	Supported ports:  TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 10Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x000000ff (255)
			       drv probe link timer ifdown ifup rx_err tx_err
Cannot get link status: Operation not permitted


So this is the same problem in your case. The autonegotiation of the speed of the link fails for some reason and sets it to 10 Mbps. Force it to 100Mbps with the command back_space suggested or check this link.
Linux LAN card: Find out full duplex / half speed or mode

Best regards,
Greg

ethtool -s eth0 advertise 0x008    \Code]

changed nothing (i've restarted)  and


/sbin/ethtool eth0
root’s password:
Settings for eth0:
Supported ports: TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
\Code]

what are these errors? 0x0000000ff ?

as for the link i don’t have this command and

cnf\Code] did't found anything....

mii-tool \Code]

ethtool -s eth0 advertise 0x008    \code]

now it's ok  THANKS!!

(I did this command once and nothing happend - i'll have to do this every time I boot?)

Here’s a tutorial on using the code tags :
http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

I’m afraid so. You could fill in a bug report on this in the bugzilla though or You could see if You can set the port on the switch (router) to a fixed speed instead of relying on auto negotiation.

Best regards,
Greg