You are not logged in.

#1 2009-05-30 19:02:32

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

[SOLVED] From wicd to netcfg. can connect only using wicd

When i first installed arch, i get the wireless to work using wicd, which is very cool, but i want to replace it with netcfg and wifi-select, the case is, that it seems i can't get it to work without wicd, here are my configs...

:: 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="es_AR.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="America/Argentina/Buenos_Aires"
KEYMAP="es"
CONSOLEFONT=""
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=(acpi-cpufreq mii intel_agp i915 r8169 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd !snd-pcsp snd-hda-intel soundcore r8180 uvcvideo joydev usblp)

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

# 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.100 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan0="wlan0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.0.255"
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.1.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=(Link)

# -----------------------------------------------------------------------
# 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 @hal @cpufreq @alsa @gpm @sensors !wicd @bitlbee @cups)

:: /etc/network.d/LINK ::

CONNECTION="wireless"
DESCRIPTION="A wep encrypted wireless connection using static ip"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="LINK"
KEY="xxxxxxxxxxxxxxxxxxxxxxxxxx"
IP="static"
IFOPTS="192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY="192.168.1.1"
DNS1=200.49.130.29
DNS2=200.49.130.28

:: /etc/network.d/ethernet-static ::

CONNECTION="ethernet"
DESCRIPTION="A less basic ethernet profile, using static configuration"
INTERFACE=eth0
IP="static"
IFOPTS="192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY="192.168.1.1"
DNS1=200.49.130.29
DNS2=200.49.130.28

:: when i run "sudo netcfg LINK" ::

[aleyscha@aleyscha 46 network.d 15:54]$ sudo netcfg LINK 
:: wep-static up                                                                               [BUSY] SIOCADDRT: File exists
                  - Adding gateway 192.168.1.1 failed                                          [FAIL]

screenshots of wicd:
:: wired ::
35081426.png

:: LINK ::
20879823.png

i have core/netcfg 2.1.3-3

any ideas?

THANKS!! smile

Last edited by leo2501 (2009-06-07 14:00:01)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2009-05-30 20:40:26

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] From wicd to netcfg. can connect only using wicd

Try taking all the network stuff out of your rc.conf. With netcfg, the only thing I have in my rc.conf is:

AUTO_NETWORKS=(auto-wireless wlan0)
and @net-profiles in the DAEMONS list.

Also test it unencrypted, first, before you try it with wep. For my card (YMMV) I also had to add a line in the network profile

IWCONFIG="rate 54M mode managed"

Good luck!
Scott

Offline

#3 2009-05-30 21:37:22

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [SOLVED] From wicd to netcfg. can connect only using wicd

well i take out all the network stuff in my rc.conf, and leave only those lines you pointed out, but still the same issue sad

[aleyscha@aleyscha 4 network.d 18:33]$ sudo netcfg ethernet-static 
:: ethernet-static up  - Adding gateway 192.168.1.1 failed                                     [FAIL]

i can connect using wifi-select, but it connects using dhcp and i need it to be static


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#4 2009-06-07 13:59:37

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [SOLVED] From wicd to netcfg. can connect only using wicd

Well i reinstalled arch and now everything works with netcfg smile


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB