SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
/etc/rc.d/rc.inet1 wlan0.restart
or
/etc/rc.d/rc.inet1.conf wlan0_restart
is the same thing!
because by restarting i make sure that the card is working ok
but even at boot the wifi do not go online.
You should look at the '/etc/rc.d/rc.inet1' script;
Code:
excerpt from '/etc/rc.d/rc.inet1';
############
### MAIN ###
############
case "$1" in
'start') # "start" brings up all configured interfaces:
start
;;
'stop') # "stop" takes down all configured interfaces:
stop
;;
'restart') # "restart" restarts the network:
stop
start
;;
*_start) # Example: "eth1_start" will start the specified interface 'eth1'
INTERFACE=`echo $1 | /bin/cut -d '_' -f 1`
if_up $INTERFACE
gateway_up
;;
*_stop) # Example: "eth0_stop" will stop the specified interface 'eth0'
INTERFACE=`echo $1 | /bin/cut -d '_' -f 1`
if_down $INTERFACE
;;
*_restart) # Example: "wlan0_restart" will take 'wlan0' down and up again
INTERFACE=`echo $1 | /bin/cut -d '_' -f 1`
if_down $INTERFACE
sleep 1
if_up $INTERFACE
gateway_up
;;
'up') # "up" does the same thing as "start"
'down') # "down" does the same thing as "stop"
stop
;;
*_up) # "*_up" does the same thing as "*_start"
INTERFACE=`echo $1 | /bin/cut -d '_' -f 1`
if_up $INTERFACE
gateway_up
;;
*_down) # "*_down" does the same thing as "*_stop"
INTERFACE=`echo $1 | /bin/cut -d '_' -f 1`
if_down $INTERFACE
;;
That last command will mostly be used after changing one or more of the interface's configuration parameters like for instance the IP address, or the wireless encryption key.
I added an applet for wireless that came with kde and it shows me that the connection is ok but
at start of my laptop there a check up and then the led of my wifi goes up then it goes down!!
when i got to use the command
Code:
/etc/rc.d/rc.inet1 wlan0_restart
it just dies and the message is
Code:
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
Polling for DHCP server on interface wlan0:
No carrier detected on wlan0. Reducing DHCP timeout to 10 seconds.
dhcpcd: MAC address = 00:16:cf:8c:9f:27
You should comment out your '#DHCP_HOSTNAME[1]="" ' instead of a null in the '/etc/rc.d/rc.inet1.conf'.
You could try too use a static IP an see if that is possible. Disable the encryption for now. Once you confirm the static IP works then work from there.
I did what andrew.46 told me to but not all the steps I just installed wicd and everything is working (I hope...).
Quote:
Originally Posted by andrew.46
Hi Rssn6,
I can hear your frustration! I went through a similar experience with a BCM4312 and Slackware 12.1. IMHO the Broadcom chip can be a bit of a pain :-).
If you leaf through that thread you can see the various attempts I made to kick-start the chip. My final, successful, strategy was:
Load the firmware provided by LinuxWireless, there is a nice script for this on slackbuilds.org
Remove all changes made to Slackware networking scripts
Installed wicd with slackbuilds.org script
It was a bit of a cop-out on my part but it now works flawlessly. Hopefully it will for you too?
Andrew
Quote:
I also add a some lines to rc.wicd to start auto
You will need to start the wicd service at boot by adding the following
to your /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.wicd ]; then
/etc/rc.d/rc.wicd start
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.