How to restart a PCI card XI-626?
James B. Hiller
jhiller
Sun Jan 18 19:27:47 PST 2004
> question is, how do i restart my PCI card?..And is
> there a script if ever that can load/unload the
> modules used by hostap?...Hope you could help us on
I should think it would be nearly a no-brainer to put
together a few lines that would do this. Something
like
#!/bin/sh
ifconfig wlan0 down
rmmod hostap
rmmod hostap_pci
modprobe hostap_pci
iwconfig wlan0 ... all the stuff you need
ifconfig wlan0 up ... assign the address
Something like this would "restart" you card. Loading
the modules would be the
modprobe hostap_pci
and unloading them would be the
rmmod hostap
rmmod hostap_pci
(I haven't run this to verify behavior, but it's gotta be close).
Is this what you're looking for, or am I missing your point?
jbh
More information about the Hostap
mailing list