Hi,

sorry to bug with what is likely finger trouble on my part but I can't find a solutions and have wasted far too much time searching for one.

I've built BB for ARM with mdev options on Y, but when I plug a usb wifi device mdev.conf is not getting called. I must be missing something blindingly obvious if no one else is posting this sort of problem but here goes trying to check all is in place:

cat .config |grep MDEV
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

# ls -ail `cat /proc/sys/kernel/hotplug`
244567 lrwxrwxrwx 1 root root 14 May 27 18:38 /sbin/mdev -> ../bin/busybox
# ls -ail /sbin/../bin/busybox
244487 -rwxr-xr-x 1 root root 572264 May 27 18:38 /sbin/../bin/busybox

# mdev
BusyBox v1.17.0.git (2010-05-27 20:35:42 CEST) multi-call binary.

# zcat  /proc/config.gz|grep HOTPLUG
CONFIG_HOTPLUG=y


# cat  /etc/mdev.conf|grep -i "^[^#]"
touch /root/mdev.conf.ran
.* 0:0 644 $ /etc/mdev.actions

# cat  /etc/mdev.actions|grep -i "^[^#]"
touch /root/mdev.actions.ran
if  [$ACTION="add" ] then
sleep 5
 ifconfig wlan0 192.168.1.54 netmask 255.255.255.0 up
 route add default gw 192.168.1.1 wlan0
fi
if  [$ACTION="remove"] then
ifconfig wlan0 down
fi


What have I got wrong?!

TIA.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to