View previous topic :: View next topic |
Author |
Message |
bergs Tux's lil' helper

Joined: 10 Jul 2002 Posts: 141 Location: Bern, Switzerland
|
Posted: Wed Oct 15, 2003 10:54 am Post subject: Hotplug & wlan problem |
|
|
Hi all,
yesterday, I emerged hotplug and suddenly my wlan was down. I'm using the wlan-ng package for my prism2_usb device and it worked great until that emerge. But I've had to manually run '/etc/init.d/wlan start', that was the reason to install hotplug and this worked with my previous debian installation.
Sooo, I followed all the instructions and I don't get any errors! I still can initialize wlan manually (without the wlan script) but that sucks
Who knows what's going on?
BTW, how can I assign an ip with route to my wlan device ONLY if it is plugged in (I don't want to get annoying error messages if the device is not connected)?
Thank you very much
Simon |
|
Back to top |
|
 |
cchapman Guru


Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Sat Oct 18, 2003 8:06 pm Post subject: |
|
|
Did you do a
rc-update add wlan default |
|
Back to top |
|
 |
bergs Tux's lil' helper

Joined: 10 Jul 2002 Posts: 141 Location: Bern, Switzerland
|
Posted: Sun Oct 19, 2003 2:33 pm Post subject: |
|
|
yes, I did.
I detected that hotplug takes about 10 to 15 secs on boot before it is up. Is this normal? BTW, I'm using version 20030805-r1 from ~ppc. Maybe I should try 20020826-r2 from stable?
Another problem occured after installing gpm ("oops, could not load gpm.o" or something). I'm not sure if this also has something to do with hotplug since it occurs directly after hotplug is loaded (and only, if my usb mouse is not plugged in ...).
Thanks for the help
Simon |
|
Back to top |
|
 |
bergs Tux's lil' helper

Joined: 10 Jul 2002 Posts: 141 Location: Bern, Switzerland
|
Posted: Tue Oct 21, 2003 11:52 am Post subject: |
|
|
Update:
- Downgraded to stable hotplug (ppc instead of ~ppc). This did not solve my problem and hotplug still takes extremely long to start up.
- The gpm problem has nothing to do with hotplug (I forgot to modprobe mousedev.o ...)
Any suggestions about the hotplug problem? I have no idea why it was working with debian and does not with gentoo
Thanks in advance
Simon |
|
Back to top |
|
 |
bergs Tux's lil' helper

Joined: 10 Jul 2002 Posts: 141 Location: Bern, Switzerland
|
Posted: Wed Nov 12, 2003 10:30 pm Post subject: |
|
|
Still no luck on this one.
If you need further information, please tell me!
Kernel: ppc-sources-benh 2.4.22-r2
Hotplug: 20020826-r2
Wlan-ng: 0.2.1-pre13 (no ebuild)
dmesg reports plug-in and plug-out of the usb device (a netgear ma111 wireless usb adapter)
There is an alias in /etc/modules.d/aliases (alias wlan0 prism2_usb) (update-modules executed after editing this file).
/etc/init.d/wlan and /etc/init.d/hotplug are in the default runlevel.
Everything should be ok in /etc/wlan/* (wlancfg-MYSSIDKEY and wlan.conf edited).
My problem with hotplug is:
- it takes some time to start up (10 to 15 secs)
- wlan does not get initialized when plugging-in the usb-wireless
(but manual init still works)
PLEASE, I need help on this. Maybee it's just a silly little error but I can't fix it on my own
Thank you very very very much!
Simon |
|
Back to top |
|
 |
|