Re: [arch-general] Intel AG 4965

2009-10-17 Thread David C. Rankin
On Friday 16 October 2009 04:33:59 am Alan Hoffmeister wrote:
> OK, I'll try when I get home...
> 
> On my work i could connect whit a WEP wireless...
> 
> Maybe some problem whit the wpa stuff?
> 
> Att,
> Alan
> 

Alan,

On my archlinux laptop using wpa wireless with my Atheros card, I 
basically 
use a small config file to automate the address negotiation so I get the IP I 
want every time. I use basically aa 3 step process to get my connection up and 
running each time:

(1) For wpa sites, set up your /etc/wpa_supplicant.conf file:

wpa_passphrase "your_ESSID" "PassPhrase_up-to-64-Characters" \
>> /etc/wpa_supplicant.conf

This will append the wpa_passphrase into an essid block for your network at 
the end of the wpa_supplicant.conf file. Example:


network={
ssid="skyline"
priority=6
key_mgmt=WPA-PSK
proto=RSN
#   psk="changedpasswdthistime"
psk=660d3df4854d3bcce48a5ce0f4f1dd1d22acec9de17bc31f3b698b13b569bf2c
}


You see you will get both the plain text and hex encoding of your passphrase 
added to the wpa_supplicant file.

(2) create a small config file in /etc/network.d that can be called from 
rc.conf to bring up your network. This is all I use:

02:34 alchemy:/etc> cat network.d/dcrwpa.conf
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="skyline"
KEY="changedpasswdthistime"
IP="dhcp"
TIMEOUT=20

(3) now just add your config file to the netowrk section of rc.conf:

# This now requires the netcfg package
#
NETWORKS=(!main dcrwpa.conf)

If you noticed above, my small config file is named dcrwpa.conf. Also notice 
that you need the netcfg package installed to make use of it.

Then in my daemons line, I just have the network enabled and it starts my 
wireless automatically every time:

DAEMONS=(syslog-ng network net-profiles hal @ntpd @sshd @crond @netfs @avahi-
daemon @mysqld !postfix !dovecot !httpd !samba @cups)


That should get you going, or at least give you some additional information. 
Good luck!

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Intel AG 4965

2009-10-16 Thread Loui Chang
On Fri 16 Oct 2009 06:33 -0300, Alan Hoffmeister wrote:
> OK, I'll try when I get home...
> 
> On my work i could connect whit a WEP wireless...
> 
> Maybe some problem whit the wpa stuff?
> 
> Att,
> Alan
> 
> Nicolas Bigaouette wrote:
> >I would suggest trying some lower level tools, like netcfg or even
> >wpa_supplicant directly, to see if it is the driver or the tool...
> >
> >2009/10/16 Alan Hoffmeister 
> >
> >>Tom K wrote:
> >>
> >>>Flavio Costa wrote:
> >>>
> Maybe the output of NetworkManager's log would be helpful too.
> Try "# tail -f /var/log/messages" while connecting to a wireless
> connection.
> 
> On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister 
> wrote:
[...]

Try to trim the excessive quoting guys.


Re: [arch-general] Intel AG 4965

2009-10-16 Thread Alan Hoffmeister

OK, I'll try when I get home...

On my work i could connect whit a WEP wireless...

Maybe some problem whit the wpa stuff?

Att,
Alan

Nicolas Bigaouette wrote:

I would suggest trying some lower level tools, like netcfg or even
wpa_supplicant directly, to see if it is the driver or the tool...

2009/10/16 Alan Hoffmeister 

  

Tom K wrote:



Flavio Costa wrote:

  

Maybe the output of NetworkManager's log would be helpful too.
Try "# tail -f /var/log/messages" while connecting to a wireless
connection.

On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister 
wrote:





Hello guyz!

First of all, let me introduce. My name is Alan Hoffmeister, I'm from
Brazil and I'm a new user to Archlinux.

I sucefully installed Arch and XFCE4 on my notebook (by the way, awesome
performance compared to Win7), my wired network is connecting Ok, I'm
using
networkmanager to manage my connections...

The nm-applet can see all SSIDs around my notebook, it ask me some
password, but when it try to get an IP it fails...

I had this problem whit wicd too.. Always failing to get an IP..

Here is my rc.conf:

#  Start
 ###
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
---
# LOCALIZATION
#
---
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for
non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us-acentos"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

#
---
# HARDWARE
#
---
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the
MODULES
array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(iwl4965)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
---
# NETWORKING
#
---
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archie"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0)
WLAN_INTERFACES=(!wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop
users)
#   - set to 'menu' to present a menu during boot-up (dialog package
required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

#
---
# DAEMONS
#
---
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
#  End
 ###

And this is my iwconfig wlan0:
iwconfig wlan0
wlan0 IEEE 802.11abgn  ESSID:"" Mode:Managed
 Frequency:2.412
GHz  Access Point: Not-Associated   Tx-Power=14 dBm
Retry
 long limit:7   RTS thr:off   Fragment thr:off
   Encryption key:off
   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





Some clue?

Att,
Alan




  




Re: [arch-general] Intel AG 4965

2009-10-16 Thread Nicolas Bigaouette
I would suggest trying some lower level tools, like netcfg or even
wpa_supplicant directly, to see if it is the driver or the tool...

2009/10/16 Alan Hoffmeister 

> Tom K wrote:
>
>> Flavio Costa wrote:
>>
>>> Maybe the output of NetworkManager's log would be helpful too.
>>> Try "# tail -f /var/log/messages" while connecting to a wireless
>>> connection.
>>>
>>> On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister 
>>> wrote:
>>>
>>>
>>>
 Hello guyz!

 First of all, let me introduce. My name is Alan Hoffmeister, I'm from
 Brazil and I'm a new user to Archlinux.

 I sucefully installed Arch and XFCE4 on my notebook (by the way, awesome
 performance compared to Win7), my wired network is connecting Ok, I'm
 using
 networkmanager to manage my connections...

 The nm-applet can see all SSIDs around my notebook, it ask me some
 password, but when it try to get an IP it fails...

 I had this problem whit wicd too.. Always failing to get an IP..

 Here is my rc.conf:

 #  Start
  ###
 #
 # /etc/rc.conf - Main Configuration for Arch Linux
 #

 #
 ---
 # LOCALIZATION
 #
 ---
 #
 # LOCALE: available languages can be listed with the 'locale -a' command
 # HARDWARECLOCK: set to "UTC" or "localtime"
 # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
 # TIMEZONE: timezones are found in /usr/share/zoneinfo
 # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
 # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for
 non-US)
 # CONSOLEMAP: found in /usr/share/kbd/consoletrans
 # USECOLOR: use ANSI color sequences in startup messages
 #
 LOCALE="pt_BR.utf8"
 HARDWARECLOCK=""
 USEDIRECTISA="no"
 TIMEZONE="America/Sao_Paulo"
 KEYMAP="us-acentos"
 CONSOLEFONT="lat0-16"
 CONSOLEMAP=
 USECOLOR="yes"

 #
 ---
 # HARDWARE
 #
 ---
 #
 # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
 # MOD_BLACKLIST: Prevent udev from loading these modules
 # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
 #
 # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the
 MODULES
 array.
 #
 MOD_AUTOLOAD="yes"
 #MOD_BLACKLIST=() #deprecated
 MODULES=(iwl4965)

 # Scan for LVM volume groups at startup, required if you use LVM
 USELVM="no"

 #
 ---
 # NETWORKING
 #
 ---
 #
 # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
 #
 HOSTNAME="archie"

 # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
 interfaces.
 #
 # Interfaces to start at boot-up (in this order)
 # Declare each interface then list in INTERFACES
 #   - prefix an entry in INTERFACES with a ! to disable it
 #   - no hyphens in your interface names - Bash doesn't like it
 #
 # DHCP: Set your interface to "dhcp" (eth0="dhcp")
 # Wireless: See network profiles below
 #

 #Static IP example
 #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
 eth0="dhcp"
 wlan0="dhcp"
 INTERFACES=(!eth0)
 WLAN_INTERFACES=(!wlan0)

 # Routes to start at boot-up (in this order)
 # Declare each route then list in ROUTES
 #   - prefix an entry in ROUTES with a ! to disable it
 #
 gateway="default gw 192.168.0.1"
 ROUTES=(!gateway)

 # Enable these network profiles at boot-up.  These are only useful
 # if you happen to need multiple network configurations (ie, laptop
 users)
 #   - set to 'menu' to present a menu during boot-up (dialog package
 required)
 #   - prefix an entry with a ! to disable it
 #
 # Network profiles are found in /etc/network.d
 #
 # This now requires the netcfg package
 #
 #NETWORKS=(main)

 #
 ---
 # DAEMONS
 #
 ---
 #
 # Daemons to start at boot-up (in this order)
 #   - prefix a daemon with a ! to disable it
 #   - prefix a daemon with a @ to start it up in the background
 #
 DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
 #  End
  ###

 And this is my 

Re: [arch-general] Intel AG 4965

2009-10-16 Thread Alan Hoffmeister

Tom K wrote:

Flavio Costa wrote:

Maybe the output of NetworkManager's log would be helpful too.
Try "# tail -f /var/log/messages" while connecting to a wireless 
connection.


On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister  
wrote:


 

Hello guyz!

First of all, let me introduce. My name is Alan Hoffmeister, I'm from
Brazil and I'm a new user to Archlinux.

I sucefully installed Arch and XFCE4 on my notebook (by the way, 
awesome
performance compared to Win7), my wired network is connecting Ok, 
I'm using

networkmanager to manage my connections...

The nm-applet can see all SSIDs around my notebook, it ask me some
password, but when it try to get an IP it fails...

I had this problem whit wicd too.. Always failing to get an IP..

Here is my rc.conf:

#  Start
 ###
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# 
---

# LOCALIZATION
# 
---

#
# LOCALE: available languages can be listed with the 'locale -a' 
command

# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for
non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us-acentos"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

# 
---

# HARDWARE
# 
---

#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the 
MODULES

array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(iwl4965)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# 
---

# NETWORKING
# 
---

#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archie"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0)
WLAN_INTERFACES=(!wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop 
users)

#   - set to 'menu' to present a menu during boot-up (dialog package
required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# 
---

# DAEMONS
# 
---

#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
#  End  
###


And this is my iwconfig wlan0:
iwconfig wlan0
wlan0 IEEE 802.11abgn  ESSID:"" Mode:Managed  
Frequency:2.412
GHz  Access Point: Not-Associated   Tx-Power=14 
dBm   Retry

 long limit:7   RTS thr:off   Fragment thr:off
Encryption key:off
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





Some clue?

Att,
Alan






  

Did you follow the procedures in the Wireless Setup wiki page?

http://wiki.archlinux.org/index.php/Wireless_Setup

T.


Yeah I did, here is my messages.log tailed:

## START #
Oct 16 05:11:58 archie NetworkManager:   (wlan0): device state 
change: 4 -> 5
O

Re: [arch-general] Intel AG 4965

2009-10-16 Thread Tom K

Flavio Costa wrote:

Maybe the output of NetworkManager's log would be helpful too.
Try "# tail -f /var/log/messages" while connecting to a wireless connection.

On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister  wrote:

  

Hello guyz!

First of all, let me introduce. My name is Alan Hoffmeister, I'm from
Brazil and I'm a new user to Archlinux.

I sucefully installed Arch and XFCE4 on my notebook (by the way, awesome
performance compared to Win7), my wired network is connecting Ok, I'm using
networkmanager to manage my connections...

The nm-applet can see all SSIDs around my notebook, it ask me some
password, but when it try to get an IP it fails...

I had this problem whit wicd too.. Always failing to get an IP..

Here is my rc.conf:

#  Start
 ###
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# ---
# LOCALIZATION
# ---
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for
non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us-acentos"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

# ---
# HARDWARE
# ---
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES
array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(iwl4965)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# ---
# NETWORKING
# ---
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archie"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0)
WLAN_INTERFACES=(!wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package
required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# ---
# DAEMONS
# ---
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
#  End  ###

And this is my iwconfig wlan0:
iwconfig wlan0
wlan0 IEEE 802.11abgn  ESSID:"" Mode:Managed  Frequency:2.412
GHz  Access Point: Not-Associated   Tx-Power=14 dBm   Retry
 long limit:7   RTS thr:off   Fragment thr:off
Encryption key:off
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





Some clue?

Att,
Alan






  

Did you follow the procedures in the Wireless Setup wiki page?

http://wiki.archlinux.org/index.php/Wireless_Setup

T.


Re: [arch-general] Intel AG 4965

2009-10-15 Thread Flavio Costa
Maybe the output of NetworkManager's log would be helpful too.
Try "# tail -f /var/log/messages" while connecting to a wireless connection.

On Thu, Oct 15, 2009 at 8:28 PM, Alan Hoffmeister  wrote:

> Hello guyz!
>
> First of all, let me introduce. My name is Alan Hoffmeister, I'm from
> Brazil and I'm a new user to Archlinux.
>
> I sucefully installed Arch and XFCE4 on my notebook (by the way, awesome
> performance compared to Win7), my wired network is connecting Ok, I'm using
> networkmanager to manage my connections...
>
> The nm-applet can see all SSIDs around my notebook, it ask me some
> password, but when it try to get an IP it fails...
>
> I had this problem whit wicd too.. Always failing to get an IP..
>
> Here is my rc.conf:
>
> #  Start
>  ###
> #
> # /etc/rc.conf - Main Configuration for Arch Linux
> #
>
> # ---
> # LOCALIZATION
> # ---
> #
> # LOCALE: available languages can be listed with the 'locale -a' command
> # HARDWARECLOCK: set to "UTC" or "localtime"
> # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
> # TIMEZONE: timezones are found in /usr/share/zoneinfo
> # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
> # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for
> non-US)
> # CONSOLEMAP: found in /usr/share/kbd/consoletrans
> # USECOLOR: use ANSI color sequences in startup messages
> #
> LOCALE="pt_BR.utf8"
> HARDWARECLOCK=""
> USEDIRECTISA="no"
> TIMEZONE="America/Sao_Paulo"
> KEYMAP="us-acentos"
> CONSOLEFONT="lat0-16"
> CONSOLEMAP=
> USECOLOR="yes"
>
> # ---
> # HARDWARE
> # ---
> #
> # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
> # MOD_BLACKLIST: Prevent udev from loading these modules
> # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
> #
> # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES
> array.
> #
> MOD_AUTOLOAD="yes"
> #MOD_BLACKLIST=() #deprecated
> MODULES=(iwl4965)
>
> # Scan for LVM volume groups at startup, required if you use LVM
> USELVM="no"
>
> # ---
> # NETWORKING
> # ---
> #
> # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
> #
> HOSTNAME="archie"
>
> # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
> interfaces.
> #
> # Interfaces to start at boot-up (in this order)
> # Declare each interface then list in INTERFACES
> #   - prefix an entry in INTERFACES with a ! to disable it
> #   - no hyphens in your interface names - Bash doesn't like it
> #
> # DHCP: Set your interface to "dhcp" (eth0="dhcp")
> # Wireless: See network profiles below
> #
>
> #Static IP example
> #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> eth0="dhcp"
> wlan0="dhcp"
> INTERFACES=(!eth0)
> WLAN_INTERFACES=(!wlan0)
>
> # Routes to start at boot-up (in this order)
> # Declare each route then list in ROUTES
> #   - prefix an entry in ROUTES with a ! to disable it
> #
> gateway="default gw 192.168.0.1"
> ROUTES=(!gateway)
>
> # Enable these network profiles at boot-up.  These are only useful
> # if you happen to need multiple network configurations (ie, laptop users)
> #   - set to 'menu' to present a menu during boot-up (dialog package
> required)
> #   - prefix an entry with a ! to disable it
> #
> # Network profiles are found in /etc/network.d
> #
> # This now requires the netcfg package
> #
> #NETWORKS=(main)
>
> # ---
> # DAEMONS
> # ---
> #
> # Daemons to start at boot-up (in this order)
> #   - prefix a daemon with a ! to disable it
> #   - prefix a daemon with a @ to start it up in the background
> #
> DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
> #  End  ###
>
> And this is my iwconfig wlan0:
> iwconfig wlan0
> wlan0 IEEE 802.11abgn  ESSID:"" Mode:Managed  Frequency:2.412
> GHz  Access Point: Not-Associated   Tx-Power=14 dBm   Retry
>  long limit:7   RTS thr:off   Fragment thr:off
> Encryption key:off
> 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
>
>
>
>
>
> Some clue?
>
> Att,
> Alan
>
>


-- 
Flávio Coutinho da Costa


[arch-general] Intel AG 4965

2009-10-15 Thread Alan Hoffmeister

Hello guyz!

First of all, let me introduce. My name is Alan Hoffmeister, I'm from 
Brazil and I'm a new user to Archlinux.


I sucefully installed Arch and XFCE4 on my notebook (by the way, awesome 
performance compared to Win7), my wired network is connecting Ok, I'm 
using networkmanager to manage my connections...


The nm-applet can see all SSIDs around my notebook, it ask me some 
password, but when it try to get an IP it fails...


I had this problem whit wicd too.. Always failing to get an IP..

Here is my rc.conf:

#  Start  
###

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# ---
# LOCALIZATION
# ---
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us-acentos"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

# ---
# HARDWARE
# ---
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the 
MODULES array.

#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(iwl4965)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# ---
# NETWORKING
# ---
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archie"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0)
WLAN_INTERFACES=(!wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package 
required)

#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# ---
# DAEMONS
# ---
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network netfs crond @alsa hal fam networkmanager)
#  End  ###

And this is my iwconfig wlan0:
iwconfig wlan0
wlan0 IEEE 802.11abgn  ESSID:"" 
 Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated  
 Tx-Power=14 dBm  
 Retry  long limit:7   RTS thr:off   Fragment thr:off

 Encryption key:off
 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





Some clue?

Att,
Alan