PDA

View Full Version : Ifplugd and wpa_supplicant at boot?


Snooz^^
6th April 2007, 07:25 PM
I've got 2 little questions concerning ifplugd and wpa_supplicant.
I noticed that fedora has a /etc/init.d/network script instead of net.eth1, net.eth0, net.lo scirpts(like in gentoo).

1. How can I get the network script to use ifplugd for my eth0 (so that it doesn't take so long before the pc notices I DON'T have a cable pluged in).

2. I already did this :"chkconfig wpa_supplicant on" (I guess this is someting like rc-update in gentoo). Wpa_supplicant DOES do it's job at boot(associating), but I have to manualy type dhclient in a terminal window to get my ip :s. Also, because fedora uses that network script, he is also trying to enable my eth1 through the script( which ofcourse, doesn't work). I lose "precious" time at boot by this fenonemon.

So if you guys could tell me how to achief this in fedora, I would be a very happy user :p.

Grtz

Iron_Mike
7th April 2007, 02:17 AM
Turn off the "activate on boot" option. Go to system ->administration ->network. Highlight your ethernet card entry and click the "edit" tab and uncheck the box for "activate on boot" and put a check mark in the "allow users to enable/disable" box. close and save it. Do the same for the wireless connection also.

Next go to system ->administration ->services. Put check marks in the boxes for NetworkManager. Why you are there go down to the wpa_supplicant service and uncheck the service. Close and save it. Reboot the computer, you should have a new icon in the top panel, plug your ethernet cable in and it should show a connection, unplug the cable and it should go into scan mode for your wireless.

Snooz^^
8th April 2007, 11:04 PM

Thnx a lot :).

Thsi really helped me. Pfff, I'm so used of doings all those things myself that I forget you can do it so much simpeler with fedora :D.