You are not logged in.

#1 2010-08-18 06:12:39

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

[SOLVED] wlan0 not showing on ifconfig at startup

Hello, new to Arch coming from Gentoo. One more!

I usually have to wait about a minute until wlan0 shows on ifconfig. Before that, only lo and eth0 show up.
I have wpa_supplicant (gui included) and netcfg (installed according to wiki). But I think they come a bit later than what my problem reflects.
On my rc.conf:

wlan0="dhcp"
INTERFACE="wlan0"
DAEMONS=(@syslog-ng dbus hal network netfs crond @net-profiles)

Thanks y'all.

Last edited by w7nz7k (2010-08-20 06:47:31)

Offline

#2 2010-08-18 08:54:12

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

if you have netcfg installed, you don't really need to start network as long as you are handling all your connections through it. I would just let netcfg handle eth0 and wlan0


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-08-18 09:19:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] wlan0 not showing on ifconfig at startup

How about this:

DAEMONS=(syslog-ng dbus hal @netfs @crond net-profiles)

Offline

#4 2010-08-18 09:27:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

karol, but he would still have to make sure that he has configured both his connections via netcfg before he makes the change to his DAEMONS array. netcfg does not automatically takeover existing connections. you have to create a profile for each connection that you want netcfg to manage.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-08-18 09:33:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Inxsible wrote:

karol, but he would still have to make sure that he has configured both his connections via netcfg before he makes the change to his DAEMONS array. netcfg does not automatically takeover existing connections. you have to create a profile for each connection that you want netcfg to manage.

Of course, I didn't mean he should skip your advice, but not backgrounding net-profiles is a cheap trick that may help too ;P

Offline

#6 2010-08-18 18:53:59

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Thank you the replies! Sadly... no results. I did notice something that might give us a clue: the very last message before the login is

Interface wlan0 does not exist

again... if I run "ifconfig -a" I only get eth0 and lo. It is about a minute after (50 seconds, I counted wink ) that wlan0 shows up.

Cheers.

Offline

#7 2010-08-18 19:00:52

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

1) What does your DAEMONS look like now? Same as first post?
2) Are you trying to configure both your connections via the same daemon i.e. either network OR net-profiles
3) if net-profiles then -- Have you created a profile for each of the connections that you have? i.e. eth0 AND wlan0?
3a) Also have you removed all connections from your INTERFACES array in rc.conf?
4) If yes to 3 and 3a, post your profiles here.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2010-08-18 19:00:56

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Can you post your current rc.conf? If you want to use netfg, all you really need in your network section is the hostname and the profile to start, e.g.

HOSTNAME="arch"
NETWORKS=(home)

and net-profiles in the daemon array.

...too slow once more

Last edited by hokasch (2010-08-18 19:02:15)

Offline

#9 2010-08-18 19:08:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Your wifi driver is taking about a minute to initialise, for whatever reason - loading firmware maybe, or something like that. Check your logs for clues.

Does netcfg configure your connection properly after the interface becomes available?

Offline

#10 2010-08-18 19:30:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

at this point, I am not even sure if the OP is using netcfg or network to configure his wireless lan hmm


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2010-08-18 21:42:36

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] wlan0 not showing on ifconfig at startup

wow! active forums, yay!
Inxsible, since your post I changed what i thought was correct, my current rc.conf (without comments)

LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="America/Mexico_City"
KEYMAP="ANSI-dvorak"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MODULES=(scsi_wait_scan)
USELVM="no"
HOSTNAME="myhost"
wlan0="dhcp"
INTERFACES="eth0 wlan0"
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
NETWORKS=(wpa_suppl)
DAEMONS=(@syslog-ng dbus hal netfs crond net-profiles)

I get the feeling this is a related to hardware (maybe firmware) but I wouldn't bet on it. More thanks!

Offline

#12 2010-08-18 21:48:17

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Inxsible wrote:

3) if net-profiles then -- Have you created a profile for each of the connections that you have? i.e. eth0 AND wlan0?
3a) Also have you removed all connections from your INTERFACES array in rc.conf?
4) If yes to 3 and 3a, post your profiles here.

Also, it would surely help to know what wireless card/driver you are using.

Offline

#13 2010-08-18 23:50:57

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

w7nz7k, please help us help you.

You are not answering all the relevant questions that are being asked of you. We are not telepathic (sic) you know.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#14 2010-08-19 06:41:08

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] wlan0 not showing on ifconfig at startup

My apologies. I had to leave in a rush. I have only created one profile: /etc/network.d/wpa_suppl which has in it

CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'
IP='dhcp'

As to 3a)... I think I might have. At some point I changed from "INTERFACES" to "INTERFACE" thinking it had to match the profile I just posted. I hope I answering properly, if not, please do yell at me a bit more.
Thanks

Offline

#15 2010-08-19 09:16:25

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] wlan0 not showing on ifconfig at startup

So you are not handling eth0 via netcfg ??? Please refer to my first post in this thread again. I would recommend that you use EITHER network or netcfg to manage your connections.

At this point the only thing I can do is refer you to our excellent wiki article on netcfg


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#16 2010-08-20 06:45:57

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] wlan0 not showing on ifconfig at startup

well... it's fixed. :S
a good-old

pacman -Syu

fixed it... marking as closed.

Offline

#17 2010-08-20 18:04:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] wlan0 not showing on ifconfig at startup

Changed to SOLVED - CLOSED means closed by a moderator.

Offline

Board footer

Powered by FluxBB