LinuxQuestions.org
Review your favorite Linux distribution.
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 08-16-2013, 03:27 PM   #16
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481

In order to have complete manual control, just make /etc/rc.d/rc.inet1 and rc.inet2 non-executable. Then, create two small scripts which run the commands you need to start and stop the network services.
 
Old 08-16-2013, 04:27 PM   #17
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
If rc.inet1 is chmod -x, then the lo interface never initializes during boot, which might affect other apps. I would think most people want lo to start automatically, most if not all the time?
 
Old 08-16-2013, 08:58 PM   #18
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,261

Rep: Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570
Check the docs for your laptop.

Some have a Fn key or switch that can turn the wireless on and off. On my Dell 1545n, it's an Fn key; on my Asus, there's a switch on the front of the box just beneath the latch.

Last edited by frankbell; 08-16-2013 at 09:03 PM.
 
Old 08-16-2013, 09:38 PM   #19
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Some have a Fn key or switch that can turn the wireless on and off. On my Dell 1545n, it's an Fn key; on my Asus, there's a switch on the front of the box just beneath the latch.
The OP voiced a preference to use software rather than hardware, although an Fn-Fx combination would qualify as software. On my Thinkpad T400, Fn-F5 is suppose to support that kind of option, but only directly for that proprietary system. I haven't fiddled with making that work. I probably need to write Yet Another Script and then map that script to the key combination. Supposed to control bluetooth too.
 
Old 08-19-2013, 05:16 AM   #20
Feanor
LQ Newbie
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Hi All

Thanks for all the tips and possibilities.

My preference is to stick with the stock slackware scripts and configs and work with that. If I have to edit rc.inet1.conf before I shut down (in order to guarantee no wifi on next boot) that is fine. I would appreciate however some tips on the least intrusive way to do this (ie. what key lines should I comment out/change/delete) and what might the greater consequences of this be.

I'm mostly running on eth0, wired lan (and run local apache servers', so I need localhost), but occasionally travel and need to use public wifi or the home routers of friends (via wifi).

Many Thanks!
 
Old 08-19-2013, 11:37 AM   #21
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Just make rc.net1 non-executable to disable it on next boot.
"most people want lo to start automatically" I never had this behavior at all until recently when I started using a wireless router. I run a lot of the time as root, so I prefer to have networking setup as a completely manual operation, to avoid security risks.
 
Old 08-21-2013, 05:11 PM   #22
Feanor
LQ Newbie
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks guys and girls, I'll be going gnashley's route and see how it goes.

Mark solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
.config for a minimal kernel saman_artorious Linux - Server 5 03-09-2012 11:44 AM
[SOLVED] Ubuntu Minimal doesn't see wifi device Dezfor Linux - Hardware 6 12-16-2010 01:03 PM
Slackware 13 wifi config, and now both eth and wifi are down nenpa8lo Slackware 2 04-18-2010 07:18 PM
compiling apache 2.2.3 in minimal config keyF Linux - Software 2 09-29-2006 05:27 AM
Minimal samba config suggestion please. carboncopy Slackware 2 08-03-2004 10:18 PM


All times are GMT -5. The time now is 07:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration