KoreUSBCam User Manual rev 1.2
15
e) insert the local domain name in /etc/resolv.conf
echo search YOUR_LOCAL_DOMAIN_NAME>>etc/resolv.conf
f) and the dns server
echo nameserver YOUR_DNS_SERVER_IP_ADDRESS>> /etc/resolv.conf
You can also create a file in
/etc/network/if-pre-up.d named wireless to have these
settings saved.
Put the following into it:
#!/bin/sh
ifconfig wlan0 up
iwconfig wlan0 essid YOUR_SSID_OF_NETWORK
iwconfig wlan0 key s:YOUR_KEY
ifconfig wlan0 YOUR_IP_ADDRESS
route add default gw YOUR_GATEWAY_IP wlan0
And the following in a file named
/etc/resolv.conf:
search YOUR_LOCAL_DOMAIN_NAME
nameserver YOUR_DNS_SERVER_IP_ADDRESS
ii) WEP, WPA and other encryptions:
a) create a file named
/etc/wpa_supplicant/wpa_supplicant.conf
and insert your selected wireless encryption:
WEP:
#Shared WEP key connection (no WPA):
network={
ssid="YOUR_SSID"
key_mgmt=NONE
wep_key0="YOUR_WEP_KEY"
auth_alg=SHARED
wep_tx_keyidx=0
priority=5
}
WPA-TKIP:
- see instructions at:
http://ftp.k-team.com/korebot/kernel/modules/wpa-tkip/wpa-tkip_support.txt
#/etc/wpa_supplicant/wpa_supplicant.conf
with WPA-PSK TKIT:
network={
ssid="YOUR_SSID"
psk="YOUR_PASS_KEY"
key_mgmt=WPA-PSK
group=TKIP