Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-13-2009, 04:22 PM   #16
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231

Aha - it's been a while since I was on my wireless box downstairs but as a test I've just booted it up to have a look. Indeed the wireless interface was being brought up even with IP and DHCP settings removed. Looking again at the network scripts it seems that /etc/rc.d/rc.wireless is bringing up the interface. The way to stop this is to :
su -c "chmod -x /etc/rc.d/rc.wireless"
to stop the script running when rc.inet1 runs. You can then do your stuff with the interface manually.

This is different than the behaviour of the standard ethernet interfaces which are not brought up unless either DHCP or an IP is set for them in rc.inet1.conf.

Edit: Alternatively just put an "ifconfig wlan0 down" in /etc/rc.d/rc.local. Best give an alternate plan perhaps !
Edit2: Another thought - you could just take the interface name out of /etc/rc.d/rc.inet1.conf. That is have IFNAME[4]="".

Last edited by bgeddy; 07-13-2009 at 05:21 PM.
Old 07-14-2009, 12:21 PM   #17
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 50

Original Poster
Rep: Reputation: 16
that's it

Thanks, that was the trick!
Old 07-15-2009, 02:25 PM   #18
LQ Newbie
Registered: Nov 2008
Location: nederland
Distribution: slackware and debian
Posts: 9

Rep: Reputation: 1
I have /etc/rc.d/rc.inet.conf empty.
And make one script voor an wired at home and one voor script for the wireless with 3 choices for iwlist.




boot, network

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
How to run a script after bringing up a particular network interface (ppp0) polemon Linux - Networking 2 04-01-2007 09:32 PM
system locks up when bringing down bonded network interface BrianK Linux - Hardware 1 02-20-2007 11:09 PM
Bringing up interface ppp0: gets Boot stuck cleo Linux - Hardware 0 06-04-2005 01:37 PM
boot freeze a bringing up interface ppp0 vrdhananjay Linux - Software 2 10-16-2004 09:09 AM
error on boot up: Bringing up loopback interface glorygirl Linux - Networking 2 01-18-2004 11:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:00 PM.

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