WLan Issues Fix

Status
Not open for further replies.

elgeneral

Registered
Messages
7,811
Oneforall's Vu Nuggets #01: WLan Issues Fix

15-06-2010

Image:

Dream Elite 1.3.3F

Issue / Symptoms:
- WLan disconnects, does not connect properly
- Adapter Settings in Wlan interface screen does not get saved
- Do not want to use the WLan interface screen

Solution:
This script connects to your WLan without any additional settings required.

1) Download wlan.zip and unzip to wlan.sh on your local drive
2) Edit wlan.sh using notepad
3) Lets say your Wlan gateway is 192.168.178.1.Then follow the steps below.

#!/bin/sh
#DESCRIPTION=This script will start the WLan
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 mode Managed key s:myWlanPassword <-- Substitute myWlanPassword with your WLan WEP/WPA password
iwconfig wlan0 essid mySSID <-- Substitute myEssid with your Wlan SSID
ifconfig wlan0 192.168.178.XX netmask 255.255.255.0 up <-- XX is a free available address between 30-90; 192.168.178.XX will be the Wlan address of your Vu
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.178.1 wlan0
route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.178.1 eth0
route del -net 192.168.178.0 netmask 255.255.255.0 eth0 <-- Notice that the first ip is your Wlan gateway with a 0 at the end.


4) Save your copy of wlan.sh and ftp it to /usr/script/. [If your Wlan was not working at all, you might have to connect via ethernet cable initially to transfer this file]
5) Type the command in the shell prompt, which will make the file executable.

chmod +x wlan.sh

6) Now you are ready! Go to Green panel-> Press blue [Script Panel]. You should now see wlan.sh. Press execute.
7) Your Wlan should be working now. If it does not work in the first go, try again!

File version:
0.1

Gracias a Oneforall
 
Status
Not open for further replies.
Top