Hello,
Neil [2011-02-01 7:32 -0000]: > I would be interested if it works for other people.
Yes, for me as well.
> But I have to do this each time I start up.
I created a script for that:
$ cat /etc/network/if-up.d/0nameserver #!/bin/sh grep -q Speedport_W_303V_Typ_B /etc/resolv.conf || exit 0 cat <<EOF > /etc/resolv.conf nameserver 217.0.43.81 nameserver 217.0.43.65 EOF
The first line checks if I'm in my "home" network, as I only want to apply this workaround when I'm at home.
(The script needs to be executable)
-- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Hello,
Neil [2011-02-01 7:32 -0000]:
> I would be interested if it works for other people.
Yes, for me as well.
> But I have to do this each time I start up.
I created a script for that:
$ cat /etc/network/ if-up.d/ 0nameserver W_303V_ Typ_B /etc/resolv.conf || exit 0
#!/bin/sh
grep -q Speedport_
cat <<EOF > /etc/resolv.conf
nameserver 217.0.43.81
nameserver 217.0.43.65
EOF
The first line checks if I'm in my "home" network, as I only want to apply this
workaround when I'm at home.
(The script needs to be executable)
-- www.piware. de
Martin Pitt | http://
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)