* Stuart Henderson <s...@spacehopper.org> le [20-06-2014 00:19:17 +0000]: > On 2014-06-18, Thuban <thu...@yeuxdelibad.net> wrote: > > * Peter N. M. Hansteen <pe...@bsdly.net> le [18-06-2014 18:37:52 +0200]: > >> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote: > >> > > > > >> > > > jme0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > >> > > > lladdr 00:90:f5:bc:7b:5E > >> > > > groups egress > >> > > > media: Ethernet autoselect (none) > >> > > > status: no carrier > >> > > > inet6 fe80::290:f5ff:febc:7b56%jme0 prefixlen 64 scopeid 0x1 > >> > > > inet 192.168.1.70 netmask 0xffffff0 broadcast 192.168.1.255 > >> > > > > >> > >> > Haha. > >> > Cable is plugged. > >> > > >> > I tried today to modify media to 10baseT, but the router's LED is still > >> > off and I can't connect. > >> > >> Try a different cable. > >> > >> If you get status: no carrier with a cable plugged in, the most likely > >> culprit is > >> the cable. > > > > I am currently using this cable on my debian and connexion works > >> > >> Are you saying here that the exact same hardware works with linux, but gets > >> a 'no carrier' with OpenBSD and FreeBSD? Is it possible to try booting with > >> Linux again (a live cd will do) and check link status? > >> > > Exactly. On linux, I can use the ethernet correctly. The linux's > > ifconfig gives this : > > > > eth0 Link encap:Ethernet HWaddr 00:90:f5:bc:7b:56 > > inet adr:192.168.1.68 Bcast:192.168.1.255 Masque:255.255.255.0 > > adr inet6: 2001:41d0:fe34:de00:290:f5ff:febc:7b56/64 > > Scope:Global > > adr inet6: fe80::290:f5ff:febc:7b56/64 Scope:Lien > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:266 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:263 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 lg file transmission:1000 > > RX bytes:61935 (60.4 KiB) TX bytes:31036 (30.3 KiB) > > Interruption:44 > > > > Regards > > Given what vigdis said, I wonder:- > > - what speed is the switch port you're using > > - what speed does linux negotiate > > - what speed is your NIC supposed to support? 10/100 or also gigabit? >
I'm not sure how to give you the correct answers to theses questions. The speed is 100Mb/s. Following, the output of ethtool on the linux box : Settings for eth0: Supported ports: [ TP MII ] 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 Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: pg Wake-on: g Current message level: 0x000020c6 (8390) probe link rx_err tx_err hw Link detected: yes Do not hesitate to give me some advice to find more interesting informations. Regards, -- Thuban PubKey : http://yeuxdelibad.net/Divers/thuban.pub