Hi all,
I have been struggling for some days now to get the Intel 2200BG wlan card working (nicely) on my IBM T42 Thinkpad running Debian Sarge with Kernel 2.6.10.
Some background:
I have installed the IPW2200 driver + firmware, and the card is detected by Linux. I can scan for AP's using "iwlist eth1 scan " which brings up my Access point (Netgear WTG624) in the list.
I have added the eth1 interface in the /etc/network/interface file, which now looks like this:
**************/etc/network/interfaces***************
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0
iface eth0 inet static
address 192.168.0.183
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
#name WLAN card
auto eth1
iface eth1 inet static
address 192.168.0.185
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
wireless_essid SpeedStar
wireless_mode ad-hoc
wireless_key restricted xxxxxxxxxx
wireless_ap any
wireless_channel 11
***************************************************
If I have understood this correctly, "auto eth1 " should bring up the eth1 interface during boot? After boot the output from iwconfig and ifconfig are:
*************output from iwconfig**********************
eth1 IEEE 802.11g ESSID:"SpeedStar"
Mode:Managed Frequency:2.462 GHz Access Point: 00:09:5B:C5:83:8E
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr
ff Fragment thr
ff
Encryption key:xxxx-xxxx-xx Security mode:restricted
Power Management
ff
Link Quality=88/100 Signal level=-41 dBm Noise level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:1
****************************************************
*************output from ifconfig************************
eth1 Link encap:Ethernet HWaddr 00:12:F0:02:B6:92
inet addr:192.168.0.185 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1497 (1.4 KiB) TX bytes:10134 (9.8 KiB)
Interrupt:11 Base address:0xa000 Memory:c0210000-c0210fff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:196 errors:0 dropped:0 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27856 (27.2 KiB) TX bytes:27856 (27.2 KiB)
****************************************************
However, it's still not possible to ping my local router...
What I did now was to start the Kwifi Manager and configured it with the same parametars as in /etc/network/interfaces, and applied them- and it shows I am connected and I can ping my local router as well.
What have i forgotten to put in the /etc/network/interfaces ?
I was really happy and brought up the browser to surf the net, but it did not work. I then tried to ping ibm.com and other URL's, but it only said: "Network not availiable". It tried pingin my router and my other computer and that went fine. Is this some kind of DNS-related problem?
The only way I have got the Wlan card working fully is to.
1. Boot Linux with eth0 as auto.
2. Disable it manually
3. bring up eth1 manually
4. start Kwifi manager
This has worked sometimes, and somtimes not. When it is not working, the symptom is that DNS is not working. I have tried to see the pattern, but have no success so far.
EDIT: host and nslookup works fine but pinging ip-addresses on the WAN does not.
Any help would be much appreciated
/Nicklas