View previous topic :: View next topic |
Author |
Message |
sdive n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jun 2007 Posts: 3
|
Posted: Fri Jun 29, 2007 4:38 pm Post subject: Wireless works until I try to restart |
|
|
Hi,
I have an AIRONET Wireless Communications Cisco Aironet Wireless 802.11b card that is connected to a router with WEP encryption. It all works fine. This is my /etc/conf.d/net:
Code: | channel_eth1="mychannel" # Any way to set it on auto?
essid_eth1="myessid"
key_myessid="s:mypassphrase"
config_eth1=( "dhcp" )
|
So if I lose connection and restart my init script for my wireless it can't bring up the card. I have to reboot my machine. Since I have a ThinkPad I can see whether the wireless green light is on, and it is not. It just won't enable again.
Any thoughts?
Thanks.
Last edited by sdive on Fri Jun 29, 2007 7:48 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Impalatore-polacco Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/193254042446754c3183655.jpg)
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Fri Jun 29, 2007 5:55 pm Post subject: |
|
|
First eneable CONFIG_PACKET in the kernel configuration, amd then try to use wpa_supplicant: Code: | emerge net-wireless/wpa_supplicant | . Configure /etc/conf.d/net Code: | modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
config_eth1=( "dhcp" )
dhcp_eth1="nontp nonis"
depend_eth1() {
need <Drivers for Cisco Aironet>
}
|
also edit /etc/wpa_supplicant/wpa_supplicant.conf Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1
network={
ssid="youre ssid"
key_mgmt=NONE
wep_key0="youre wep key"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}
|
You can also add the startup script to the default runlevel: Code: | rc-update add net.eth1 default |
PS: Make sure the following options are set (IEEE 802.11 WEP encryption as a module causes some problems, is better to built it in the kernel):
Linux Kernel Configuration:
Networking --->
<*> Generic IEEE 802.11 Networking Stack
[ ] Enable full debugging output
<*> IEEE 802.11 WEP encryption (802.1x)
<*> IEEE 802.11i CCMP support
<*> IEEE 802.11i TKIP encryption
< > Software MAC add-on to the IEEE 802.11 networking stack
If you have a kernel older than gentoo-sources-2.6.19-r5 make sure that the following kernel options are set:
Networking --->
[ ] Generic IEEE 802.11 Networking Stack
Device Drivers --->
Network Device support --->
Wireless LAN (non-hamradio) --->
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
Cryptographic options --->
[*] Cryptographic API
<*> AES cipher algorithms
<*> ARC4 cipher algorithm
<*> Michael MIC keyed digest algorithm
In case you are unable to deselect the Generic IEEE 802.11 Networking Stack option, deselect all WLAN drivers (everything) under
Device Drivers -->
Network device support -->
Wireless LAN (non-hamradio) -->
Wireless LAN drivers (non-hamradio) & Wireless Extensions -->
(remove everything on this menu EXCEPT Wireless Extensions)
As some selected options there depend on "Generic IEEE 802.11 Networking Stack _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sdive n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jun 2007 Posts: 3
|
Posted: Fri Jun 29, 2007 6:23 pm Post subject: |
|
|
Impalatore-polacco wrote: | First eneable CONFIG_PACKET in the kernel configuration, amd then try to use wpa_supplicant: Code: | emerge net-wireless/wpa_supplicant | . Configure /etc/conf.d/net Code: | modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
config_eth1=( "dhcp" )
dhcp_eth1="nontp nonis"
depend_eth1() {
need <Drivers for Cisco Aironet>
}
|
also edit /etc/wpa_supplicant/wpa_supplicant.conf Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1
network={
ssid="youre ssid"
key_mgmt=NONE
wep_key0="youre wep key"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}
|
You can also add the startup script to the default runlevel: Code: | rc-update add net.eth1 default |
PS: Make sure the following options are set (IEEE 802.11 WEP encryption as a module causes some problems, is better to built it in the kernel):
Linux Kernel Configuration:
Networking --->
<*> Generic IEEE 802.11 Networking Stack
[ ] Enable full debugging output
<*> IEEE 802.11 WEP encryption (802.1x)
<*> IEEE 802.11i CCMP support
<*> IEEE 802.11i TKIP encryption
< > Software MAC add-on to the IEEE 802.11 networking stack
If you have a kernel older than gentoo-sources-2.6.19-r5 make sure that the following kernel options are set:
Networking --->
[ ] Generic IEEE 802.11 Networking Stack
Device Drivers --->
Network Device support --->
Wireless LAN (non-hamradio) --->
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
Cryptographic options --->
[*] Cryptographic API
<*> AES cipher algorithms
<*> ARC4 cipher algorithm
<*> Michael MIC keyed digest algorithm
In case you are unable to deselect the Generic IEEE 802.11 Networking Stack option, deselect all WLAN drivers (everything) under
Device Drivers -->
Network device support -->
Wireless LAN (non-hamradio) -->
Wireless LAN drivers (non-hamradio) & Wireless Extensions -->
(remove everything on this menu EXCEPT Wireless Extensions)
As some selected options there depend on "Generic IEEE 802.11 Networking Stack |
Why do I need wpa_supplicant when the encryption is WEP?
Anyway, I tried to emerge it (all the above mentioned kernel configurations were already built-in) and used your configurations.
The same thing happens although when I start the init script this is what I get:
Code: | Start Eth1
Starting wpa_supplicant on eth1 ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
Starting wpa_cli on eth1 ...
Backgrounding ... |
PS. What is the name of the Cisco Aironet driver? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sdive n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jun 2007 Posts: 3
|
Posted: Mon Jul 02, 2007 4:05 pm Post subject: |
|
|
BUMP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|