Hi,
I have got the wifi connection working on TS7250 but cannot get mdev to do it
all automatically.
# cat /proc/sys/kernel/hotplug
/sbin/mdev
# ls -ail /sbin/mdev
228308 lrwxrwxrwx 1 root root 14 May 27 18:38 /sbin/mdev ->
../bin/busybox
# cat /etc/mdev.conf
wlan.* 0:0 644 * /etc/mdev.actions
# cat /etc/mdev.actions
export MDEVON="called"
if [$ACTION="add" ] then
export MDEVON="on"
ifconfig wlan0 192.168.1.54 netmask 255.255.255.0 up
route add default gw 192.168.1.1 wlan0
wpa_supplicant -c /etc/wpa_supplicant.conf -i$MDEV -Dwext
fi
if [$ACTION="remove"] then
export MDEVON="off"
killall wpa_supplicant
#ifconfig wlan0 down
fi
$MDEVON is never getting set. Even setting .* as the regex for the device does
nothing. This suggests that mdev is not getting called by the kernel hotplug
mechanism.
.* 0:0 644 * /etc/mdev.actions
# grep -i hotplug .configCONFIG_HOTPLUG=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
So just incase this was not getting reset by writing to /proc I symlinked as
well.
# ln -s /sbin/mdev /sbin/hotplug
All relevant busybox options are turned on:
# grep -i mdev .config
CONFIG_MDEV=y
CONFIG_FEATURE_MDEV_CONF=y
CONFIG_FEATURE_MDEV_RENAME=y
CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
CONFIG_FEATURE_MDEV_EXEC=y
CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
What have I missed ?!
TIA
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|