Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Try to load prism54 after eth0
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
zhoul
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Fri Jul 08, 2005 9:48 pm    Post subject: Try to load prism54 after eth0 Reply with quote

I have two wired cards(eth0,eth1) and one wireless card (eth2).
It seems every time my prism54 is loaded to the first network card it sees
no matter if the network card is a wireless card or not.

starting eth0
Configuring wireless network for eth0

But eth0 is not my wireless card. I am wondering if anybody knows how to fix this problem.
I tried udev frename, but it does not work. I think there must a file that controls how wireless
network is loaded.

Thanks in advance.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat Jul 09, 2005 8:42 am    Post subject: Reply with quote

So change all occurances of eth0 to eth2 in your config
Back to top
View user's profile Send private message
zhoul
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Sat Jul 09, 2005 2:11 pm    Post subject: Reply with quote

UberLord, Thank you for answering my question.

I am new to gentoo. I am just wondering if you could give me a little bit detail on how to change
occurances in my config, like what files I should look into and just briefly
what I should change. Hope this would not take you a lot of time.

Thank you so much.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat Jul 09, 2005 5:25 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4


Basically, /etc/conf.d/net has defaults like
Code:
config_eth0=( ... )


So that's for interface eth0.
Code:
config_eth2=(...)


That does the config for interface eth2

Clear?
Back to top
View user's profile Send private message
zhoul
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Mon Jul 11, 2005 3:21 pm    Post subject: Reply with quote

I just checked my /etc/conf.d/net and wireless.
In /net, it has

iface_eth0="10.10.1.151 broadcast 10.10.1.255 netmask 255.255.255.0"
iface_eth1="10.100.20.10 broadcast 10.100.10.255 netmask 255.255.255.0"
routes_eth1=("......")
gateway="eth0/10.10.1.254"


I changed eth0 to eth2. When I reboot, it still gives me

Starting eth0
Configuring wireless network for eth0
eth0 connected to.....
Bringing up eth0
10.10.1.151
adding routes.....
Starting eth1.......


I think there must be a similar file somewhere controlling the sequence. I have been looking
for similar config files for two hours. I do not know where I should look. Sorry for bothering you
again. Could you tell me where the problem could possibly be?

Thank you so much.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Jul 11, 2005 3:25 pm    Post subject: Reply with quote

Oh sorry - I think I misunderstood your problem.

eth0 is your wireless card - but you want it to be eth2 instead? Is that correct?

If so, look into ifrename, part of wireless-tools and ensure your wireless driver is compiled as a kernel module and not builtin.
Back to top
View user's profile Send private message
zhoul
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Mon Jul 11, 2005 7:07 pm    Post subject: Reply with quote

It works now. I am so excited. Thank you Uberlord.
It turns out that I loaded prism54 as a builtin instead of a module.
Thank you so much!!!!
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