Alle Pastes #181592 Raw Bearbeiten

Unnamed

öffentlich text v1 · unveränderlich
#181592 ·veröffentlicht 2006-09-25 05:17 UTC
gerenderter Paste-Inhalt
#!/bin/bash
# screw netmanager, Im doing it manually.

# replace eth1 with your wireless devices device name.  If you dont know which it is, type iwconfig for the devices with wireless extensions (should only be one unless you have more than one wifi card.

ifconfig eth1 up        #this brings the interface up, not needed on native drivers, but ndiswrapper drivers often need it to turn on the hardware.
iwconfig eth1 essid sess-wireless    #set my Essid, its hidden, no encryption
dhclient eth1 &         # this actually goes about getting a dynamic address from the router, I background it so that other script lines further down 
                        # can run.