LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-27-2004, 08:53 AM   #1
polgard
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: SuSE 10.3
Posts: 18

Rep: Reputation: 0
wlan pcmcia problem: macaddress & setdefaultmib unsupported


Hello,

My wireless card can find the network, but I cannot ping others. The odd thing is, it seems that I can be pinged (when I took the card out, I could no longer reach the IP address I had set my card to.) but this is only when the ethernet cable is plugged in (???). How can the wlan IP address be reached through the NIC card?

In /var/log/messages I found this:

kernel: dot11req_reset: the macaddress and setdefaultmib arguments are currently unsupported

..not sure if it is relevant
I had earlier had an IPv6 problem, which (I think) I solved by adding
install ipv6 /bin/true
to the /etc/modprobe.conf file

Does anyone have any ideas on this?

thanks

Last edited by polgard; 07-27-2004 at 09:01 AM.
 
Old 07-27-2004, 09:33 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
What does iwconfig says? What about ifconfig -a? And the route?
 
Old 07-27-2004, 10:36 AM   #3
polgard
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: SuSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
The output from iwconfig, ifconfig, and route is below. I have tried setting the MAC address (using YAST in SuSE 9.1), but the access point always appears as 00:00:00:00:00:00


iwconfig.................

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11-DS ESSID:"WLAN" Nickname:"WLAN"
Mode:Auto Frequency:2.462GHz Access Point: 00:00:00:00:00:00
Bit Rate:2Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:42/92 Signal level:-59 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 -a ...................

eth0 Link encap:Ethernet HWaddr 00:0D:9D:C8:43:F8
inet addr:192.168.2.24 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:921 errors:0 dropped:0 overruns:0 frame:0
TX packets:695 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:318414 (310.9 Kb) TX bytes:100016 (97.6 Kb)
Interrupt:11 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:335 errors:0 dropped:0 overruns:0 frame:0
TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25231 (24.6 Kb) TX bytes:25231 (24.6 Kb)

wlan0 Link encap:Ethernet HWaddr 00:06:25:16:C3:C2
inet addr:192.168.2.39 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x100


route ..................

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
 
Old 07-27-2004, 11:30 AM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Your network interfaces are in the same subnet, this not necessarily what you want.

If eth0 interface is up, it is used to route all the packages, so wlan0 interface is used only to discuss to itself (which isn't very useful).

If you want to use your wlan interface, you might want to drop down the eth0 interface prior using wlan0, or atleast modify your routing settings.

If you want this to be automatic, see a thread about detecting cable connection.
 
Old 07-27-2004, 11:43 AM   #5
polgard
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: SuSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks Toni,

I hadn't realised there was an issue with using the same subnet. However, I have the same problem when I do ifdown eth0, or uninstall the ethernet card, so that the WLAN is on its own.
 
Old 07-27-2004, 11:50 AM   #6
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
When you drop the eth0, what is left to the routing tables?

You probably have an access point that you are trying to talk with. If you try to ping the broadcast address (192.168.2.255 in this case), does the lights blink in your wlan card and in your access point? Where do you get replies from?
 
Old 07-27-2004, 12:12 PM   #7
polgard
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: SuSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
Toni,

I tried route when eth0 was down....

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo

When I ping (broadcast), the only reply is from itself.

I have used kwifimanager to monitor the card. It shows only 2Mb/s. I tried changing this with
iwconfig wlan0 rate 11M, but ....
Error for wireless request "Set Bit Rate" (8B20) :
SET failed on device wlan0 ; Function not implemented.

BTW, when I bring up eth0 with ifup, it gets no IP address. How do I do this (now I go through the YAST gui which restores all the settings for me)?

thanks
 
Old 07-27-2004, 06:06 PM   #8
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
If you bring the interface down with ifdown eth0 (instead of ifconfig eth0 down), it should be bringed back up by ifup eth0.

ok. Is your access point configured to work as a bridge, or something else? You have some other device that is wire-connected, if you broadcast ping from it, does the lights in your access point blink?
 
Old 10-03-2004, 06:05 AM   #9
polgard
LQ Newbie
 
Registered: Aug 2003
Location: London
Distribution: SuSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
I have now managed to get my wireless card working. It took hours of searching and trying different things, and I am still not entirely sure why it works like this, but ....

The solution was to delete all network cards with YasT. I then inserted the wireless card and found that it registered with kwifimanager as functioning at 11Mb/s, although not able to connect to the router. With ifconfig I found that it was functioning as eth1 rather than wlan0. WIth YasT all I did was to add the name of the wireless LAN to the device configuration. The card then was able to connect.

One odd thing is that if the card is installed during power on and boot, it won't work. So I boot up, then push the card into the PCMCIA slot. Not much help if you have an inbuilt card. I have no idea yet what could cause this problem, but it doesn't inconvenience me. Please let me know if you have anything to add to this.

I am using a Linksys WPC11 ver.3, on an HP laptop running SuSE 9.1

There is a SuSE Forum thread here that relates to SuSE wireless problems after YOU online update. It was one of the posts on this thread that prompted me to try deleting both Wireless card and the Ethernet card in Network Card settings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tricky prism54 pcmcia wlan problem stabu Slackware 10 10-07-2005 04:30 PM
debian sarge & acx100 wlan problem daniela Debian 1 06-17-2005 12:25 AM
Mandrake 10.0 PCMCIA WLAN s/u problem lspowers Linux - Laptop and Netbook 3 11-15-2004 03:47 AM
Intel 2011 B pcmcia WLan won´t work smurfpower Linux - Wireless Networking 1 11-25-2003 02:23 PM
Zonet ZEW1000WU PCMCIA WLAN card problem tomatensaft Linux - Wireless Networking 0 08-29-2003 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration