I tried connection sharing using a different WLAN adapter and with an 
additional laptop which uses the shared connection.

I bought ZyXEL AG-220 WLAN adapter (ID 0586:3412) which uses zd1211rw driver. I 
plugged it in to the same PC which has the WL54H card - because it is a PCI 
card I did not take it out. This machine has the following versions:

kernel-2.6.27.12-170.2.5.fc10.i686
NetworkManager-0.7.0-1.git20090102.fc10.i386
dnsmasq-2.45-1.fc10.i386
wpa_supplicant-0.6.4-2.fc10.i386

The ThinkPad has the same problem with zd1211rw as with rt2500pci driver. The 
connection is practically unusable. In the last hour there were 7 DHCPACK 
messages in /var/log/messages. The ThinkPad runs Windows XP Professional, 
Version 2002, SP2.

However, I also have an Acer laptop, which runs Windows XP Home Edition, 
Version 2002, SP3. In the last hour there were 3 DHCPACKs for this laptop - but 
I could use it without problems!

I think that there is a problem of too many DHCPACKs per hour. Other Windows 
laptops seem to suffer from it, but others don't... Perhaps Windows XP SP2 has 
a bug that is corrected in Windows XP SP3?????

Regards, JJ

--- Alkuperäinen viesti ---
Aihe: Connection breaks frequently with Connection Sharing (3G to WLAN)
Päiväys: 20.1.2009 17:48
Vastaanottaja:  networkmanager-list@gnome.org
Lähettäjä: Juhani Jaakola [juhani.jaak...@kolumbus.fi]
I have a PC with A-Link WL54H WLAN card (driver rt2500pci) and a USB 3G modem. 
I connect to the Internet via the 3G modem and I want to share that connection 
with other PCs via WLAN. I'm running Fedora 10.

I connected to Internet with "Auto GSM network connection". Then I chose "Create New 
Wireless Network..." to share the 3G connection to other PCs with WLAN. I created a network 
with security NONE. Then I connect to the new ad hoc WLAN network from ThinkPad with Windows XP SP3.

My problem is that the WLAN connection to the ThinkPad breaks very frequently. 
Last hour the connection broke 13 times! This is what I get in 
/var/log/messages:

--- begin of /var/log/messages ---
Jan 20 16:45:29 tik NetworkManager: <info>  (wlan0): supplicant connection state:  
completed -> associated
Jan 20 16:45:29 tik NetworkManager: <info>  (wlan0): supplicant connection state:  
associated -> completed
Jan 20 16:45:32 tik dnsmasq[3661]: DHCPDISCOVER(wlan0) 00:16:6f:05:8e:88 Jan 20 16:45:32 tik dnsmasq[3661]: DHCPOFFER(wlan0) 10.42.43.10 00:16:6f:05:8e:88 Jan 20 16:45:32 tik dnsmasq[3661]: Ignoring domain foo-domain.net for DHCP host name otherpc Jan 20 16:45:32 tik dnsmasq[3661]: DHCPREQUEST(wlan0) 10.42.43.10 00:16:6f:05:8e:88 Jan 20 16:45:32 tik dnsmasq[3661]: DHCPACK(wlan0) 10.42.43.10 00:16:6f:05:8e:88 otherpc
Jan 20 16:46:53 tik NetworkManager: <info>  (wlan0): supplicant connection state:  
completed -> associated
Jan 20 16:46:53 tik NetworkManager: <info>  (wlan0): supplicant connection state:  
associated -> completed
Jan 20 16:48:18 tik dnsmasq[3661]: DHCPRELEASE(wlan0) 10.42.43.10 00:16:6f:05:8e:88 Jan 20 16:48:40 tik dnsmasq[3661]: DHCPDISCOVER(wlan0) 00:16:6f:05:8e:88 Jan 20 16:48:40 tik dnsmasq[3661]: DHCPOFFER(wlan0) 10.42.43.10 00:16:6f:05:8e:88 Jan 20 16:48:40 tik dnsmasq[3661]: Ignoring domain foo-domain.net for DHCP host name otherpc Jan 20 16:48:40 tik dnsmasq[3661]: DHCPREQUEST(wlan0) 10.42.43.10 00:16:6f:05:8e:88 Jan 20 16:48:40 tik dnsmasq[3661]: DHCPACK(wlan0) 10.42.43.10 00:16:6f:05:8e:88 otherpc
--- end of /var/log/messages ---

And /var/log/wpa_supplicant.log contains the following lines repeated many 
times:

--- begin of quote ---
Associated with 02:16:6f:10:ef:33
CTRL-EVENT-CONNECTED - Connection to 02:16:6f:10:ef:33 completed (reauth) [id=0 
id_str=]
--- end of quote ---

ps -ef shows the following arguments for the key processes:

NetworkManager --pid-file=/var/run/NetworkManager/NetworkManager.pid

/usr/sbin/pppd nodetach lock nodefaultroute ttyUSB0 noipdefault usepeerdns 
lcp-echo-failure 0 lcp-echo-interval 0 ipparam 
/org/freedesktop/NetworkManager/PPP/0 plugin 
/usr/lib/pppd/2.4.4/nm-pppd-plugin.so

/usr/sbin/dnsmasq --no-hosts --keep-in-foreground --bind-interfaces --no-poll 
--except-interface=lo --listen-address=10.42.43.1 
--dhcp-range=10.42.43.10,10.42.43.100,60m 
--dhcp-option=option:router,10.42.43.1 --dhcp-lease-max=50 
--pid-file=/var/run/nm-dnsmasq-wlan0.pid

/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f 
/var/log/wpa_supplicant.log

My versions are:

kernel-2.6.27.9-159.fc10.i686
NetworkManager-0.7.0-1.git20090102.fc10.i386
dnsmasq-2.45-1.fc10.i386
wpa_supplicant-0.6.4-2.fc10.i386

_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to