Ubuntu 14.04 無法聯系解決方案、SMAB配置
在虛擬機下安裝的Ubuntu,運行后無法聯網,經過正同的調整可以正常上網。
Ubuntu14.04配置SMBA很簡單
#使用命令:
sudo vim /etc/network/interface
#下面是從dhcp中自動獲取連接
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
sudo vim /etc/network/interface
#下面是從dhcp中自動獲取連接
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Ubuntu14.04配置SMBA很簡單
sudo apt-get install smba
vim /etc/samba/smb.conf
插入下面幾條內容
[share]
comment = Ubuntu File Server Share
path = /share 文件夾, 自己再單獨設置權限吧
browsable = yes
guest ok = yes
read only = no
create mask = 0755
重啟smba
sudo service samba restart
vim /etc/samba/smb.conf
插入下面幾條內容
[share]
comment = Ubuntu File Server Share
path = /share 文件夾, 自己再單獨設置權限吧
browsable = yes
guest ok = yes
read only = no
create mask = 0755
重啟smba
sudo service samba restart