You are not logged in.
Hello all,
I upgraded networkmanager, network-manager-applet and ppp to the lastest versions. After reading that there were some problems with policy settings and the ppp version, I downgraded ppp and changed the needed files in /etc/dbus-1/system.d/ by copying <policy user="root"> to <policy group="network">.
However, networkmanager still fails connecting. This is the tail /var/log/daemon.log
Feb 14 01:00:55 adrian-laptop modem-manager: (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3 claimed port ttyUSB4
Feb 14 01:16:58 adrian-laptop polkitd[2230]: started daemon version 0.96 using authority implementation `local' version `0.96'
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) starting connection 'Vodafone'
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 6 (reason 0)
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 6 -> 4 (reason 0)
Feb 14 01:17:29 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Feb 14 01:17:29 adrian-laptop modem-manager: (ttyUSB0) opening serial device...
Feb 14 01:17:29 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
Feb 14 01:17:29 adrian-laptop modem-manager: Got failure code 11: SIM PIN required
Feb 14 01:17:29 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled)
Feb 14 01:17:34 adrian-laptop modem-manager: Got failure code 100: Unknown error
Feb 14 01:17:34 adrian-laptop modem-manager: Registration state changed: 2
Feb 14 01:17:34 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabled -> searching)
Feb 14 01:17:39 adrian-laptop modem-manager: Registration state changed: 1
Feb 14 01:17:39 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (searching -> registered)
Feb 14 01:17:39 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (registered -> connecting)
Feb 14 01:17:39 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (connecting -> connected)
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 5 (reason 0)
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) successful.
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) scheduled.
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) started...
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 5 -> 7 (reason 0)
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Starting pppd connection
Feb 14 01:17:39 adrian-laptop NetworkManager: <debug> [1266106659.343879] nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute user vodafone ttyUSB0 noipdefault noauth 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
Feb 14 01:17:39 adrian-laptop NetworkManager: <debug> [1266106659.726150] nm_ppp_manager_start(): ppp started with pid 2318
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) scheduled...
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) complete.
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) started...
Feb 14 01:17:39 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) complete.
Feb 14 01:17:39 adrian-laptop pppd[2318]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Feb 14 01:17:39 adrian-laptop pppd[2318]: pppd 2.4.4 started by root, uid 0
Feb 14 01:17:39 adrian-laptop pppd[2318]: Using interface ppp0
Feb 14 01:17:39 adrian-laptop pppd[2318]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 14 01:17:39 adrian-laptop pppd[2318]: CHAP authentication succeeded
Feb 14 01:17:39 adrian-laptop pppd[2318]: CHAP authentication succeeded
Feb 14 01:17:41 adrian-laptop pppd[2318]: Modem hangup
Feb 14 01:17:41 adrian-laptop pppd[2318]: Connection terminated.
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 7 -> 9 (reason 13)
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> Marking connection 'Vodafone' invalid.
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Feb 14 01:17:41 adrian-laptop modem-manager: (ttyUSB0) closing serial device...
Feb 14 01:17:41 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (connected -> disconnecting)
Feb 14 01:17:41 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disconnecting -> connected)
Feb 14 01:17:41 adrian-laptop NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Feb 14 01:17:42 adrian-laptop pppd[2318]: Exit.
Feb 14 01:17:43 adrian-laptop NetworkManager: <debug> [1266106663.999957] ensure_killed(): waiting for ppp pid 2318 to exit
Feb 14 01:17:43 adrian-laptop NetworkManager: <debug> [1266106664.000066] ensure_killed(): ppp pid 2318 cleaned up
Feb 14 01:17:51 adrian-laptop NetworkManager: <info> (eth0): device state change: 8 -> 3 (reason 39)
Feb 14 01:17:51 adrian-laptop NetworkManager: <info> (eth0): deactivating device (reason: 39).
Feb 14 01:17:51 adrian-laptop dhcpcd: received SIGTERM, stopping
Feb 14 01:17:51 adrian-laptop dhcpcd: eth0: removing interface
Feb 14 01:17:52 adrian-laptop NetworkManager: <info> (eth0): canceled DHCP transaction, dhcp client pid 1996
Feb 14 01:17:52 adrian-laptop NetworkManager: <WARN> nm_dhcp_manager_handle_event(): Received DHCP event from unexpected PID 1996 (expected 0)
when I tried reconnecting, it said the device is not enabled:
Feb 14 01:30:31 adrian-laptop NetworkManager: <WARN> stage1_prepare_done(): GSM modem connection failed: (32) Sending command failed: device is not enabled
Feb 14 01:30:31 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Feb 14 01:30:31 adrian-laptop NetworkManager: <info> Marking connection 'Vodafone' invalid.
Feb 14 01:30:31 adrian-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
Feb 14 01:30:31 adrian-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Feb 14 01:30:31 adrian-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Feb 14 01:30:31 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (connected -> disconnecting)
Feb 14 01:30:31 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (disconnecting -> connected)
any ideas? :S
Offline
install modemmanager. this is an optdepends to this new networkmanager.
Optional Deps : modemmanager: for modem management service
Last edited by wonder (2010-02-14 09:52:00)
Give what you have. To someone, it may be better than you dare to think.
Offline
Modemmanager worked for me (this tip is also on the wiki btw).
Offline
Feb 14 01:17:29 adrian-laptop modem-manager: (ttyUSB0) opening serial device...
Feb 14 01:17:29 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
Feb 14 01:17:29 adrian-laptop modem-manager: Got failure code 11: SIM PIN required
Feb 14 01:17:29 adrian-laptop modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled)
Feb 14 01:17:34 adrian-laptop modem-manager: Got failure code 100: Unknown error
I have modem-manager installed :S
it seems something is wrong with "activating" the modem...
Last edited by adrian9116 (2010-02-14 14:04:58)
Offline
Ok since I really need internet connection, I tried to downgrade the networkmanager package, but fails to start because it says it needs policykit-gnome, however, that package is installed... any ideas?
Offline
Have you tried the git versions (check the aur) as well?
What modem are you using? On my Option 225 the hsoconnect package works great.
Offline
I haven't tried the git versions, I will check them out.
I use a Huawei K3765... worked fine with the previous version of networkmanager, and it also works with wvdial (although it takes a long time to find a suitable connection with it)
Offline
I haven't tried the git versions, I will check them out.
I use a Huawei K3765... worked fine with the previous version of networkmanager, and it also works with wvdial (although it takes a long time to find a suitable connection with it)
Maybe before trying the git versions you could try to rebuild modemmanager against the latest ppp. Simply download the PKGBUILD, then run makepkg followed by pacman -U .
It worked for me with a Huawei E220.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
http://repos.archlinux.org/wsvn/package … 4/PKGBUILD I found that PKGBUILD but I didn't get what do I have to do with it... it says that it needs ppp but doesn't specify any versions...
I'm sorry I'm a newbie using PKGBUILDs ^^
Offline
I have the same problem, but I think its a PIN problem. Remove the PIN code and try again. I'm at work so I can't test it right now
Edit:
Feb 14 01:17:29 adrian-laptop modem-manager: Got failure code 11: SIM PIN required
https://bugs.launchpad.net/ubuntu/+sour … bug/509738
Last edited by WiLLiE (2010-02-14 17:04:59)
Offline
Don't ask me why, reinstalling arch solved the problem...
it takes about a minute to connect (even when the a connection is reachable), but it seems it's working now...
since people have the same problem, should I mark this post as solved?
Last edited by adrian9116 (2010-02-14 18:09:22)
Offline
Same problem here, and reinstalling Arch is not an option, as this is my office box
Last edited by wottam (2010-02-15 08:23:38)
Offline
working for me the solution of downgrading ppp and installing modem-manager
Zygfryd Homonto
Offline
working for me the solution of downgrading ppp and installing modem-manager
please try with modemmanager 0.3-2
i just recompiled it against ppp 2.4.5
Give what you have. To someone, it may be better than you dare to think.
Offline
I just solved it by using networkmanager-git from AUR. Anyway, I'll try your advice wonder, thanks
Offline
If it helps, I believe it could have something to do with the policies (although not sure) I don't know why, when I upgraded the policy libraries, when I tried to run anything from the gnome-system-tools package it said that libpolkit-gnome was missing...
that's not happening after reinstalling arch.
edit: for me it works with the last ppp version without throwing any errors in the logs.
Last edited by adrian9116 (2010-02-15 21:56:34)
Offline
I also have a HUAWEI k3765 and it's not working.
I'm a little confused about the way some of you solved it, and need some advice.
I tried to recompile modemmanager-0.3.2 against ppp-2.4.5-1 but doesn't work, in my system with kernel26 2.6.32.1-1 and networkmanager 0.7.2-1.
My dmesg shows this, when I connect the modem:
usb 3-3: new high speed USB device using ehci_hcd and address 6
usb 3-3: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: CD-ROM Vodafone CD ROM (Huawei) 2.31 PQ: 0 ANSI: 2
sr1: scsi-1 drive
sr 3:0:0:0: Attached scsi CD-ROM sr1
sr 3:0:0:0: Attached scsi generic sg2 type 5
usb-storage: device scan complete
It seems not to being recognizing the modem and not creating ttyUSB0 and ttyUSB1.
So, it would be nice to know which versions you are using from programs listed below, with a working k3765:
-networkmanager
-modemmanager
-ppp
-kernel26
By the way... A HUAWEI E220 it's working normally in my system.
Thank's.
Offline
I installed usb_modeswitch and vodafone-mccd from AUR (even if you don't use vodafone, the hal and udev rules are installed with those packages) and then ozerocdoff with pacman, after that, the modem was recognized and works with the latest ppp and networkmanager packages (I have to update modemmanager but since it working... the new version can wait )
edit:
networkmanager 0.7.999-3
modemmanager 0.3-1
ppp 2.4.5-1
kernel26 2.6.32.8-1
Last edited by adrian9116 (2010-02-19 14:57:50)
Offline
GREAT! This is a VERY VALUABLE INFORMATION!
Thank's a lot adrian9116.
My HUAWEI k3765 is now working with those versions:
networkmanager 0.7.999-2
modemmanager 0.3-1
ppp 2.4.4-9
usb_modeswitch 1.1.0-1
vodafone-mccd 2.15.01-2
ozerocdoff 2-1
kernel26 2.6.32.1-1
Note:
I had to downgrade ppp from 2.4.5 to 2.4.4-9 because networkmanager-0.7.999-2
was not able to work correctly. There was this error message appearing in /var/log/errors.log:
Feb 19 19:13:00 hp pppd[2306]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so is for pppd version 2.4.4, this is 2.4.5
Offline
@mcsilva read carefully the versions that adian write.
is true that networkmanager-0.7.999-2 and modemmanager 0.3-1 doesn't work with ppp 2.4.5 but networkmanager 0.7.999-3 and modemmanager 0.3-2 works with ppp 2.4.5.
you only have to do pacman -Syu and everything will work
Last edited by wonder (2010-02-20 09:34:01)
Give what you have. To someone, it may be better than you dare to think.
Offline
You are wright wonder. I upgraded them and it's working well.
Thank's!
Offline