History log of /haiku/src/servers/net/AutoconfigLooper.h
Revision Date Author Comments
# a9abcc37 01-Apr-2013 Michael Lotz <mmlr@mlotz.ch>

Rework initial auto joining and add big TODOs.

* If we have a configured network, then we always try to connect to it
as soon as the interface has been brought up.
* If we don't have a configured network and are auto configuring, we
use the AutoconfigLooper to also do initial auto joins.
* Before issuing auto joins we need to wait for scan results to come
in, so we watch for corresponding messages.

For now auto joining is a one shot attempt as the infrastructure to
properly tell reasons for scans apart is not yet there.


# 9cac658a 11-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Keep more accurate track of media status changes.

AutoConfigLooper now remembers the last media state it received from the device,
and compares both to see if the active state actually changed. Should help with
quality changes where the link didn't actually drop. May also help on ethernet
if the chipset sends spurious link status change notifications.


# dd7f08b5 07-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

NetServer: Add IPv6 link local address to each nic on boot

* Remove old ioctl code, cleanup AutoLooper.
* Move link local code into NetServer
AutoLooper should only be used for things that
count as "auto-configuration" such as DHCP, router
advertisements, and DHCPv6
* Properly form IPv6 link local address from MAC address
* I think some IPv6 routes are needed still for proper
local link connectivity.
* Duplicate Address Detection is still a TODO
* Style cleanup


# 8a9d5e34 28-Apr-2011 Rene Gollent <anevilyak@gmail.com>

Patch by Atis Elsts from GSoC 2010 that was overlooked.
- Adds IPv6 fragmentation support and some partial work to enable configuration of IPv6 in net_server. Not currently in the build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 293ed4fe 27-Dec-2008 Axel Dörfler <axeld@pinc-software.de>

* Pulled an AutoconfigClient class out of DHCPClient - all clients are supposed
to inherit from that one (there is still just a single client, though, this
just simplifies having a generic mechanism to register and use auto-config
clients).
* AutoconfigLooper now listens to link changes, and will reconfigure the
interface if a new link is there - this even seems to work in emulation, will
test on real hardware next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28827 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb81684f 06-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

The beginnings of automatic configuration of network devices using DHCP; this is
currently only triggered when there is no configuration file - it can't be configured
this way yet.
All DHCP currently does is to send a UDP broadcast DHCP discover message. More to come.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19437 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a9abcc37cdc361a6cd3b35e8791e9603d793c424 01-Apr-2013 Michael Lotz <mmlr@mlotz.ch>

Rework initial auto joining and add big TODOs.

* If we have a configured network, then we always try to connect to it
as soon as the interface has been brought up.
* If we don't have a configured network and are auto configuring, we
use the AutoconfigLooper to also do initial auto joins.
* Before issuing auto joins we need to wait for scan results to come
in, so we watch for corresponding messages.

For now auto joining is a one shot attempt as the infrastructure to
properly tell reasons for scans apart is not yet there.


# 9cac658a9fb6d9f6304abb5c99941ec336510159 11-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Keep more accurate track of media status changes.

AutoConfigLooper now remembers the last media state it received from the device,
and compares both to see if the active state actually changed. Should help with
quality changes where the link didn't actually drop. May also help on ethernet
if the chipset sends spurious link status change notifications.


# dd7f08b519348fc0fb96ec52f841cd09e40da8b8 07-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

NetServer: Add IPv6 link local address to each nic on boot

* Remove old ioctl code, cleanup AutoLooper.
* Move link local code into NetServer
AutoLooper should only be used for things that
count as "auto-configuration" such as DHCP, router
advertisements, and DHCPv6
* Properly form IPv6 link local address from MAC address
* I think some IPv6 routes are needed still for proper
local link connectivity.
* Duplicate Address Detection is still a TODO
* Style cleanup


# 8a9d5e34febe5626f9037b6eba9eb3acd4ca0f49 28-Apr-2011 Rene Gollent <anevilyak@gmail.com>

Patch by Atis Elsts from GSoC 2010 that was overlooked.
- Adds IPv6 fragmentation support and some partial work to enable configuration of IPv6 in net_server. Not currently in the build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 293ed4fe5b1e467f2008fa2c0df5c339c989c00d 27-Dec-2008 Axel Dörfler <axeld@pinc-software.de>

* Pulled an AutoconfigClient class out of DHCPClient - all clients are supposed
to inherit from that one (there is still just a single client, though, this
just simplifies having a generic mechanism to register and use auto-config
clients).
* AutoconfigLooper now listens to link changes, and will reconfigure the
interface if a new link is there - this even seems to work in emulation, will
test on real hardware next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28827 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb81684f819c432b2cdc30db597e08ccd88b5a25 06-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

The beginnings of automatic configuration of network devices using DHCP; this is
currently only triggered when there is no configuration file - it can't be configured
this way yet.
All DHCP currently does is to send a UDP broadcast DHCP discover message. More to come.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19437 a95241bf-73f2-0310-859d-f6bbb57e9c96