The Raspberry Pi is configured to myself, and some configuration on the fedora
The only change is only
- resolv.conf(config nameserver)(DNS),
- wpa_supplicant(wifi passwd),
- ifcfg- "DeviceName" .conf (which is fedora card profile name)
Configure /etc/resolv.conf
domain own hostname
nameserver DNS
DNS is generally used 114.114.114.114 (telecommunications), the network adapter 8.8.8.8 (Google), or that a look at the campus network computers use DNS
Other document with a good, even on a network, the network is assigned ip, but can not resolve the domain name,
Whether trying to access 127.0.0.1 (Native lo), 192.168.137.100 (other within the same LAN IP)
Are you trying to access external network ip, and the outer domain names, access ip can not resolve domain names, DNS is not configured, try to remove resolv.conf file, restart, generated resolv.conf automatic network configuration Raspberry Pi boot, on their own Configuring network default DNS
IP and domain name can not access, it may be an error in the access network, view the router, DNS, or host uses IP is banned.
ping 127.0.0.1 ping 192.138.137.100 ping 114.114.114.114 Baidu Home ip ping 14.215.177.39 # ping www.baidu.com
Check / etc / hostname
Configuration /etc/pip.conf
In fedora system /etc/sysconfig/network-scripts/ifcfg-"DeviceName".conf
( "DeviceName" is the name of the network card, remove the double quotes)
Static ip
TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE = yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE = yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy IPV6_PRIVACY=no NAME=eth0 UUID=a4ac1ac1-1c91-3c5a-a00d-2a257f7c2761 ONBOOT=yes AUTOCONNECT_PRIORITY=-999 DEVICE=eth0 IPADDR=10.99.108.254 # Ip address, according to the Bureau of network segment settings PREFIX=24 # Port GATEWAY=10.99.108.249 Gateway # DNS1 = 222.88.88.88 # DNS In general /etc/resolv.conf # # Even after the network, by deleting the source file, in order to achieve the effect of automatic configuration
Dynamic ip
# Even after the network, by deleting the source file, in order to achieve the effect of automatic configuration TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE = yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE = yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=ens33 UUID=a4ac1ac1-1c91-3c5a-a00d-2a257f7c2761 ONBOOT=yes AUTOCONNECT_PRIORITY=-999 DEVICE=ens33 IPV6_PRIVACY=no