tisdag 24 februari 2004 05:13 skrev C Hamel:
3: eth0:
mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:0d:9d:89:9c:47 brd ff:ff:ff:ff:ff:ff inet6 fe80::20d:9dff:fe89:9c47/64 scope link
This doesn't look right ... notice there is no inet address.
14: ppp0:
mtu 1500 qdisc pfifo_fast qlen 3 link/ppp inet 204.250.144.59 peer 205.247.108.66/32 scope global ppp0 A. Connection established w/kppp & streaming audio started (all settings in kppp were ISP-specific & correct) B. I set the eth0 IP address to 192.168.0.10 C. All ip addresses were removed from 'Host name/name server config' D. Gateway for eth0 set to 192.168.0.0 192.168.0.0 is a network address, unless you have a gateway to the internet via eth0, you should leave it empty.
E. Finalized settings, audio stream continues w/o a problem F. Set up firewall w/ppp0 (external) & eth0 (internal); all other settings default G. Pinging on LAN impossible
Pinging on lan IS possible, but only with an inet6 address ... it doesn't have an inet4 address (see above).
H. Shut down fireall I. Pinging between machines possible but no smbfs connection possible
linux:~ # ifdown eth0 linux:~ # ifup eth0 ERROR: Error while excuting: Command 'ip route replace to default via 192.168.0.0' returned: RTNETLINK answers: Invalid argument Configuration line: default 192.168.0.0 - -
Remove the gateway address for eth0
linux:~ # ip route 205.247.108.66 dev ppp0 proto kernel scope link src 204.250.144.5 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.10 default via 205.247.108.66 dev ppp0
Looks good.
3: eth0:
mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:0d:9d:89:9c:47 brd ff:ff:ff:ff:ff:ff inet 192.168.0.10/24 brd 192.168.0.255 scope global eth0 inet6 fe80::20d:9dff:fe89:9c47/64 scope link Now it's ok.
resolv.conf contents: domain local
This is what I was referring to, DNS is not being updated ... *this* is your sole problem.
J. Shut down audio stream/restarted stream: 'server not found' K. Closed/restarted ppp0 L. Audio stream not possible: 'server not found' M. Set eth0 IP to dhcp N. Set 'Host name/name server config' to 205.247.104.20 & 205.247.104.21 (ISP-specific IP addresses furnished by ISP) O. Set 'Gateway' to null P. Finalized settings Q. Started audio stream without difficulty.
resolv.conf contents: domain local nameserver 205.247.104.20 nameserver 205.247.104.20
Ok, since you have a dialup *this* is the wrong place to be doing this. You have a place in kppp to do it, that's where you are supposed to edit the DNS addressess for the dialup connection, and then setup kppp to be SUID so it can change the /etc/resolv.conf file. Without it being able to edit it when it makes the connection, you won't get dns lookups. If you don't want to change kppp run priveleges, you can always just make a copy of a "working /etc/resolv.conf" file and copy it into place, when connection has been made.