

Code: Select all
ctrl_interface=/var/run/wpa_supplicant
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="xxxx"
scan_ssid=1
psk="xxxx"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
priority=5
}
Yup! that's Linux smartest way to clone a computer OS; no SID, no bloated tools... «They» (aka Windows hostages) might happen to be able to do the same... Just that it's harder and more expensive!breakerfall wrote:[...] I just recently (a few days ago) did a "stage 4" backup, tarring my root directory, bar a few that I wanted to exclude, then untarring that into a freshly formatted drive on my laptop.
It's a nice quick and easy way to get my desktop install, with configs I'm happy with and all my fave apps, over to my laptop with no compilation.
breakerfall wrote:Hi!
It turns out that my problem was a bad wpa configuration. I've kept the stack compiled in (not as a module) and it works fine. I'm posting this from my laptop on the wifi connection. Woo!
Thanks for the assistance... just in case it helps anybody, here's my current configuration:
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="xxxx"
scan_ssid=1
psk="xxxx"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
priority=5
}Code: Select all
...
network={
ssid="xxxx"
psk="yyyy"
key_mgmt=WPA-PSK
}Sure. But my point was whyd2_racing wrote:The current config of breakerfall is perfect, because if he goes to a hotspot, then he can create a new network inside his /etc/wpa/wpa_supplicant.conf and it will not break anything.
Code: Select all
network={
ssid="xxxx"
scan_ssid=1
psk="xxxx"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
priority=5
}Code: Select all
network={
ssid="xxxx"
psk="yyyy"
key_mgmt=WPA-PSK
}
Code: Select all
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
priority=5
I don't understand why not let the driver 'decide'. Doesn't it by itself?d2_racing wrote:Yes, but with this :
The key say that you are using WPA, and you are compatible with the CCMP and TKIP encryption methode.Code: Select all
proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP WEP104 WEP40 priority=5
See /etc/conf.d/net.example.gforum wrote:how do i set a static, ip config with my wep wpa-supp system.
as in, NO dhcp, only a fixed ip address.
so im looking for somewhere to put something like this:
ip x.x.x.x
mask 255.255.255.0
gw x.x.x.x
dns x.x.x.x
Wireless devices are not so keen at changing their mac address. Also known that bridging often doesn't work work with wireless cards. Some firmwares do prevent that.gforum wrote:And, also, i'd like to know where do i changes my wireless device's mac address.
thanks in advance.
Code: Select all
iwl3945 81396 0
mac80211 109456 1 iwl3945
cfg80211 18184 1 mac80211
Code: Select all
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=30
config_wlan0=( "dhcp" )
dhcp_wlan0="nodns nonis nontp"
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="kbone"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="passgoeshere"
priority=5
}
Code: Select all
* Starting wlan0
* Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 4 value 0x0 -
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ...
Code: Select all
wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Trying to associate with 00:1c:10:ae:54:c4 (SSID='kbone' freq=2447 MHz)
Associated with 00:1c:10:ae:54:c4
WPA: Key negotiation completed with 00:1c:10:ae:54:c4 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:1c:10:ae:54:c4 completed (auth) [id=0 id_str=]
Yes it's 4.0.2 and it's your everyday Linksys router.VinzC wrote:Do you have dhcpcd-4.0.2 and what's the platform of the DHCP server? (Windoze/*NIX)
Maybe. But try downgrading dhcpcd first. Costs nothing and will tell you where to look at first. If it works then surely dhcpcd-4.0 is somewhat buggy...deflux wrote:Found this link, sounds a little like my problem...
http://bugs.gentoo.org/show_bug.cgi?id=237646
Does that shed any light?
Sorry, I am an idiot... somewhere along the lines of trying to get this thing working my resolv.conf got wiped. Didn't even think to try to ping any local ip's...but they worked. Thanks for helping though!VinzC wrote:Maybe. But try downgrading dhcpcd first. Costs nothing and will tell you where to look at first. If it works then surely dhcpcd-4.0 is somewhat buggy...deflux wrote:Found this link, sounds a little like my problem...
http://bugs.gentoo.org/show_bug.cgi?id=237646
Does that shed any light?