Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I often roam in different networks. Some of those need special settings for DNS or block mails to external mailservers and only accept internal smarthosts. I'm looking for some kind of program where I can make settings based on networks. Say the wireless network with ESSID Foo needs a nameserver on address 10.32.5.12 plus one on 8.8.8.8, wired network with ESSID Bar takes any nameserver which comes per DHCP and so on. What programs do you know and what are the benefits of those?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

the wireless network with ESSID Foo needs a nameserver on address 10.32.5.12 plus one on 8.8.8.8

You can already configure this in the Network Manager:

enter image description here

wired network with ESSID ...

Wired networks don't have ESSIDs


Your general solution to I need to do this random shizzle for this random connection would be a dispatcher script with Network Manager. Here are some examples:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.