View previous topic :: View next topic |
Author |
Message |
vthokiestm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/13499119894334635b0ad18.gif)
Joined: 21 Jan 2004 Posts: 7
|
Posted: Thu Feb 17, 2005 6:28 am Post subject: Upgrade of Baselayout from 1.11.8 to 1.11.9 hoses wlan. |
|
|
I've been looking through the forums for a dupe, but don't see anything so I'll post.
I just upgraded to baselayout 1.11.9 (from 1.11. and it has broken my wireless connection.
This setup has been working with my AP for a few months, so its not the router.
I'm using ndiswrapper with a Netgear G PCMCIA card (Prism54).
Here's my /etc/conf.d/wireless...
Code: |
essid_wlan0="hokies"
mode_wlan0="managed"
channel_wlan0="1"
key_hokies="open xxxxxxxxxxxxxxxxxxxxxxxxxx"
preferred_aps("hokies")
|
and /etc/conf.d/net
Code: |
config_wlan0=("dhcp")
|
When I try to use a static IP and gateway, the IP is accepted, but the NIC can't even ping the gateway.
dhcpcd fails on wlan0.
Anybody see a way to work around this without starting from scratch?
Thanks,
Brian |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Feb 17, 2005 9:22 am Post subject: Re: Upgrade of Baselayout from 1.11.8 to 1.11.9 hoses wlan. |
|
|
vthokiestm wrote: |
Here's my /etc/conf.d/wireless...
Code: |
essid_wlan0="hokies"
mode_wlan0="managed"
channel_wlan0="1"
key_hokies="open xxxxxxxxxxxxxxxxxxxxxxxxxx"
preferred_aps("hokies")
|
|
essid_wlan0 hardcodes the essid hokies to wlan0, rendering preferred_aps pointless.
managed mode renders setting the channel pointless too.
I wouldn't put open at the start of the key line
So here's a new config
Code: |
key_hokies="xxxxxxxxxxxxxxxxxxxxxxxxxx enc open"
preferred_aps("hokies")
|
Simpler!
If that fails to work, set RC_VERBOSE=yes in /etc/conf.d/rc and post the output of the net script running - thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vthokiestm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/13499119894334635b0ad18.gif)
Joined: 21 Jan 2004 Posts: 7
|
Posted: Thu Feb 17, 2005 2:40 pm Post subject: Fixed!!! |
|
|
Got it working!
I couldn't get your suggestion to work. I had to have /etc/conf.d/wireless as follows...
Code: |
mode_wlan0="managed"
key_hokies="open xxxxxxxxxxxxxxxxxxxxxxxxxx"
preferred_aps("hokies")
|
I also added this to /etc/conf.d/net...
Code: |
config_hokies( "dhcp")
|
All is well.
I can't believe that these scripts are so finicky about the exact format of the commands in the configuration files. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Feb 17, 2005 2:47 pm Post subject: Re: Fixed!!! |
|
|
Yeah, the scripts are picky - but that's bash for you
I missed out an equals sign - my bad. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|