Click to See Complete Forum and Search --> : problems activating wlan0 on boot


dmitri
June 27th, 2004, 10:31 AM
Is there a simple way of automatic activating wlan on boot with dhcp,
when on board eth0 card (not wireless) is also present?
I'm using Suse and yast2 takes 'eth1' as new card but doesn't allow to enter 'wlan0'.
When booting, dhcp tries to run on eth0 (disconnected) and on eth1 (fails),
then I have to log in as root and execute 'dhcpcd wlan0' manually, then everything works.
The question is if I can bypass the last step.

Thanks,
Dmitri.

+Daemon+
June 27th, 2004, 08:52 PM
why not edit your startup scripts and add

"dhcpcd wlan0" ??

there should be a rc.local file you can add that into or a rc.S

dmitri
June 29th, 2004, 09:17 AM
why not edit your startup scripts and add

"dhcpcd wlan0" ??

there should be a rc.local file you can add that into or a rc.S

Indeed, why not :)
The only question is where to add it.
I couldn't find any file called rc.local.
Any other file I can write it in?

Thanks, Dmitri.

+Daemon+
June 29th, 2004, 09:21 AM
should be in /etc/rc.d

unless suse changed the default location

dmitri
June 29th, 2004, 02:14 PM
should be in /etc/rc.d

unless suse changed the default location

Obviously they did (what for making things simple?)
There is /etc/rc.d and /etc/init.d in which
there is a big script 'rc' and directories rc0.d - rc6.d and rcS.d
but there is no file called 'rc.local'.
Maybe there is another way of adding this command?

Thanks,
Dmitri.