ubuntu cannot access network using bridge to host windwos

来源:互联网 发布:股票医生软件下载 编辑:程序博客网 时间:2024/05/22 07:40


mount -t nfs -o nolock,vers=2 192.168.1.104:/work/nfs_root/first_fs /mnt 

// the address of ip is server ip(linux ubuntu ip)
 
 how to achieve the connection between ARM and linux and windows
 
 你需要设置的vmware有一个是桥接网卡,桥接到你上网的网卡,可是是无线网卡,或者是有限。
 这样你的虚拟机就可以上网了。
 1 如果你是无线网卡上网,你可以桥接到无线网卡上面,有限网卡就不需要配置IP地址了
 配置linux的网卡,可以使用sudo ifconfig eth3 192.168.1.104
 
 如果你的虚拟机没有办法上网,请参考下面的方法,来解决
 首先来查看gateway 的地址对不对。
 route -n
 sudo route add default gw 192.168.1.101  这个就是配置网关
 然后在 sudo vi /etc/resolv.conf
 添加 #nameserver 114.114.114.114
    nameserver 192.168.1.101
      #nameserver 192.168.1.105
      #nameserver 192.168.1.105

   首先你需要根据host windows 来确定你的gateway 是什么
 添加