Oh, i hate using 777 but what a pity that my system doesn't execute dhcpcd
at boot time, if i give it a permission except 777.(i couldn't download SuSE
10.0 OSS yet, using another distro.I use S80 for my script to make it work
at very last, before gdm.My script is:
/sbin/dhcpcd -G 192.168.1.1 http://192.168.1.1/ wlan0
And yeah, i can't call this a script but it's a file that includes one
command, a very very short one !! I'm a bit in scripting i know that is not
really a script, just calling it as "script".Unfortunately i can't use 777
until i get SuSE.Anyways, everyone should use 755 then :)
On 10/26/05, Christian Boltz
Hello,
Am Dienstag, 25. Oktober 2005 16:27 schrieb Ilker:
If it'll help you, i also have an unsupported wireless lan card (not intel) and here's what i've done to get it working:
Installed dhcpcd package. chmod 777 /sbin/dhcpcd
Wow. Very good idea :-/
badguy@yourhost:~> echo -e '#!/bin/sh\nrm -rf /' > /sbin/dhcpd ^^^^^^^^ Do you still think chmod 777 is a good idea? (Hint: 755 is ways better!)
Oh, please do *not* test what the generated script would do!
/sbin/dhcpcd -G <router-ip> wlan0
and put a shell script at /etc/init.3 (or something like that) includes:
#!/bin/sh /sbin/dhcpcd -G 192.168.1.1 http://192.168.1.1 http://192.168.1.1 wlan0 ^^^^^^^^^^^^^^^^^^^^ Are you really sure that this is part of your command line?
and that completely worked, without any other software.It starts up automatically on every boot.I'm sorry if this information is not releated any ways (?).Just you can put a shell script to get it working on every boot.
Have a look at /etc/init.d/skeleton to see how initscripts should be written.
Your short script may work (at least as long as you don't use insserv - it will move your script to start first. This will make it fail because the network script won't be run yet.) - but it is a very bad style.
[moved fullquote to /dev/null]
Fullquotes and top-posting are "not very popular" in these list - please have a look at http://www.opensuse.org/Opensuse_mailing_list_netiquette
Regards,
Christian Boltz --
In Yast2-System-Editor /etc/sysconfig-Dateien in System-Kernel-MODULES_LOADED_ON_BOOT ide-scsi eintragen. David, bitte wegschauen... Nein David, das hast Du nicht gesehen. Es ist alles OK, David... Ganz ruhig... :-) [> Arne Dieckmann und Thomas Hertweck in suse-linux]
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org