You are not logged in.

#1 2008-08-21 16:05:06

Skippy le Grand Gourou
Member
Registered: 2007-06-12
Posts: 15

Short wifi sessions with netcfg (was "Freeze due to netcfg2") [Solved]

Hey guys and girls,

I'm experiencing some problems with netcfg. This is kind of urgent since that's my parents' computer and I have to leave tomorrow (actually I already delayed my departure from today because of that).

Here is the problem :
[- I have to boot at least ten times for the computer to boot successfully, otherwise the boot process stops at "Wifi up" ("wifi" being the name of my profile).][doesn't seem true anymore with ndiswrapper]
- When it works, the network randomly stops working after a few minutes.
- After it worked (and fell), trying to stop net-profiles won't work : it will just print "Wifi down [BUSY]" up to nowhen, then any attempt to sudo anything (even vi) will fail (the prompt will just hang on), and shutting down process will also fail on this "Wifi down [BUSY]" thing.

The computer is up to date (that's actually part of the problem, no upgrade since at least six months and I didn't want to, but finally did because of mis-diagnosis…) with only stable repositories. Here are some useful config files and output :

rc.conf:

…
wlan0="wlan0 192.168.0.2"
INTERFACES=(lo wlan0)
ROUTES=(!gateway)
NETWORKS=(wifi)
…

network.d/wifi:

CONNECTION="wireless"
DESCRIPTION="wifi"
INTERFACE=wlan0
SCAN="no"
SECURITY="wep"
ESSID="whocares"
KEY="loose key"
IP="static"
IFOPTS="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
GATEWAY="192.168.0.254"
TIMEOUT=60
DHCP_TIMEOUT=60

(the timeouts don't work as the system freezes)

The router is a french "freebox" configured in dhcp, with a permanent 192.168.0.2 address dedicated to the MAC address of the computer, its address is 192.168.0.254 and it works well.

The wifi card is a Zyxel one with Realtek's RTL8185L chipset. It worked fine before the switch to netcfg, and I use ndiswrapper [it is worst if I use the "new" rtl8180 driver, see edit3].

So, any idea ? Thanks.

Edit : Oh, and logs are empty…
Edit2 : In case it could be related, I use pci=routeirq and edd=off at boot.

Edit3 : Additional problem I had with rtl8180 : "If I remove net-profiles from rc.conf' daemons list, starting manually netcfg2, netcfg-auto-wireless or net-profiles freezes the computer, forcing me to hard reboot]

Last edited by Skippy le Grand Gourou (2008-08-22 10:13:18)

Offline

#2 2008-08-21 19:54:45

Skippy le Grand Gourou
Member
Registered: 2007-06-12
Posts: 15

Re: Short wifi sessions with netcfg (was "Freeze due to netcfg2") [Solved]

Still no idea ? I figured out that iwlist cannot scan anything [edit: well, not everytime…] (while the network is working):

$ iwlist wlan0 scan
wlan0     Failed to read scan data : Resource temporarily unavailable

And maybe this might help some guru :

$ iwpriv wlan0
wlan0     Available private ioctls :
          ndis_reset       (8BF0) : set   0       & get   0      
          power_profile    (8BF1) : set   1 int   & get   0      
          deauthenticate   (8BF3) : set   0       & get   0      
          network_type     (8BF2) : set   1 char  & get   0      
          media_stream     (8BF4) : set   1 int   & get   0      
          reload_defaults  (8BF7) : set   0       & get   0

I'm really hoping to hear from anybody soon… Thanks.

Last edited by Skippy le Grand Gourou (2008-08-21 19:58:30)

Offline

#3 2008-08-21 20:07:12

zz5
Member
Registered: 2008-08-16
Posts: 6

Re: Short wifi sessions with netcfg (was "Freeze due to netcfg2") [Solved]

the problem is in the ndiswrapper 1.53, see this topic for details:
http://bbs.archlinux.org/viewtopic.php?id=53607

Offline

#4 2008-08-21 21:46:35

Skippy le Grand Gourou
Member
Registered: 2007-06-12
Posts: 15

Re: Short wifi sessions with netcfg (was "Freeze due to netcfg2") [Solved]

Thank you very much, the trick seems to work for the moment. We'll see if the connection survives to the night.

Edit : It did survive. big_smile

Last edited by Skippy le Grand Gourou (2008-08-22 10:12:51)

Offline

Board footer

Powered by FluxBB