Coder Social home page Coder Social logo

setdualnet's Introduction

Android/Linux Shell 脚本:自动获取Wlan/EtherNet DHCP分配的动态IP,然后配置为静态IP并添加默认网关, 最后测试两个网络的联网状态

详细解析见博客:Shell脚本实现动态配置IP与路由:解决嵌入式Android/Linux有线和无线网卡双网共存问题 https://blog.csdn.net/HowieXue/article/details/75937972

#Function: Auto set static IP for wlan/ethernet, which dynamically assigned from dhcp,and add default gateway

#Param in: default gateway that can access internet, if not enter, this value will be ..*.1 of wlan ip

#Notice: make sure that wlan has not reonnect, we recommend that script is only execute 1 time when network environment changed.

setdualnet's People

Contributors

howiexue avatar

Stargazers

JiaX2 avatar  avatar  avatar  avatar  avatar 杨善锦(Jim) avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

greatriver007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.