Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

how to change eth0 from 100Mb to 1Gb.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
115552
Tux's lil' helper
Tux's lil' helper
Posts: 108
Joined: Tue Aug 09, 2005 11:35 am

how to change eth0 from 100Mb to 1Gb.

  • Quote

Post by 115552 » Wed May 16, 2007 7:54 am

Hi all,

If i'm SURE my NIC is 1Gb, and the drivers are working, and ethtool eth0 shows Supported link modes as 10, 100, 1000, BUT it's only advertising 10 and 100, and is currently on 100Mb/sec, how do you tell it to go to 1000Mb ?

Code: Select all

lspci | grep Ethernet
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 15)
The driver it's using in the kernel after recommendations from #gentoo is the SysKonnect Yukon 2.

Code: Select all

 Linux Kernel v2.6.21-ck1-r1 Configuration
 ───────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────── Ethernet (1000 Mbit) ──────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.           │
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes,  │
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </>  │
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < > module │
  │ ┌────^(-)──────────────────────────────────────────────────────────────┐ │
  │ │    < > Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)   │ │
  │ │    < > Realtek 8169 gigabit ethernet support                         │ │
  │ │    < > SiS190/SiS191 gigabit ethernet support                        │ │
  │ │    < > New SysKonnect GigaEthernet support                           │ │
  │ │    <*> SysKonnect Yukon2 support (EXPERIMENTAL)                      │ │
  │ │    < > Marvell Yukon Chipset / SysKonnect SK-98xx Support (DEPRECATED│ │
  │ │    < > Broadcom Tigon3 support                                       │ │
  │ │    < > Broadcom NetXtremeII support                                  │ │
  │ └────v(+)──────────────────────────────────────────────────────────────┘ │
  ├──────────────────────────────────────────────────────────────────────────┤
  │                     <Select>    < Exit >    < Help >                     │
  └──────────────────────────────────────────────────────────────────────────┘
Notice the ethtool output,

Code: Select all

localhost linux # ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pg
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: yes
I am thinking of using ethtool -s 1000 but that doesnt work, and i'm not sure if it's a permanent solution..

What do you think?

This is on a Sony VGN-SZ220
Thanks.
Top
defenderBG
l33t
l33t
User avatar
Posts: 817
Joined: Tue Jun 20, 2006 4:43 pm

  • Quote

Post by defenderBG » Wed May 16, 2007 10:10 am

to have it working on 1000 mbit the other end of the networ should run at the same speed,the cable should be able to sustain 1000 mBit as well.
Normaly, when u start your connection, the 2 endpoints try to find the optimal speed on which they can work, they start from the maximum and try decreasing the step until they are able to comunicate. so if the other computer/switch/whatever does not support 1000 u will be unable to switch to it.
Top
115552
Tux's lil' helper
Tux's lil' helper
Posts: 108
Joined: Tue Aug 09, 2005 11:35 am

  • Quote

Post by 115552 » Wed May 16, 2007 10:16 am

defenderBG wrote:to have it working on 1000 mbit the other end of the networ should run at the same speed,the cable should be able to sustain 1000 mBit as well.
Normaly, when u start your connection, the 2 endpoints try to find the optimal speed on which they can work, they start from the maximum and try decreasing the step until they are able to comunicate. so if the other computer/switch/whatever does not support 1000 u will be unable to switch to it.

I forgot to mention, The other end is a 1Gb switch. The cable supports 1Gb. It's the same cable I used on the desktop before it got replaced. The desktop connected at 1Gb fine. But this laptop wont.. It's the same thing at home with my own 1Gb switch.

Ta
Top
Cyker
Veteran
Veteran
Posts: 1746
Joined: Thu Jun 15, 2006 7:43 pm

  • Quote

Post by Cyker » Wed May 16, 2007 2:02 pm

Longshot, but: Are you using a Cross-over cable to connect to the switch?

Cross-over cables prevent gigabit from working, limiting them to 100Mb - You HAVE to use a straight patch cable.


Also, are you SURE your card is a gigabit card?
I can't help noticing that it says
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 15)
whereas my one says
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
Fast Ethernet universally (almost?) means 100Mb tops...
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic