Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade of Baselayout from 1.11.8 to 1.11.9 hoses wlan.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vthokiestm
n00b
n00b


Joined: 21 Jan 2004
Posts: 7

PostPosted: Thu Feb 17, 2005 6:28 am    Post subject: Upgrade of Baselayout from 1.11.8 to 1.11.9 hoses wlan. Reply with quote

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.8) 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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Feb 17, 2005 9:22 am    Post subject: Re: Upgrade of Baselayout from 1.11.8 to 1.11.9 hoses wlan. Reply with quote

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
View user's profile Send private message
vthokiestm
n00b
n00b


Joined: 21 Jan 2004
Posts: 7

PostPosted: Thu Feb 17, 2005 2:40 pm    Post subject: Fixed!!! Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Feb 17, 2005 2:47 pm    Post subject: Re: Fixed!!! Reply with quote

Yeah, the scripts are picky - but that's bash for you :roll:
I missed out an equals sign - my bad.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum