FS#14269 - [wvdial] connects and gets IP, but not possible to ping other host
Attached to Project:
Arch Linux
Opened by Florian Breitwieser (florianbw) - Thursday, 16 April 2009, 21:50 GMT
Last edited by Thomas Bächler (brain0) - Monday, 08 June 2009, 15:21 GMT
Opened by Florian Breitwieser (florianbw) - Thursday, 16 April 2009, 21:50 GMT
Last edited by Thomas Bächler (brain0) - Monday, 08 June 2009, 15:21 GMT
|
Details
Description:
Wvdial with correct wvdial.conf connects via ppp. The problem is, the DNS are specified in /etc/ppp/resolv.conf and not in /etc/resolv.conf where they should be. * package version: x86_64, wvdial 1.60_2 Steps to reproduce: wvdial (connect, ppp gets IP and connection information) ping www.archlinux.org (fails) Steps to fix: cp /etc/ppp/resolv.conf /etc/resolv.conf My suggestion: Add changed ip-up and ip-down to PKG, or tell user what to do after installation. Thanks! /etc/ppp/ip-up: #!/bin/sh if [ -e /etc/ppp/resolv.conf ]; then cp /etc/resolv.conf /etc/resolv.conf.pre-ppp cp /etc/ppp/resolv.conf /etc/resolv.conf fi [ -e /var/run/nscd.pid ] && { /etc/rc.d/nscd restart || true ; } /etc/ppp/ip-down: #!/bin/sh if [ -e /etc/resolv.conf.pre-ppp ]; then mv /etc/resolv.conf.pre-ppp /etc/resolv.conf fi [ -e /var/run/nscd.pid ] && { /etc/rc.d/nscd restart || true ; } |
This task depends upon
I'll looking for the better solution
PPP/wvdial works out of the box in Ubuntu, took me a while to figure out why it wouldn't in Arch (and Fedora).
0000usepeerdns (0.9 KiB)
0dns-down (2.2 KiB)
0000usepeerdns (0.5 KiB)
Gerardo, I do not think it should be moved out of core, since for some people (eg me) it is necessary to be able to connect to the internet.