Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] WLAN is gone ...
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
vol1
n00b
n00b


Joined: 22 Aug 2004
Posts: 42
Location: Salzburg (Austria)

PostPosted: Tue Sep 07, 2004 4:31 pm    Post subject: [SOLVED] WLAN is gone ... Reply with quote

Hi,

I'm using Gentoo on my Laptop. WLAN used to work fine (on eth0) with cardmgr until I emerged hotplug. Since then eth0 was the 100Mbit-LAN adapter (which was unrecognized before), and my WLAN card moved to eth1.

I have no idea how to get WLAN back :oops:.

Can anybody help me with my problem?

Thanks in advance,
vol1


Last edited by vol1 on Sun Sep 19, 2004 5:09 pm; edited 1 time in total
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 Sep 07, 2004 4:40 pm    Post subject: Reply with quote

Code:
ln -sf /etc/init.d/net.eth0 /etc/init.d/net.eth1

And update /etc/conf.d/net (and /etc/conf.d/wireless if you use my ebuild) to match the new net names
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
vol1
n00b
n00b


Joined: 22 Aug 2004
Posts: 42
Location: Salzburg (Austria)

PostPosted: Tue Sep 07, 2004 5:30 pm    Post subject: Didn't work :-( Reply with quote

Hi,

thank you for your quick reply. I did as you wrote (except of editing the /etc/conf.d/wireless file - it doesn't exist), but nothing changed :cry:.

Got any hints/ideas?

Thanks again,
vol1
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 Sep 07, 2004 6:24 pm    Post subject: Reply with quote

Well, there's nothing else you can do really.

Depending on how your system is setup depends on which name gets assigned to network devices. On my PC I have eth0 (wired) and ath0 (wireless). The names are different (decided by driver, not you) and as such all end with 0's as they're the only instance.

My lappy on the other hand has eth0 (wired) and eth1 (wireless). If I choose not to load (or compile into the kernel) my wired ethernet module then eth1 (wireless) becomes eth0 as the wired module no longer exists.

Clear? Good

So this means that you have two choices
1) Recompile your kernel without any support for your wired network card
2) Load the wireless module before the wired module
3) Live with it atm and change existing references in your config from eth0 to eth1
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
vol1
n00b
n00b


Joined: 22 Aug 2004
Posts: 42
Location: Salzburg (Austria)

PostPosted: Tue Sep 07, 2004 7:11 pm    Post subject: Reply with quote

Hi,

I think I'll pick option 2. Can you tell me how to determine to order in which modules are loaded?

Thanks for your time and help,
vol1
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 Sep 07, 2004 7:18 pm    Post subject: Reply with quote

vol1 wrote:
I think I'll pick option 2. Can you tell me how to determine to order in which modules are loaded?


If they're compiled directly into the kernel then you need recompile these network modules as external modules.
Then you can edit the order by specifying their name in /etc/modules.autoload.d/your-kernel-version in the order you want them loaded.

If you're using hotplug and the above doesn't work then you'll have to stop using hotplug.

Or take option 3 (easiest imo)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
vol1
n00b
n00b


Joined: 22 Aug 2004
Posts: 42
Location: Salzburg (Austria)

PostPosted: Tue Sep 07, 2004 7:52 pm    Post subject: Reply with quote

Although I'll try opt. 2 and recompile my kernel.

But just to learn something:
Quote:
Or take option 3 (easiest imo)

Isn't changing the references in my config file from eth0 to eth1 what I did when I edited my /etc/conf.d/net?

Thanks,
I'll let you (and the forum) now if opt.2 worked for me,
vol1
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 Sep 07, 2004 10:01 pm    Post subject: Reply with quote

vol1 wrote:

Quote:
Or take option 3 (easiest imo)

Isn't changing the references in my config file from eth0 to eth1 what I did when I edited my /etc/conf.d/net?


Yes it is - but you also need an init script in /etc/init.d
That's what the 1st step did. You then need to add it to your default runlevel
Code:
rc-update add net.eth1 default
rc

and maybe remove net.eth0 if you don't want it started by default
Code:
rc-update del net.eth0

_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
vol1
n00b
n00b


Joined: 22 Aug 2004
Posts: 42
Location: Salzburg (Austria)

PostPosted: Sat Sep 18, 2004 1:38 pm    Post subject: Reply with quote

Hi,

I did add net.eth1 to the default runlevel and after changing all "ifac_eth1" entries in /etc/conf.d/net to "ifconfig_eth1" WLAN finally worked again.

Thank you,
vol1.
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