escra <(E-Mail Removed)> writes:
>> What makes this happen during bootup?
>> (From boot.msg)
Well, telling us the distribution would help. I assume you are getting some
system script bringing up the wireless ( eg /etc/init.d/network)and that
you do not have the ESSID in say /etc/sysconfig/network-scripts/ifcfg-wlan0
>>
>> -----------------------
>> Setting up network interfaces:
>> lo
>> lo IP address: 127.0.0.1/8
>> doneWaiting for mandatory devices: wlan-bus-pci-0000:00:10.0 __NSC__
>> 17 15
>> wlan0 device: Atheros Communications, Inc. AR5212 802.11abg NIC
>> (rev
>> 01)
>> wlan0 configuration: wlan-bus-pci-0000:00:10.0
>> wlan0 DHCP client (dhcpcd) is running
>> -----------------------
>>
>> The reason I'm asking is because:
>>
>> - It makes my wireless card connect to first thing it sees and not the
>> SSID I specifically told it to connect with using YaST / NetApplet.
>>
>> - I also want to know how to have wpa_supplicant automatically run at boot
>> because my SSID uses WPA2.
There is probably some entry in one of the files to tell it to use WPA2
>>
>> Everyime I boot SuSE (10), it is always connected to someone else's (open)
>> SSID until I manually disconnect (using netapplet), manually run
>> wpa_supplicant by:
>>
>> # wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
>>
>> ...and then re-connect.
>>
>> How do you make this happen automatically at boot?
>>
>> And more important, how do tell the "whatever-does-it-at-boot" to :
>>
>> NEVER, EVER, under ANY circumstances connect to ANY SSID other than the
>> one you tell it to.
>>
>> Thanks
>I thought this idea might work, but it also doesn't.
>(There are bunch of different things in Suse that are used to config
>wireless. Who knows which one is the one you are supposed to use?)
>Setup in Control Center --> Internet and Network ---> Wireless Network
>+ All four "config" tabs to point to the SSID I want it to use.
>+ Encryption turned off because that configureator only allows for WEP, not
>+ In the "Execute Script on Connect", got an idea that this would work -->
> + Pointed this to a permission-executable file I made called:
> + /usr/local/sbin/WPAd
> + which contains one line:
>wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
>In YaST2 Config Network Settings (Click on the Netapplet thingy and select
>Config)
> + For the wireless card, the intended SSID is entered
> + WPA is selected, along with correct passphrase
> + Everything else is right
>Now when I boot, wpa_supplicant does load:
>----------
># psg wpa
>root 4794 0.0 0.2 2900 1264 ? S<s 20:00 0:00
>wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dndiswrapper
>-P/var/run/wpa_supplicant/wlan0.pid -B
>----------
>But the damn card is STILL connecting to the neighbor's open SSID until I
>manually disconnect and reconnect.
>Its like the wpa_supplicant was started too early or something. Probably
>need to be started before the ... :
>> -----------------------
>> Setting up network interfaces:
>> lo
>> lo IP address: 127.0.0.1/8
>> doneWaiting for mandatory devices: wlan-bus-pci-0000:00:10.0 __NSC__
>> 17 15
>> wlan0 device: Atheros Communications, Inc. AR5212 802.11abg NIC
>> (rev
>> 01)
>> wlan0 configuration: wlan-bus-pci-0000:00:10.0
>> wlan0 DHCP client (dhcpcd) is running
>> -----------------------
>... thing happens.
Yes, it does.
>Anyone, anyone, anyone???
>Thanks
Ssorry I cannot really help as I do not use SUSE, but look for the scripts
which are run to startup networking.
|