2010-12-26, 17:34
I have a Revo 3610 with an Intel wireless card running Dharma(live). I have never had wireless working on this box so it is not something that was broken with Dharma. At this point, I can't get wireless to work automatically. I have to enter the following commands manually before it works.
I tried to put this functionality into /etc/network/interfaces and then I tried to edit /etc/rc.local with no success.
/etc/network/interfaces
/etc/rc.local
Any help would be much appreciated.
Code:
sudo iwconfig wlan0 essid myssid
sudo dhclient wlan0
I tried to put this functionality into /etc/network/interfaces and then I tried to edit /etc/rc.local with no success.
/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.0.230
netmask 255.255.255.0
network 172.16.0.0
broadcast 172.16.0.255
gateway 172.16.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 172.16.0.1
dns-search dummy.net
#Wireless
auto wlan0
iface wlan0 inet dhcp
wireless-essid pocoyo
/etc/rc.local
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
ifconfig wlan0 up
iwconfig wlan0 essid myssid
dhclient wlan0
exit 0
Any help would be much appreciated.