tweakt Tux's lil' helper
Joined: 16 Sep 2003 Posts: 92 Location: Boston, MA. USA
|
Posted: Thu Oct 23, 2003 2:22 am Post subject: How do I fix these wireless startup warnings?? |
|
|
Boot up, card not inserted, eth1 is down
Plug in card, modules autoloaded, eth1 brought up (working)
/etc/conf.d/net is set to run dhcp for eth1 (never happens!)
....
pull out card, eth1 comes down (works)
dhcpcd terminates (it never started)
modules unloaded (works)
Also:
I think if dhcpcd times out, then the interface should not come up, and the script should fail. Another option would be to leave the interface up, and dynamically reconfigure if a new ESSID is detected. (ie: use any WEP key defined for that network, then restart dhcp). I shouldn't have to pull the card and reinsert it to make this happen.
Here is what I get in syslog when I plug in my card.
Code: | Oct 22 22:00:12 localhost cardmgr[3614]: socket 0: Lucent Technologies Wavelan/IEEE
Oct 22 22:00:12 localhost cardmgr[3614]: executing: 'modprobe hermes'
Oct 22 22:00:12 localhost cardmgr[3614]: executing: 'modprobe orinoco'
Oct 22 22:00:12 localhost orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
Oct 22 22:00:13 localhost cardmgr[3614]: executing: 'modprobe orinoco_cs'
Oct 22 22:00:13 localhost orinoco_cs.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
Oct 22 22:00:13 localhost eth1: Station identity 001f:0001:0008:000a
Oct 22 22:00:13 localhost eth1: Looks like a Lucent/Agere firmware version 8.10
Oct 22 22:00:13 localhost eth1: Ad-hoc demo mode supported
Oct 22 22:00:13 localhost eth1: IEEE standard IBSS ad-hoc mode supported
Oct 22 22:00:13 localhost eth1: WEP supported, 104-bit key
Oct 22 22:00:13 localhost eth1: MAC address 00:02:2D:2A:AC:12
Oct 22 22:00:13 localhost eth1: Station name "HERMES I"
Oct 22 22:00:13 localhost eth1: ready
Oct 22 22:00:13 localhost eth1: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
Oct 22 22:00:13 localhost cardmgr[3614]: executing: './network start eth1'
Oct 22 22:00:13 localhost cardmgr[3614]: + * Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost rc-scripts: Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost cardmgr[3614]: + * Please run:
Oct 22 22:00:13 localhost rc-scripts: Please run:
Oct 22 22:00:13 localhost cardmgr[3614]: +
Oct 22 22:00:13 localhost cardmgr[3614]: + * # /sbin/depscan.sh
Oct 22 22:00:13 localhost rc-scripts: # /sbin/depscan.sh
Oct 22 22:00:13 localhost cardmgr[3614]: +
Oct 22 22:00:13 localhost cardmgr[3614]: + * to fix this.
Oct 22 22:00:13 localhost rc-scripts: to fix this.
Oct 22 22:00:13 localhost cardmgr[3614]: + * Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost rc-scripts: Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost cardmgr[3614]: + * Please run:
Oct 22 22:00:13 localhost rc-scripts: Please run:
Oct 22 22:00:13 localhost cardmgr[3614]: +
Oct 22 22:00:13 localhost cardmgr[3614]: + * # /sbin/depscan.sh
Oct 22 22:00:13 localhost rc-scripts: # /sbin/depscan.sh
Oct 22 22:00:13 localhost cardmgr[3614]: +
Oct 22 22:00:13 localhost cardmgr[3614]: + * to fix this.
Oct 22 22:00:13 localhost rc-scripts: to fix this.
Oct 22 22:00:13 localhost rc-scripts: Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost rc-scripts: Please run:
Oct 22 22:00:13 localhost rc-scripts: # /sbin/depscan.sh
Oct 22 22:00:13 localhost rc-scripts: to fix this.
Oct 22 22:00:13 localhost rc-scripts: Could not get dependency info for "net.eth1"!
Oct 22 22:00:13 localhost rc-scripts: Please run:
Oct 22 22:00:13 localhost rc-scripts: # /sbin/depscan.sh
Oct 22 22:00:13 localhost rc-scripts: to fix this.
Oct 22 22:00:14 localhost cardmgr[3614]: + * Bringing eth1 up... [ ok ] |
And this is what I get when I pull the card:
Code: | Oct 22 22:20:10 localhost orinoco_lock() called with hw_unavailable (dev=dea3c000)
Oct 22 22:20:10 localhost cardmgr[3614]: executing: './network stop eth1'
Oct 22 22:20:10 localhost rc-scripts: Could not get dependency info for "net.eth1"!
Oct 22 22:20:10 localhost rc-scripts: Please run:
Oct 22 22:20:10 localhost rc-scripts: # /sbin/depscan.sh
Oct 22 22:20:10 localhost rc-scripts: to fix this.
Oct 22 22:20:10 localhost cardmgr[3614]: + * Bringing eth1 down... [ ok ]2 22:20:10 localhost cardmgr[3614]: +
Oct 22 22:20:10 localhost cardmgr[3614]: executing: 'modprobe -r orinoco_cs'
Oct 22 22:20:10 localhost cardmgr[3614]: executing: 'modprobe -r orinoco'
Oct 22 22:20:10 localhost cardmgr[3614]: + FATAL: Module orinoco is not in kernel.
Oct 22 22:20:10 localhost cardmgr[3614]: modprobe exited with status 1
Oct 22 22:20:10 localhost cardmgr[3614]: executing: 'modprobe -r hermes'
Oct 22 22:20:10 localhost cardmgr[3614]: + FATAL: Module hermes is not in kernel.
Oct 22 22:20:10 localhost cardmgr[3614]: modprobe exited with status 1 |
|
|