Page 1 of 1

DSL on X40

Posted: Sun Aug 10, 2008 11:57 pm
by red.dot.fan
n00b at linux here and of course I'm having a hard time getting my wireless to work on DSL. Actually, I can get it to work fine on access points with the encryption disabled, but add a little WEP and it doesn't seem to know what to do. I'm on an X40 with the 11b/g wireless LAN mini PCI adapter using DSL 4.4.3. It has the madwifi driver already- haven't added anything, just recognized 'out of box'

Code: Select all

iwconfig
ath0	IEEE 802.11b ESSID:""
	Mode: Managed Channel:0 Access Point 00:00:00:00:00:00
	Bit Rate:0kb/s Tx-Power:0 dBm Sensitivity=0/3
	Retry:off RTS thr:off Fragment thr:off
	Encryption key:off
	Power Management:off
	Link Quality:0/94 Signal level:-95 dBm Noise level:-95 dBm
	Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
	Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ifconfig ath0 up
iwconfig ath0 essid gamez mode managed key XX:XX:XX:.. key open
iwconfig
ath0	IEEE 802.11g ESSID:"gamez"
	Mode:Managed Frequency:2.437GHz Access Point: 00:00:00:00:00:00
	Bit Rate:54Mb/s Tx-Power:17 dBm Sensitivity =0/3
	Retry:off RTS thr:off Fragment thr:off
	Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Security mode:open
	Power Management:off
	Link Quality:55/94 Signal level:-40 dBm Noise level:-95 dBm
	Rx invalid nwid:928 Rx invalid crypt:0 Rx invalid frag:0
	Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pump -i ath0
	operation failed.
am I missing something? it seems like it should be able to grab an IP with all the settings in there. I even re-punched the settings into windows to make sure that I'm using the right ones..

Posted: Mon Aug 11, 2008 9:47 pm
by teetee
Maybe what you need is to use dhcpcd command. It seems the old version pump command has bugs.

ex.:
#/sbin/dhcpcd ath0


Ref: http://tinyurl.com/5kc6qy

Posted: Tue Aug 12, 2008 10:39 am
by red.dot.fan
I'm having technical difficulties with dhcpcd... but I did manage to disable dhcp at boot and used ifconfig to set a static IP- the result was the same, no access. so does this mean the problem is not with pump?

(btw: that thread is from 1999 so I'm guessing I'm using a different version of pump than they were...)

Posted: Tue Aug 12, 2008 2:49 pm
by lightweight
It may be due to your setting "key" twice in your iwconfig. So, instead of this:

Code: Select all

iwconfig ath0 essid gamez mode managed key XX:XX:XX:.. key open
try this

Code: Select all

iwconfig ath0 essid gamez mode managed key XX:XX:XX:..
Also, make sure you're not getting screwed by wpa_supplicant by trying a ps ax and making sure its not running. If it is, kill it.

I'm guessing the [censored] small folk are using pump because it is small, but fyi, most modern distributions use dhclient.

Posted: Wed Aug 13, 2008 11:22 am
by red.dot.fan
ps didn't show any wpa-s running (actually, I don't even think it's installed, it doesn't come natively with dsl) I've tried configuring the encryption backwards and forwards, right-side-up and up-side-down with bash and the 3-4 gui's in control panel and I can't get it to work...

I'm going to run a debian livecd and see if I can get anywhere with that... if it works, I'm throwing dsl to the wind

thanks