Just a follow up to my original problem. This may be more
appropriate for
the developer list.
The driver I ported from the 2.4 kernel to the 2.6 kernel
was missing calls
to netif_carrier_on(). I added the call along side setting
the macmode to
WLAN_MACMODE_IBSS_STA.
netif_carrier_on(wlandev->netdev); // Sets
IFF_RUNNING (visible in
ifconfig)
wlandev->macmode = WLAN_MACMODE_IBSS_STA;
Thanks for the replys!
marcos
----Original Message Follows----
From: "Gee, David" <david allpowerfuldave.com>
To: Marcos Hacker <mfhacker hotmail.com>
CC: linux-wlan-user lists.linux-wlan.com
Subject: Re: [lwlan-user] ifconfig doesn't show RUNNING
Date: Thu, 07 Sep 2006 23:14:04 +0100
Ah yes, I would imagine that does mean something. I've just
been playing
around with my ethernet card, which isn't plugged in, and I
did and ifup
eth0 and noticed that I got
eth0 Link encap:Ethernet HWaddr 00:0C:76:3A:A1:78
inet addr:10.255.253.1 Bcast:10.255.253.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169 Base address:0xe00
which is very similar to what you got. Given that mine
wasn't connected
to anything, maybe your problem is just that it's not
associating to the
other PC's wireless card correctly?
Regards
David
Marcos Hacker wrote:
> Both. I can't ping the card locally or from another
machine. I am
> trying to establish an ad-hoc connection to another
pc. The other pc
> is running 2.4.22_FC1. I thought the absence of
RUNNING from the
> ifconfig listing might have indicated a problem.
>
> thanks for the input,
> marcos
>
>
>
>
>
>
> ----Original Message Follows----
> From: "Gee, David" <david allpowerfuldave.com>
> To: Marcos Hacker <mfhacker hotmail.com>
> CC: linux-wlan-user lists.linux-wlan.com
> Subject: Re: [lwlan-user] ifconfig doesn't show
RUNNING
> Date: Thu, 07 Sep 2006 21:44:14 +0100
>
> When you say you cannot ping the card, do you mean you
cannot ping it
> from a remote machine or you cannot ping the card from
the machine
> itself? If its the former, it's more likely a firewall
issue as from the
> output of ifconfig it all looks good.
>
> Regards
> David
>
> Marcos Hacker wrote:
> > Hi. I am trying to get a prism2 PCMCIA card
running under Fedora
> 2.6.14_FC4
> > with the 0.2.3 driver. The driver installs,
recognizes the card,
> etc. When I
> > try ifconfig, the information returned does not
show RUNNING.
> >
> > wlan0 Link encap:Ethernet HWaddr
00:02:68:00:00:9B
> > inet addr:192.168.0.2
Bcast:192.168.0.255
> Mask:255.255.255.0
> > inet6 addr: fe80::202:68ff:fe00:9b/64
Scope:Link
> > UP BROADCAST MULTICAST MTU:1500
Metric:1
> > RX packets:0 errors:0 dropped:0
overruns:0 frame:0
> > TX packets:0 errors:0 dropped:0
overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> > Interrupt:3 Base address:0x2100
> >
> > I'm not sure if it's related, but I can not ping
the card. It
> doesn't appear
> > to be receiving packets. Any ideas or
suggestions are greatly
> appreciated.
> >
> > Thanks,
> > marcos
> >
> >
> > _______________________________________________
> > Linux-wlan-user mailing list
> > Linux-wlan-user lists.linux-wlan.com
> > http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
> >
>
>
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-user lists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
|