You are not logged in.
Hello there. When I go to places where they have eduroam and I boot arch. netcfg won't automatically connect to eduroam. I have to manually invoke: sudo netcfg eduroam
/etc/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", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# 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="en_US.UTF-8"
LOCALE="sl_SI.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Ljubljana"
KEYMAP="slovene"
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=(uvcvideo !pcspkr b43 vboxdrv acpi-cpufreq)
# 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="archer"
# 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="dhcp"
#okdar uporabljam netcfg ne nucam tega
#eth0="dhcp"
#
# prav tako ne nucam met blacklistanih mreznih !eth0 in !wlan0 v v INTERFACES
INTERFACES=()
# 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=(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
#
WIRELESS_INTERFACE="wlan0"
WIRED_INTERFACE="eth0"
DAEMONS=(syslog-ng hal kdm ntpd net-auto-wired net-auto-wireless @crond @alsa @netfs sensors powernowd @laptop-mode)
#DAEMONS=(syslog-ng kdm wicd @crond @alsa @hsl) ne dela tipkovnica, miska..eduroam settings:
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="no"
SECURITY="wpa-config"
ESSID="eduroam"
IP="dhcp"
TIMEOUT=50
WPA_CONF="/etc/wpa_supplicant.conf"my /etc/wpa_supplicant.conf configuration file:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="eduroam"
key_mgmt=WPA-EAP
group=TKIP
eap=TTLS
anonymous_identity="anonymous@feri.uni-mb.si"
identity="ID@feri.uni-mb.si"
password="duck123:)"
ca_cert="/Sistem/netcfg/eduroam/caferi.der"
phase2="auth=PAP"
priority=100
}That's one problem. And while I'm here I have another. I know netcfg is just netcfg. But how can I solve this one, at home I have wired and wireless connection. I plug the cable into the computer but when it boots I can see that both wired network is up and wireless, just point me out where can I look to solve this one.
Offline
#NETWORKS=(main)I think that NETWORKS needs to be set to include eduroam (and any other networks you may wish to connect to).
As for the other "issue", check out ifplugd.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Then in networs are wired and wireless networks: NETWORKS=(eduroam, wired_dns, wired_static_b, homewifi,...)?
Offline
That's what I have in mine - it may not be necessary, the wiki is ambiguous on the point. It's certainly necessary if using "net-profiles" but may or may not be for net-auto-wireless. I've always added them just in case (it hasn't stopped it working).
However, you *will* need wpa_actiond installed for net-auto-wireless, if you haven't.
The other thing is, as the wiki says:
Note that wpa-config profiles does not work with net-auto-wireless. Convert them to wpa-configsection instead.
So you will probably need to switch your config profile to a configsection one (again, that's what I use and have no issue automatically connecting to any profile networks).
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline