“/etc/init.d/wlan” fails when calling /lib/atheros/loadAR6000l.sh
$SETMAC

Here's the outcome when calling it from the command line:

Code:
--------------------
    # echo $SETMAC
  --setmac 00:04:20:2C:20:C3
  # /lib/atheros/loadAR6000l.sh $SETMAC
  bmiloader: eth1: No such device
  export EEPROM='/lib/atheros/calData_ar6102_15dBm.bin'
  export HOME='/root'
  export IMAGEPATH='/lib/atheros'
  export LOGNAME='root'
  export PWD='/root'
  export SHELL='/bin/sh'
  export TERM='xterm'
  export USER='root'
  export WORKAREA='/lib/atheros'
  Failed to get TARGET TYPE
  /lib/atheros/loadAR6000l.sh: exit: line 1: Illegal number: -1
--------------------


Entering the following command from loadAR6000l.sh on the command line:

Code:
--------------------
    # /sbin/insmod /lib/atheros/ar6000.ko bmienable=1 $ar6000args 
busspeedlow=$slowbus
  insmod: can't insert '/lib/atheros/ar6000.ko': File exists
--------------------


Then I tried to rename ar6000.ko but it complains it doesn't exist. 
=> what is he file that already exists in the message "insmod: can't
insert '/lib/atheros/ar6000.ko': File exists"?

Code:
--------------------
    # mv /lib/atheros/ar6000.ko  /lib/atheros/ar6000.ko.OLD
  # /etc/init.d/wlan start
  root: wlan: starting
  Setting eth1 macaddr: 00:04:20:2C:20:C3
  insmod: can't insert '/lib/atheros/ar6000.ko': No such file or directory
  bmiloader: eth1: No such device
  export EEPROM='/lib/atheros/calData_ar6102_15dBm.bin'
  export HOME='/root'
  export IMAGEPATH='/lib/atheros'
  export LOGNAME='root'
  export PWD='/root'
  export SHELL='/bin/sh'
  export TERM='xterm'
  export USER='root'
  export WORKAREA='/lib/atheros'
  Failed to get TARGET TYPE
  /lib/atheros/loadAR6000l.sh: exit: line 1: Illegal number: -1
  root: wlan: failed
  /etc/init.d/wlan: exit: line 72: Illegal number: -1
  
--------------------
 

For reference, /lib/atheros/loadAR6000l.sh attached: 
17837


+-------------------------------------------------------------------+
|Filename: loadAR6000l.sh.txt                                       |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17837|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
mcoste's Profile: http://forums.slimdevices.com/member.php?userid=12820
View this thread: http://forums.slimdevices.com/showthread.php?t=103446

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to