Ralf Mardorf via arch-general <arch-general@xxxxxxxxxxxxxxxxxxx> wrote: > On Sun, 21 Nov 2021 14:06:53 +0000, u34--- wrote: > >Ralf Mardorf via arch-general <arch-general@xxxxxxxxxxxxxxxxxxx> wrote: > >> On Sun, 21 Nov 2021 13:35:20 +0100, Guus Snijders wrote: > >> >Op zo 21 nov. 2021 12:35 schreef Ralf Mardorf: > >> >> at the moment I don't know how to override the nameserver assigned > >> >> by the O2 HomeBox 6641. Some information claims that it is > >> >> impossible. > >> > > >> >As long as you control the host itself, this shouldn't be too big a > >> >problem. DHCP is convenient, not obligatory. > >> > > >> >Worst case: edit /etc/resolv.conv directly. > >> > >> do you think of PPPoE pass-through or something else? > > > >My understanding to his suggestion is to start with > > > > nameserver 8.8.8.8 > > nameserver 8.8.4.4 > > > >in /etc/resolv.conf. Just those 2 lines. > > Hi, > > the connection with the O2 HomeBox 6641 is done by > > nameserver 192.168.1.1 > > the O2 HomeBox 6641 then does use an O2 nameserver. > It's a long time ago that I used PPP [1], I even don't remember, if I've > ever used it with this router. However, when neither using DHCP nor > PPPoE pass-through, how do I connect with the router? > > Regards, > Ralf > > [1] > [rocketmouse@archlinux ~]$ /bin/ls -hAl /etc/ppp/peers/ > total 4.0K > -rw-r--r-- 1 root root 98 Feb 18 2013 alice > lrwxrwxrwx 1 root root 20 Apr 22 2015 provider -> /etc/ppp/peers/alice > [rocketmouse@archlinux ~]$ head -2 /etc/ppp/peers/alice > plugin rp-pppoe.so > enp3s0 > [rocketmouse@archlinux ~]$ /bin/ls -hAl /usr/local/sbin/alice* > -rwxr-xr-x 1 root root 2.1K Apr 13 2016 /usr/local/sbin/alice > -rwxr-xr-x 1 root root 1.8K Apr 13 2016 /usr/local/sbin/alice-dhcp > [rocketmouse@archlinux ~]$ grep pppoe_on\( -A12 /usr/local/sbin/alice > pppoe_on() { > if [ "$(pidof pppd)" ]; then > printf "\nError: An instance of pppd is already running.\n\n"; exit 1 > else > echo ; modprobe -v pppoe; ip link set enp3s0 up > d="" > if [ ! "$(grep Arch /etc/issue)" ]; then > d="dsl-provider" > fi > pon $d > printf "\nEstablishing the connection might take a while.\n\n" > fi > } > > > That's how I establish an Internet connection nowadays: > > [rocketmouse@archlinux ~]$ grep dhcpcd_on\( -A2 /usr/local/sbin/alice-dhcp > dhcpcd_on() { > echo ; dhcpcd $(basename $(ls -d /sys/class/net/enp?s0)) ; echo > } I am confused by that output. I don't know the answers to your questions. Never the less, my suggestion is to # mv -v /etc/resolv.conf /etc/resolv.conf.bak If that fails because /etc/resolv.conf doesn't exist in the first place, then ignore the failure, and # echo "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf as root. Then $ ping -c1 search.cpan.org And see what IP it pings to. Once again: even though I don't know the answers to your questions, my suggestion is to issue these commands after the router is connected in the usual way. Just try it, and see if that helps. I assume it should not interfer with your internet connection. It is supposed to improve your name resolution by bypassing the router process of name resolution. Hopefully it will override only the router name resolution, and nothing else. Just try it. Hopefully, it will work. -- u34