View previous topic :: View next topic |
Author |
Message |
root_tux_linux l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/697312511470e1dc529680.jpg)
Joined: 21 Dec 2003 Posts: 966
|
Posted: Fri Nov 14, 2008 2:23 pm Post subject: Wpa + Wpa Supplicant + Ad-hoc Mode + Rt73usb! Need Help! |
|
|
Hi
i've a problem with wpa_supplicant, wpa and the rt73usb in ad-hoc
i don't know why but my usb-cards only work in WEP with wpa_supplicant in ad-hoc mode
Code: | gentoo angelus # cat /etc/conf.d/net
## Cable eth0
config_eth0=("dhcp")
dhcpcd_eth0="-t 5"
dhcp_eth0="release nodns nonis nontp"
## Cable eth1
#config_eth1=("192.168.1.1 netmask 255.255.255.0 brd 192.168.1.255")
## Wlan wlan0
modules=( "!iwconfig" "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
config_wlan0=("192.168.1.1 netmask 255.255.255.0 brd 192.168.1.255")
gentoo angelus # |
Code: | gentoo angelus # cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=2
network={
ssid="Linux Rockz"
mode=1
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=CCMP
psk="fickdiekuhdannmachtsiemuh"
}
gentoo angelus # |
Code: | gentoo angelus # /etc/init.d/net.wlan0 restart
* Bringing down interface wlan0
* Removing addresses
* 192.168.1.1/24
* Stopping wpa_cli on wlan0 ... [ ok ]
* Stopping wpa_supplicant on wlan0 ... [ ok ]
* Bringing up interface wlan0
* Starting wpa_supplicant on wlan0 ... [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ... ...
* WARNING: net.wlan0 has started, but is inactive
gentoo angelus # |
Code: | gentoo angelus # ifconfig wlan0
wlan0 Protokoll:Ethernet Hardware Adresse 00:16:01:9a:04:c2
inet Adresse:192.168.1.1 Bcast:192.168.1.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:3060 (2.9 KiB)
gentoo angelus # iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"Linux Rockz"
Mode:Ad-Hoc Frequency:2.422 GHz Cell: 72:14:81:FA:CB:DC
Tx-Power=off
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:E59D-3308-7FC3-B123-0639-3EC0-F0AC-7829
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
gentoo angelus # |
Code: | gentoo angelus # iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: CE:D3:FB:32:EC:79
ESSID:"Linux Rockz"
Mode:Ad-Hoc
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=54/100 Signal level:-32 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000000006f86146
Extra: Last beacon: 769ms ago
gentoo angelus # |
Code: | gentoo angelus # ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
From 192.168.1.1 icmp_seq=3 Destination Host Unreachable
From 192.168.1.1 icmp_seq=4 Destination Host Unreachable
From 192.168.1.1 icmp_seq=6 Destination Host Unreachable |
i've 3 pc's in the network an all with the same wpa_supplicant.conf but a different ip example PC1 129.168.1.1, PC2 192.168.1.2 and PC3 192.168.1.3.
i can't make it workee sad
HELP... _________________ Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sat Nov 15, 2008 8:27 am Post subject: |
|
|
Are you using an in-kernel driver, or ndiswrapper?
Blessed be!
pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
root_tux_linux l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/697312511470e1dc529680.jpg)
Joined: 21 Dec 2003 Posts: 966
|
Posted: Sat Nov 15, 2008 10:34 am Post subject: |
|
|
pappy_mcfae wrote: | Are you using an in-kernel driver, or ndiswrapper?
Blessed be!
pappy |
Kernel driver ---> rt73usb _________________ Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54850 Location: 56N 3W
|
Posted: Sat Nov 15, 2008 12:06 pm Post subject: |
|
|
root_tux_linux,
What kernel version ?
Ad-hoc mode for rt73usb is not in 2.6.25. It was planned for 2.6.26 but I don't know if it made it.
If you do need a kernel update, you may as well go to the testing gentoo-sources, thats 2.6.27-r2 now, which has improved power management for rt73usb over 2.6.26. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
root_tux_linux l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/697312511470e1dc529680.jpg)
Joined: 21 Dec 2003 Posts: 966
|
Posted: Mon Nov 17, 2008 8:58 am Post subject: |
|
|
NeddySeagoon wrote: | root_tux_linux,
What kernel version ?
Ad-hoc mode for rt73usb is not in 2.6.25. It was planned for 2.6.26 but I don't know if it made it.
If you do need a kernel update, you may as well go to the testing gentoo-sources, thats 2.6.27-r2 now, which has improved power management for rt73usb over 2.6.26. |
2.6.27 _________________ Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cobralgato Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Sep 2005 Posts: 228
|
Posted: Fri Nov 28, 2008 2:24 am Post subject: |
|
|
You don't need to use wpa_supplicant .
You can use rt73usb with the RutilT graphic utility.
It handles WEP, WPA, WPA2 without the need to mess with wpa_supllicant.
Also I'd get an hourly tarball instead of the kernel built in module.
Get RutilT here http://rt2x00.serialmonkey.com/wiki/index.php/Downloads _________________ x86_64 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|