You are not logged in.

#1 2007-04-18 21:08:10

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

(solved) Unable to go wireless Thinkpad

I have installed Arch on my old Thinkpad (P3/500) It has a 3com wirelesscard with Atheros chip. (and a fully functional 3com wired pcmciacard) I have installed Knetworkmanager and this is fom my /etc/rc.conf

lo="lo 127.0.0.1"
eth0="dhcp"
ath0="dhcp"
INTERFACES=(!lo eth0 !ath0)
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
DAEMONS=(!syslog-ng !hotplug !pcmcia !network dbus hal netfs !crond
alsa kdm dhcdbd networkmanager)

I have done a pacman -S madwifi and I've set ath_pci in "Modules to load at boot" (?)
iwconfig:

ath0      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:31 dBm   Sensitivity=0/3
          Retry:off   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

I have edited the /etc/conf.d/wireless

Something I wondered about is a section from  lsmod:

ath_pci                88480  0
wlan                  190404  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               190032  3 ath_rate_sample,ath_pci
3c589_cs               10756  1
pcmcia                 31404  1 3c589_cs
pcmcia_core            33176  4 yenta_socket,rsrc_nonstatic,3c589_cs,pcmcia

It is a wep encrypted network and I have given networkmanager all it asks for, but it starts looking for the network and stops at 28%. You may be tired of these wireless-probs, but I hope someone can give me something to go on here. Don't know how to solve the problem.

Last edited by tinker (2007-07-15 16:04:14)

Offline

#2 2007-04-18 21:22:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Unable to go wireless Thinkpad

From your rc.conf extract above, this line:

INTERFACES=(!lo eth0 !ath0)

disables both your wireless and loopback interfaces, because of the '!' preceding them. Remove those, restart your network, and see if things improve.

Offline

#3 2007-04-18 21:37:04

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: (solved) Unable to go wireless Thinkpad

Unless I'm mistaken you should enable the network service too... You disabled that too, wonder why?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2007-04-18 21:45:12

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

Re: (solved) Unable to go wireless Thinkpad

I tried to follow the Wiki for Networkmanager?
http://wiki.archlinux.org/index.php/Networkmanager
Maybe I misunderstood something?

Offline

#5 2007-04-18 21:51:14

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: (solved) Unable to go wireless Thinkpad

Also it looks like you have not associated with any particual ESSID. To do that you need to edit /etc/conf.d/wireless and add the following line:

wlan_ath0="ath0 mode managed essid youressid"

or issue the following from the command-line:

iwconfig ath0 essid youressid

and then if you are using dhcp:

dhcpcd ath0

Of course replace youressid with your own.

Personally, I like the networkmanager solution. IIWY I'd try to see if it works without wep security first, then try to fix the wep problem.

Last edited by raymano (2007-04-18 21:57:03)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#6 2007-04-18 22:05:07

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

Re: (solved) Unable to go wireless Thinkpad

Thanks for taking interest in the problem. You see it is (K)Networkmanager  I'm trying to use. But it is not able to connect. Why I don't know.

Offline

#7 2007-04-18 22:15:20

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: (solved) Unable to go wireless Thinkpad

tinker wrote:

Thanks for taking interest in the problem. You see it is (K)Networkmanager  I'm trying to use. But it is not able to connect. Why I don't know.

I'm using KNetworkManager as well. But you have to follow everything in http://wiki.archlinux.org/index.php/Networkmanager#KDE to get it to work. I have been using it without WEP for quite a while without any problems. Unfortunately I don't know anything about WEP/KNetworkManager.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#8 2007-04-19 19:04:55

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: (solved) Unable to go wireless Thinkpad

if you are using networkmanager:

rc.conf
INTERFACES=(lo !eth0 !ath0)

in the above case Networkmanager will take care of eth0 and atho
you should leave loopback alone

So you are partially right (exception: lo)

Second mistake:
you don't have ath0 interface, you do have wlan_ath0
so replace ath0 with wlan_ath0

rc.conf
wlan_ath0="dhcp"
eth0="dhcp"
.....
WLAN_INTERFACES=(wlan_ath0)
INTERFACES=(lo eth0 !wlan_ath0)
....

Offline

#9 2007-04-19 20:32:22

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

Re: (solved) Unable to go wireless Thinkpad

Thanks. Now from my rc.conf

lo="lo 127.0.0.1"
wlan_ath0="dhcp"
eth0="dhcp"
WLAN_INTERFACES=(wlan_ath0)
INTERFACES=(lo eth0 !wlan_ath0)

But I'm still unable to connect wireless with networkmanager.

Offline

#10 2007-04-19 20:51:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Unable to go wireless Thinkpad

Apologies for my earlier incorrect contribution. I am not familiar with networkmanager, and was unaware that it required a non-standard rc.conf.

Offline

#11 2007-04-19 20:57:36

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: (solved) Unable to go wireless Thinkpad

tinker wrote:

Thanks. Now from my rc.conf

lo="lo 127.0.0.1"
wlan_ath0="dhcp"
eth0="dhcp"
WLAN_INTERFACES=(wlan_ath0)
INTERFACES=(lo eth0 !wlan_ath0)

But I'm still unable to connect wireless with networkmanager.

In your rc.conf replace all of:

wlan_ath0="dhcp"
eth0="dhcp"
WLAN_INTERFACES=(wlan_ath0)
INTERFACES=(lo eth0 !wlan_ath0)

with:

lo="lo 127.0.0.1"
INTERFACES=(lo)

NetworkManager is thrown off by the Arch "standard" network scripts. So you basically have to make the Arch network scripts think that other than loopback device (lo), there are no network interfaces. Hal and network manager take care of the rest.

Last edited by raymano (2007-04-19 21:12:39)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#12 2007-04-19 20:58:29

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: (solved) Unable to go wireless Thinkpad

what iwconfig shows?

Offline

#13 2007-04-19 21:01:56

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: (solved) Unable to go wireless Thinkpad

remove ! from pcmcia and add ! in eth0...

Then you can see if networkmanager works with wired connection...

your iwconfig doesn's show signalstrenght so is your wifi ON? right modules loaded?

test eth first tho.

Offline

#14 2007-04-19 21:47:43

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

Re: (solved) Unable to go wireless Thinkpad

iwconfig:

root@archtop ~]# iwconfig
lo        no wireless extensions.

irda0     no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:31 dBm   Sensitivity=0/3
          Retry:off   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

Networkmanager does work with eth0

I have been wondering about the modules loaded too, but I can't tell from lsmod what is right or wrong(see first post "lsmod")

ad pcmcia - the wired card is also a pcmciacard and it is recognized and works automatically.

Offline

#15 2007-04-19 22:14:59

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: (solved) Unable to go wireless Thinkpad

If you try:

iwconfig ath0 essid <youressid>
dhcpcd ath0

What happens?


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#16 2007-04-19 22:33:41

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: (solved) Unable to go wireless Thinkpad

Hah i betcha u haven't downloaded wireless cards firmware have you? tongue

that or wrong module ^^

Then im all outta ideas.

Offline

#17 2007-04-19 22:59:22

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: (solved) Unable to go wireless Thinkpad

maybe replace:
DAEMONS=(!syslog-ng !hotplug !pcmcia !network dbus hal netfs !crond
alsa kdm dhcdbd networkmanager)

with:
DAEMONS=(!syslog-ng !hotplug !pcmcia network dbus hal netfs !crond
alsa kdm dhcdbd networkmanager)

also, you don't need hotplug (you have hal) and pcmcia (this is not a daemon)

Offline

#18 2007-07-08 16:16:41

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: (solved) Unable to go wireless Thinkpad

Just a bit of info I found messing with network manager. If my essid was not broadcast I couldn't not connect. I tried also enabling mac filtering with only my MAC address given access and still couldn't not connect.  Just what I have found so far and have yet to find a solution to work around that.

the Network daemon is only need if you use the standard method with rc.conf and use dhcpcd to get the ip and so forth. Networkmanager and dhcdbd are suppose to handle the aspect and bringing the cards up and assigning the appropriate info to them

Last edited by shen (2007-07-08 16:24:46)

Offline

#19 2007-07-08 16:52:22

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

Re: (solved) Unable to go wireless Thinkpad

Are able to connect now, tinker?


Donate to Arch!

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

Offline

#20 2007-07-15 16:00:08

tinker
Member
From: Norway
Registered: 2007-01-14
Posts: 18

Re: (solved) Unable to go wireless Thinkpad

dhave wrote:

Are able to connect now, tinker?

Yes I am!
Something happened to my last Woodo installation and I choose to reinstall with Duke. I use Networkmanager and everything works perfect.

Last edited by tinker (2007-07-15 16:01:18)

Offline

Board footer

Powered by FluxBB