LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-16-2013, 02:27 PM   #16
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612

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, 03:27 PM   #17
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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, 07:58 PM   #18
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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 08:03 PM.
 
Old 08-16-2013, 08:38 PM   #19
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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, 04:16 AM   #20
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
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, 10:37 AM   #21
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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, 04:11 PM   #22
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

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

Mark solved.
 
  


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

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

All times are GMT -5. The time now is 03:33 PM.

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