You are not logged in.
Pages: 1
My wireless internet connection works like a charm with Ubuntu and the network-manager applet only by providing the wireless pass phrasse, but it seems like I can't get it work in my archlinux fresh install.
1- I installed required wireless_tools and drivers
2- I almost read the related "beginners guide" and "wireless setup" page and followed the instructions
the specifications of my wireless network is:
device name : Linksys WAP54G
network : Static IP
IP address : 192.168.1.245
subnet mask : 255.255.255.0
default gateway : 192.168.1.1
SSID : linksys
channel : 6
network mode : mixed mode
security : WPA Personal
encryption : TKIP
the ubuntu's nm-applet settings:
Mode : infrastructure
MTU : automatic
wireless security : WPA & WPA2 Personal
IPv4 Method : automatic (DHCP)
# lspci | grep -i net
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:03.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05)
# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11g ESSID:"linksys"
Mode:Managed Frequency:2.437 GHz Access Point: 00:90:4C:91:00:01
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=86/100 Signal level=-43 dBm Noise level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:1 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:3
eth1 no wireless extensions.The networking section of /etc/rc.conf
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
HOSTNAME="myhost"
eth0="eth0 192.168.1.254 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)The contents of /etc/hosts
127.0.0.1 localhost.localdomain localhost,myhost
anyone could help me config my connection please?
Regards
Last edited by mahan_h (2009-03-14 14:42:05)
Offline
Looks like drivers are working... What is the problem?
If you use some graphical enviroment why don't you try some GUI tools instead of wireless_tools (which are great, but ... well I like wicd more). For example, Gnome-Networknanager -- if it works in Ubuntu it will work in Arch
Offline
Maybe I'm wrong here but it looks like your wireless is eth1 and your rc.conf is set for eth0. Also, if you're using wpa encryption you need wpa_supplicant setup. Maybe recheck the guides and wiki. Netcfg is a good simple network manager for archers.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
You seem to be trying to specify your IP address on the wired interface. Remove the network stuff and install wicd (add wicd to your DAEMONS in rc.conf) and as root "/etc/rc.d/wicd start" then as a user run wicd-client .
e.g, my rc.conf includes
DAEMONS=(syslog-ng hal wicd @dnsmasq @sensors @laptop-mode @ntpdate @crond @cpufreq)Last edited by vacant (2009-03-13 15:55:34)
Offline
actually I need the internet connection to install the X server and the rest from now on...
You seem to be trying to specify your IP address on the wired interface. Remove the network stuff and install wicd (add wicd to your DAEMONS in rc.conf) and as root "/etc/rc.d/wicd start" then as a user run wicd-client .
e.g, my rc.conf includes
Code:DAEMONS=(syslog-ng hal wicd @dnsmasq @sensors @laptop-mode @ntpdate @crond @cpufreq)
BTW, as I'm a total newbie in arch, I couldn't install wicd or wicd-client you mentioned by pacman -S wicd.
Last edited by mahan_h (2009-03-13 16:28:41)
Offline
The contents of /etc/hosts
127.0.0.1 localhost.localdomain localhost,myhost
Maybe that's just a typo but check your hosts file again. I think only whitespaces and tabs are honored in /etc/hosts.
Offline
Maybe that's just a typo but check your hosts file again. I think only whitespaces and tabs are honored in /etc/hosts.
yeah, the default hosts didn't have the ,myhost but as rc.conf had the HOST="myhost" I added that..(after wireless still didn't work)
Offline
Are you running an old kernel version?
I seem to recall that these days the wireless interface is 'wlan0' rather than 'eth1'
Not that it should make much difference, but when it comes to wireless, newer is usually better ...
Offline
The problem here is for sure that he needs to use wpa_supplicant. He could use netcfg + netprofiles (which I recommend) or wicd.
He's not connecting to access point because rc.conf doesn't know about WPA (IIRC, it isn't possible to configure it to make it work with WPA). So choose and follow instructions included in the two pages I linked.
Also, if you want to add your hostname to /etc/hosts, please use first your FQDN, then simple hostname, then localhost.localdomain and at last localhost. An example follows:
127.0.0.1 linus.torvalds.local linus localhost.localdomain localhost.
HTH,
syntaxerrormmm - Homepage
Offline
The problem here is for sure that he needs to use wpa_supplicant. He could use netcfg + netprofiles (which I recommend) or wicd.
He's not connecting to access point because rc.conf doesn't know about WPA (IIRC, it isn't possible to configure it to make it work with WPA). So choose and follow instructions included in the two pages I linked.
Also, if you want to add your hostname to /etc/hosts, please use first your FQDN, then simple hostname, then localhost.localdomain and at last localhost. An example follows:
Code:127.0.0.1 linus.torvalds.local linus localhost.localdomain localhost
OK, Thanx, but beside revising my hosts what do you exactly suggest?
Offline
You need to authenticate with your access point with wpa_supplicant. The only two methods that will permit you to have automatic configuration on boot are wicd and netcfg. Please, read on and inform yourself on which one best suites your need.
Just as a quick hint, save this code as /etc/network.d/wpa-home:
CONNECTION="wireless"
DESCRIPTION="Home LAN"
INTERFACE=eth0
SCAN="yes"
SECURITY="wpa-config"
ESSID="linksys"
KEY="your-wpa-psk-passphrase"
IP="dhcp"
TIMEOUT=100Try save these lines in the file indicated, then launch as root:
netcfg wpa-homeThis is how to work it out with netcfg. If it works, you need to instruct the system to use netprofiles via rc.conf (see my previous post).
Since you know the solution, I leave to you to inform on what each variable do.
HTH,
syntaxerrormmm - Homepage
Offline
You need to authenticate with your access point with wpa_supplicant. The only two methods that will permit you to have automatic configuration on boot are wicd and netcfg. Please, read on and inform yourself on which one best suites your need.
Just as a quick hint, save this code as /etc/network.d/wpa-home:
Code:CONNECTION="wireless"
DESCRIPTION="Home LAN"
INTERFACE=eth0
SCAN="yes"
SECURITY="wpa-config"
ESSID="linksys"
KEY="your-wpa-psk-passphrase"
IP="dhcp"
TIMEOUT=100Try save these lines in the file indicated, then launch as root:
Code:netcfg wpa-home
I tried netcfg wpa-home after creating that file and setting correct values, but I got:
:: wpa-home up - wpa_supplicant did not start, possible configuration [FAILED]
Last edited by mahan_h (2009-03-13 18:30:58)
Offline
I solved it....:lol::D:rolleyes::cool:
# mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.original
# wpa_passphrase myssid mypassphrase > /etc/wpa_supplicant.conf
# ifconfig eth0 up
# iwconfig eth0 essid [ssid]
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
# dhcpcd eth0
and in etc/rc.conf
eth0="eth0 [THE IP FROM PREV. dhcpcd COMMAND] netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
then
ping -c 3 www.google.com
Thanx Archers
Offline
Pages: 1