Re: Connection sharing and scp



Am 01/27/2010 11:44 PM, schrieb Dan Williams:
On Wed, 2010-01-27 at 21:02 +0100, Gonsolo wrote:
I have a working UMTS connection via a option.ko based stick and a
working connection sharing via WIFI (iwlagn on the UMTS notebook and
ath5k on the other notebook).

I try to copy the linux source via scp from my old notebook to the new
(UMTS) one and it is horribly slow.

Is that problem known?

I tried without UMTS connection: Still doesn't work.
Then I tried without encryption: Now I can copy files with about 100KB/s.
With WEP encryption on the adhoc network the file stalls after 224KB.

That would seem to indicate a driver bug; do you get any 'dmesg' output
during this time?  What is the 'iwconfig' output when things are slow?

Stalled after 204kB, this time with WEP 40/128 bit key.


dmesg:

...

[29785.278726] wlan0: Creating new IBSS network, BSSID 02:58:07:f4:34:6a
[29788.000266] wlan0: Trigger new scan to find an IBSS to join
[29793.246352] wlan0: Creating new IBSS network, BSSID 6e:d3:43:02:fb:26
[29796.000250] wlan0: Trigger new scan to find an IBSS to join
[29801.419397] wlan0: Creating new IBSS network, BSSID 9a:1b:51:ad:7d:5b
[29804.000273] wlan0: Trigger new scan to find an IBSS to join
[29809.386647] wlan0: Creating new IBSS network, BSSID fe:42:c8:98:e6:fe
[29811.988264] wlan0: Trigger new scan to find an IBSS to join
[29817.359846] wlan0: Creating new IBSS network, BSSID 2a:78:a5:42:68:3e
[29819.988253] wlan0: Trigger new scan to find an IBSS to join
[29825.332312] wlan0: Creating new IBSS network, BSSID ca:b8:45:8b:b4:f9
[29828.000265] wlan0: Trigger new scan to find an IBSS to join
[29833.304342] wlan0: Creating new IBSS network, BSSID 72:cd:d7:2e:7c:dd
[29836.000249] wlan0: Trigger new scan to find an IBSS to join
[29841.277801] wlan0: Creating new IBSS network, BSSID ce:ec:84:99:4c:5f
[29844.000221] wlan0: Trigger new scan to find an IBSS to join
[29849.249500] wlan0: Creating new IBSS network, BSSID 1a:fd:83:6c:5b:04
[29857.220863] wlan0: Creating new IBSS network, BSSID 5e:b8:3b:e4:44:c6
[29857.226533] wlan0: Creating new IBSS network, BSSID 66:8e:6d:80:56:1a
[29857.242890] ------------[ cut here ]------------
[29857.242920] WARNING: at /build/buildd/linux-2.6.31/net/wireless/scan.c:483 cfg80211_inform_bss_frame+0x127/0x160 [cfg80211]()
[29857.242932] Hardware name: Vostro 1720
[29857.242933] Modules linked in: ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ipt_MASQUERADE xt_state ipt_REJECT xt_tcpudp nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 nls_utf8 isofs binfmt_misc ppdev snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 snd_seq_dummy snd_seq_oss joydev ecb snd_seq_midi snd_rawmidi snd_seq_midi_event iwlagn snd_seq uvcvideo iwlcore snd_timer option iptable_filter usbserial ip_tables videodev snd_seq_device dell_wmi mac80211 snd soundcore cfg80211 v4l1_compat lp x_tables snd_page_alloc sdhci_pci psmouse sdhci dcdbas serio_raw parport led_class usbhid fbcon tileblit font bitblit softcursor usb_storage ohci1394 ieee1394 r8169 mii i915 drm i2c_algo_bit video output intel_agp agpgart [29857.243000] Pid: 802, comm: iwlagn Tainted: G W 2.6.31-17-generic #54-Ubuntu
[29857.243003] Call Trace:
[29857.243013]  [<c01450fd>] warn_slowpath_common+0x6d/0xa0
[29857.243023] [<f8aa1d97>] ? cfg80211_inform_bss_frame+0x127/0x160 [cfg80211] [29857.243035] [<f8aa1d97>] ? cfg80211_inform_bss_frame+0x127/0x160 [cfg80211]
[29857.243039]  [<c0145145>] warn_slowpath_null+0x15/0x20
[29857.243050] [<f8aa1d97>] cfg80211_inform_bss_frame+0x127/0x160 [cfg80211] [29857.243064] [<f90b2e89>] __ieee80211_sta_join_ibss+0x359/0x400 [mac80211]
[29857.243078]  [<f90b3116>] ieee80211_sta_find_ibss+0x1e6/0x470 [mac80211]
[29857.243100]  [<f9195800>] ? iwl_mac_config+0xd0/0x270 [iwlcore]
[29857.243112]  [<f8aa1a18>] ? cfg80211_scan_done+0x98/0xf0 [cfg80211]
[29857.243125] [<f90b3409>] ieee80211_ibss_notify_scan_completed+0x69/0x80 [mac80211]
[29857.243138]  [<f90b05e4>] ieee80211_scan_completed+0xb4/0x3f0 [mac80211]
[29857.243141]  [<c01503d5>] ? try_to_del_timer_sync+0x45/0x50
[29857.243155]  [<f91a06b9>] iwl_bg_scan_completed+0x39/0x80 [iwlcore]
[29857.243159]  [<c01579ce>] run_workqueue+0x6e/0x140
[29857.243170]  [<f91a0680>] ? iwl_bg_scan_completed+0x0/0x80 [iwlcore]
[29857.243173]  [<c0157b28>] worker_thread+0x88/0xe0
[29857.243177]  [<c015c170>] ? autoremove_wake_function+0x0/0x40
[29857.243180]  [<c0157aa0>] ? worker_thread+0x0/0xe0
[29857.243183]  [<c015be7c>] kthread+0x7c/0x90
[29857.243186]  [<c015be00>] ? kthread+0x0/0x90
[29857.243189]  [<c0104007>] kernel_thread_helper+0x7/0x10
[29857.243191] ---[ end trace 5642bb48a6ad820b ]---
[29857.243195] ------------[ cut here ]------------
[29857.243208] WARNING: at /build/buildd/linux-2.6.31/net/wireless/ibss.c:34 cfg80211_ibss_joined+0x171/0x180 [cfg80211]()
[29857.243210] Hardware name: Vostro 1720
[29857.243211] Modules linked in: ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ipt_MASQUERADE xt_state ipt_REJECT xt_tcpudp nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 nls_utf8 isofs binfmt_misc ppdev snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 snd_seq_dummy snd_seq_oss joydev ecb snd_seq_midi snd_rawmidi snd_seq_midi_event iwlagn snd_seq uvcvideo iwlcore snd_timer option iptable_filter usbserial ip_tables videodev snd_seq_device dell_wmi mac80211 snd soundcore cfg80211 v4l1_compat lp x_tables snd_page_alloc sdhci_pci psmouse sdhci dcdbas serio_raw parport led_class usbhid fbcon tileblit font bitblit softcursor usb_storage ohci1394 ieee1394 r8169 mii i915 drm i2c_algo_bit video output intel_agp agpgart [29857.243273] Pid: 802, comm: iwlagn Tainted: G W 2.6.31-17-generic #54-Ubuntu
[29857.243275] Call Trace:
[29857.243280]  [<c01450fd>] warn_slowpath_common+0x6d/0xa0
[29857.243289]  [<f8aa9c61>] ? cfg80211_ibss_joined+0x171/0x180 [cfg80211]
[29857.243299]  [<f8aa9c61>] ? cfg80211_ibss_joined+0x171/0x180 [cfg80211]
[29857.243303]  [<c0145145>] warn_slowpath_null+0x15/0x20
[29857.243315]  [<f8aa9c61>] cfg80211_ibss_joined+0x171/0x180 [cfg80211]
[29857.243325] [<f8aa1d97>] ? cfg80211_inform_bss_frame+0x127/0x160 [cfg80211] [29857.243338] [<f90b2e9c>] __ieee80211_sta_join_ibss+0x36c/0x400 [mac80211]
[29857.243350]  [<f90b3116>] ieee80211_sta_find_ibss+0x1e6/0x470 [mac80211]
[29857.243361]  [<f9195800>] ? iwl_mac_config+0xd0/0x270 [iwlcore]
[29857.243373]  [<f8aa1a18>] ? cfg80211_scan_done+0x98/0xf0 [cfg80211]
[29857.243385] [<f90b3409>] ieee80211_ibss_notify_scan_completed+0x69/0x80 [mac80211]
[29857.243397]  [<f90b05e4>] ieee80211_scan_completed+0xb4/0x3f0 [mac80211]
[29857.243400]  [<c01503d5>] ? try_to_del_timer_sync+0x45/0x50
[29857.243412]  [<f91a06b9>] iwl_bg_scan_completed+0x39/0x80 [iwlcore]
[29857.243416]  [<c01579ce>] run_workqueue+0x6e/0x140
[29857.243427]  [<f91a0680>] ? iwl_bg_scan_completed+0x0/0x80 [iwlcore]
[29857.243430]  [<c0157b28>] worker_thread+0x88/0xe0
[29857.243433]  [<c015c170>] ? autoremove_wake_function+0x0/0x40
[29857.243436]  [<c0157aa0>] ? worker_thread+0x0/0xe0
[29857.243439]  [<c015be7c>] kthread+0x7c/0x90
[29857.243442]  [<c015be00>] ? kthread+0x0/0x90
[29857.243445]  [<c0104007>] kernel_thread_helper+0x7/0x10
[29857.243447] ---[ end trace 5642bb48a6ad820c ]---
[29860.000256] wlan0: Trigger new scan to find an IBSS to join
[29865.416079] wlan0: Creating new IBSS network, BSSID 46:b8:81:6e:69:90
[29868.000279] wlan0: Trigger new scan to find an IBSS to join
[29873.386197] wlan0: Creating new IBSS network, BSSID 66:03:d8:d2:68:da
[29875.989236] wlan0: Trigger new scan to find an IBSS to join
[29881.561467] wlan0: Creating new IBSS network, BSSID ce:85:f1:30:54:72
[29884.000058] wlan0: Trigger new scan to find an IBSS to join
[29889.334255] wlan0: Creating new IBSS network, BSSID 7e:21:6f:68:8a:7e
[29891.989240] wlan0: Trigger new scan to find an IBSS to join
[29897.302538] wlan0: Creating new IBSS network, BSSID 86:c5:9f:48:3b:ba
[29900.000258] wlan0: Trigger new scan to find an IBSS to join


... lots of those following.


iwconfig wlan0:

wlan0     IEEE 802.11abgn  ESSID:"XXXXXXX"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: DE:25:D5:4D:04:8E
          Tx-Power=15 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Thank you for looking into this,

g


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]