Forums

Skip to content

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

using both wpa_supplicant and gentoo's init scripts

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

using both wpa_supplicant and gentoo's init scripts

  • Quote

Post by truekaiser » Sat Jul 10, 2010 7:28 pm

i just recently got a new laptop with a ath9k wireless chip, frankly i love the fact that it works right out of the box even on the install cd. but right now i am running into my limit's on wireless configuration on linux. i plan on eventually migrating to wireless n but i do not know how to set up the machine so it will connect to my home ap automatically with the gentoo init scripts so i don't have to worry about starting things manually like ntp and nfs but still allow it to be managed by wpa_supplicant to connect to other ap's if i want via the qt4 gui. right now i got the laptop set up to connect automatically to my ap running in G mode with wep. the gentoo documentation i have found seems to indicate either the init scripts or wpa_supplicant but not both..


this is the wireless card

Code: Select all

08:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Foxconn International, Inc. Device e01f
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at f1000000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [90] MSI-X: Enable- Count=1 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k
        Kernel modules: ath9k
wpa_supplicant can't seem to find my card this is my /etc/conf.d/net

Code: Select all

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
#modules=("wpa_supplicant") #makes configuration solely wpa_supplicant's responsibility  
wpa_supplicant_wlan0="-Dwext"
config_eth0=("dhcp")
config_wlan0=("dhcp")
essid_wlan0="wscale"
ap_wlan0="00:14:6C:AE:C5:38"
mode_wlan0="managed"
channel_wlan0="1"
key_wscale="" #like i am telling the whole world :P
Top
oRDeX
Veteran
Veteran
User avatar
Posts: 1325
Joined: Sun Oct 19, 2003 12:08 pm
Location: Italy
Contact:
Contact oRDeX
Website

  • Quote

Post by oRDeX » Sat Jul 10, 2010 8:34 pm

why don't using modules=( "wpa_supplicant" )

and putting your WEP network inside the wpa_supplicant.conf?
Of course you have to choose is you want to use wpa_supplicant or to configure it manually (by gentoo script)
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Sat Jul 10, 2010 8:45 pm

oRDeX wrote:why don't using modules=( "wpa_supplicant" )

and putting your WEP network inside the wpa_supplicant.conf?
Of course you have to choose is you want to use wpa_supplicant or to configure it manually (by gentoo script)
so it's not 'either/or'? if i set up wpa supplicant to do wep for now the net.wlan0 init script will call on wpa_supplicant to start the interface?
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Sat Jul 10, 2010 9:03 pm

Why would you use WEP?
Ludwig von Mises Institute
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Sat Jul 10, 2010 9:18 pm

dreadlorde wrote:Why would you use WEP?
because at the moment it's the only security option available that all my devices have in common.
Top
lxg
Veteran
Veteran
User avatar
Posts: 1019
Joined: Sat Nov 12, 2005 3:12 pm
Location: Aachen, Germany
Contact:
Contact lxg
Website

  • Quote

Post by lxg » Sat Jul 10, 2010 10:34 pm

By the way, you could also have a look at NetworkManager, it can be integrated into your desktop as a tray icon (nm-applet, a Gnome app, but should also work in KDE) and lets you configure your networks very userfriendly. It also supports WEP, WPA, WPA2. There's a nice guide in the (inofficial) Gentoo Wiki, which worked fine for me: http://en.gentoo-wiki.com/wiki/NetworkManager
lxg.de – codebits and tech talk
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Mon Jul 12, 2010 12:41 am

lxg wrote:By the way, you could also have a look at NetworkManager, it can be integrated into your desktop as a tray icon (nm-applet, a Gnome app, but should also work in KDE) and lets you configure your networks very userfriendly. It also supports WEP, WPA, WPA2. There's a nice guide in the (inofficial) Gentoo Wiki, which worked fine for me: http://en.gentoo-wiki.com/wiki/NetworkManager
ok spent all afternoon getting that to work. like it so far and i got it to connect to my router but not in full n mode. my mother's laptop with the same card can get up to 130mbps while i am still stuck at 54mbps cause it seems wpa supplicant and my draft n router don't like each other's versions of wpa2 aes encryption.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Networking & Security”

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