possibly a wireless problem

Hi,
trying to get internet connection via wireless on Suse 11.4.
Although ifstatus eth1 reports an IP address (and router reports a wireless connection) no Internet access is possible, which seems very strange (including the admin page of the router).

> ifstatus eth1
    eth1      device: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
    eth1      is prepared for use with ifplugd
    eth1      is probably associated
DHCP4 client (dhcpcd) is running
IP address: 192.168.0.11/24
eth1 is up
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:0e:35:63:09:84 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.11/24 brd 192.168.0.255 scope global eth1
    inet6 fe80::20e:35ff:fe63:984/64 scope link 
       valid_lft forever preferred_lft forever
    eth1      IP address: 192.168.0.11/24
bssid=80:c6:ab:2a:2b:b7
ssid=UPC0049975
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=TKIP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.0.11

As it doesn’t seem to be a clear hardware problem I’m not sure whether this is the right forum to post. below are the hardware infos.
Internet connection via eth0 (cable ethernet connection) works fine.

Has anybody any ideas on what to check??
thanks, peter

Wireless hardware:

# lspci
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)

From dmesg:

   10.932518] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kdmprq
   10.932523] ipw2200: Copyright(c) 2003-2006 Intel Corporation
   10.934776] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
   10.934788] ipw2200 0000:02:04.0: PCI INT A -> Link[LNKE] -> GSI 10 (level, low) -> IRQ 10
   10.934952] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
   11.036078] ALSA ac97_codec.c:2173: MC'97 0 converters and GPIO not ready (0x1)
# iwconfig
eth1      IEEE 802.11bg  ESSID:"UPC0049975"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 80:C6:AB:2A:2B:B7   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:0DE9-9A7E-306C-C50D-FD86-C064-270E-5694   Security mode:open
          Power Management:off
          Link Quality=93/100  Signal level=-35 dBm  Noise level=-91 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:57   Missed beacon:0

# iwlist scan
eth1      Scan completed :
          Cell 01 - Address: 80:C6:AB:2A:2B:B7
                    ESSID:"UPC0049975"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=91/100  Signal level=-37 dBm  
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 44ms ago

On 08/24/2011 12:46 AM, dgg3ps wrote:
>
> Hi,
> trying to get internet connection via wireless on Suse 11.4.
> Although ifstatus eth1 reports an IP address (and router reports a
> wireless connection) no Internet access is possible, which seems very
> strange (including the admin page of the router).

You probably have a routing problem. Please post the output of the following:


/usr/sbin/iwconfig
/sbin/ifconfig
/sbin/route -n

Thanks, good point. I noticed that I forgot to specify the default gateway as the IP address of the router. Now it works.
What I don’t understand though is why it worked without the default gateway specified when using the wired ethernet connection. Any ideas?
Below the output after specifying the default gateway.

Thanks a lot.
Peter

obsidian:/home/petschue/p-s # /usr/sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bg  ESSID:"UPC0049975"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 80:C6:AB:2A:2B:B7   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:5302-5235-F78C-945B-A632-8E4B-DFF8-0F0B   Security mode:open
          Power Management:off
          Link Quality=91/100  Signal level=-37 dBm  Noise level=-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

obsidian:/home/petschue/p-s # /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:9F:43:9B:52  
          inet addr:192.168.0.13  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2c0:9fff:fe43:9b52/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4671 errors:0 dropped:2 overruns:0 frame:0
          TX packets:3915 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5185128 (4.9 Mb)  TX bytes:521134 (508.9 Kb)
          Interrupt:5 Base address:0x2800 

eth1      Link encap:Ethernet  HWaddr 00:0E:35:63:09:84  
          inet addr:192.168.0.11  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:35ff:fe63:984/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:409 errors:0 dropped:0 overruns:0 frame:0
          TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:410083 (400.4 Kb)  TX bytes:68806 (67.1 Kb)
          Interrupt:10 Base address:0xc000 Memory:e0204000-e0204fff 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:11611 (11.3 Kb)  TX bytes:11611 (11.3 Kb)

obsidian:/home/petschue/p-s # /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth1

On 08/25/2011 12:36 AM, dgg3ps wrote:
>
> Thanks, good point. I noticed that I forgot to specify the default
> gateway as the IP address of the router. Now it works.
> What I don’t understand though is why it worked without the default
> gateway specified when using the wired ethernet connection. Any ideas?
> Below the output after specifying the default gateway.

The default route should have been set up as part of the DHCP process. It must
have been OK when using the wire, but failed for wireless. It should be OK after
being done manually once.