gatusokaka 发表于 2019-12-15 19:11

N1盒子怎么连接外网?

经过配置文件的修改,N1有线和无线都可以通过win10电脑ping到,想在N1
上装个samba,一直失败,后来发现是无法访问软件源地址(试了清华的和中科大的)又在N1上ping 百度,无法ping通,dns设了114.114.114.114 和8.8.8.8,现在不知道是什么原因,求大神帮助!

gatusokaka 发表于 2019-12-15 19:14

补充一下,刷的armbian 5.77

皇子无脑盖 发表于 2019-12-15 19:43

帮顶帮顶

gatusokaka 发表于 2019-12-15 21:08

大神快来呀

gatusokaka 发表于 2019-12-16 12:33

贴一个etc/network/interfaces

# Wired adapter #1
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet static
address 10.102.11.101
netmask 255.255.255.0
gateway 10.102.11.1
dns-nameservers 192.168.0.1 114.114.114.114 8.8.8.8
#       hwaddress ether # if you want to set MAC manually
#       pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838


# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
#
auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet static
#address 192.168.0.116
#netmask 255.255.255.0
#gateway 192.168.0.1
#ns-nameservers 192.168.0.1 114.114.114.114 8.8.8.8
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off

# Local loopback
auto lo
iface lo inet loopback


页: [1]
查看完整版本: N1盒子怎么连接外网?