sidux.com
Menu

News

Give back
Last 3 Contributions
16-11-2008 10.00
02-11-2008 20.00
31-10-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Sordon
15 Post subject: WLAN with RT61 not available right away  PostPosted: Dec 29, 2007 - 08:29 PM



Joined: Dec 02, 2006
Posts: 124
Location: Germany
Status: Offline
In a PC of a friend of mine a PCI WLAN card with RT61 chipset is installed. The installation was easy, firmware was installed via the package firmware-ralink and WLAN was setup with Ceni. So far so good.
But after a restart of the PC the WLAN is not available right away. What I have to do to get a WLAN connection is simply enter iwlist s in a terminal (as root). And when the WLAN comes up in KDE and works without any problems.

Now my question is what can I do, to get my WLAN up and running without doing the 'iwlist s', so that it starts automatically. Thanks

Best Regards,
Sordon


Last edited by Sordon on Apr 06, 2008 - 12:05 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: WLAN with RT61 not available right away  PostPosted: Jan 02, 2008 - 02:13 PM



Joined: Nov 30, 2006
Posts: 3436
Location: Budapest
Status: Offline
We would have to know what exactly is not working as you like:

- upping of the card
- connection to the WLAN

First step in forensics is, I need the output of
Code:
cat /etc/network/interfaces
If there are some keys just blabla them.

hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
Sordon
Post subject:   PostPosted: Jan 08, 2008 - 10:33 PM



Joined: Dec 02, 2006
Posts: 124
Location: Germany
Status: Offline
OK. Here is the content of the file interfaces:
Code:
auto lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet static
        address 192.168.0.10
        broadcast 192.168.0.255
        gateway 192.168.0.1
        netmask 255.255.255.0
        network 192.168.0.0
        wireless-essid default
        wireless-key xxxxxxxxxxxxxxxxxxxxxxx
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject:   PostPosted: Jan 09, 2008 - 01:00 AM



Joined: Dec 19, 2006
Posts: 1029

Status: Offline
A hack workaround may be to add:

Code:

post-up iwlist wlan0 scan


underneath the wireless-key line.

rt61 must be a crappy driver to need this :/
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject:   PostPosted: Jan 09, 2008 - 01:17 PM



Joined: Dec 02, 2006
Posts: 1905

Status: Offline
The driver should be smart enough to do the initial scan for you upon driver initialization. Perhaps this tip should be passed to the rt61 developers.
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject:   PostPosted: Jan 10, 2008 - 09:56 AM



Joined: Dec 19, 2006
Posts: 1029

Status: Offline
Somehow I think they know that, DeepDayze, hacking on drivers of that nature is not easy ....
 
 View user's profile Send private message  
Reply with quote Back to top
mrsarmitage
Post subject:   PostPosted: Jan 10, 2008 - 02:05 PM



Joined: Dec 07, 2006
Posts: 66
Location: Berlin
Status: Offline
i can confirm what sordon has wriiten about rt61. dhcpdiscover doesn't assign ip-address to the wlan card. Only after kde is up and running I get the card working by typing dhclient wlan1 in console. It then assigns ip-address and works.
Greetings UB
 
 View user's profile Send private message  
Reply with quote Back to top
Sordon
Post subject:   PostPosted: Apr 06, 2008 - 12:05 PM



Joined: Dec 02, 2006
Posts: 124
Location: Germany
Status: Offline
I almost forgot to give a feedback, about the solution to my problem. I'm using kelmo's advice and added "post-up iwlist wlan0 scan" to the interface file. Now it works right from the beginning.
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject:   PostPosted: Apr 06, 2008 - 12:28 PM



Joined: Dec 19, 2006
Posts: 1029

Status: Offline
Sordon wrote:
I almost forgot to give a feedback, about the solution to my problem. I'm using kelmo's advice and added "post-up iwlist wlan0 scan" to the interface file. Now it works right from the beginning.


Hmm, interesting, thanks for the feedback.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio