cooking, programming and everyday life xrado

Sunday, July 23, 2006

ipw2200 wifi card and wpa encryption (updated)

I had some difficulties getting my ipw2200 wifi card to work under linux. Although I found so much info about it on internet, i got a little confused about whats needed to get it working. Anyway thats a past now... here is a how-to.

Firmware
Get firmware from http://ipw2200.sourceforge.net (v2.4)
and extract it to /lib/firmware/

Update:
i upgraded kernel to 2.6.17.6 and card it's not working anymore with firmware 2.4. You have to install FW 3.0 version to get it working again. Previously i was using kernel version 2.6.16.19.

Modules
load modules:
modprobe ieee80211
modprobe ipw2200
and uncomment same lines in /etc/rc.d/rc.modules for automatic loading on startup. (thats for slackware based distros)

you can check now if modules are loaded ok by
dmesg | grep ipw
you should get something like this:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.0.8
ipw2200: Copyright(c) 2003-2005 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
for enabling radio off/on switch add this to /etc/modprobe.conf
options ipw2200 led=1
Configuration (wpa_supplicant is required)

/etc/wpa_supplicant.conf should look something like this:
ctrl_interface=/var/run/wpa_supplicant
network={
	ssid="wlan_name"
	scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
	psk="password"
}
Usage
i hope you have your router setup with wpa encryption and dhcp.
in my case ipw2200 is on eth1

start
wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D wext
dhcpcd -d eth1
if everything is setup ok you should get an ip from dhcp server.
happy wireless surfing ;-)
  tags: linux hardware COMMENTS (2)

Friday, June 30, 2006

new job...

Its almost a month now since i switched a job.

Finally i do things i like to. Its still work but interesting, not like job i had before i had nothing in common. I work now as a web programmer/developer on company called Editor. Good company and cool people with some interesting visions. hello to them .)
  tags: life COMMENTS (1)

Tuesday, June 20, 2006

Linux on the Acer Travelmate 4104

for now only hardware info. ...more about how did i get all working ...soon ..i hope

System features:
Intel Pentium M 760 (2.0GHz/2M/FSB533)
Intel 915PM/915GM Express chipset
DDR II 512MB (1x512)
15.4" WXGA TFT (1280x800)
64MB ATI MOBILITY RADEON X700
80GB 4.2K, DVD-Dual DL
fast Ethernet, 802.11b/g, IEEE 1394 port
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
06:01.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:01.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:01.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
06:08.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 02)

# acpitool -e
Kernel version : 2.6.16.16-ACPI version : 20060127
-----------------------------------------------------------
Battery #1: present
Remaining capacity : 3889 mAh, 100.0%
Design capacity: 4300 mAh
Last full capacity : 3889 mAh, 90.44% of design capacity
Capacity loss: 9.558%
Present rate: 0 mA
Charging state: charged
Battery type: rechargeable, LION
Model number: ZL08
Serial number: 20172
Battery #2: slot empty

AC adapter: on-line
Fan: 

CPU type: Intel(R) Pentium(R) M processor 2.00GHz
CPU speed: 800.000 MHz
Bogomips: 1597.96
Processor ID: 0
Bus mastering control: yes
Power management: yes
Throttling control: yes
Limit interface: yes
Active C-state: C2
C-states (incl. C0): 5
Usage of state C1: 10 (0.0 %)
Usage of state C2: 12742177 (52.8 %)
Usage of state C3: 2790848 (11.6 %)
Usage of state C4: 8614590 (35.7 %)
T-state count: 8
Active T-state: T0

Thermal zone 1 : ok, 45 C
Trip points :
-------------
critical (S5):97 C
passive:93 C: tc1=2 tc2=3 tsp=40 devices=0xdfe07e40


DeviceSleep stateStatus
---------------------------------------
1. RP014disabled
2. RP024disabled
3. RP044disabled
4. USB13disabled
5. USB23disabled
6. USB33disabled
7. USB43disabled
8. USB73disabled
9. LANC4disabled
10. MODM3disabled
  tags: hardware linux COMMENTS (0)

Tuesday, June 13, 2006

The begining of the blog or something like it...

For those who never been here, this page is standing online for quite awhile now, but it was more or less static till now. I finally took sometime and add some functionality to it, like easy posting and commenting(with my mini cms:)). btw my english is really bad and I'm not so good at writing so I'll be short ...hope you'll have fun like i do :)

byebye rado.
  tags: web life COMMENTS (1)

Monday, June 12, 2006

Sync your hardware clock

Easiest way to set current time ntpdate serverhwclock --systoh for slovenia: ntpdate time.ijs.si hwclock --systoh you can add this commands to rc.local or crontab for automatic time/date sync
  tags: linux COMMENTS (1)
pages:  1   2