Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

ipw3945 alternative: Intel's iwlwifi

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
373 posts
  • Page 15 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
Author
Message
jeanfrancis
Veteran
Veteran
User avatar
Posts: 1482
Joined: Sat Dec 17, 2005 3:22 pm
Location: Québec, Canada

  • Quote

Post by jeanfrancis » Wed Jul 30, 2008 6:31 pm

Oh, I didn't notice that the stack wasn't used as a module... Post back results ! :)
Top
breakerfall
Guru
Guru
Posts: 509
Joined: Sat Aug 02, 2003 11:13 pm
Location: Manchester, UK

  • Quote

Post by breakerfall » Wed Jul 30, 2008 6:59 pm

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
}
Top
jeanfrancis
Veteran
Veteran
User avatar
Posts: 1482
Joined: Sat Dec 17, 2005 3:22 pm
Location: Québec, Canada

  • Quote

Post by jeanfrancis » Wed Jul 30, 2008 7:07 pm

Nice to read that :) Your last config file was exactly the same as mine tho, so we have different router settings ;)
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Jul 31, 2008 2:26 am

Yeah :P
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Thu Jul 31, 2008 11:17 am

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. :)
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! :lol:
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Jul 31, 2008 11:22 am

And for a complete backup, you can use the Stage 5 :P
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Thu Jul 31, 2008 11:24 am

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
}
Have you tried using just:

Code: Select all

...
network={
	ssid="xxxx"
	psk="yyyy"
	key_mgmt=WPA-PSK
}
This is what I have and it's always worked like a charm...
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Jul 31, 2008 11:35 am

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.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Thu Jul 31, 2008 11:43 am

d2_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.
Sure. But my point was why

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
}
rather than

Code: Select all

network={
   ssid="xxxx"
   psk="yyyy"
   key_mgmt=WPA-PSK
}
the latter is much simpler, right?...
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Jul 31, 2008 3:50 pm

Yes, but with this :

Code: Select all

proto=WPA 
   key_mgmt=WPA-PSK 
   pairwise=CCMP TKIP 
   group=CCMP TKIP WEP104 WEP40 
   priority=5 
The key say that you are using WPA, and you are compatible with the CCMP and TKIP encryption methode.

Also, if you have multiple network inside your /etc/wpa/wpa_supplicant.conf, you can set them with a priority.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Thu Jul 31, 2008 4:17 pm

d2_racing wrote:Yes, but with this :

Code: Select all

proto=WPA 
   key_mgmt=WPA-PSK 
   pairwise=CCMP TKIP 
   group=CCMP TKIP WEP104 WEP40 
   priority=5 
The key say that you are using WPA, and you are compatible with the CCMP and TKIP encryption methode.
I don't understand why not let the driver 'decide'. Doesn't it by itself?

Usually I select the wireless networks I want to associate with because I know they are available. And If I want to search for unknown networks, iwlist wlan0 scan is my friend -- tells me what encryption mode and keys. So all I do is add the network to the conf file and that's it. Never had to use the group keyword in fact. In what circumstances does that keyword help?
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Fri Aug 01, 2008 2:42 am

In fact but, it only confirm that you use a certain encryption.
Top
gforum
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 140
Joined: Mon Mar 31, 2008 8:13 am

  • Quote

Post by gforum » Mon Sep 01, 2008 11:04 am

hi guys, once again:
two questions for the pros.

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

And, also, i'd like to know where do i changes my wireless device's mac address.

thanks in advance. :wink:
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Sep 01, 2008 11:15 am

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
See /etc/conf.d/net.example.
gforum wrote:And, also, i'd like to know where do i changes my wireless device's mac address.

thanks in advance. :wink:
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.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
gforum
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 140
Joined: Mon Mar 31, 2008 8:13 am

  • Quote

Post by gforum » Fri Sep 05, 2008 8:50 pm

well... the net.example was useless so far.
i use wpa supp to connect to the net, and i tried:

config_essid="x.x.x.x/24"
and
config_wlan0="x.x.x.x/24"
to no use,

besides that the only thing that my 'net' has is the modules="wpa_supp~" to load it and the proper configuring of it, like wpa~_wlan0="-Dwext" or whatnot.

shoudnt i have to change something inside wpa~.conf to have this work?
also, do i need to set dns server too?
since ill be connecting to my router, both my gateway and dns are the same.
so far all that i've realized is that i dont know how to do this under linux... :(

any help, is appreciated.
:wink:
Top
deflux
n00b
n00b
Posts: 12
Joined: Sat Dec 04, 2004 8:59 pm

  • Quote

Post by deflux » Mon Oct 20, 2008 6:38 am

Hello, first off I'd just wanted to say thanks to all of the info that has been posted, without this I wouldn't be anywhere near being able to do most of the stuff with gentoo.

My problem:

From what I can tell the drivers/modules are loading fine, I can associate with my AP just fine using WPAsup.
I can also get an address from dhcp, but I can't get on the net unless I restart dhcpcd for wlan0. It never works the first time. I can tell I am close and it works, but I'd like to not have to restart dhcp ;)

My related portions of lsmod

Code: Select all

iwl3945                81396  0 
mac80211              109456  1 iwl3945
cfg80211               18184  1 mac80211
My related portions of conf.d/net:

Code: Select all

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=30
config_wlan0=( "dhcp" )
dhcp_wlan0="nodns nonis nontp"
wpa_supplicant.conf

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
}

The error I get when wlan0 starts up and when I run WPAsup manually:

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 ...


and manually

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=]

Thanks in advance, let me know if you need anything else from me
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Oct 20, 2008 6:48 am

Do you have dhcpcd-4.0.2 and what's the platform of the DHCP server? (Windoze/*NIX)
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
deflux
n00b
n00b
Posts: 12
Joined: Sat Dec 04, 2004 8:59 pm

  • Quote

Post by deflux » Mon Oct 20, 2008 6:58 am

VinzC wrote:Do you have dhcpcd-4.0.2 and what's the platform of the DHCP server? (Windoze/*NIX)
Yes it's 4.0.2 and it's your everyday Linksys router.
Usually when DHCP grabs an address it will show something to this affect on boot(Or at least it does for my eth0 wired nic)

wlan0: dhcpcd 4.0.2 starting
wlan0: broadcasting for a lease
wlan0: offered 192.168.1.110 from 192.168.1.1
wlan0: checking 192.168.1.110 is available on attached networks
wlan0: acknowledged 192.168.1.110 from 192.168.1.1
wlan0: leased 192.168.1.110 for 86400 seconds

But it only does this when I restart it.

I mean, I suppose I could just static the ip and try that, I have no problem doing it, but I'd like it to just work :D
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Oct 20, 2008 7:17 am

Try downgrading to dhcpcd-3* and see what happens.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
deflux
n00b
n00b
Posts: 12
Joined: Sat Dec 04, 2004 8:59 pm

  • Quote

Post by deflux » Mon Oct 20, 2008 7:18 am

Found this link, sounds a little like my problem...
http://bugs.gentoo.org/show_bug.cgi?id=237646

Does that shed any light?
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Oct 20, 2008 7:36 am

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?
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...
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
deflux
n00b
n00b
Posts: 12
Joined: Sat Dec 04, 2004 8:59 pm

  • Quote

Post by deflux » Mon Oct 20, 2008 8:36 am

VinzC wrote:
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?
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...
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!
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Mon Oct 20, 2008 3:52 pm

No problem :P
Top
Post Reply

373 posts
  • Page 15 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic