koldfront

Seamlessly going from wireless to wired network and back #net

๐Ÿ•š๏ธŽ - 2019-05-16

One thing that has annoyed me for a while is that when I dock my laptop I lose all the current connections - so I have to close down Gnus and start it again, the same goes for jabber.el.

So this evening I looked for a solution, and found all kinds of suggestions about bonding, bridging, NAT, ebtables, arp routing and things.

It all looked... complicated. The recipe I tried... did not work.

Then I saw someone who wrote "Just assign both interfaces the same static IP address."

So I did. And it works.

If I am on wifi and plug in the cable, 5-10s later, the cabled network kicks in, and because I've set up metric on the interfaces for priority [I guess], the cable takes over. When I unplug the cable, it takes around 25-30s before the wifi takes over, but connections in Gnus and jabber.el "survive" unscathed.

This is great - \o/

Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

ยน Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form:

+=