LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-01-2008, 05:58 PM   #1
irkkaaja
Member
 
Registered: Oct 2008
Posts: 44

Rep: Reputation: 16
How do I configure boot scripts?


I'm pretty sure there's a way to make slackware run iwconfig/wicd/dhcpcd on boot so I don't have to do it myself each time; can anyone explain how? I checked slackwiki (which as a new guy I can't link) but couldn't find anything.

Also, my university works from either a wireless or a wired connection. Is it possible to autodetect the wired connection, and if it's connected (ethernet cable) to configure that instead?

On a completely unrelated note, animated .gifs seem to slow everything down a whole lot. Is there a way to fix that?
 
Old 11-01-2008, 06:32 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
As for generic instructions see http://alien.slackbook.org/dokuwiki/...eless_networks

Your question about "wicd" should be answered by the README which accompanies it - wicd is not part of Slackware, you will have to bind it's startup script "rc.wicd" into the Slackware rc scripts yourself.

Eric
 
Old 11-01-2008, 11:00 PM   #3
gmbastos
LQ Newbie
 
Registered: Apr 2007
Location: Brazil
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Greetins,

About activating your wireless card upon boot up it is easy to do, once you have the right module(s) loaded. I'm going to assume you already have them working.

Check /etc/rc.d directory and you will find a rc.wireless script in there. If you want it starting during boot up procedures, make sure it has execution permissions set properly (chmod 755 /etc/rc.d/rc.wireless).

About having a dhcp client starting up when booting, the right file for configuring this is /etc/rc.d/rc.inet1.conf (find the section corresponding to your network interface and set USE_DHCP[x]="yes", where x stands for your interface number id -- such as 1 for eth1).

About automatic link detection I can not help you. Anyway, as a workaround, you can create two small scripts setting up connection parameters for each case.

I do not have a clue about your animated GIF issue, unless either they are too big, or your connection is too bad (damaged hubs, switches, cables and/or connectors), or it is too heavily loaded, or it is too slow. Provided the server has enough bandwidth to serve it reasonably fast, of course.

Regards
 
Old 11-02-2008, 01:47 AM   #4
irkkaaja
Member
 
Registered: Oct 2008
Posts: 44

Original Poster
Rep: Reputation: 16
Hahah, I think I got it working. At least, it worked on this boot (woo). Turns out I didn't need wicd after all (though it handles the wired connections quite nicely).

I also just experienced my first Lilo screw-up. Scared the hell out of me, it did.

As for the .gifs, it might just be the old version of Firefox that I'm using. I've been trying to find a working Midori package for 12.1 for a while now; currently, trying to run Midori gives me "cannot find [some library]".
 
Old 11-02-2008, 08:01 AM   #5
gmbastos
LQ Newbie
 
Registered: Apr 2007
Location: Brazil
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Nice.

I have installed Firefox 3.0 binary distribution pretty easily: just unpacked to /usr/local/lib/firefox and created a symlink pointing to firefox script in it.

I do not have tested it thoroughly but it runs nicely on the sites I have visited already.

Give it a try.
 
Old 11-03-2008, 02:27 AM   #6
irkkaaja
Member
 
Registered: Oct 2008
Posts: 44

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by gmbastos View Post
Nice.

I have installed Firefox 3.0 binary distribution pretty easily: just unpacked to /usr/local/lib/firefox and created a symlink pointing to firefox script in it.

I do not have tested it thoroughly but it runs nicely on the sites I have visited already.

Give it a try.
Oh, heh. Shortly after my last post, I downloaded a "Firefox 3" package from Linuxpackages.net. I obviously didn't read closely enough: I am now running Firefox 3-in Portugese.
Oh, the things life throws at you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure script sends bad switches to daughter configure scripts Wells Linux - Software 7 10-10-2008 03:38 PM
Caching for configure scripts Jooles Linux - General 0 04-03-2007 10:18 AM
pkgconfig, configure scripts and PKG_CONFIG_PATH shevegen Linux From Scratch 1 08-06-2006 08:20 AM
configure scripts cant detect my python modules gecici90 Linux - Software 0 07-10-2006 03:22 AM
Need help to configure Apache TO EXECUTE PHP SCRIPTS mgrapr Linux - Hardware 2 01-21-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration