Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless configuration and startup - The Gentoo way (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 15, 16, 17  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Mon May 02, 2005 7:29 pm    Post subject: Reply with quote

to UberLord
ok i've changed what youhave suggested and now i run with
Code:
sys-apps/baselayout-1.11.11-r3

i switch to -2.6.11-gentoo-r6
i use acx100 like the driver for my wireless and i re-emerge my wireless driver after changing kernel
but it doen't work.
the samething error: my /ect/conf.d/wireless is not accepted
Code:
essid_wlan0="toto"
mode_wlan0="Managed"
iwconfig_wlan0="rate 11M"
key_toto="XXXXXX enc open"
mac_key_XXX="XXXXX"

in my /ect/conf.d/net
Code:
auto_interface="yes"
config_wlan0=( "dhcp" )
modules=( "iwconfig" )
dhcpcd_wlan0="-t 10 -H -D -N"


so i've returned with my gentoo-source-before

it's stange!
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Mon May 02, 2005 11:16 pm    Post subject: Reply with quote

i got this error in my dmesg:

Code:
Updating transmit power: 18 dBm
changing radio power level to 18 dBm (23)
get_mask 0x00000000, set_mask 0x00001000 - after update
get_mask 0x00000000, set_mask 0x00041000
important setting has been changed --> need to update packet templates, too
Updating WEP key settings
Setting WEP key: 0 with size: 13
Setting WEP key 0 as default.
Starting radio scan
acx_set_status: Setting status = 1 (SCANNING)
<acx_set_timer> Elapse = 2500000
get_mask 0x00000000, set_mask 0x00001000 - after update
get_mask 0x00000000, set_mask 0x00011000
important setting has been changed --> need to update packet templates, too
Starting radio scan
acx_issue_cmd FAILED: Scan in progress [4786600 uSec] Cmd: 8h, Result: Fh
acx_set_status: Setting status = 1 (SCANNING)
<acx_set_timer> Elapse = 2500000
get_mask 0x00000000, set_mask 0x00001000 - after update
FIXME: most likely needs refinement, first implementation version only...
acx_set_status: Setting status = 0 (STOPPED)
module count --


and it doesn't work yet...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue May 03, 2005 6:13 am    Post subject: Reply with quote

I suggest you ask on any acx100 mailing lists, forums or start a new thread here and I don't do driver support - unless you want to buy me some hardware that is :wink:
Back to top
View user's profile Send private message
snorri_dj
n00b
n00b


Joined: 17 Nov 2004
Posts: 72
Location: Australia

PostPosted: Wed May 04, 2005 1:44 pm    Post subject: Wireless with IPW2200 Reply with quote

This wireless thread is really confusing. Just starting out with gentoo and finished my second install on a laptop just the other day. It has an ethernet card that doesn't have a supported driver yet. Wireless however, worked out of the box once I'd run net-setup eth0 on the live cd. So I happily emerged away, ran /etc/init.d/net.eth0 and crunched through Bob's stage 1/3 install. Just for some info - the wireless network at university that I'm connected to is open, so there was very little configuration.

Upon finishing the install I made sure I had the ipw2200 (my wireless card) module built by the kernel and rebooted - everything went smoothly. net.eth0 in the default configuration so it connected no problem. Now several boots later, I have curious behaviour. In /etc/conf.d/net I have

iface_eth0="dhcp"
dhcpcd_eth0="-HD -N -t 10"

and that's it.

Questions:

1) I've not actually edited anything that tells the card what the name of the network it connects to is called (does it just hook into the first one it finds when none are specified??).

2) It still brings up the same IP address for the card everytime it connects - over a period of several days. Is this likely or is it remembering something it shouldn't?

3) The curious behaviour. The init script (/etc/init.d/net.eth0) brings up the interface and gives it the IP address and I can ping out to other computers on the same network (xxx.xxx.xxx.1 for example). But when I try and ping anything else I get

connect: Network is unreachable

4) Why does the interface get brought down on bootup just before all the other scripts are started?

Been reading for hours now, and completely baffled. Can't find any logic in how it's working...or not working! I will try upgrading to the later version of baselayout as you recommend in uberlord's HOWTO tomorrow, but seems pointless when it was pretty much working (and works without a hitch on the liveCD).

Just tried upgrading baselayout, but couldn't unmask it with either the package.unmask or the package.keywords options. Is this still do-able?

Cheers,
Daniel.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed May 04, 2005 2:15 pm    Post subject: Re: Wireless with IPW2200 Reply with quote

snorri_dj wrote:
This wireless thread is really confusing.

Yes it is. I'll try and get a mod to close it.

Quote:

1) I've not actually edited anything that tells the card what the name of the network it connects to is called (does it just hook into the first one it finds when none are specified??).


Depends on the driver. All mine don't

Quote:

2) It still brings up the same IP address for the card everytime it connects - over a period of several days. Is this likely or is it remembering something it shouldn't?


Yes, most dhcp clients remember their old address and request it again

Quote:

3) The curious behaviour. The init script (/etc/init.d/net.eth0) brings up the interface and gives it the IP address and I can ping out to other computers on the same network (xxx.xxx.xxx.1 for example). But when I try and ping anything else I get

connect: Network is unreachable


That suggests that you do not have a default gateway set, or it's blocking you.
You can check to see if you have a default gateway by doing
Code:

route -n
Back to top
View user's profile Send private message
snorri_dj
n00b
n00b


Joined: 17 Nov 2004
Posts: 72
Location: Australia

PostPosted: Wed May 04, 2005 2:41 pm    Post subject: Re: Wireless with IPW2200 Reply with quote

Thanks for the reply Uberlord,

Quote:

Yes, most dhcp clients remember their old address and request it again

That suggests that you do not have a default gateway set, or it's blocking you.
You can check to see if you have a default gateway by doing
Code:

route -n




I expected something of the like with dhcpcd. But seems to be the gateway that's the problem, so I won't worry about that. I just dropped back to the livecd and found an upgrade for ipw2200 and that seems to have reinitialised things, so wireless is working again for the moment. I'll be able to check things more thoroughly later.

I went and checked a few things with dhcpcd. The man page for it seems a bit out of date, referring to files and directories in etc that aren't there. One thing I might be able to do is to set the gateway permanently (it looks like it's always sitting at xxx.xxx.xxx.1) by adjusting the call to the dhcpcd with -G in /etc/conf.d/net.
Still no idea why it's losing that though.

Certainly seems to be dhcpcd issues I'm grappling with though rather than wireless issues, which is good to know.

Thanks for the pointer,
Daniel.

PS. By the way, does the system store the gateway address when it receives one like it does for the nameserver address?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed May 04, 2005 4:42 pm    Post subject: Re: Wireless with IPW2200 Reply with quote

UberLord wrote:
snorri_dj wrote:
This wireless thread is really confusing.

Yes it is. I'll try and get a mod to close it.

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17
Page 17 of 17

 
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