Yesterday I got account on handhelds.org server and R/W access to OPIE source code.
I use OPIE for over year. From time to time I hacked source a bit and sent patches via opie-devel ML — now I can commit patches directly ;)
Random mumblings of ARM developer
Yesterday I got account on handhelds.org server and R/W access to OPIE source code.
I use OPIE for over year. From time to time I hacked source a bit and sent patches via opie-devel ML — now I can commit patches directly ;)
W poprzednim numerze Przekroju była informacja o nowej książce Marka S. Huberatha “Miasta pod skałą”. Jako że “Gniazdo światów” tego samego autora ciekawą książką jest to uznałem, że i tę nabędę. W sobotę byłem w Empiku, wydałem 39.99zł i jadąc sobie pociągiem przeczytałem ~180 stron. Muszę przyznać, że wciąga i to nieżle — akcja pokręcona maksymalnie.
Few days ago I had to go from work to home just to turn on my desktop computer. Now when I have possibility to remote login to my router I tried to get Wake-On-LAN working.
My desktop PC has 3 network cards:
I installed “ethtool” and started to checking which card support WOL. First tested was 3Com one:
root@home:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 24
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
Link detected: no
As you see — no WOL here.. So I build “tulip” module and checked SMC card:
root@home:~# ethtool eth1
Settings for eth1:
No data available
It’s so old card that I was not suprised that it does not support WOL. Next step was rebooting machine, enable onboard LAN and enabling two other options in BIOS:
Wake on Onboard LAN
Wake on PCI card
Started Linux and started ethtool:
root@home:~# ethtool eth2
Settings for eth2:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000001 (1)
Link detected: yes
And that card support WOL :) So I retired 3Com card and now VIA-Rhine is my default NIC. I added one line to /etc/init.d/hrw-misc:
ethtool -s eth0 wol pumbg
to get WOL turned on on each reboot.
On router I installed “wol” package and created one line script “/sbin/wake-home”:
wol -i 192.168.1.255 xx:yy:zz:aa:bb:cc
where “xx:yy:zz:aa:bb:cc” is MAC address of desktop NIC.
Thanks goes to Jimmy for his entry in blog.
BusyBox v1.00 (2005.05.25-20:30+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| -- || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
root@OpenWrt:~# uname -a
Linux OpenWrt 2.4.30 #1 Wed May 25 16:25:58 EDT 2005 mips unknown
in near future it will be partially replaced by “wrt54oe” distribution build using OpenEmbedded.
Yesterday I was able to go IRC, watch webpages without having to turn on my desktop PC (which make noise) and it was good. I found 3 new bugs in opie-irc (reported) and I think that in next few days I have to look into GPE for network software.
Thanks to [cc]smart I got Linksys wrt54gs router/AP. Tomorrow will look how to use that little box in my “network” which currently is cablemodem ->-UTP5-> PC ->-BT-> Zaurus C760. When got it working then I could use network without running PC via WiFi card in Zaurus.
Po raz pierwszy w tym roku wygrałem Big Milka. Tym razem patyczek był w Big Fruit (dobre bo truskawkowe :)
Lodożerco — niech lód będzie z Tobą!
Dzisiaj (a w zasadzie to jutro bo seans o 00:01 się zaczyna) dowiem się jak doszło do powstania Lorda Vadera a wszystko to z powodu faktu, że idę do Kinepolis na premierę epizodu III Gwiezdnych Wojen (jakbym napisał z małej to fani by mnie zjedli) czyli na “Revenge of the Sith” (jakoś nie lubię polskich tytułów w tym cyklu — pewnie to przez fakt, że wszędzie w dokumentacji odwołania do poszczególnych części jest via ANH, ESB, ROTJ etc.. (nie wymieniam 1 i 2 epizodu bo to nie to samo co IV-VI)).