View previous topic :: View next topic |
Author |
Message |
Hiltz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 17 Aug 2005 Posts: 28
|
Posted: Wed Aug 02, 2006 6:15 pm Post subject: Wireless Card Wont start throught init scripts |
|
|
I have an atheros based wireless card, i use madwifi for it. It's allways given me trouble
when i have my init scripts try to start and associate to my access point it tells me no access points were found.
Now if i tell the interface to come up ie by typing "ifconfig ath0 up" before running the initscripts it will work just fine.
now is there anyway to tell the interface to go up before it tries to find an access point?
Here's my /etc/conf.d/wireless
Code: |
config_wireless1=( "wireless1" )
key_wireless1="5815af5d29dd7d93d2041626a2 enc open"
preferred_aps=( "wireless1" )
unique_ap="yes" ##I have two wireless cards in my comp, the problem existed
## long before i ever put the 2nd one in
associate_order="forcepreferred"
preup() {
ifconfig $IFACE up ## I was Hoping this would work but it hasnt seemed to make any difference
}
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mamac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/79832502046fa149601d7a.jpg)
Joined: 29 Feb 2004 Posts: 890
|
Posted: Thu Aug 03, 2006 5:40 am Post subject: |
|
|
Hi,
I think your thread is a duplicated one, please join this one _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hiltz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 17 Aug 2005 Posts: 28
|
Posted: Thu Aug 03, 2006 6:25 am Post subject: |
|
|
Its a different problem, he had a problem with wpa, my configuration doesnt use wpa.
The problem i'm having is that my wireless card wont go up (automaticly) with the init scripts.
I need it to go up before it will associate with an access point, w/o being up it wont scan, and because it cant scan it cant find my access point |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mamac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/79832502046fa149601d7a.jpg)
Joined: 29 Feb 2004 Posts: 890
|
Posted: Thu Aug 03, 2006 6:30 am Post subject: |
|
|
What error message do you have?
What is the version of baselayout? _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hiltz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 17 Aug 2005 Posts: 28
|
Posted: Thu Aug 03, 2006 6:37 am Post subject: |
|
|
My baselayout version is: 1.11.14-r3
The error i have is
Code: |
* Starting ath0
* Configuring wireless network for ath0
* no access points found
* Couldn't find any access points on ath0
* Failed to configure wireless for ath0 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mamac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/79832502046fa149601d7a.jpg)
Joined: 29 Feb 2004 Posts: 890
|
Posted: Thu Aug 03, 2006 6:46 am Post subject: |
|
|
For me it's like if the system doesn't find the SSID, but it works when you start it manually...
Did you read this? _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hiltz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 17 Aug 2005 Posts: 28
|
Posted: Thu Aug 03, 2006 6:51 am Post subject: |
|
|
yea i've read everything on gentoo's site about wireless, even gentoo-wiki's site
the weird thing is that when i tell the interface to go up manually by "ifconfig ath0 up", then run the init scripts it runs fine, no idea why the init scripts dont automatically tell the interface to go up before trying to search for aps?
btw is there anyway to tell the init scripts that they should sleep for a certain time before it tries to search for an accesspoint? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mamac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/79832502046fa149601d7a.jpg)
Joined: 29 Feb 2004 Posts: 890
|
Posted: Thu Aug 03, 2006 7:03 am Post subject: |
|
|
I don't use wireless anymore but when I did, I think I remember I used iwconfig instead of if config...
Can you try :
Code: |
rc-update add ath0 default
|
_________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hiltz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 17 Aug 2005 Posts: 28
|
Posted: Thu Aug 03, 2006 7:12 am Post subject: |
|
|
it is set to start at boot already
iwconfig only sets wireless variables for essid wep etc
ifconfig controls the basic interface functions like bring it up or down, setting an ip etc
for now i have it set to force my ip, and it seems to be working |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
96140 Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 23 Jan 2005 Posts: 1324
|
Posted: Sun Aug 13, 2006 6:57 pm Post subject: |
|
|
Might want to check out this topic for a script to fix things. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|