Re: h5550 wifi power down

From: Alex Bystrov <A.Bystrov.a.t.newcastle.ac.uk>
Date: Thu Aug 26 2004 - 13:51:05 EDT

I see what I did wrong. In order to remove the driver one needs
1. to establish the link-level connection (iwconfig eth0 ...), too bad if
your access point is not configured, then you'll fail this step.
2. to configure the interface (ifconfig eth0 up)
Note, the IP connection is not necessary. I did not configure the IP
address. On the other hand this does not hurt, the IP can be
either configured or not.
3. to stop the interface (ifconfig eth0 down)
4. ...and only then the module can be removed (rmmod usbvnetr)

Is it the fault in the driver that it cannot be removed without the above
hassle? I am experimenting now checking battery life in the sleep mode.
The first impression is that without the driver the consumption is lower.
Still the unit looses about 30% in 20 hours and I am using the expansion
pack with a second battery.

Alex

On Tue, 24 Aug 2004, Calum Mackay wrote:

> Alex Bystrov wrote:
> > OK, doing it from scratch.
> > Rebooted,
> > ifdown eth0
> > interface eth0 not configured
> > iwconfig
> > eth0: ... it is configured...
> > ...making wifi work... green LED, ping works...
> > ifconfig eth0 down
> > ifdown eth0
> > interface eth0 not configured (still--AB)
> > the module still cannot be removed...
>
> that's odd. it works for me here:
>
> familiar # ping cdmnet.org
> PING diz (192.168.254.1): 56 data bytes
> 64 bytes from 192.168.254.1: icmp_seq=0 ttl=64 time=2.7 ms
> familiar # ifconfig eth0
> eth0 Link encap:Ethernet HWaddr 00:02:8A:FA:64:D9
> inet addr:192.168.254.4 Bcast:192.168.254.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> familiar # iwconfig eth0
> eth0 ATMEL RFMD503A ESSID:"cdm-wireless" Nickname:"cdm-wireless"
> Mode:Managed Channel:11 Access Point: 00:06:25:EA:5D:A6
> familiar # ifconfig eth0 down; sleep 5
> familiar # rmmod usbvnetr
> familiar #
>
> cheers,
> c.
> _______________________________________________
> H5400-port mailing list
> H5400-port@handhelds.org
> https://www.handhelds.org/mailman/listinfo/h5400-port
>
Received on Thu Aug 26 12:52:25 2004

This archive was generated by hypermail 2.1.8 : Thu Aug 26 2004 - 12:52:48 EDT