Linux users in intranet can use WANO and intranet at the same time
seamlessly.
steps:
- switch on wireless card on your laptop
- get the latest wano user/password, you will need it when you
access internet.
- just create this shell script and exec the shell script
current_default_gw=`route -n | grep
'^0\.0\.\0\.0[ \t]\+[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*[
\t]\+0\.0\.0\.0[ \t]\+[^ \t]*G[^ \t]*[ \t]' | awk '{print $2}'`
sudo route del default
sudo route add default gw 10.254.92.1 dev wlan0
if [ x$1 != 'x' ] ; then
#in case you are not using this default gateway, you can specify
your eth0 gateway
gw=$1
else
gw=${current_default_gw}
fi
#All started with 10.xxx.xxx.xxx
sudo route add -net 10.0.0.0 netmask
255.0.0.0 gw ${gw} dev eth0
#your local route which not start with 10.*
sudo route add -net 93.183.1.0 netmask 255.255.255.0 gw
${gw} dev eth0
sudo route add -net 87.254.0.0 netmask 255.255.0.0 gw ${gw} dev
eth0
分享到:
相关推荐
Chapter 6 of the "The Transport Layer" presentation delves into the core concepts and functionalities of the transport layer in computer networking. This layer is crucial as it serves as a bridge ...
The real-time web is gaining momentum and this book provides the simplest way to jump on board. A beautifully clear tutorial on Vert.x, it helps you develop a real-time web application from the ground...
The real-time web is gaining momentum and this book provides the simplest way to jump on board. A beautifully clear tutorial on Vert.x, it helps you develop a real-time web application from the ground...
incremental-smoothing algorithms and the use of a structureless model for visual measurements, which avoids optimizing over the 3D points, further accelerating the computation. We perform an ...
We will discuss the face detection pipeline and see how we can use it to detect and track different parts of the face, such as eyes, ears, mouth, and nose. Chapter 5, Extracting Features from an ...
The use of the B/S architecture ensures that users can access the system through a web browser, making it platform-independent and user-friendly. The server-side processing handles the complex image ...
The tool seamlessly integrates with popular version control systems (VCS), issue tracking systems, and custom scripts through plugins and a public Web Services integration API. This integration saves ...
This chapter shows how one can have the best of both worlds by doing the coding in Kotlin and, then, transpiling the code to JavaScript so that it works with the browsers seamlessly. The example that...
By integrating user search records, keywords extraction, and machine learning algorithms, the system can continuously learn from user interactions and refine its recommendations over time. ...
VisualSVN is a Visual Studio plug-in that integrates Subversion and TortoiseSVN seamlessly with Visual Studio. VisualSVN virtually eliminates the management of your project source code files within ...
For the program to work correctly, there is no need to install the Excel software on the user's system, and it works seamlessly with Excel files. XLSReadWriteII has a part in memory management to ...
Ways to use advanced features to create immersive and engaging Windows 8.1 applications How to create applications that work seamlessly on tablets and desktops How to prepare and deploy your ...
### iOS9 Programming Fundamentals with Swift (Swift.Xcode.and.Cocoa.Basics) #### Preface and Introduction to Swift On June 2, 2014, Apple made a groundbreaking announcement at its Worldwide ...
With the increasing demand for games that can run seamlessly across multiple operating systems, the authors share their experiences in developing games for the iPhone, Mac OS X, Linux, and Windows....