Re: recommended USB-c Ethernet adapter for laptop

2022-05-05 Thread Ludovit Koren
>>>>> Hans Petter Selasky  writes:

> On 5/5/22 15:08, Ludovit Koren wrote:
>> Hello,
>> I am using FreeBSD 14.0-CURRENT #0 main-n253876-1e9ce60a6d7 on my
>> laptop
>> and to find a reliable USB-c Ethernet adapter. I have tried the 
following:
>> ure0 on uhub0
>> ure0:  
on usbus1
>> miibus0:  on ure0
>> rgephy0:  PHY 0 on miibus0
>> rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseT-FDX, 1000baseT-FDX-master, auto
>> ue0:  on ure0
>> ue0: Ethernet address: 00:e0:4c:68:04:20
>> and
>> ugen1.4:  at usbus1
>> axge0 on uhub3
>> axge0:  on usbus1
>> miibus0:  on axge0
>> ukphy0:  PHY 3 on miibus0
>> ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
>> ue0:  on axge0
>> ue0: Ethernet address: 50:a0:30:02:b7:f6
>> both of them stop working when there is significant traffic on the
>> interface, i.e. scp ISO image to the different computer.
>> Please, could you advice good, reliable USB-c Ethernet interface.
>> Thank you very much.
>> Regards,
>> lk
>> 

> Hi,

> I think the older axge's are OK.

>> axge0 on uhub0
>> axge0:  on usbus0
>> miibus0:  on axge0
>> rgephy0:  PHY 3 on 
miibus0
>> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 
1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
>> ue0:  on axge0
>> ue0: Ethernet address: 3c:2e:be:a0:b5:db

> BTW: We should debug the issue with the axge's .

no it is not after few seconds it stops working

lk



recommended USB-c Ethernet adapter for laptop

2022-05-05 Thread Ludovit Koren


Hello,

I am using FreeBSD 14.0-CURRENT #0 main-n253876-1e9ce60a6d7 on my laptop
and to find a reliable USB-c Ethernet adapter. I have tried the following:

ure0 on uhub0
ure0:  on usbus1
miibus0:  on ure0
rgephy0:  PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 
1000baseT-FDX-master, auto
ue0:  on ure0
ue0: Ethernet address: 00:e0:4c:68:04:20

and

ugen1.4:  at usbus1
axge0 on uhub3
axge0:  on usbus1
miibus0:  on axge0
ukphy0:  PHY 3 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 
1000baseT-FDX-master, auto, auto-flow
ue0:  on axge0
ue0: Ethernet address: 50:a0:30:02:b7:f6

both of them stop working when there is significant traffic on the
interface, i.e. scp ISO image to the different computer.

Please, could you advice good, reliable USB-c Ethernet interface.

Thank you very much.

Regards,

lk



Re: LAN ure interface problem

2021-10-23 Thread Ludovit Koren
>>>>> Hans Petter Selasky  writes:

> On 10/22/21 16:00, Ludovit Koren wrote:
>> Hi,
>> I have installed FreeBSD 14.0-CURRENT #1
>> main-n250134-225639e7db6-dirty
>> on my notebook HP EliteBook 830 G7 and I am using RealTek usb LAN
>> interface:
>> ure0 on uhub0
>> ure0:  
on usbus1
>> miibus0:  on ure0
>> rgephy0:  PHY 0 on miibus0
>> rgephy0: OUI 0x00e04c, model 0x, rev. 0
>> rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseT-FDX, 1000baseT-FDX-master, auto
>> ue0:  on ure0
>> ue0: bpf attached
>> ue0: Ethernet address: 00:e0:4c:68:04:20
>> When there is bigger load on the interface, for example rsync of the
>> big
>> directory, the carrier is lost. The only solution I found is to remove
>> and insert the usb interface; ifconfig ue0 down, ifconfig ue0 up did not
>> help. The output of the ifconfig:
>> ue0: flags=8843 metric 0 mtu
>> 1500
>> 
options=68009b
>> ether 00:e0:4c:68:04:20
>> inet 192.168.1.18 netmask 0xff00 broadcast 192.168.1.255
>> media: Ethernet autoselect (100baseTX )
>> status: active
>> nd6 options=29
>> I do not know and did not find anything relevant, if the driver is
>> buggy
>> or the hardware has some problems. Please, advice.
>> Regards,
>> 

> Not the same device, but similar issue:

> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258057

I don't know if I understand it right.The issue is with dropping
power... Mine is holding power right:

usbconfig 
ugen1.1: <0x8086 XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)
ugen0.2:  at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.3:  at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON (100mA)
ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)
ugen0.5:  at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)
ugen1.2:  at usbus1, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=ON (72mA)

I am attaching the usbdump -d 1.2 when it stops working.

lk



LAN ure interface problem

2021-10-22 Thread Ludovit Koren


Hi,

I have installed FreeBSD 14.0-CURRENT #1 main-n250134-225639e7db6-dirty
on my notebook HP EliteBook 830 G7 and I am using RealTek usb LAN
interface:

ure0 on uhub0
ure0:  on usbus1
miibus0:  on ure0
rgephy0:  PHY 0 on miibus0
rgephy0: OUI 0x00e04c, model 0x, rev. 0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 
1000baseT-FDX-master, auto
ue0:  on ure0
ue0: bpf attached
ue0: Ethernet address: 00:e0:4c:68:04:20


When there is bigger load on the interface, for example rsync of the big
directory, the carrier is lost. The only solution I found is to remove
and insert the usb interface; ifconfig ue0 down, ifconfig ue0 up did not
help. The output of the ifconfig:

ue0: flags=8843 metric 0 mtu 1500

options=68009b
ether 00:e0:4c:68:04:20
inet 192.168.1.18 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX )
status: active
nd6 options=29

I do not know and did not find anything relevant, if the driver is buggy
or the hardware has some problems. Please, advice.

Regards,

lk



bce bridge problem

2015-12-04 Thread Ludovit Koren

Hi,

I am trying to configure bhyve with FreeBSD Guest and Centos Guest. I am
using FreeBSD 10.2 RELEASE or 11.0 CURRENT (November 19) as a host. The
host is setup with bce as bridging interface. The network in the host is
not working. (I did a similar setup with FreeBSD 10-STABLE and Centos
using bge and the host network is running).

I found a problem regarding bce and bridging:
https://lists.freebsd.org/pipermail/freebsd-net/2010-August/026203.html

but it is few years old. Have anybody problem with bce driver and
bridging? Any solution or workarounds?

Thank you very much in advance for your advice.

Regards,

lk
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Cluster solution

2006-05-17 Thread Ludovit Koren


Hi,

I need help in designing of cluster solution based on FreeBSD. I tried
carp for switching IP addresses, it seems to work ok. The solution is
suitable for DNS, MTA, static web pages, web proxy and reverse proxy.

I didn't find anything quite suitable for dynamic web pages with PHP
and MySQL backend. I found just master and slave replication and
clustering in MySQL. There could be problem if master fails with
automatic promotion of slave to master and with the resynchronization
of database after recovery of master database.

Has anybody any experience with described setup. Howtos, pointers,
links about configuration and software solutions are very appreciated.

Thanks in advance.

Regards,

lk
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Routes for interface

2006-04-24 Thread Ludovit Koren


Hi,

is there any possibility to set the routing statically on a multi-homed
host so, that the packet is sent back via the same interface, as it has
came from? Something like more default routes (it is not good name for
it, I hope you can understand what I mean), depending on particular
interface.


Thanks.

Regards,
lk
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: static routes

2006-03-21 Thread Ludovit Koren

 On Tue, 21 Mar 2006 06:12:51 +0100
 [EMAIL PROTECTED](=?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?=)  said:
 
 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --enig31C5AF3351A4904FFAEF208E
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: quoted-printable
 
 Ludovit Koren wrote:
  Hi,
 =20
  I realized on several different versions of FreeBSD including
  5.4-STABLE, when using static routes to specific subnets and the WAN
  link goes down for unpredictable reasons, the server gets ICMP
  redirect message and rearranges routes to use default router. Then all
  the traffic is routed to the default router even the WAN link is again
  up. Other unix like system (HP-UX, Linux) do not act the way,
  i.e. they do not change static routes.
 =20
 
 Are the routes still there after link goes down and then up?
 

yes

netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default195.28.109.1   UGS 0  760   bge0
127.0.0.1  127.0.0.1  UH  011589lo0
192.168.100195.28.109.24  UGS 08   bge0
192.168.100.1  195.28.109.1   UGHD3   02   bge0   3598
195.28.109 link#1 UC  00   bge0
195.28.109.1   00:0b:ac:29:1e:ca  UHLW30   bge0324
195.28.109.24  00:0f:34:04:a2:f0  UHLW20   bge0   1162


for each usage the expire counter starts again from 3600. 

I must admit, after analyzing the problem again, that the problem
arises only if the net (routing devices) are not configured
consistently, i.e. not all of them can or send ICMP redirect. The
problem was on the net with Cisco router and PIX. It seems, according
to the Cisco declaration, that PIX cannot send ICMP messages through
the same interface and cannot route back via the same interface.

Now, I have no 2 routers or 2 PIX-es at the disposal that's why I
cannot test all possible combinations.

Thanks.

Regards,

lk
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


static routes

2006-03-20 Thread Ludovit Koren

Hi,

I realized on several different versions of FreeBSD including
5.4-STABLE, when using static routes to specific subnets and the WAN
link goes down for unpredictable reasons, the server gets ICMP
redirect message and rearranges routes to use default router. Then all
the traffic is routed to the default router even the WAN link is again
up. Other unix like system (HP-UX, Linux) do not act the way,
i.e. they do not change static routes.

Should not be ignored the ICMP redirect messages concerning static
routes? 

Thank you very much in advance.

Regards,

lk
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: static routes

2006-03-20 Thread Ludovit Koren

 On Mon, 20 Mar 2006 04:16:07 -0800
 [EMAIL PROTECTED](Giorgos Keramidas)  said:
 
 On 2006-03-20 12:51, Ludovit Koren [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I realized on several different versions of FreeBSD including
  5.4-STABLE, when using static routes to specific subnets and the WAN
  link goes down for unpredictable reasons, the server gets ICMP
  redirect message and rearranges routes to use default router. Then all
  the traffic is routed to the default router even the WAN link is again
  up. Other unix like system (HP-UX, Linux) do not act the way,
  i.e. they do not change static routes.
 
  Should not be ignored the ICMP redirect messages concerning static
  routes?
 
 That depends on what you have configured the system to do.  You can set
 the net.inet.icmp.drop_redirect sysctl to 1 to drop them.
 


Maybe my question was misleading. The static route should be static,
i.e. it should never change that's why the name is static, I
feel. Generally, I think, the ICMP redirect should be enabled in the
stack. 

I didn't read RFC about ICMP and about routing and I do not really
know if the FreeBSD implementation is correct one. I think your
proposal is a hack. 

Another question seems to be: Should be the default router configured
so that it knows about all static routes and routers in the subnet and
therefore it can send ICMP redirects to 'static route' routers as
well?

Regards,

lk
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]