even if you use iwconfig instead of ifconfig ?That worked so far. Strange is the persisting IP of the wired connection.
even if you use iwconfig instead of ifconfig ?That worked so far. Strange is the persisting IP of the wired connection.
matzi wrote:After many trials I have a running wpa2 connection! Not yet checked the situation when unplugging the cable.
Now I am trying to find the correct places for automatic setup for the wlan interface on boot up.
Some questions about that:
1. I placed modprobe 2800lib and modprobe 2800usb in /etc/init.d/insert-modules because there I saw some of your modifications. Good place?
2. Where to place iwconfig and ifconfig instructions and the wpa_supplicant startup command for boot up?
3. I created a file etc/network/interfaces. Is that file regarded by the current firmware? I am not quite sure because instructions there are not properly executed like "iface wlan0 dhcp".
4. udhcpc gets a lease with a valid and reasonnable IP. However when I check the IP assignment with ifconfig, it is not assigned, I have to do it manually with ifconfig wlan0 inet xxx.xxx.xxx.xxx. What can be the fault?
Remark: I have created a wpa_supplicant.conf file in /etc/wpa_supplicant.
A future wish 8-) : Would it be possible to add a section in the webinterface for wlan configuration?
3. I created a file etc/network/interfaces. Is that file regarded by the current firmware? I am not quite sure because instructions there are not properly executed like "iface wlan0 dhcp".
no it is not used by the firmware till now as there was no need for it. What do you want to put in there ?
if [ -f /etc/wlanenable ]
then
unlink /etc/wlanenable
(here your commands)
fi
touch /etc/wlanenable
Users browsing this forum: No registered users and 16 guests