root@slitaz:~# hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok
abort: error: Temporary failure in name resolution
root@slitaz:~#
hg clone http://hg.slitaz.org/wok/
root@slitaz:~# cat /etc/resolv.conf
nameserver 192.168.1.1
root@slitaz:~#
root@slitaz:~# tazpkg get-install zim --forced
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (fr_CH)
zim-0.29
Connecting to mirror.switch.ch (130.59.10.36:80)
wget: server returned error: HTTP/1.1 404 Not Found
wget: bad address 'mirror.slitaz.org'
wget: bad address 'download.tuxfamily.org'
Connecting to mirror.switch.ch (130.59.10.36:80)
zim-0.29.tazpkg 100% |*******************************| 349k 00:00:00 ETA
...
nslookup mirror.slitaz.org
nslookup mirror.slitaz.org 8.8.8.8
echo nameserver 8.8.8.8 >> /etc/resolv.conf
echo nameserver 8.8.4.4.>> /etc/resolv.conf
root@slitaz:~# cat /etc/network.conf | grep DNS_SERVER
#DNS_SERVER="192.168.0.1"
DNS_SERVER="8.8.8.8 8.8.4.4"
root@slitaz:~#
root@slitaz:~# nslookup mirror.slitaz.org
Server: 192.168.1.1
Address 1: 192.168.1.1
nslookup: can't resolve 'mirror.slitaz.org'
root@slitaz:~#
nslookup mirror.slitaz.org 8.8.8.8
root@slitaz:~#nslookup mirror.slitaz.org 8.8.8.8
Server: 8.8.8.8
Address 1: 8.8.8.8 google-public-dns-a.google.com
Name: mirror.slitaz.org
Address 1: 94.23.60.116 ns302106.ovh.
nslookup mirror.slitaz.org 8.8.4.4
root@slitaz:~# nslookup mirror.slitaz.org 8.8.4.4
Server: 8.8.4.4
Address 1: 8.8.4.4 google-public-dns-b.google.com
Name: mirror.slitaz.org
Address 1: 94.23.60.116 ns302106.ovh.net
root@slitaz:~# route
dns="8.8.8.8 8.8.4.4"
root@slitaz:~# cat /usr/share/udhcpc/default.script
#!/bin/sh
# udhcpc script edited by Tim Riker
dns="8.8.8.8 8.8.4.4"
[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
...
root@slitaz:~# /etc/init.d/network.sh
Setting hostname... [ OK ]
Configuring loopback...route: SIOCADDRT: File exists
[ Failed ]
Starting udhcpc client on: eth0...
udhcpc (v1.12.0) started
Sending discover...
Sending select for 192.168.1.34...
Lease of 192.168.1.34 obtained, lease time 86400
deleting routers
route: SIOCDELRT: No such process
adding dns 8.8.8.8
adding dns 8.8.4.4
root@slitaz:~#
root@slitaz:~# cat /etc/network.conf
# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
# Set default interface.
INTERFACE="eth0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="no"
...
root@slitaz:~# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
root@slitaz:~#
root@slitaz:~# nslookup mirror.slitaz.org
Server: 8.8.8.8
Address 1: 8.8.8.8 google-public-dns-a.google.com
Name: mirror.slitaz.org
Address 1: 94.23.60.116 ns302106.ovh.net
root@slitaz:~#
root@slitaz:~# hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok
requesting all changes
adding changesets
adding manifests
adding file changes
added 5062 changesets with 12422 changes to 3812 files
updating working directory
3319 files updated, 0 files merged, 0 files removed, 0 files unresolved
root@slitaz:~#
It looks like you're new here. If you want to get involved, click one of these buttons!