-   Linux - Wireless Networking (
-   -   Newb wireless net problem (

Thermos 09-02-2004 08:29 PM

Newb wireless net problem
1st of all im fairly new to wireless setups and i do suck at linux. but, i'd like to get my laptop to connect to the network here at work. im running mandrake 10 and i have a cisco airo 350 series pcmia card.

i havent done any setup for this cause i dont have a clue where to do it. it does pickup the card on bootup.
i did an lsmod and it shows airo_cs and airo in there.

i read on here somewhere that i should do the following
ifconfig eth0 down
ifconfig eth1 down
iwconfig eth1 key 1111111111
iwconfig eth1 rate 11M auto
iwconfig eth1 mode Managed
ifconfig eth1 up
dhclient eth1

which shows...
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
/sbin/dhclient-script: configuration for eth1 not found
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
listening on LPF/eth1/00:0e:38:88:b7:e1
sending on LPF/eth1/00:0e:38:88:b7:e1
sending on socket/fallback
DHCPDISCOVER on eth1 to port 67 interval 3
No DHCPOFFERS received
no working leases in persistent database - sleeping.
/sbin/shclient-script: configuration for eth1 not found

after that ifconfig shows....
link encap:ethernet hwaddr 00:0e:38:88:b7:e1
inet6 addr: fe80::20e:28ff:fe88:b7e1/64 scope:link
up broadcast running multicast mtu:1500 metric:1
rx packets:0 errors:345 dropped:0 overruns:0 frame:345
tx packets:12 errors:12 dropped:0 overruns:0 carrier:12
collision:0 txqueuelen:1000
rx bytes:0 (0.0b) tx bytes:2628 (2.5 kb)
interrupt:3 base address:0:100

anybody know what my problem is and what i can do to fix this. also, is there a way to do all of this in preferably in xwindows.

thnx in adv.

redjokerx 09-02-2004 08:55 PM

don't forget iwconfig eth1 essid "Network Name"

Also see if you have a ifup or ifdown, I know redhat does so since your mandrake, maybe you do too. Anyway, if you don't have it, try the following (it's from my ifup script):
rm-rf /etc/dhcpc/dhcpcd-$IFACE.*
dhcpcd $IFACE

Hope that works.

kersten78 09-02-2004 11:20 PM

what output do you get from iwconfig? If the card is loaded and active, you should be able to set your essid and key with iwconfig and then run dhclient. Also, try dhclient without the eth1 tag. I always run mine blank and it works. I just got a desktop and a laptop configured running Mandrake 10 and ndiswrapper... it was purely trial and error, but I've learned a helluvalot more about wireless setups than I ever would have known--I guess trial/error isn't entirely bad. Anyway, I'm not sure about a card that was detected on boot, but I may be able to help with some config crap.

Thermos 09-03-2004 08:51 AM

ok heres the iwconfig eth1 output

IEEE 802.11-DS ESSID: " "
Mode: Managed Frequesncy:2.417GHz Access Point: FF:FF:FF:FF:FF:Ff
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****_****_** Security mode:open
Power Management: off
Link Quality: 176/10 Signla level:-108 dBm Noise level: -108dBm
Rx invalid nwid:5507 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 invalid misc:115323 Missed beacon:0

Thermos 09-03-2004 09:00 AM

also kersten78, i tried dhclient without the eth1 and it came back a little different but still didnt work.

sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
/sbin/dhclient-script: configuration for sit0 not found.
/sbin/dhclient-script: configuration for wifi0 not found.
/sbin/dhclient-script: configuration for eth1 not found.
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/wifi0/
Sending on LPF/wifi0/
Listening on LPF/eth1/00:0e:38:88:b7:e1
Sending on LPF/eth1/00:0e:38:88:b7:e1
Listening on LPF/eth1/00:b0:d0:88:6a:e8
Sending on LPF/eth1/00:b0:d0:88:6a:e8
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on lo to port 67 interval 4
DHCPDISCOVER on eth1 to port 67 interval 3
receive_packet failed: network is down
Send_packet: network is down

any ideas ppl

kersten78 09-03-2004 08:01 PM

In your post with iwconfig output, it looks like your essid is blank:

IEEE 802.11-DS ESSID: " "
Make sure you have your essid (network name) set according to your router config. (You can set it with iwconfig as follows: "iwconfig eth1 essid youressid" assuming your wireless device is on eth1--otherwise modify it accordingly...mine is on wlan0 instead of eth1). As long as you set your essid and key, dhclient should work. Let me know what happens.

kersten78 09-03-2004 08:06 PM

Also try: iwlist eth1 scanning
That should show you your router and it's various settings. Make sure the access point that's shown on iwlist is also shown on iwconfig. Otherwise your settings are wrong. Once you have essid and key set, the ap shown in iwconfig should match your router's ap as shown in iwlist. Good luck and let me know your progress.

All times are GMT -5. The time now is 06:18 AM.