As mentioned in the "2.6 kernel and b43 driver", I now have my b43
driver working as a WPA client, but I see some strange problems of ssh
connections freezing every once in a while.

As mentioned, when such a connection freezes, ping still works.
Better yet, here's a tcpdump of the communication between my desktop
"pastel" (using rt73usb) and my wl700ge "proxy" (running the b43 driver)
with an ssh connection frozen, where "home" is the AP (some other home
router, running supposedly some kind of *BSD derivative with an Atheros
card, IIUC the syslog output):

02:58:19.805177 arp who-has proxy (Broadcast) tell home
02:58:31.248256 IP pastel.33328 > proxy.ssh: P 240:288(48) ack 1 win 103
02:58:31.252543 IP proxy.ssh > pastel.33328: . ack 288 win 5584
02:58:32.160058 IP pastel.33328 > proxy.ssh: P 288:336(48) ack 1 win 103
02:58:32.164318 IP proxy.ssh > pastel.33328: . ack 336 win 5584
02:58:33.024052 IP pastel.33328 > proxy.ssh: P 336:384(48) ack 1 win 103
02:58:33.028600 IP proxy.ssh > pastel.33328: . ack 384 win 5584
02:58:36.250125 arp who-has pastel tell proxy
02:58:36.250135 arp reply pastel is-at 00:17:3f:ac:95:4e (oui Unknown)
02:58:49.978873 arp who-has proxy (Broadcast) tell home
02:58:58.493356 IP pastel.33328 > proxy.ssh: P 384:432(48) ack 1 win 103
02:58:58.497070 IP proxy.ssh > pastel.33328: . ack 432 win 5584
02:59:20.903055 IP pastel > proxy: ICMP echo request, id 44863, seq 1, length 64
02:59:20.907145 IP proxy > pastel: ICMP echo reply, id 44863, seq 1, length 64

Each packet "IP pastel.33328 > proxy.ssh" is in response to my hitting
some key in the SSH session: so clearly, "pastel" sends the message and
"proxy" (i.e. the b43 running machine) receives it and
acknowledges reception.

Anybody has an idea what might be going on, what I might want to double
check and investigate?
I've appended the relevant part of my /etc/config as well as the
resulting `ifconfig' and route.


        Stefan


~$ ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:17:31:C1:AF:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3375 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:1130625 (1.0 MiB)

eth0      Link encap:Ethernet  HWaddr 00:17:31:C1:AF:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3375 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:1157625 (1.1 MiB)
          Interrupt:4 

eth0.0    Link encap:Ethernet  HWaddr 00:17:31:C1:AF:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3375 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:1144125 (1.0 MiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:17:31:C1:AF:07  
          inet addr:192.168.1.65  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20911 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8006 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2962648 (2.8 MiB)  TX bytes:2304987 (2.1 MiB)

wmaster0  Link encap:UNSPEC  HWaddr 
00-17-31-C1-AF-05-60-65-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~$  route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
default         home            0.0.0.0         UG    0      0        0 wlan0
~$ cat /etc/config/network
#### VLAN configuration 
config switch eth0
        option vlan0    "1 2 3 4 5*"
        option vlan1    "0 5"


#### Loopback configuration
config interface loopback
        option ifname   "lo"
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0


#### LAN configuration
config interface lan
        option type     bridge
        option ifname   "eth0.0"
        option macaddr  "00:17:31:C1:AF:05"
        option proto    dhcp
        option hostname wl700ge

#### WIFI network
config interface wifi
        option ifname   "wlan0"
        option macaddr  "00:17:31:C1:AF:07"
        option proto    dhcp
        option hostname "proxy"
~$ cat /etc/config/wireless
config wifi-device  wlan0
        option type     mac80211
        #option channel  5

        # REMOVE THIS LINE TO ENABLE WIFI:
        #option disabled 1

config wifi-iface
        option device   wlan0
        option network  wifi
        option mode     sta
        option ssid     "myssid"
        option encryption psk
        option key      "mypassword"
~$ 

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to