ubuntu 9.10为啥只能ping通本机 ping不通内网

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu 9.10为啥只能ping通本机 ping不通内网相关的知识,希望对你有一定的参考价值。

其他也不行 linux的系统没有 只有这一台ubuntu

参考技术A ping通本机什么也说明不了,机器设个IP地址,不接网线你都能ping通本机。你最好先检查一下物理连接通了没有。 参考技术B 应该是你的ubuntu没有设置好

看不到你的具体情况,没办法帮你
参考技术C 对方有否开防火墙追问

没有 连网关都不通 只能ping通本机

追答

两台机器 IP分别是什么 子网掩码?

追问

ubuntu 的是192.168.21.2 网关192.168.21.1
xp 192.168.21.109
现在ubuntu 只能ping通本机
其他的什么也ping不通

追答

内网只有两台机器么?xp ping linux如何?

text 如何为ubuntu 17.xx构建sonic pi 3

#Install SP3 on fresh Ubuntu 17.04 or 17.10
#(also much the same for Debian 9.1 and even Pi3 o Stretch))

#install following with sudo apt-get install (a couple may be there already)

sudo apt-get install git libasound2-dev libx11-dev build-essential cmake libsndfile1 libsndfile1-dev erlang-base ruby ruby-dev qt5-qmake libqwt-qt5-6 libqwt-qt5-dev qttools5-dev-tools libqt5svg5-dev libqt5svg5 qtbase5-dev libqt5scintilla2-l10n libqt5scintilla2-dev libboost-dev supercollider-server sc3-plugins

#now install three downloads that need to be built (including Sonic PI!)
cd ~
git clone https://github.com/samaaron/sonic-pi.git
git clone https://git.aubio.org/aubio/aubio
git clone https://github.com/llloret/osmid.git

#set the sonic-pi "head" to the latest release
cd sonic-pi
git checkout 98914aaac061c1e7d6216b2a1065f49cb9733d9c  #latest commit for version 3.0.1
#build osmid binaries m2o and o2m
cd ~
cd osmid
mkdir build
cd build
cmake ..
make
cd ~  #we will install them later

#build and install aubio
cd aubio
./scripts/get_waf.sh
./waf configure
./waf build
sudo ./waf install
cd ~

#build two erlang .erl files to their equivalent .beam files
cd sonic-pi/app/server/erlang
erlc osc.erl
erlc pi_server.erl

#build the native ruby extensions to some Sonic Pi gems
cd ~
cd sonic-pi/app/server/ruby/bin
./compile-extensions.rb

#create the receiving folder and copy in the osmid binaries
cd ~
cd sonic-pi/app/server/native
mkdir -p linux/osmid
cd linux/osmid
cp ~/osmid/build/m2o ./
cp ~/osmid/build/o2m ./

#switch to the qt folder in Sonic Pi to build the docs and gui
cd ~/sonic-pi/app/gui/qt

../../server/ruby/bin/i18n-tool.rb -t
cp -f ruby_help.tmpl ruby_help.h
../../server/ruby/bin/qt-doc.rb -o ruby_help.h

export QT_SELECT=qt5 #select qt version to use
lrelease SonicPi.pro
qmake SonicPi.pro
make #this will take some time

#for jackd to work properly you must add YOUR username to the audio group
#substitute YOUR username for rbn below
sudo usermod -a -G audio rbn #to allow user to access jackd with rt privileges
#switch back to home folder and run Sonic Pi 3
cd ~
./sonic-pi/bin/sonic-pi
#(ctrl-C to quit)

#remaining problems. At present the two osmid binaries are not stopped on exit
#you must manually killall m2o and killall o2m before re-running.
#worth checking killall ruby and killall sonic-pi

#Sonic Pi will take the default sound card in slot 0.
#To use a different card start jackd with qjackctl (in the GUI) and configure it there.
#Also I found an error in scsynthexternal.rb
#Alter the scsynth connection commands in lines 386 and 387
#      `jack_connect SuperCollider:in_1 system_capture_1`
#      `jack_connect SuperCollider:in_2 system_capture_2`
#to read
#      `jack_connect SuperCollider:in_1 system:capture_1`
#      `jack_connect SuperCollider:in_2 system:capture_2`

以上是关于ubuntu 9.10为啥只能ping通本机 ping不通内网的主要内容,如果未能解决你的问题,请参考以下文章

两台虚拟机可能互相ping通,为啥不能互相访问网站?

求大佬解答 为啥我vmware上的Ubuntu系统在桥接模式下上不了网啊 在同一网段

本机能ping通别的电脑 别的电脑不能ping通本机

虚拟机nat方式上网,虚拟机和主机为啥不能互相ping通

为啥我的虚拟机ping不通物理机?

ping通windows和ubuntu能用NAT模式吗?