#1639: how to reload the modules
-----------------------------------+----------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:        
          Type:  defect            |      Status:  closed
      Priority:  minor             |   Milestone:        
     Component:  madwifi: driver   |     Version:  trunk 
    Resolution:  duplicate         |    Keywords:        
Patch_attached:  0                 |  
-----------------------------------+----------------------------------------
Changes (by mrenzmann):

  * status:  new => closed
  * resolution:  => duplicate

Old description:

> Hi,
> First all,congrat for the project and thx for your work.
> I have a macbook pro and during 30 min or 1 hour I can work but
> afterwards it is imposible coz the system lose the connection. The driver
> is still load but it is imposible to assign any ESSID.
> Im user of kde and knetworkmanager lose the connectivity. Also I tested
> with gnome and networkmanager for gtk and it is the same.
> So I have to restart the computer to reload the module. My question till
> there wasn't any new stable version, is can I reload the module manualy.
> I tried the following script:
>
> ifdown ath0;
> ifconfig ath0 down;
> /usr/src/madwifi/scripts/madwifi-unload; (to unload the drivers)
> depmod -ae ;
> /etc/init.d/avahi-daemon stop;
> /etc/init.d/hostapd stop;
> /etc/init.d/apport restart;
> /etc/init.d/module-init-tools restart;
> /etc/init.d/linux-restricted-modules-common restart;
> /etc/init.d/hal restart;
> modprobe ath_pci;
> modprobe ath_hal;
> modprobe wlan;
> modprobe wlan_scan_sta;
> modprobe ath_rate_sample;
> /etc/init.d/hostapd start;
> ifconfig ath0 up;
> /etc/init.d/avahi-daemon start
>
> But it didn't work and I had to restart.
>
> Thx and again congrat for the project

New description:

 Hi,

 First all,congrat for the project and thx for your work.
 I have a macbook pro and during 30 min or 1 hour I can work but afterwards
 it is imposible coz the system lose the connection. The driver is still
 load but it is imposible to assign any ESSID.
 Im user of kde and knetworkmanager lose the connectivity. Also I tested
 with gnome and networkmanager for gtk and it is the same.
 So I have to restart the computer to reload the module. My question till
 there wasn't any new stable version, is can I reload the module manualy. I
 tried the following script:

 {{{
 ifdown ath0;
 ifconfig ath0 down;
 /usr/src/madwifi/scripts/madwifi-unload; (to unload the drivers)
 depmod -ae ;
 /etc/init.d/avahi-daemon stop;
 /etc/init.d/hostapd stop;
 /etc/init.d/apport restart;
 /etc/init.d/module-init-tools restart;
 /etc/init.d/linux-restricted-modules-common restart;
 /etc/init.d/hal restart;
 modprobe ath_pci;
 modprobe ath_hal;
 modprobe wlan;
 modprobe wlan_scan_sta;
 modprobe ath_rate_sample;
 /etc/init.d/hostapd start;
 ifconfig ath0 up;
 /etc/init.d/avahi-daemon start
 }}}

 But it didn't work and I had to restart.

 Thx and again congrat for the project

Comment:

 First of all: thanks for your kind words on the project.

 This ticket is a duplicate of
 [http://thread.gmane.org/gmane.linux.drivers.madwifi.user/13311 your
 support request] in madwifi-users.

 AFAIK the issue that makes you wanting to reload the driver is already
 addressed in at least one other ticket. If the description there misses
 some information that you have, please add them as a comment there.
 Thanks.

-- 
Ticket URL: <http://madwifi.org/ticket/1639#comment:1>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to