Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
After some log review apparently as the system is booting the radio for the wireless lan card is "off", so I need to know how to turn the wireless radio on just before the init script for the adapter fires off.
How can I turn on/off the wireless lan radio?
I'm using ndiswrapper and the dell windows driver for this wireless card.
thanks,
Mark
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
After some log review apparently as the system is booting the radio for the wireless lan card is "off", so I need to know how to turn the wireless radio on just before the init script for the adapter fires off.
How can I turn on/off the wireless lan radio?
I'm using ndiswrapper and the dell windows driver for this wireless card.
thanks,
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Mark
Mark Weaver wrote:
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
This is probably a timing issue. If your initscript follows the conventions required for chkconfig you should have a line that looks something like
# chkconfig: 2345 10 90
The first setting representing the levels to start at, second being the start sequence number, and the third being the kill sequence number. So in my example the service starts in runlevels 2,3,4, and 5. The order it started in is determined by S10<service name> The Order it is killed in is K90<service name>
You may want to try changing the S Value to 99 Initially so that it is one of the last things started and if this works then identify what needs to started before your script will work that wasn't with the original S Value.
Hope this helps, have a nice day :)
Clint Dilks wrote:
Mark Weaver wrote:
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
This is probably a timing issue. If your initscript follows the conventions required for chkconfig you should have a line that looks something like
# chkconfig: 2345 10 90
The first setting representing the levels to start at, second being the start sequence number, and the third being the kill sequence number. So in my example the service starts in runlevels 2,3,4, and 5. The order it started in is determined by S10<service name> The Order it is killed in is K90<service name>
You may want to try changing the S Value to 99 Initially so that it is one of the last things started and if this works then identify what needs to started before your script will work that wasn't with the original S Value. Hope this helps, have a nice day :)
Hi Clint,
Thank you for the info. I've been wondering what the second and third numbers are for. I'll give that a try.
Mark
On Jan 7, 2008 11:40 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Are you using NetworkManager ? NM require the user to be logged to access to the crypted key.
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Alain Spineux wrote:
On Jan 7, 2008 11:40 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Are you using NetworkManager ? NM require the user to be logged to access to the crypted key.
Hi Alain,
No NM being used here. As a matter of fact I can rarely ever get a connection using that method.
On Jan 8, 2008 4:56 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Alain Spineux wrote:
On Jan 7, 2008 11:40 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Alain Spineux wrote:
On Jan 7, 2008 6:10 PM, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
what about running your script from the /etc/rc.d/rc.sysinit. Start it at the end of it, but be careful if your scrip block the boot process, your systm will block! Be sure to have a rescue CD ready.
Regards
well... I've got it starting as a service, however it doesn't make the connection. when the system starts to run the script the script runs fine but the wireless doesn't make the connection. "Network is down" is reported to the console as the system is booting.
Once the desktop loads and I'm logged in, if I issue "service wireless restart" (I've got it setup as a sysV init script) the wireless connects perfectly every time.
Are you using NetworkManager ? NM require the user to be logged to access to the crypted key.
Hi Alain,
No NM being used here. As a matter of fact I can rarely ever get a connection using that method.
in file /etc/sysconfig/network-config/ifcfg-????, you have an option ONBOOT or something ? Is this option enabled ?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Have you try checking your bios if the wireless is default to off?
On 1/7/08, Mark Weaver mdw1982@mdw1982.com wrote:
Hi all,
I've got a Dell Inspiron 1501 with a Broadcom 1390 Wlan mini card (integrated) wireless lan chipset. I've got an init script setup to activate the wireless connection at boot time, however when the system boots the adapter doesn't connect. I'm not able to get a connection until after the desktop is done loading and I run the script from the command line.
After some log review apparently as the system is booting the radio for the wireless lan card is "off", so I need to know how to turn the wireless radio on just before the init script for the adapter fires off.
How can I turn on/off the wireless lan radio?
I'm using ndiswrapper and the dell windows driver for this wireless card.
thanks,
Mark _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos