Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A few different problems [SOLVED]
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
brandon_r87
n00b
n00b


Joined: 10 Oct 2006
Posts: 28

PostPosted: Wed Nov 01, 2006 10:12 pm    Post subject: A few different problems [SOLVED] Reply with quote

Hi,

First of all, my wireless (ipw2200) is working fine, but each boot, it will randomly choose either eth0 or eth1. Is there a way to make it pick one and always load as that? It's a pain changing it in my conf files everytime.

Second, I'm at college so that means I can see lots of different wireless networks and it always connects to the wrong one on startup. I tried setting up /etc/conf.d/wireless but I'm very new to gentoo and don't have a lot of experience editing conf files. I looked at wireless.example, but I wasn't sure how much I needed so this is all I have.

Code:
essid_eth0="network"
key_famicom="s:********* enc open"


I don't know if I need more, or if the problem goes back to my wireless device choosing either eth0 and eth1 at every boot.

Brandon


Last edited by brandon_r87 on Thu Nov 02, 2006 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
PMcCauley
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 283
Location: Alberta, Canada

PostPosted: Wed Nov 01, 2006 10:24 pm    Post subject: Reply with quote

Brandon,

You can use UDEV to make sure that the card is always set to the same name. Check out the UDEV guide.

http://www.gentoo.org/doc/en/udev-guide.xml - not too much help

Also writing UDEV rules(this is what you need): http://www.reactivated.net/udevrules.php

Patrick
Back to top
View user's profile Send private message
brandon_r87
n00b
n00b


Joined: 10 Oct 2006
Posts: 28

PostPosted: Wed Nov 01, 2006 11:14 pm    Post subject: Reply with quote

Thanks, I changed
Code:
RC_DEVICE_TARBALL="no"
to
Code:
RC_DEVICE_TARBALL="yes
" in /etc/conf.d/rc and that seems to have fixed that.

The wireless still connected to the wrong network even after making sure that everything now pointed to the correct device. It always connects to a network with no encryption, so I think I've set up the encryption in /etc/conf.d/wireless incorrectly. I use a WEP key (I know it's not as good as WPA but the Nintendo DS doesn't support WPA). Here's the file.

Code:
essid_eth0="network"
key_famicom="********* enc open"
Back to top
View user's profile Send private message
n3bul4
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 187

PostPosted: Thu Nov 02, 2006 8:10 am    Post subject: Reply with quote

Hello,

don't know if this helps:

lets's say your networks name is "test"

essid_eth0="test"
key_test="1A:2B:3C:4D:5E enc open" #you need this if you want to set a hex key (64-bit in this case)
key_test="s:Isabelle enc open" #you need the s: option if your passwd is a simple text


You can give preferences to some essids (look at wireless.example).
Maybe that helps and it than connects to your preffered ap first.......

greetz...
Back to top
View user's profile Send private message
brandon_r87
n00b
n00b


Joined: 10 Oct 2006
Posts: 28

PostPosted: Thu Nov 02, 2006 1:36 pm    Post subject: Reply with quote

I'm using a hex key, so do I need those colons after every two characters? Just asking because that's not how I input it into my router or other computers.
Back to top
View user's profile Send private message
n3bul4
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 187

PostPosted: Thu Nov 02, 2006 1:40 pm    Post subject: Reply with quote

Yes I think you need them.
I enter my hex key always with colons and it works.....
Back to top
View user's profile Send private message
brandon_r87
n00b
n00b


Joined: 10 Oct 2006
Posts: 28

PostPosted: Thu Nov 02, 2006 3:37 pm    Post subject: Reply with quote

OK, I fixed it and it now connects to my network on startup. I don't know what did it because I changed a few different mistakes I had made before I had udev working.
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