View previous topic :: View next topic |
Author |
Message |
vol1 n00b
Joined: 22 Aug 2004 Posts: 42 Location: Salzburg (Austria)
|
Posted: Tue Sep 07, 2004 4:31 pm Post subject: [SOLVED] WLAN is gone ... |
|
|
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 .
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 |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
vol1 n00b
Joined: 22 Aug 2004 Posts: 42 Location: Salzburg (Austria)
|
Posted: Tue Sep 07, 2004 5:30 pm Post subject: Didn't work :-( |
|
|
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 .
Got any hints/ideas?
Thanks again,
vol1 |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Sep 07, 2004 6:24 pm Post subject: |
|
|
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 |
|
|
vol1 n00b
Joined: 22 Aug 2004 Posts: 42 Location: Salzburg (Austria)
|
Posted: Tue Sep 07, 2004 7:11 pm Post subject: |
|
|
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 |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Sep 07, 2004 7:18 pm Post subject: |
|
|
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 |
|
|
vol1 n00b
Joined: 22 Aug 2004 Posts: 42 Location: Salzburg (Austria)
|
Posted: Tue Sep 07, 2004 7:52 pm Post subject: |
|
|
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 |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Sep 07, 2004 10:01 pm Post subject: |
|
|
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 |
|
|
vol1 n00b
Joined: 22 Aug 2004 Posts: 42 Location: Salzburg (Austria)
|
Posted: Sat Sep 18, 2004 1:38 pm Post subject: |
|
|
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 |
|
|
|