GithubHelp home page GithubHelp logo

arch-wireless's Introduction

arch-wireless

rc.d-script for archlinux to simplify connecting to wireless networks

what is it?

A script to automate connecting your beloved archlaptop to wireless networks, it even allows you to prioritize certain networks above others.

installation :)

  1. clone the repo
  2. symlink wireless into /etc/rc.d using ln -s
  3. make sure wireless is executable using chmod +x
  4. create a new file called /etc/essids and list the essids of your networks there in descending priority, eg.
    homewifi
    eduroam
    Work Wireless
    #comment lines with #
    #coffee cafe 
  1. run the addessid script to be greeted with an interactive way to add a network to /etc/essids/ and /etc/wpa_supplicant.conf or add your authentication-details manually to /etc/wpa_supplicant.conf, see https://wiki.archlinux.org/index.php/WPA_supplicant for instructions
  2. open rc.conf with your favorite editor, eg sudo vim /etc/rc.conf
  3. Paste this somewhere in the file, preferably below the NETWORKS-section
    # Wireless setup
    																     
    # Wireless interface, (default wlan0)                                                                                                
    WIRELESS_INTERFACE=wlan0                                                                                                             
    		
    # List of essids to recognise, in descending priority order (default /etc/essids)                                                    
    ESSID_LIST=/etc/essids
    		
    # wpa_supplicant configuration file, (default /etc/wpa_supplicant.conf)                                                              
    WPA_SUPPLICANT_CONF=/etc/wpa_supplicant.conf
    			
    # Kernel module to insert and remove (optional)
    WIRELESS_MODULE=iwlagn       
  1. change the above variables to conform to your system
  2. test it by running sudo rc.d start wireless
  3. add @wireless to the DAEMONS array in rc.conf to autoconnect to a known network in range upon boot

(un-)supported features!

  • WPA/WPA2 is supported
  • Open networks are supported
  • WEP is not supported (yet?)
  • DHCP is supported
  • static network settings are not supported yet
  • load/unload driver-modules for wifi-chip is supported, useful when dealing with annoying wifi-chips such as certain broadcom models
  • Eduroam works great
  • more things that i forgot

arch-wireless's People

Contributors

spontus avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.