Rndis support for OpenBSD
Based on an initial work of mk@, we (Fabien and I) start working on rndis over usb support for OpenBSD.
After some work we finally ping google with the htc hero
rndis0 at uhub0 port 7 configuration 1 interface 0 "HTC Android Phone" rev 2.00/1.00 addr 2
rndis0: address 4e:f0:87:ae:15:e8
# dhclient rndis0
DHCPREQUEST on rndis0 to 255.255.255.255 port 67
DHCPREQUEST on rndis0 to 255.255.255.255 port 67
DHCPDISCOVER on rndis0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.100.254 (16:5a:55:9f:9d:fb)
DHCPREQUEST on rndis0 to 255.255.255.255 port 67
DHCPACK from 192.168.100.254 (16:5a:55:9f:9d:fb)
bound to 192.168.100.100 — renewal in 432000 seconds.
# ping www.google.fr
PING www.l.google.com (209.85.229.99): 56 data bytes
64 bytes from 209.85.229.99: icmp_seq=0 ttl=52 time=37.823 ms
64 bytes from 209.85.229.99: icmp_seq=1 ttl=52 time=37.363 ms
64 bytes from 209.85.229.99: icmp_seq=2 ttl=52 time=37.712 ms
— www.l.google.com ping statistics —
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 37.363/37.632/37.823/0.297 ms
#
Edit : The diff was commited : http://marc.info/?l=openbsd-cvs&m=126748674430960&w=2, thanks mk !










