bapoumba's blog

Ubuntu Hardy and networking on a laptop from several locations

This was a very nice surprise.
I bring my laptops back and forth from home to work. My home internet access is with a DSL router, using DHCP, no proxy, both wired and wireless. At work, my university use static IPs, an automatic proxy, their DNS, wired connexion etc.. Since I’ve been using Linux, I have worked with conf files (/etc/network/interface, /etc/resolv.conf, /apt/apt.conf etc.) twice a day, at work and back. That was much of a pain.. network-manager was not able to handle this easily, or not even at all.

I tried the other day, just to see how network-manager (Version: 0.6.6-0ubuntu5) was doing after a fresh Hardy install on a new computer (I’m using GNOME on this one). All my issues are solved!

I saved locations in the manual configuration for network-manager, and can switch easily between the two:

Just click the green arrow after choosing a location, and go!

The wireless is set to roaming, and I can pick up my box without any problems: