List Info

Thread: ifconfig doesn't show RUNNING




ifconfig doesn't show RUNNING
user name
2006-09-07 22:14:04
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" <davidallpowerfuldave.com>
> To: Marcos Hacker <mfhackerhotmail.com>
> CC: linux-wlan-userlists.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-userlists.linux-wlan.com
> > http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
> >
>
>
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
ifconfig doesn't show RUNNING
user name
2006-10-10 21:46:24
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" <davidallpowerfuldave.com>
To: Marcos Hacker <mfhackerhotmail.com>
CC: linux-wlan-userlists.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" <davidallpowerfuldave.com>
 > To: Marcos Hacker <mfhackerhotmail.com>
 > CC: linux-wlan-userlists.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-userlists.linux-wlan.com
 > > http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
 > >
 >
 >


_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
ifconfig doesn't show RUNNING
user name
2006-10-11 15:18:51
On Tue, Oct 10, 2006 at 09:46:24PM +0000, Marcos Hacker
wrote:
>         netif_carrier_on(wlandev->netdev); // Sets
IFF_RUNNING (visible in 
> ifconfig)
> 
>         wlandev->macmode = WLAN_MACMODE_IBSS_STA;

linux-wlan-ng already calls netif_carrier_on() once we get
an 
appropriate linkstatus notification from the hardware.

If you're not getting a linkstatus message, then something
else is 
wrong.

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )