You are not logged in.

#26 2008-07-05 15:37:32

irfan
Member
Registered: 2008-07-03
Posts: 26

Re: netcfg v2.1.0 beta

venky80 wrote:

Irfan can you post your rc.conf and profiles?
The wili is confusing for auto wireless
What do we do with the networks thing? remove wlano from there?

rc.conf:

#
# /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="pl_PL"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Europe/Warsaw"
KEYMAP="pl"
CONSOLEFONT="lat2-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=(r8169 iwl4965 acpi-cpufreq cpufreq-ondemand snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore fuse)

# 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="arch"

# 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
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#INTERFACES=(eth0)

# 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=(ethernet wireless)
# -----------------------------------------------------------------------
# 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 laptop-mode cpufreq iptables @net-profiles netfs crond hal fam alsa mpd)

profiles:

CONNECTION="wireless"
DESCRIPTION="A simple wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
KEY="xxxxxxxxxxxx"
ESSID="YA YETI"
IP="dhcp"
TIMEOUT=30
CONNECTION="ethernet"
DESCRIPTION="A very basic ethernet profile, using dhcp"
INTERFACE=eth0
SCAN="yes"
IP="dhcp"

Offline

#27 2008-07-08 23:01:17

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: netcfg v2.1.0 beta

I still get no connection with netcfg2.1 and my intel 4965 (vanilla 2.6.25 driver and latest compat wireless)

netcfg2 home
:: home up  - Wireless association failed.                    [FAIL]

I set it up the same ways as I set up a different wlan (that's working really great).. Only key and ssid are different, of course wink

CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="ssid2"
KEY="mykey"
IP="static"
IFOPTS="192.168.1.23 netmask 255.255.255.0"
GATEWAY="192.168.1.1"
TIMEOUT=30

I can see with iwconfig that it associates and disassociates many times until the timeout is reached..
Maybe it parses the key incorrectly, i dunno.

How can i debug this further?
wpa_supplicant works, sometimes it fails to connect(wrong key warning), but then I kill its process and start again, then it works(so the key is correct).

Edit: I tried all the quirks without success.

Last edited by buddabrod (2008-07-08 23:02:10)

Offline

#28 2008-07-08 23:13:29

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: netcfg v2.1.0 beta

buddabrod wrote:

I still get no connection with netcfg2.1 and my intel 4965 (vanilla 2.6.25 driver and latest compat wireless)

netcfg2 home
:: home up  - Wireless association failed.                    [FAIL]

I set it up the same ways as I set up a different wlan (that's working really great).. Only key and ssid are different, of course wink

CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="ssid2"
KEY="mykey"
IP="static"
IFOPTS="192.168.1.23 netmask 255.255.255.0"
GATEWAY="192.168.1.1"
TIMEOUT=30

I can see with iwconfig that it associates and disassociates many times until the timeout is reached..
Maybe it parses the key incorrectly, i dunno.

How can i debug this further?
wpa_supplicant works, sometimes it fails to connect(wrong key warning), but then I kill its process and start again, then it works(so the key is correct).

Edit: I tried all the quirks without success.

I have had similar problems with having to try and authentic/associate twice. I think it is a problem with the 4965 driver, not netcfg or Arch specific. Other distrobution may have some extra code/hacks to hide issues, and silently retry or reconnect, Idk for sure though. You can try wicd, I've had good luck with that with my 4965 card.

I have netcfg2 and wicd installed, sometimes one is friendlier than the other.

Offline

#29 2008-07-08 23:20:25

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: netcfg v2.1.0 beta

I had networkmanager installed for some time.. It worked almost all the time, as long i dont try to reconnect..
using wpa_supplicant works almost always..
i know that iwl4965 is still crappy, but at least wpa-eap connections work now (sometimes at least)^^

Offline

#30 2008-07-08 23:51:00

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: netcfg v2.1.0 beta

Hi irfan,
You dont seem to be using auto wireless parameter in rc.conf, do you know what should be changes to get that working?


Acer Aspire V5-573P Antergos KDE

Offline

#31 2008-07-09 20:46:18

irfan
Member
Registered: 2008-07-03
Posts: 26

Re: netcfg v2.1.0 beta

venky80 wrote:

Hi irfan,
You dont seem to be using auto wireless parameter in rc.conf, do you know what should be changes to get that working?

Hi,
Unfortunately no, I didn't even try auto wireless. It's useless for me, because I have only one wireless profile.

BTW
Sorry for my english tongue

Offline

#32 2008-07-09 21:18:07

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: netcfg v2.1.0 beta

That's ok, and your English is fine!


Acer Aspire V5-573P Antergos KDE

Offline

#33 2008-07-09 22:36:49

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg v2.1.0 beta

For ipw4965, the quirks prescan and preessid appear to help some people. Add them to your wireless profile like so:

QUIRKS=(prescan preesssid)

Last edited by iphitus (2008-07-09 22:38:24)

Offline

#34 2008-07-09 22:50:19

patogen
Member
Registered: 2008-05-11
Posts: 86

Re: netcfg v2.1.0 beta

I have no issues with  netcfg, it's a great tool. It's small, nice, does it job. Nothing that I can think of that could make it better. I didn't notice the PRE_UP, POST_UP and so on at first -- but when I found that it was perfect. Great jobb.

What other distros have included it? Because I'm pretty sure some other distro must have, if not; they are missing out on something.


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#35 2008-07-10 07:58:50

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg v2.1.0 beta

patogen wrote:

I have no issues with  netcfg, it's a great tool. It's small, nice, does it job. Nothing that I can think of that could make it better. I didn't notice the PRE_UP, POST_UP and so on at first -- but when I found that it was perfect. Great jobb.

What other distros have included it? Because I'm pretty sure some other distro must have, if not; they are missing out on something.

None. Just Arch.

It's slightly Arch specific, though with some trivial modifications it would be distro independent.

Offline

#36 2008-07-10 08:56:46

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: netcfg v2.1.0 beta

Out of curiousity, does netcfg 2.1.0 obsolete autowifi? Or does autowifi still do things netcfg doesn't?

Offline

#37 2008-07-10 10:52:26

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: netcfg v2.1.0 beta

iphitus wrote:

For ipw4965, the quirks prescan and preessid appear to help some people. Add them to your wireless profile like so:

QUIRKS=(prescan preesssid)

I got an Update: I'm sure it's the key parser.  I changed the pre shared key to 123456789 and it works. The key for my friend's wlan works, but only when I escape some letters like " or '. It's not that big problem to change the key here, but I think it's better to fix the parser^^

Offline

#38 2008-07-11 23:42:10

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: netcfg v2.1.0 beta

Working beautifully with 2.6.25.10-1-supplied iwl3945 using WPA-PSK or open networks. No problems with 2.0.6-1 either.
No quirks needed, but requires SCAN="no" or association fails (network is not hidden).

thanks!

Offline

#39 2008-07-11 23:57:17

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: netcfg v2.1.0 beta

i mean can someone provide rc.conf who has both quirks and autowireless, I am just confused where to add what...it is not clear!


Acer Aspire V5-573P Antergos KDE

Offline

#40 2008-07-12 07:40:21

Shirakawasuna
Member
Registered: 2007-03-09
Posts: 94

Re: netcfg v2.1.0 beta

I'd just like to add another confirmation of the intel 4965 issue.  Doesn't work the first time, then works the second.  I'm glad to see buddabrod has made some progress smile.

Other than that, thanks a lot iphitus!  I'm really liking netcfg2 + archassistant.  It's waaay better than networkmanager.

Offline

#41 2008-07-12 09:44:40

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: netcfg v2.1.0 beta

irfan wrote:
venky80 wrote:

Hi irfan,
You dont seem to be using auto wireless parameter in rc.conf, do you know what should be changes to get that working?

Hi,
Unfortunately no, I didn't even try auto wireless. It's useless for me, because I have only one wireless profile.

BTW
Sorry for my english tongue

venky80 wrote:

That's ok, and your English is fine!

@Irfan: In fact, your English, at least in the exchange above, is perfect.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#42 2008-07-12 16:37:41

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: netcfg v2.1.0 beta

02:07.0 Ethernet controller: Atheros Communications, Inc. AR2413 802.11bg NIC (rev 01)
    Subsystem: Askey Computer Corp. Unknown device 7101
    Flags: bus master, medium devsel, latency 96, IRQ 16
    Memory at c0110000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [44] Power Management version 2

I couldn't get it working with hidden ESSID. Neither with Scan yes or no set. Any idea? With broadcasted ESSID it works well.

Another question: is "network" in deamon line in rc.conf still needed if i set hostname and all that stuff in my profile?

Offline

#43 2008-07-12 16:43:31

irfan
Member
Registered: 2008-07-03
Posts: 26

Re: netcfg v2.1.0 beta

@dhave: Thank you smile hehe

Offline

#44 2008-07-12 16:48:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: netcfg v2.1.0 beta

AndyRTR wrote:

02:07.0 Ethernet controller: Atheros Communications, Inc. AR2413 802.11bg NIC (rev 01)
    Subsystem: Askey Computer Corp. Unknown device 7101
    Flags: bus master, medium devsel, latency 96, IRQ 16
    Memory at c0110000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [44] Power Management version 2

I couldn't get it working with hidden ESSID. Neither with Scan yes or no set. Any idea? With broadcasted ESSID it works well.

Another question: is "network" in deamon line in rc.conf still needed if i set hostname and all that stuff in my profile?

Madwifi is broken for me on the new iso as well. See bug report here, and add comments if you can! smile

Offline

#45 2008-07-12 22:31:15

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: netcfg v2.1.0 beta

does anyone has rtl8185 based wireless card, please post your rc.conf and wireless profile...thank you
Iam not finding anything when i search the forums


Acer Aspire V5-573P Antergos KDE

Offline

#46 2008-07-13 10:39:18

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: netcfg v2.1.0 beta

Shirakawasuna wrote:

I'd just like to add another confirmation of the intel 4965 issue.  Doesn't work the first time, then works the second.  I'm glad to see buddabrod has made some progress smile.

Other than that, thanks a lot iphitus!  I'm really liking netcfg2 + archassistant.  It's waaay better than networkmanager.

Yeah i myself found out, that prescan and disabling scanning is the only way to make it connect.. but only with a very simple key. My current key contains characters like $?!|/\.^>_+ and so on...

Offline

#47 2008-07-14 01:53:34

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: netcfg v2.1.0 beta

AndyRTR wrote:

Another question: is "network" in deamon line in rc.conf still needed if i set hostname and all that stuff in my profile?

Network can safely be removed from your deamons if netcfg2 handles all your connections, but it's best to still set hostname in rc.conf in case a profile fails (from wiki).
cheers,

Offline

#48 2008-07-14 02:34:58

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg v2.1.0 beta

Quirks
Go in the profile.

There's a bug in netcfg2 and you can get away with putting them in rc.conf for now... but it won't remain forever.

AndyRTR
Network daemon isn't needed, rc.sysinit sets the hostname. I don't think I even have hostname setting in netcfg2 profiles.

ipw49655
For those with ipw4965, do those two quirk settings I posted above fix it? or do you still need to run twice? Experiment with a range of different quirk options, they're on the wiki I linked in the first post.

venky80
Try the default examples, they should work without any problems.

atheros
Ok... I'll look at that.

buddabrod
Yeah... I'll try and make netcfg better at dealing with keys with unusual characters. It's somewhat difficult with bash.

Offline

#49 2008-07-14 06:00:20

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: netcfg v2.1.0 beta

examples are for profiles what are the setting changes for rc.conf? how do u set auto wireless? can u post ur rc.conf if you are using autowireless?


Acer Aspire V5-573P Antergos KDE

Offline

#50 2008-07-14 06:30:40

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: netcfg v2.1.0 beta

iphitus wrote:

ipw49655
For those with ipw4965, do those two quirk settings I posted above fix it? or do you still need to run twice? Experiment with a range of different quirk options, they're on the wiki I linked in the first post.

I'm now using a different wlan, it's set up exactly like my own (because that was me, too), only the key differs. I dont need any QUIRKS for my iwl4965 (there is no ipw for that driver btw, only for 3945). It just works when i escape some sepcial characters.

buddabrod
Yeah... I'll try and make netcfg better at dealing with keys with unusual characters. It's somewhat difficult with bash.

I think for now it'd be better to change my key^^ But great that you look into this. :-)

Offline

Board footer

Powered by FluxBB