I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user: I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0 Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? -- Thanks, Dan Registered Linux User #373395
On Fri, 7 Jan 2005 09:21:40 -0900, Dan Phillips
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
You may add these lines to the end of /etc/init.d/boot.local They will be executed on every boot. Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Correct me if I'm mistaken but in my case, the pcmcia devices are not
yet ready at the time that boot.local fires off. This would certainly
not allow the iwconfig to actually talk w/ the wlan0 interface card.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
On Fri, 7 Jan 2005 10:25:24 -0900, Dan Phillips
Correct me if I'm mistaken but in my case, the pcmcia devices are not yet ready at the time that boot.local fires off. This would certainly not allow the iwconfig to actually talk w/ the wlan0 interface card.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
wrote: Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I may be wrong, but as far as I know, boot.local is the last one to be executed after all other init scripts. Still, if this is not the case, I'd be glad to learn it. Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
Unless I did something wrong on my pcmcia setup, I tried this and it
ran before the pcmcia services were ready. In fact, the lights on the
card were not even lit up at the time that the boot.local fired off my
iwconfig script.
On Fri, 7 Jan 2005 13:30:26 -0600, Sunny
On Fri, 7 Jan 2005 10:25:24 -0900, Dan Phillips
wrote: Correct me if I'm mistaken but in my case, the pcmcia devices are not yet ready at the time that boot.local fires off. This would certainly not allow the iwconfig to actually talk w/ the wlan0 interface card.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
wrote: Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I may be wrong, but as far as I know, boot.local is the last one to be executed after all other init scripts. Still, if this is not the case, I'd be glad to learn it.
Sunny
-- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
I had the same problem, the card was configured to start at boot time.
It recieved the ip from the router but it could not connect to the
net. I had to run through very similar serious of commands to get it
to connect properly.
The issue was overcome by deactivating the hardwired nic and setting
the card up for hotplugging.
I haven't tried setting the card for boot time yet...might try that
now actually...
On Fri, 7 Jan 2005 10:39:32 -0900, Dan Phillips
Unless I did something wrong on my pcmcia setup, I tried this and it ran before the pcmcia services were ready. In fact, the lights on the card were not even lit up at the time that the boot.local fired off my iwconfig script.
On Fri, 7 Jan 2005 13:30:26 -0600, Sunny
wrote: On Fri, 7 Jan 2005 10:25:24 -0900, Dan Phillips
wrote: Correct me if I'm mistaken but in my case, the pcmcia devices are not yet ready at the time that boot.local fires off. This would certainly not allow the iwconfig to actually talk w/ the wlan0 interface card.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
wrote: Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I may be wrong, but as far as I know, boot.local is the last one to be executed after all other init scripts. Still, if this is not the case, I'd be glad to learn it.
Sunny
-- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I used to have a handle on life, but then I broke it... -- gj =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'll try that, I'll switch the configuration to start on hotplugging
now that I've got the internal nic removed (unconfigured).
On Fri, 7 Jan 2005 19:46:24 +0000, John Paul Hayes
I had the same problem, the card was configured to start at boot time. It recieved the ip from the router but it could not connect to the net. I had to run through very similar serious of commands to get it to connect properly.
The issue was overcome by deactivating the hardwired nic and setting the card up for hotplugging.
I haven't tried setting the card for boot time yet...might try that now actually...
On Fri, 7 Jan 2005 10:39:32 -0900, Dan Phillips
wrote: Unless I did something wrong on my pcmcia setup, I tried this and it ran before the pcmcia services were ready. In fact, the lights on the card were not even lit up at the time that the boot.local fired off my iwconfig script.
On Fri, 7 Jan 2005 13:30:26 -0600, Sunny
wrote: On Fri, 7 Jan 2005 10:25:24 -0900, Dan Phillips
wrote: Correct me if I'm mistaken but in my case, the pcmcia devices are not yet ready at the time that boot.local fires off. This would certainly not allow the iwconfig to actually talk w/ the wlan0 interface card.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
wrote: Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I may be wrong, but as far as I know, boot.local is the last one to be executed after all other init scripts. Still, if this is not the case, I'd be glad to learn it.
Sunny
-- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I used to have a handle on life, but then I broke it... -- gj =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- Thanks, Dan Registered Linux User #373395
Sorry about that post Joe, my email replied at the same time your
message came in so it grabbed the wrong post to reply to. In any
case, I actually removed the eth0 config to simply test the laptop
with only one interface total "wlan0" mainly because I never use the
hardwired nic anymore. Problem still persists and that's so weird. I
can watch it load the driver, and attempt to fetch an IP via dhcp yet
it fails to do so w/o running the iwconfig wlan0 command. Something I
haven't yet tried is to simply run iwconfig w/o first performing the
ifdowns so it may be the iwconfig that's the key.
On Fri, 07 Jan 2005 13:17:28 -0600, Joe Morris (NTM)
Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above? You could try setting the NIC to "manual" instead of "on boot" via Yast. It will then skip the NIC on boot and setup the wireless. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Thanks, Dan Registered Linux User #373395
Dan Phillips wrote:
I've got a problem w/ my Linksys pcmcia card not connecting to the router unless I first perform the following after booting up and logging in as joe-user:
I need to log in as root and run: ifdown eth0 (hardware nic, not even connected to anything) ifdown wlan0 iwconfig wlan0 ifup wlan0
Unless I perform these steps as root, I will not be able to obtain an IP from the router. I'm using ndiswrapper on SuSE 9.2. Is there a way of getting the devices loaded such that a regular user can simply boot up, log in and get on the net w/o having to know the root password to run the script shown above?
You could use sudoers.
participants (5)
-
Dan Phillips
-
James Knott
-
Joe Morris (NTM)
-
John Paul Hayes
-
Sunny