Re: Ethernet configuration problem

2014-06-20 Thread noah pugsley
On Fri, Jun 20, 2014 at 4:38 AM, Thuban  wrote:
> * Gustav Fransson Nyvell  le [20-06-2014 11:32:22 +0200]:
>> On 06/20/14 07:45, Thuban wrote:
>> >* Stuart Henderson  le [20-06-2014 00:19:17 +]:
>> >>On 2014-06-18, Thuban  wrote:
>> >>>* Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:
>> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
>> >>> jme0: flags=8843 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 0xff0 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: 0x20c6 (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,
>> >
>> Hi,
>>
>> What speed is your switch?
>>
>> Can you give us the switch make and model and the NIC make and model?
>>
>
> The switch is on the router given by my internet access provider. The
> router is a Thomson Gateway TG784n. Speed is at 100 Mb/s.
> I'm not sure to understand correctly
> what you need because of my poor english. :(
>
> About the NIC :
> Ethernet controller: JMicron Technology Corp. JMC250
> PCI Express Gigabit Ethernet Controller (rev 05)
> Subsystem: CLEVO/KAPOK Computer Device 4140
>
>
> Regards,
> --
> Thuban
> PubKey : http://yeuxdelibad.net/Divers/thuban.pub
>

What happens under OpenBSD if you plug it into a known working port on
a device other than the provided router?

-Noah



Re: Ethernet configuration problem

2014-06-20 Thread Thuban
* Gustav Fransson Nyvell  le [20-06-2014 11:32:22 +0200]:
> On 06/20/14 07:45, Thuban wrote:
> >* Stuart Henderson  le [20-06-2014 00:19:17 +]:
> >>On 2014-06-18, Thuban  wrote:
> >>>* Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:
> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
> >>> jme0: flags=8843 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 0xff0 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: 0x20c6 (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,
> >
> Hi,
> 
> What speed is your switch?
> 
> Can you give us the switch make and model and the NIC make and model?
> 

The switch is on the router given by my internet access provider. The
router is a Thomson Gateway TG784n. Speed is at 100 Mb/s.
I'm not sure to understand correctly
what you need because of my poor english. :(

About the NIC :  
Ethernet controller: JMicron Technology Corp. JMC250
PCI Express Gigabit Ethernet Controller (rev 05)
Subsystem: CLEVO/KAPOK Computer Device 4140


Regards,
-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Re: Ethernet configuration problem

2014-06-20 Thread Gustav Fransson Nyvell

On 06/20/14 07:45, Thuban wrote:

* Stuart Henderson  le [20-06-2014 00:19:17 +]:

On 2014-06-18, Thuban  wrote:

* Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:

On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:

 jme0: flags=8843 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 0xff0 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: 0x20c6 (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,


Hi,

What speed is your switch?

Can you give us the switch make and model and the NIC make and model?

//Gustav

--
This e-mail is confidential and may not be shared with anyone other than 
recipient(s) without written permission from sender.



Re: Ethernet configuration problem

2014-06-19 Thread Thuban
* Stuart Henderson  le [20-06-2014 00:19:17 +]:
> On 2014-06-18, Thuban  wrote:
> > * Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:
> >> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
> >> > > >
> >> > > > jme0: flags=8843 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 0xff0 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: 0x20c6 (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



Re: Ethernet configuration problem

2014-06-19 Thread Stuart Henderson
On 2014-06-18, Thuban  wrote:
> * Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:
>> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
>> > > >
>> > > > jme0: flags=8843 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 0xff0 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?



Re: Ethernet configuration problem

2014-06-19 Thread Thuban
* Mark Kettenis  le [19-06-2014 10:30:15 +0200]:
> > jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1
> 
> What does ifconfig jme0 media print?

ifconfig jme0 media gives : 

jme0: flags=8802 mtu 1500
lladdr 00:90:f5:bc:7b:56
priority: 0
media: Ethernet autoselect (none)
status: no carrier
supported media:
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT
media 1000baseT mediaopt full-duplex
media autoselect

-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Re: Ethernet configuration problem

2014-06-19 Thread Vigdis
On Thu, 19 Jun 2014 10:30:15 +0200 (CEST), Mark Kettenis
 wrote:

> > jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1
> 
> What does ifconfig jme0 media print?
> 

I've never reported before because I couldn't do enough test so I
thought it wouldn't be interesting but, as there's the thread:

I have a quite similar NIC than op:
$ dmesg |grep jme0 
jme0 at pci2 dev 0 function 5 "JMicron JMC250" rev 0x03: apic 4 int 17,
address 80:ee:73:xx:xx:xx 
jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev. 1

The only difference is the "rev" he has 0x05 whereas I have 0x03. 

I have two switchs, one 100Mbps and 1Gbps. If I plug it on the 100M it
works normally, if I try to plug it in the 1G, it simply won't detect
the cable (the led on the switch stays off) (I tried 4-wires and
8-wires eth cable, which I know they work on other NIC).

In my case:

media: Ethernet autoselect (100baseTX
full-duplex,rxpause,txpause)
status: active
supported media:
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT
media 1000baseT mediaopt full-duplex
media autoselect

Maybe brad@ has another patch for jme? :p

Cheers,
-- 
Vigdis



Re: Ethernet configuration problem

2014-06-19 Thread Mark Kettenis
> jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1

What does ifconfig jme0 media print?



Re: Ethernet configuration problem

2014-06-18 Thread Thuban
> What would be cool, now, if you have a working wireless interface (I
> guess you don't) or if you have another usb stick: send the dmesg of
> your machine as hinted here:
> 
>   http://www.openbsd.org/faq/faq4.html#SendDmesg

Done!

> 
> Note that you can also download the sets before performing the install
> in bsd.rd (then you can fetch them from your second USB stick).

That's what I did : I installed OpenBSD on one usb stick, and saved
dmesg output on another one to send this

> 
> > jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1
> >
> > The command ifconfig detect 2 interfaces : jme0 and vlan0 (wifi I
> > guess?)
> 
> No, vlan interfaces are... vlan interfaces.  There is no network
> interface named "wlan" on OpenBSD, those wireless interfaces are named
> like the drivers that support them.

Yeah... That was stupid to mistake "vlan" and "wlan" (I use linux for
too long).

Thank you for your answers

-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Re: Ethernet configuration problem

2014-06-18 Thread Jérémie Courrèges-Anglas
Salut Thuban, hi folks,

Thuban  writes:

> Hello,
> I am currently trying to install OpenBSD 5.5 on a usb stick, and didn't
> manage to connect to the internet (to download file sets).
>
> Neither dhcp works.
> I tried to configure the interface manually, but the ethernet interface
> seems to still be sleeping. I used this command :
>
> ifconfig jme0 inet 192.168.1.68 255.255.255.0 192.168.1.255
>
> If it can help, here is an extract from the `dmesg` command (written by
> hand, sorry)
>
> jme0 at pci3 dev 0 function 0 "JMicron JMC250" rev 0x05; msi, address ...

The OpenBSD project doesn't seem to have any record of this particular
revision of this card.  Thus I wouldn't expect it to work.

What would be cool, now, if you have a working wireless interface (I
guess you don't) or if you have another usb stick: send the dmesg of
your machine as hinted here:

  http://www.openbsd.org/faq/faq4.html#SendDmesg

Note that you can also download the sets before performing the install
in bsd.rd (then you can fetch them from your second USB stick).

> jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1
>
> The command ifconfig detect 2 interfaces : jme0 and vlan0 (wifi I
> guess?)

No, vlan interfaces are... vlan interfaces.  There is no network
interface named "wlan" on OpenBSD, those wireless interfaces are named
like the drivers that support them.

> Do you have any suggestion to make this ethernet working?

Send your hardware to a developer interested in adding support for
it? :)

> All my apologize for my bad english and beginner questions.
>
> Regards,
>
> --
> Thuban
> PubKey : http://yeuxdelibad.net/Divers/thuban.pub
> KeyID : 0x54CD2F2F
>
> [demime 1.01d removed an attachment of type application/pgp-signature which 
> had a name of signature.asc]

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: Ethernet configuration problem

2014-06-18 Thread Thuban
* Peter N. M. Hansteen  le [18-06-2014 18:37:52 +0200]:
> On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
> > > >
> > > > jme0: flags=8843 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 0xff0 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
-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Re: Ethernet configuration problem

2014-06-18 Thread Peter N. M. Hansteen
On Wed, Jun 18, 2014 at 06:21:24PM +0200, Thuban wrote:
> > >
> > > jme0: flags=8843 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 0xff0 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. 

> Or maybe there is any command that could make the ethernet connection
> visible to the router (it works fine with linux).
> 
> Extra info : this problem also happens with freebsd 10.

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? 

- Peter 

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Ethernet configuration problem

2014-06-18 Thread Thuban
* Gustav Fransson Nyvell  le [18-06-2014 11:54:53 +0200]:
> On 06/18/14 11:53, Thuban wrote:
> >* Alexey Kurinnij  le [18-06-2014 11:37:31 +0300]:
> >>Can you try to configure jme0 from installer in manual mode?
> >>And paste ifconfig output.
> >I tried to configure jme0 from installer in manual mode too, but I still
> >can't access to an internet connexion.
> >
> >Then, back to the shell, I copied ifconfig output :
> >
> > lo0 : flags=8049 mtu 33144
> > groups:lo
> > inet6::1 prefixlen 128
> > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
> > inet 127.0.0.1 netmask 0xff00
> >
> > jme0: flags=8843 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 0xff0 broadcast 192.168.1.255
> >
> >Any suggestion?
> >
> >Regards,
> >
> Hello,
> 
> Plug in the cable.
> 
> //Gustav
> 

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.

jme is included since 4.5. Is there any info I could give to improve
this hardware support?
Or maybe there is any command that could make the ethernet connection
visible to the router (it works fine with linux).

Extra info : this problem also happens with freebsd 10.

Regards,
-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Re: Ethernet configuration problem

2014-06-18 Thread Gustav Fransson Nyvell

On 06/18/14 11:53, Thuban wrote:

* Alexey Kurinnij  le [18-06-2014 11:37:31 +0300]:

Can you try to configure jme0 from installer in manual mode?
And paste ifconfig output.

I tried to configure jme0 from installer in manual mode too, but I still
can't access to an internet connexion.

Then, back to the shell, I copied ifconfig output :

 lo0 : flags=8049 mtu 33144
 groups:lo
 inet6::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
 inet 127.0.0.1 netmask 0xff00

 jme0: flags=8843 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 0xff0 broadcast 192.168.1.255

Any suggestion?

Regards,


Hello,

Plug in the cable.

//Gustav



Re: Ethernet configuration problem

2014-06-18 Thread Thuban
* Alexey Kurinnij  le [18-06-2014 11:37:31 +0300]:
> Can you try to configure jme0 from installer in manual mode?
> And paste ifconfig output.

I tried to configure jme0 from installer in manual mode too, but I still
can't access to an internet connexion.

Then, back to the shell, I copied ifconfig output : 

lo0 : flags=8049 mtu 33144
groups:lo
inet6::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00

jme0: flags=8843 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 0xff0 broadcast 192.168.1.255

Any suggestion?

Regards,

-- 
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub



Ethernet configuration problem

2014-06-17 Thread Thuban
Hello,
I am currently trying to install OpenBSD 5.5 on a usb stick, and didn't
manage to connect to the internet (to download file sets).

Neither dhcp works.
I tried to configure the interface manually, but the ethernet interface
seems to still be sleeping. I used this command :

ifconfig jme0 inet 192.168.1.68 255.255.255.0 192.168.1.255

If it can help, here is an extract from the `dmesg` command (written by
hand, sorry)

jme0 at pci3 dev 0 function 0 "JMicron JMC250" rev 0x05; msi,
address 00:90:f5:bc:7b:56
jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev.1

The command ifconfig detect 2 interfaces : jme0 and vlan0 (wifi I
guess?)

Do you have any suggestion to make this ethernet working?

All my apologize for my bad english and beginner questions.

Regards,

--
Thuban
PubKey : http://yeuxdelibad.net/Divers/thuban.pub
KeyID : 0x54CD2F2F

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]